8000 minor #38847 Missing translations for Chinese (zh_CN) #38732 (fd6130) · symfony/symfony@48cbe31 · GitHub
[go: up one dir, main page]

Skip to content

Commit 48cbe31

Browse files
committed
minor #38847 Missing translations for Chinese (zh_CN) #38732 (fd6130)
This PR was squashed before being merged into the 3.4 branch. Discussion ---------- Missing translations for Chinese (zh_CN) #38732 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #38732 | License | MIT Added missing translations for zh_CN in Form, Security, Validator. Commits ------- 952df24 Missing translations for Chinese (zh_CN) #38732
2 parents 77c127e + 952df24 commit 48cbe31

File tree

3 files changed

+180
-0
lines changed

3 files changed

+180
-0
lines changed

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

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,126 @@
1414
<source>The CSRF token is invalid. Please try to resubmit the form.</source>
1515
<target>CSRF 验证符无效, 请重新提交.</target>
1616
</trans-unit>
17+
<trans-unit id="99">
18+
<source>This value is not a valid HTML5 color.</source>
19+
<target>该数值不是个有效的 HTML5 颜色。</target>
20+
</trans-unit>
21+
<trans-unit id="100">
22+
<source>Please enter a valid birthdate.</source>
23+
<target>请输入有效的生日日期。</target>
24+
</trans-unit>
25+
<trans-unit id="101">
26+
<source>The selected choice is invalid.</source>
27+
<target>所选的选项无效。</target>
28+
</trans-unit>
29+
<trans-unit id="102">
30+
<source>The collection is invalid.</source>
31+
<target>集合无效。</target>
32+
</trans-unit>
33+
<trans-unit id="103">
34+
<source>Please select a valid color.</source>
35+
<target>请选择有效的颜色。</target>
36+
</trans-unit>
37+
<trans-unit id="104">
38+
<source>Please select a valid country.</source>
39+
<target>请选择有效的国家。</target>
40+
</trans-unit>
41+
<trans-unit id="105">
42+
<source>Please select a valid currency.</source>
43+
<target>请选择有效的货币。</target>
44+
</trans-unit>
45+
<trans-unit id="106">
46+
<source>Please choose a valid date interval.</source>
47+
<target>请选择有效的日期间隔。</target>
48+
</trans-unit>
49+
<trans-unit id="107">
50+
<source>Please enter a valid date and time.</source>
51+
<target>请输入有效的日期与时间。</target>
52+
</trans-unit>
53+
<trans-unit id="108">
54+
<source>Please enter a valid date.</source>
55+
<target>请输入有效的日期。</target>
56+
</trans-unit>
57+
<trans-unit id="109">
58+
<source>Please select a valid file.</source>
59+
<target>请选择有效的文件。</target>
60+
</trans-unit>
61+
<trans-unit id="110">
62+
<source>The hidden field is invalid.</source>
63+
<target>隐藏字段无效。</target>
64+
</trans-unit>
65+
<trans-unit id="111">
66+
<source>Please enter an integer.</source>
67+
<target>请输入整数。</target>
68+
</trans-unit>
69+
<trans-unit id="112">
70+
<source>Please select a valid language.</source>
71+
<target>请选择有效的语言。</target>
72+
</trans-unit>
73+
<trans-unit id="113">
74+
<source>Please select a valid locale.</source>
75+
<target>请选择有效的语言环境。</target>
76+
</trans-unit>
77+
<trans-unit id="114">
78+
<source>Please enter a valid money amount.</source>
79+
<target>请输入正确的金额。</target>
80+
</trans-unit>
81+
<trans-unit id="115">
82+
<source>Please enter a number.</source>
83+
<target>请输入数字。</target>
84+
</trans-unit>
85+
<trans-unit id="116">
86+
<source>The password is invalid.</source>
87+
<target>密码无效。</target>
88+
</trans-unit>
89+
<trans-unit id="117">
90+
<source>Please enter a percentage value.</source>
91+
<target>请输入百分比值。</target>
92+
</trans-unit>
93+
<trans-unit id="118">
94+
<source>The values do not match.</source>
95+
<target>数值不匹配。</target>
96+
</trans-unit>
97+
<trans-unit id="119">
98+
<source>Please enter a valid time.</source>
99+
<target>请输入有效的时间。</target>
100+
</trans-unit>
101+
<trans-unit id="120">
102+
<source>Please select a valid timezone.</source>
103+
<target>请选择有效的时区。</target>
104+
</trans-unit>
105+
<trans-unit id="121">
106+
<source>Please enter a valid URL.</source>
107+
<target>请输入有效的网址。</target>
108+
</trans-unit>
109+
<trans-unit id="122">
110+
<source>Please enter a valid search term.</source>
111+
<target>请输入有效的搜索词。</target>
112+
</trans-unit>
113+
<trans-unit id="123">
114+
<source>Please provide a valid phone number.</source>
115+
<target>请提供有效的手机号码。</target>
116+
</trans-unit>
117+
<trans-unit id="124">
118+
<source>The checkbox has an invalid value.</source>
119+
<target>无效的选框值。</target>
120+
</trans-unit>
121+
<trans-unit id="125">
122+
<source>Please enter a valid email address.</source>
123+
<target>请输入有效的电子邮件地址。</target>
124+
</trans-unit>
125+
<trans-unit id="126">
126+
<source>Please select a valid option.</source>
127+
<target>请选择有效的选项。</target>
128+
</trans-unit>
129+
<trans-unit id="127">
130+
<source>Please select a valid range.</source>
131+
<target>请选择有效的范围。</target>
132+
</trans-unit>
133+
<trans-unit id="128">
134+
<source>Please enter a valid week.</source>
135+
<target>请输入有效的星期。</target>
136+
</trans-unit>
17137
</body>
18138
</file>
19139
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.zh_CN.xlf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@
6666
<source>Account is locked.</source>
6767
<target>帐号已被锁定。</target>
6868
</trans-unit>
69+
<trans-unit id="17">
70+
<source>Too many failed login attempts, please try again later.</source>
71+
<target>登入失败的次数过多,请稍后再试。</target>
72+
</trans-unit>
73+
<trans-unit id="18">
74+
<source>Invalid or expired login link.</source>
75+
<target>失效或过期的登入链接。</target>
76+
</trans-unit>
6977
</body>
7078
</file>
7179
</xliff>

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,58 @@
334334
<source>This value should be valid JSON.</source>
335335
<target>该值应该是有效的JSON。</target>
336336
</trans-unit>
337+
<trans-unit id="87">
338+
<source>This collection should contain only unique elements.</source>
339+
<target>该集合应仅包含独一无二的元素。</target>
340+
</trans-unit>
341+
<trans-unit id="88">
342+
<source>This value should be positive.</source>
343+
<target>数值应为正数。</target>
344+
</trans-unit>
345+
<trans-unit id="89">
346+
<source>This value should be either positive or zero.</source>
347+
<target>数值应是正数,或为零。</target>
348+
</trans-unit>
349+
<trans-unit id="90">
350+
<source>This value should be negative.</source>
351+
<target>数值应为负数。</target>
352+
</trans-unit>
353+
<trans-unit id="91">
354+
<source>This value should be either negative or zero.</source>
355+
<target>数值应是负数,或为零。</target>
356+
</trans-unit>
357+
<trans-unit id="92">
358+
<source>This value is not a valid timezone.</source>
359+
<target>无效时区。</target>
360+
</trans-unit>
361+
<trans-unit id="93">
362+
<source>This password has been leaked in a data breach, it must not be used. Please use another password.</source>
363+
<target>此密码已被泄露,切勿使用。请更换密码。</target>
364+
</trans-unit>
365+
<trans-unit id="94">
366+
<source>This value should be between {{ min }} and {{ max }}.</source>
367+
<target>该数值应在 {{ min }} 和 {{ max }} 之间。</target>
368+
</trans-unit>
369+
<trans-unit id="95">
370+
<source>This value is not a valid hostname.</source>
371+
<target>该数值不是有效的主机名称。</target>
372+
</trans-unit>
373+
<trans-unit id="96">
374+
<source>The number of elements in this collection should be a multiple of {{ compared_value }}.</source>
375+
<target>该集合内的元素数量得是 {{ compared_value }} 的倍数。</target>
376+
</trans-unit>
377+
<trans-unit id="97">
378+
<source>This value should satisfy at least one of the following constraints:</source>
379+
<target>该数值需符合以下其中一个约束:</target>
380+
</trans-unit>
381+
<trans-unit id="98">
382+
<source>Each element of this collection should satisfy its own set of constraints.</source>
383+
<target>该集合内的每个元素需符合元素本身规定的约束。</target>
384+
</trans-unit>
385+
<trans-unit id="99">
386+
<source>This value is not a valid International Securities Identification Number (ISIN).</source>
387+
<target>该数值不是有效的国际证券识别码 (ISIN)。</target>
388+
</trans-unit>
337389
</body>
338390
</file>
339391
</xliff>

0 commit comments

Comments
 (0)
0