Skip to content

Commit 4885990

Browse files
committed
minor symfony#10121 [Validator] update zh_CN translations (foxwoods)
This PR was merged into the 2.3 branch. Discussion ---------- [Validator] update zh_CN translations | Q | A | ------------- | --- | License | MIT * add new trans-units * change some translations * change punctuations, whitespaces Commits ------- 064346a [Validator][Translation]update zh_CN translations
2 parents bd65c9c + 064346a commit 4885990

File tree

1 file changed

+111
-55
lines changed

1 file changed

+111
-55
lines changed

src/Symfony/Component/Validator/Resources/translations/validators.zh_CN.xlf

Lines changed: 111 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -4,223 +4,279 @@
44
<body>
55
<trans-unit id="1">
66
<source>This value should be false.</source>
7-
<target>该变量的值应为 false.</target>
7+
<target>该变量的值应为 false</target>
88
</trans-unit>
99
<trans-unit id="2">
1010
<source>This value should be true.</source>
11-
<target>该变量的值应为 true.</target>
11+
<target>该变量的值应为 true</target>
1212
</trans-unit>
1313
<trans-unit id="3">
1414
<source>This value should be of type {{ type }}.</source>
15-
<target>该变量的类型应为 {{ type }}.</target>
15+
<target>该变量的类型应为 {{ type }}</target>
1616
</trans-unit>
1717
<trans-unit id="4">
1818
<source>This value should be blank.</source>
19-
<target>该变量值应为空.</target>
19+
<target>该变量值应为空</target>
2020
</trans-unit>
2121
<trans-unit id="5">
2222
<source>The value you selected is not a valid choice.</source>
23-
<target>选定变量的值不是有效的选项.</target>
23+
<target>选定变量的值不是有效的选项</target>
2424
</trans-unit>
2525
<trans-unit id="6">
2626
<source>You must select at least {{ limit }} choice.|You must select at least {{ limit }} choices.</source>
27-
<target>您至少要选择 {{ limit }} 个选项.</target>
27+
<target>您至少要选择 {{ limit }} 个选项</target>
2828
</trans-unit>
2929
<trans-unit id="7">
3030
<source>You must select at most {{ limit }} choice.|You must select at most {{ limit }} choices.</source>
31-
<target>您最多能选择 {{ limit }} 个选项.</target>
31+
<target>您最多能选择 {{ limit }} 个选项</target>
3232
</trans-unit>
3333
<trans-unit id="8">
3434
<source>One or more of the given values is invalid.</source>
35-
<target>一个或者多个给定的值无效.</target>
35+
<target>一个或者多个给定的值无效</target>
3636
</trans-unit>
3737
<trans-unit id="9">
3838
<source>The fields {{ fields }} were not expected.</source>
39-
<target>非预期字段 {{ fields }}.</target>
39+
<target>非预期字段 {{ fields }}</target>
4040
</trans-unit>
4141
<trans-unit id="10">
4242
<source>The fields {{ fields }} are missing.</source>
43-
<target>遗漏字段 {{ fields }}.</target>
43+
<target>遗漏字段 {{ fields }}</target>
4444
</trans-unit>
4545
<trans-unit id="11">
4646
<source>This value is not a valid date.</source>
47-
<target>该值不是一个有效日期(date).</target>
47+
<target>该值不是一个有效的日期(date)</target>
4848
</trans-unit>
4949
<trans-unit id="12">
5050
<source>This value is not a valid datetime.</source>
51-
<target>该值不是一个有效日期时间(datetime).</target>
51+
<target>该值不是一个有效的日期时间(datetime)</target>
5252
</trans-unit>
5353
<trans-unit id="13">
5454
<source>This value is not a valid email address.</source>
55-
<target>该值不是一个有效邮件地址.</target>
55+
<target>该值不是一个有效的邮件地址。</target>
5656
</trans-unit>
5757
<trans-unit id="14">
5858
<source>The file could not be found.</source>
59-
<target>文件未找到.</target>
59+
<target>文件未找到</target>
6060
</trans-unit>
6161
<trans-unit id="15">
6262
<source>The file is not readable.</source>
63-
<target>文件不可读.</target>
63+
<target>文件不可读</target>
6464
</trans-unit>
6565
<trans-unit id="16">
6666
<source>The file is too large ({{ size }} {{ suffix }}). Allowed maximum size is {{ limit }} {{ suffix }}.</source>
67-
<target>文件太大 ({{ size }} {{ suffix }}). 文件大小不可以超过 {{ limit }} {{ suffix }}.</target>
67+
<target>文件太大 ({{ size }} {{ suffix }})文件大小不可以超过 {{ limit }} {{ suffix }}</target>
6868
</trans-unit>
6969
<trans-unit id="17">
7070
<source>The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.</source>
71-
<target>文件类型不合法 ({{ type }}). 合法的文件类型有 {{ types }}.</target>
71+
<target>无效的文件类型 ({{ type }}) 。允许的文件类型有 {{ types }}</target>
7272
</trans-unit>
7373
<trans-unit id="18">
7474
<source>This value should be {{ limit }} or less.</source>
75-
<target>这个变量的值应该小于或等于 {{ limit }}.</target>
75+
<target>这个变量的值应该小于或等于 {{ limit }}</target>
7676
</trans-unit>
7777
<trans-unit id="19">
7878
<source>This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.</source>
79-
<target>字符串太长, 长度不可超过 {{ limit }} 个字符.</target>
79+
<target>字符串太长,长度不可超过 {{ limit }} 个字符</target>
8080
</trans-unit>
8181
<trans-unit id="20">
8282
<source>This value should be {{ limit }} or more.</source>
83-
<target>该变量的值应该大于或等于 {{ limit }}.</target>
83+
<target>该变量的值应该大于或等于 {{ limit }}</target>
8484
</trans-unit>
8585
<trans-unit id="21">
8686
<source>This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.</source>
87-
<target>字符串太短, 长度不可少于 {{ limit }} 个字符.</target>
87+
<target>字符串太短,长度不可少于 {{ limit }} 个字符</target>
8888
</trans-unit>
8989
<trans-unit id="22">
9090
<source>This value should not be blank.</source>
91-
<target>该变量不应为空.</target>
91+
<target>该变量不应为空</target>
9292
</trans-unit>
9393
<trans-unit id="23">
9494
<source>This value should not be null.</source>
95-
<target>该变量不应为 null.</target>
95+
<target>该变量不应为 null</target>
9696
</trans-unit>
9797
<trans-unit id="24">
9898
<source>This value should be null.</source>
99-
<target>该变量应为空 null.</target>
99+
<target>该变量应为空 null</target>
100100
</trans-unit>
101101
<trans-unit id="25">
102102
<source>This value is not valid.</source>
103-
<target>该变量值无效.</target>
103+
<target>该变量值无效</target>
104104
</trans-unit>
105105
<trans-unit id="26">
106106
<source>This value is not a valid time.</source>
107-
<target>该值不是一个有效时间.</target>
107+
<target>该值不是一个有效的时间。</target>
108108
</trans-unit>
109109
<trans-unit id="27">
110110
<source>This value is not a valid URL.</source>
111-
<target>该值不是一个有效的 URL 地址.</target>
111+
<target>该值不是一个有效的 URL </target>
112112
</trans-unit>
113113
<trans-unit id="31">
114114
<source>The two values should be equal.</source>
115-
<target>该两个变量的值应该相同.</target>
115+
<target>这两个变量的值应该相等。</target>
116116
</trans-unit>
117117
<trans-unit id="32">
118118
<source>The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}.</source>
119-
<target>文件太大, 文件大小不可以超过 {{ limit }} {{ suffix }}.</target>
119+
<target>文件太大,文件大小不可以超过 {{ limit }} {{ suffix }}</target>
120120
</trans-unit>
121121
<trans-unit id="33">
122122
<source>The file is too large.</source>
123-
<target>文件太大.</target>
123+
<target>文件太大</target>
124124
</trans-unit>
125125
<trans-unit id="34">
126126
<source>The file could not be uploaded.</source>
127-
<target>文件不可被上传.</target>
127+
<target>无法上传此文件。</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130130
<source>This value should be a valid number.</source>
131-
<target>该值应该为有效的数字.</target>
131+
<target>该值应该为有效的数字</target>
132132
</trans-unit>
133133
<trans-unit id="36">
134134
<source>This value is not a valid country.</source>
135-
<target>该值不是有效的国家名.</target>
135+
<target>该值不是有效的国家名</target>
136136
</trans-unit>
137137
<trans-unit id="37">
138138
<source>This file is not a valid image.</source>
139-
<target>该文件不是有效的图片.</target>
139+
<target>该文件不是有效的图片</target>
140140
</trans-unit>
141141
<trans-unit id="38">
142142
<source>This is not a valid IP address.</source>
143-
<target>该值不是有效的IP地址.</target>
143+
<target>该值不是有效的IP地址</target>
144144
</trans-unit>
145145
<trans-unit id="39">
146146
<source>This value is not a valid language.</source>
147-
<target>该值不是有效的语言名.</target>
147+
<target>该值不是有效的语言名</target>
148148
</trans-unit>
149149
<trans-unit id="40">
150150
<source>This value is not a valid locale.</source>
151-
<target>该值不是有效的区域值.</target>
151+
<target>该值不是有效的区域值(locale)。</target>
152152
</trans-unit>
153153
<trans-unit id="41">
154154
<source>This value is already used.</source>
155-
<target>该值已经被使用了.</target>
155+
<target>该值已经被使用。</target>
156156
</trans-unit>
157157
<trans-unit id="42">
158158
<source>The size of the image could not be detected.</source>
159-
<target>不能解析图片大小.</target>
159+
<target>不能解析图片大小</target>
160160
</trans-unit>
161161
<trans-unit id="43">
162162
<source>The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px.</source>
163-
<target>图片太宽 ({{ width }}px),最大宽度为 {{ max_width }}px.</target>
163+
<target>图片太宽 ({{ width }}px),最大宽度为 {{ max_width }}px</target>
164164
</trans-unit>
165165
<trans-unit id="44">
166166
<source>The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px.</source>
167-
<target>图片宽度不够 ({{ width }}px),最小宽度为 {{ min_width }}px.</target>
167+
<target>图片宽度不够 ({{ width }}px),最小宽度为 {{ min_width }}px</target>
168168
</trans-unit>
169169
<trans-unit id="45">
170170
<source>The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px.</source>
171-
<target>图片太高 ({{ height }}px),最大高度为 {{ max_height }}px.</target>
171+
<target>图片太高 ({{ height }}px),最大高度为 {{ max_height }}px</target>
172172
</trans-unit>
173173
<trans-unit id="46">
174174
<source>The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px.</source>
175-
<target>图片高度不够 ({{ height }}px),最小高度为 {{ min_height }}px.</target>
175+
<target>图片高度不够 ({{ height }}px),最小高度为 {{ min_height }}px</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178178
<source>This value should be the user current password.</source>
179-
<target>该变量应为用户当前的密码.</target>
179+
<target>该变量的值应为用户当前的密码。</target>
180180
</trans-unit>
181181
<trans-unit id="48">
182182
<source>This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.</source>
183-
<target>该变量应为 {{ limit }} 个字符.</target>
183+
<target>该变量应为 {{ limit }} 个字符</target>
184184
</trans-unit>
185185
<trans-unit id="49">
186186
<source>The file was only partially uploaded.</source>
187-
<target>该文件的上传不完整.</target>
187+
<target>该文件的上传不完整</target>
188188
</trans-unit>
189189
<trans-unit id="50">
190190
<source>No file was uploaded.</source>
191-
<target>没有上传任何文件.</target>
191+
<target>没有上传任何文件</target>
192192
</trans-unit>
193193
<trans-unit id="51">
194194
<source>No temporary folder was configured in php.ini.</source>
195-
<target>php.ini里没有配置临时文件目录.</target>
195+
<target>php.ini 里没有配置临时文件目录。</target>
196196
</trans-unit>
197197
<trans-unit id="52">
198198
<source>Cannot write temporary file to disk.</source>
199-
<target>临时文件写入磁盘失败.</target>
199+
<target>临时文件写入磁盘失败</target>
200200
</trans-unit>
201201
<trans-unit id="53">
202202
<source>A PHP extension caused the upload to fail.</source>
203-
<target>某个PHP扩展造成上传失败.</target>
203+
<target>某个 PHP 扩展造成上传失败。</target>
204204
</trans-unit>
205205
<trans-unit id="54">
206206
<source>This collection should contain {{ limit }} element or more.|This collection should contain {{ limit }} elements or more.</source>
207-
<target>该集合最少应包含 {{ limit }} 个元素.</target>
207+
<target>该集合最少应包含 {{ limit }} 个元素</target>
208208
</trans-unit>
209209
<trans-unit id="55">
210210
<source>This collection should contain {{ limit }} element or less.|This collection should contain {{ limit }} elements or less.</source>
211-
<target>该集合最多包含 {{ limit }} 个元素.</target>
211+
<target>该集合最多包含 {{ limit }} 个元素</target>
212212
</trans-unit>
213213
<trans-unit id="56">
214214
<source>This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements.</source>
215-
<target>该集合应包含正好 {{ limit }} 个元素element.</target>
215+
<target>该集合应包含 {{ limit }} 个元素 element 。</target>
216216
</trans-unit>
217217
<trans-unit id="57">
218218
<source>Invalid card number.</source>
219-
<target>无效的信用卡号.</target>
219+
<target>无效的信用卡号</target>
220220
</trans-unit>
221221
<trans-unit id="58">
222222
<source>Unsupported card type or invalid card number.</source>
223-
<target>不支持的信用卡类型或无效的信用卡号.</target>
223+
<target>不支持的信用卡类型或无效的信用卡号。</target>
224+
</trans-unit>
225+
<trans-unit id="59">
226+
<source>This is not a valid International Bank Account Number (IBAN).</source>
227+
<target>该值不是有效的国际银行帐号(IBAN)。</target>
228+
</trans-unit>
229+
<trans-unit id="60">
230+
<source>This value is not a valid ISBN-10.</source>
231+
<target>该值不是有效的10位国际标准书号(ISBN-10)。</target>
232+
</trans-unit>
233+
<trans-unit id="61">
234+
<source>This value is not a valid ISBN-13.</source>
235+
<target>该值不是有效的13位国际标准书号(ISBN-13)。</target>
236+
</trans-unit>
237+
<trans-unit id="62">
238+
<source>This value is neither a valid ISBN-10 nor a valid ISBN-13.</source>
239+
<target>该值不是有效的国际标准书号(ISBN-10 或 ISBN-13)。</target>
240+
</trans-unit>
241+
<trans-unit id="63">
242+
<source>This value is not a valid ISSN.</source>
243+
<target>该值不是有效的国际标准期刊号(ISSN)。</target>
244+
</trans-unit>
245+
<trans-unit id="64">
246+
<source>This value is not a valid currency.</source>
247+
<target>该值不是有效的货币名(currency)。</target>
248+
</trans-unit>
249+
<trans-unit id="65">
250+
<source>This value should be equal to {{ compared_value }}.</source>
251+
<target>该值应等于 {{ compared_value }} 。</target>
252+
</trans-unit>
253+
<trans-unit id="66">
254+
<source>This value should be greater than {{ compared_value }}.</source>
255+
<target>该值应大于 {{ compared_value }} 。</target>
256+
</trans-unit>
257+
<trans-unit id="67">
258+
<source>This value should be greater than or equal to {{ compared_value }}.</source>
259+
<target>该值应大于或等于 {{ compared_value }} 。</target>
260+
</trans-unit>
261+
<trans-unit id="68">
262+
<source>This value should be identical to {{ compared_value_type }} {{ compared_value }}.</source>
263+
<target>该值应与 {{ compared_value_type }} {{ compared_value }} 相同。</target>
264+
</trans-unit>
265+
<trans-unit id="69">
266+
<source>This value should be less than {{ compared_value }}.</source>
267+
<target>该值应小于 {{ compared_value }} 。</target>
268+
</trans-unit>
269+
<trans-unit id="70">
270+
<source>This value should be less than or equal to {{ compared_value }}.</source>
271+
<target>该值应小于或等于 {{ compared_value }} 。</target>
272+
</trans-unit>
273+
<trans-unit id="71">
274+
<source>This value should not be equal to {{ compared_value }}.</source>
275+
<target>该值不应先等于 {{ compared_value }} 。</target>
276+
</trans-unit>
277+
<trans-unit id="72">
278+
<source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source>
279+
<target>该值不应与 {{ compared_value_type }} {{ compared_value }} 相同。</target>
224280
</trans-unit>
225281
</body>
226282
</file>

0 commit comments

Comments
 (0)