Skip to content

Commit a3845fe

Browse files
Merge pull request #712 from thttg/lang_zh
Update Chinese translations and language list
2 parents d46aa7a + a273aba commit a3845fe

File tree

8 files changed

+1367
-178
lines changed

8 files changed

+1367
-178
lines changed

src/Certify.Locales/Certify.Locales.csproj

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,58 +18,71 @@
1818
</Compile>
1919
</ItemGroup>
2020
<ItemGroup>
21+
<!-- ConfigResources -->
2122
<EmbeddedResource Update="ConfigResources.es-ES.resx">
2223
<DependentUpon>ConfigResources.resx</DependentUpon>
2324
</EmbeddedResource>
24-
<EmbeddedResource Update="ConfigResources.zh-Hans.resx">
25+
<EmbeddedResource Update="ConfigResources.ja-JP.resx">
2526
<DependentUpon>ConfigResources.resx</DependentUpon>
2627
</EmbeddedResource>
2728
<EmbeddedResource Update="ConfigResources.nb-NO.resx">
2829
<DependentUpon>ConfigResources.resx</DependentUpon>
2930
</EmbeddedResource>
30-
<EmbeddedResource Update="ConfigResources.ja-JP.resx">
31+
<EmbeddedResource Update="ConfigResources.tr-TR.resx">
3132
<DependentUpon>ConfigResources.resx</DependentUpon>
3233
</EmbeddedResource>
33-
<EmbeddedResource Update="ConfigResources.tr-TR.resx">
34+
<EmbeddedResource Update="ConfigResources.zh-Hans.resx">
35+
<DependentUpon>ConfigResources.resx</DependentUpon>
36+
</EmbeddedResource>
37+
<EmbeddedResource Update="ConfigResources.zh-Hant.resx">
3438
<DependentUpon>ConfigResources.resx</DependentUpon>
3539
</EmbeddedResource>
40+
<!-- CoreSR -->
3641
<EmbeddedResource Update="CoreSR.es-ES.resx">
3742
<DependentUpon>CoreSR.resx</DependentUpon>
3843
</EmbeddedResource>
44+
<EmbeddedResource Update="CoreSR.ja-JP.resx">
45+
<DependentUpon>CoreSR.resx</DependentUpon>
46+
</EmbeddedResource>
3947
<EmbeddedResource Update="CoreSR.nb-NO.resx">
4048
<DependentUpon>CoreSR.resx</DependentUpon>
4149
</EmbeddedResource>
42-
<EmbeddedResource Update="CoreSR.zh-Hans.resx">
50+
<EmbeddedResource Update="CoreSR.tr-TR.resx">
4351
<DependentUpon>CoreSR.resx</DependentUpon>
4452
</EmbeddedResource>
45-
<EmbeddedResource Update="CoreSR.ja-JP.resx">
53+
<EmbeddedResource Update="CoreSR.zh-Hans.resx">
4654
<DependentUpon>CoreSR.resx</DependentUpon>
4755
</EmbeddedResource>
48-
<EmbeddedResource Update="CoreSR.tr-TR.resx">
56+
<EmbeddedResource Update="CoreSR.zh-Hant.resx">
4957
<DependentUpon>CoreSR.resx</DependentUpon>
5058
</EmbeddedResource>
59+
<!-- Properties\Resources -->
5160
<EmbeddedResource Update="Properties\Resources.resx">
5261
<Generator>ResXFileCodeGenerator</Generator>
5362
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
5463
</EmbeddedResource>
55-
<EmbeddedResource Update="SR.es-ES.resx">
56-
<DependentUpon>SR.resx</DependentUpon>
57-
</EmbeddedResource>
58-
<EmbeddedResource Update="SR.nb-NO.resx">
59-
<DependentUpon>SR.resx</DependentUpon>
60-
</EmbeddedResource>
64+
<!-- SR -->
6165
<EmbeddedResource Update="SR.resx">
6266
<Generator>PublicResXFileCodeGenerator</Generator>
6367
<LastGenOutput>SR.Designer.cs</LastGenOutput>
6468
</EmbeddedResource>
65-
<EmbeddedResource Update="SR.zh-Hans.resx">
69+
<EmbeddedResource Update="SR.es-ES.resx">
6670
<DependentUpon>SR.resx</DependentUpon>
6771
</EmbeddedResource>
6872
<EmbeddedResource Update="SR.ja-JP.resx">
6973
<DependentUpon>SR.resx</DependentUpon>
7074
</EmbeddedResource>
75+
<EmbeddedResource Update="SR.nb-NO.resx">
76+
<DependentUpon>SR.resx</DependentUpon>
77+
</EmbeddedResource>
7178
<EmbeddedResource Update="SR.tr-TR.resx">
7279
<DependentUpon>SR.resx</DependentUpon>
7380
</EmbeddedResource>
81+
<EmbeddedResource Update="SR.zh-Hans.resx">
82+
<DependentUpon>SR.resx</DependentUpon>
83+
</EmbeddedResource>
84+
<EmbeddedResource Update="SR.zh-Hant.resx">
85+
<DependentUpon>SR.resx</DependentUpon>
86+
</EmbeddedResource>
7487
</ItemGroup>
7588
</Project>

src/Certify.Locales/ConfigResources.zh-Hans.resx

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,23 +121,37 @@
121121
<value />
122122
</data>
123123
<data name="Credits" xml:space="preserve">
124-
<value>此软件提供为“AS-IS”并不提供任何形式的保证,无论明示或暗示,包括但不限于任何默认条件下,不间断的使用、适销性,针对特定用途的适用性或非侵权
124+
<value>本软件按“原样”提供,不附带任何明示或暗示的担保,包括但不限于对适销性、特定用途适用性、无侵权性、持续可用性等的任何默示保证
125125

126-
使用LetsEncrypt.org的加密服务来获得免费的SSL/TSL证书收到LetsEncrypt.org的服务条款约束。此软件不隶属于或受赞助于LetsEncrypt.org
126+
使用LetsEncrypt.org免费SSL/TLS证书服务需遵守LetsEncrypt.org的服务条款。本软件与LetsEncrypt.org无任何关联,也未获得其官方认可
127127

128-
此软件使用下列开源软件(或明显的移植于):
129-
130-
- ACMESharp by Eugene Bekker (https://github.com/ebekker/ACMESharp) Licensed under the MPL V 2.0
131-
- Some icons from Font Awesome by Dave Gandy - http://fontawesome.io
128+
本软件使用了以下开源软件(或其重要部分):
129+
- ACMESharp by Eugene Bekker (https://github.com/ebekker/ACMESharp),遵循 MPL V 2.0 许可协议
130+
- 部分图标来自 Font Awesome,作者 Dave Gandy - http://fontawesome.io
132131
- OpenSSL (https://github.com/openssl-net/openssl-net)</value>
133132
</data>
134133
<data name="LongAppName" xml:space="preserve">
135134
<value />
136135
</data>
137136
<data name="UpdateCheckLatestVersion" xml:space="preserve">
138-
<value>您正在使用最新版本。</value>
137+
<value>当前已是最新版本</value>
138+
</data>
139+
<data name="AppUpdateCheckURI" xml:space="preserve">
140+
<value />
141+
</data>
142+
<data name="AppWebsiteURL" xml:space="preserve">
143+
<value />
139144
</data>
140145
<data name="BetaWarning" xml:space="preserve">
141-
<value>警告:这是一个预发布版本,仅供测试或反馈,可能会遇到问题,不要在重要的生产站点上使用此版本。</value>
146+
<value>注意:本软件为测试预览版,仅用于测试和收集反馈,可能存在问题,请勿在重要的生产环境中使用。</value>
147+
</data>
148+
<data name="AIInstrumentationKey" xml:space="preserve">
149+
<value />
150+
</data>
151+
<data name="LocalServiceBaseURI" xml:space="preserve">
152+
<value />
153+
</data>
154+
<data name="LocalServiceBaseURIDebug" xml:space="preserve">
155+
<value />
142156
</data>
143157
</root>
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
57+
mimetype: application/x-microsoft.net.object.bytearray.base64
58+
value : The object must be serialized into a byte array
59+
: using a System.ComponentModel.TypeConverter
60+
: and then encoded with base64 encoding.
61+
-->
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64+
<xsd:element name="root" msdata:IsDataSet="true">
65+
<xsd:complexType>
66+
<xsd:choice maxOccurs="unbounded">
67+
<xsd:element name="metadata">
68+
<xsd:complexType>
69+
<xsd:sequence>
70+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
71+
</xsd:sequence>
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
73+
<xsd:attribute name="type" type="xsd:string" />
74+
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
76+
</xsd:complexType>
77+
</xsd:element>
78+
<xsd:element name="assembly">
79+
<xsd:complexType>
80+
<xsd:attribute name="alias" type="xsd:string" />
81+
<xsd:attribute name="name" type="xsd:string" />
82+
</xsd:complexType>
83+
</xsd:element>
84+
<xsd:element name="data">
85+
<xsd:complexType>
86+
<xsd:sequence>
87+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89+
</xsd:sequence>
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
94+
</xsd:complexType>
95+
</xsd:element>
96+
<xsd:element name="resheader">
97+
<xsd:complexType>
98+
<xsd:sequence>
99+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100+
</xsd:sequence>
101+
<xsd:attribute name="name" type="xsd:string" use="required" />
102+
</xsd:complexType>
103+
</xsd:element>
104+
</xsd:choice>
105+
</xsd:complexType>
106+
</xsd:element>
107+
</xsd:schema>
108+
<resheader name="resmimetype">
109+
<value>text/microsoft-resx</value>
110+
</resheader>
111+
<resheader name="version">
112+
<value>2.0</value>
113+
</resheader>
114+
<resheader name="reader">
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116+
</resheader>
117+
<resheader name="writer">
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119+
</resheader>
120+
<data name="AppName" xml:space="preserve">
121+
<value />
122+
</data>
123+
<data name="Credits" xml:space="preserve">
124+
<value>本軟體以「現狀」方式提供,未附任何明示或暗示之保證,包括但不限於狀態保證、不間斷使用、適售性、特定用途適用性或不侵權等暗示性保證。
125+
126+
免費 SSL/TLS 憑證之申請與使用須遵守 LetsEncrypt.org 的服務條款。本軟體與 LetsEncrypt.org 並無任何隸屬或官方授權關係。
127+
128+
本軟體使用下列開放原始碼軟體(或其部分元件):
129+
- ACMESharp by Eugene Bekker (https://github.com/ebekker/ACMESharp),採用 MPL V 2.0 授權
130+
- 部分圖示來自 Font Awesome by Dave Gandy - http://fontawesome.io
131+
- OpenSSL (https://github.com/openssl-net/openssl-net)</value>
132+
</data>
133+
<data name="LongAppName" xml:space="preserve">
134+
<value />
135+
</data>
136+
<data name="UpdateCheckLatestVersion" xml:space="preserve">
137+
<value>您已使用最新版本</value>
138+
</data>
139+
<data name="AppUpdateCheckURI" xml:space="preserve">
140+
<value />
141+
</data>
142+
<data name="AppWebsiteURL" xml:space="preserve">
143+
<value />
144+
</data>
145+
<data name="BetaWarning" xml:space="preserve">
146+
<value>警告:本軟體為測試與回饋用途的預覽版本,可能仍有錯誤或不穩定之處。請勿將本軟體用於重要的正式環境。</value>
147+
</data>
148+
<data name="AIInstrumentationKey" xml:space="preserve">
149+
<value />
150+
</data>
151+
<data name="LocalServiceBaseURI" xml:space="preserve">
152+
<value />
153+
</data>
154+
<data name="LocalServiceBaseURIDebug" xml:space="preserve">
155+
<value />
156+
</data>
157+
</root>

0 commit comments

Comments
 (0)