Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
f0dc779d
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f0dc779d
编写于
7月 19, 2018
作者:
JenkinsInChina
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add translation for signup page
上级
a4e83fc7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
50 addition
and
7 deletion
+50
-7
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/signup.jelly
...s/hudson/security/HudsonPrivateSecurityRealm/signup.jelly
+6
-6
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/signup_zh_CN.properties
...curity/HudsonPrivateSecurityRealm/signup_zh_CN.properties
+19
-1
core/src/main/resources/hudson/security/SecurityRealm/signup_zh_CN.properties
...ces/hudson/security/SecurityRealm/signup_zh_CN.properties
+25
-0
未找到文件。
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/signup.jelly
浏览文件 @
f0dc779d
...
...
@@ -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"
>
 
</span>
</div>
<div
id=
"passwordStrengthWrapper"
>
${%Strength}
:
<span
id=
"passwordStrength"
>
 
</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'}"
...
...
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/signup_zh_CN.properties
浏览文件 @
f0dc779d
...
...
@@ -20,4 +20,22 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Sign\
up
=
\u
6ce8
\u
518c
Sign\
up
=
\u
6CE8
\u
518C
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.
=
\u
8BF7
\u
767B
\u9646
Username
=
\u7528\u6237\u
540D
Full\
name
=
\u5168\u
79F0
Email
=
\u
90AE
\u
7BB1
Enter\
text\
as\
shown
=
\u
8F93
\u5165\u
663E
\u
793A
\u7684\u6587\u
672C
Password
=
\u
5BC6
\u7801
Show
=
\u
663E
\u
793A
Strength
=
\u
5F3A
\u
5EA6
Create\
account
=
\u
521B
\u
5EFA
\u
8D26
\u
53F7
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.
=
\u
9AD8
\u
5F3A
\u
5EA6
\u7684\u
5BC6
\u7801\u
5E94
\u
8BE5
\u
662F
\u
6BD4
\u
8F83
\u
957F
\u
FF0C
\u
800C
\u
4E14
\u
6BCF
\u
4E2A
\u
7F51
\u
7AD9
\u
90FD
\u
662F
\u
552F
\u
4E00
\u7684\u3002\u
8BF7
\u
53C2
\u
8BD5
\u
4F7F
\u7528
5
\u
FF5E6
\u
4E2A
\u
5B57
\u
7B26
\u7684\u
5B89
\u5168\u
5BC6
\u7801\u3002
Strong
=
\u
5F3A
Moderate
=
\u9002\u
4E2D
Weak
=
\u
5F31
Poor
=
\u
5F88
\u
5F31
core/src/main/resources/hudson/security/SecurityRealm/signup_zh_CN.properties
0 → 100644
浏览文件 @
f0dc779d
# 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
=
\u
4E0D
\u
652F
\u6301\u
6CE8
\u
518C
Sign\
up
=
\u
6CE8
\u
518C
This\
is\
not\
supported\
in\
the\
current\
configuration.
=
\u
5F53
\u
524D
\u
914D
\u
7F6E
\u
4E2D
\u
4E0D
\u
652F
\u6301\u3002
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录