未验证 提交 0002cf3a 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #3550 from LinuxSuRen/i18n/signup

Add translation for signup page
......@@ -188,15 +188,15 @@ THE SOFTWARE.
const passwordStrength = function(score) {
if (score > 80) {
return "Strong";
return "${%Strong}";
}
if (score > 60) {
return "Moderate";
return "${%Moderate}";
}
if (score >= 30) {
return "Weak";
return "${%Weak}";
}
return "Poor";
return "${%Poor}";
};
const passwordStrengthColor = function(score) {
......@@ -262,7 +262,7 @@ THE SOFTWARE.
name="password1"
id="password1"
/>
<div id="passwordStrengthWrapper">Strength: <span id="passwordStrength">&#160;</span> </div>
<div id="passwordStrengthWrapper">${%Strength}: <span id="passwordStrength">&#160;</span> </div>
<script type="text/javascript">
if (document.getElementById('passwordStrengthWrapper')) {
document.getElementById('passwordStrengthWrapper').hidden = true;
......@@ -271,7 +271,7 @@ THE SOFTWARE.
</div>
<div class="formRow">
A strong password is a long password that's unique for every site. Try using a phrase with 5-6 words for the best security.
${%A strong password is a long password that's unique for every site. Try using a phrase with 5-6 words for the best security.}
</div>
<input
class="${data.errors.containsKey('password1') ? 'danger' : 'normal'}"
......
......@@ -20,4 +20,22 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Sign\ up=\u6ce8\u518c
Sign\ up=\u6CE8\u518C
Create\ an\ account!\ [Jenkins]=\u521B\u5EFA\u4E00\u4E2A\u8D26\u53F7\uFF01[Jenkins]
Create\ an\ account!=\u521B\u5EFA\u4E00\u4E2A\u8D26\u53F7\uFF01
If\ you\ already\ have\ a\ Jenkins\ account,=\u5982\u679C\u4F60\u5DF2\u7ECF\u6709\u4E86\u4E00\u4E2A Jenkins \u8D26\u53F7\uFF0C
please\ sign\ in.=\u8BF7\u767B\u9646
Username=\u7528\u6237\u540D
Full\ name=\u5168\u79F0
Email=\u90AE\u7BB1
Enter\ text\ as\ shown=\u8F93\u5165\u663E\u793A\u7684\u6587\u672C
Password=\u5BC6\u7801
Show=\u663E\u793A
Strength=\u5F3A\u5EA6
Create\ account=\u521B\u5EFA\u8D26\u53F7
A\ strong\ password\ is\ a\ long\ password\ that's\ unique\ for\ every\ site.\ Try\ using\ a\ phrase\ with\ 5-6\ words\ for\ the\ best\ security.=\u9AD8\u5F3A\u5EA6\u7684\u5BC6\u7801\u5E94\u8BE5\u662F\u6BD4\u8F83\u957F\uFF0C\u800C\u4E14\u6BCF\u4E2A\u7F51\u7AD9\u90FD\u662F\u552F\u4E00\u7684\u3002\u8BF7\u53C2\u8BD5\u4F7F\u75285\uFF5E6\u4E2A\u5B57\u7B26\u7684\u5B89\u5168\u5BC6\u7801\u3002
Strong=\u5F3A
Moderate=\u9002\u4E2D
Weak=\u5F31
Poor=\u5F88\u5F31
# The MIT License
#
# Copyright (c) 2018, suren <zxjlwt@126.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Signup\ not\ supported=\u4E0D\u652F\u6301\u6CE8\u518C
Sign\ up=\u6CE8\u518C
This\ is\ not\ supported\ in\ the\ current\ configuration.=\u5F53\u524D\u914D\u7F6E\u4E2D\u4E0D\u652F\u6301\u3002
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册