2016-02-01 12:59:10 +01:00
|
|
|
|
/*
|
|
|
|
|
Copyright (c) 2016 VMware, Inc. All Rights Reserved.
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
var global_messages = {
|
|
|
|
|
"username_is_required" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Username is required.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "用户名为必填项。"
|
|
|
|
|
},
|
|
|
|
|
"username_has_been_taken" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Username has been taken.",
|
|
|
|
|
"zh-CN": "用户名已被占用。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"username_is_too_long" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Username is too long. (maximum 20 characters)",
|
|
|
|
|
"zh-CN": "用户名长度超出限制。(最长为20个字符)"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"username_contains_illegal_chars": {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Username contains illegal character(s).",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "用户名包含不合法的字符。"
|
|
|
|
|
},
|
|
|
|
|
"email_is_required" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email is required.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "邮箱为必填项。"
|
|
|
|
|
},
|
|
|
|
|
"email_contains_illegal_chars" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email contains illegal character(s).",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "邮箱包含不合法的字符。"
|
|
|
|
|
},
|
|
|
|
|
"email_has_been_taken" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email has been taken.",
|
|
|
|
|
"zh-CN": "邮箱已被占用。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"email_content_illegal" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email format is illegal.",
|
|
|
|
|
"zh-CN": "邮箱格式不合法。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"email_does_not_exist" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email does not exist.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "邮箱不存在。"
|
|
|
|
|
},
|
|
|
|
|
"realname_is_required" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Full name is required.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "全名为必填项。"
|
|
|
|
|
},
|
|
|
|
|
"realname_is_too_long" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Full name is too long. (maximum 20 characters)",
|
|
|
|
|
"zh-CN": "全名长度超出限制。(最长为20个字符)"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"realname_contains_illegal_chars" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Full name contains illegal character(s).",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "全名包含不合法的字符。"
|
|
|
|
|
},
|
|
|
|
|
"password_is_required" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Password is required.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "密码为必填项。"
|
|
|
|
|
},
|
|
|
|
|
"password_is_invalid" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Password is invalid. At least 7 characters with 1 lowercase letter, 1 capital letter and 1 numeric character.",
|
|
|
|
|
"zh-CN": "密码无效。至少输入 7个字符且包含 1个小写字母,1个大写字母和 1个数字。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"password_is_too_long" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Password is too long. (maximum 20 characters)",
|
|
|
|
|
"zh-CN": "密码长度超出限制。(最长为20个字符)"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"password_does_not_match" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Passwords do not match.",
|
|
|
|
|
"zh-CN": "两次密码输入不一致。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"comment_is_too_long" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Comment is too long. (maximum 20 characters)",
|
|
|
|
|
"zh-CN": "备注长度超出限制。(最长为20个字符)"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"comment_contains_illegal_chars" : {
|
2016-02-26 11:10:53 +01:00
|
|
|
|
"en-US": "Comment contains illegal character(s).",
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"zh-CN": "备注包含不合法的字符。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"project_name_is_required" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Project name is required.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "项目名称为必填项。"
|
|
|
|
|
},
|
|
|
|
|
"project_name_is_too_short" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Project name is too short. (minimum 4 characters)",
|
|
|
|
|
"zh-CN": "项目名称至少要求 4个字符。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"project_name_is_too_long" : {
|
2016-02-26 11:10:53 +01:00
|
|
|
|
"en-US": "Project name is too long. (maximum 30 characters)",
|
|
|
|
|
"zh-CN": "项目名称长度超出限制。(最长为30个字符)"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"project_name_contains_illegal_chars" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Project name contains illegal character(s).",
|
|
|
|
|
"zh-CN": "项目名称包含不合法的字符。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"project_exists" : {
|
|
|
|
|
"en-US": "Project exists.",
|
|
|
|
|
"zh-CN": "项目已存在。"
|
|
|
|
|
},
|
|
|
|
|
"delete_user" : {
|
|
|
|
|
"en-US": "Delete User",
|
|
|
|
|
"zh-CN": "删除用户"
|
|
|
|
|
},
|
|
|
|
|
"are_you_sure_to_delete_user" : {
|
|
|
|
|
"en-US": "Are you sure to delete ",
|
|
|
|
|
"zh-CN": "确认要删除用户 "
|
|
|
|
|
},
|
|
|
|
|
"input_your_username_and_password" : {
|
|
|
|
|
"en-US": "Please input your username and password.",
|
|
|
|
|
"zh-CN": "请输入用户名和密码。"
|
|
|
|
|
},
|
|
|
|
|
"check_your_username_or_password" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Please check your username or password.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "请输入正确的用户名或密码。"
|
|
|
|
|
},
|
|
|
|
|
"title_login_failed" : {
|
|
|
|
|
"en-US": "Login Failed",
|
|
|
|
|
"zh-CN": "登录失败"
|
|
|
|
|
},
|
|
|
|
|
"title_change_password" : {
|
|
|
|
|
"en-US": "Change Password",
|
|
|
|
|
"zh-CN": "修改密码"
|
|
|
|
|
},
|
|
|
|
|
"change_password_successfully" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Password changed successfully.",
|
|
|
|
|
"zh-CN": "密码已修改。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"title_forgot_password" : {
|
|
|
|
|
"en-US": "Forgot Password",
|
|
|
|
|
"zh-CN": "忘记密码"
|
|
|
|
|
},
|
|
|
|
|
"email_has_been_sent" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Email for resetting password has been sent.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "重置密码邮件已发送。"
|
|
|
|
|
},
|
|
|
|
|
"send_email_failed" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Failed to send Email for resetting password.",
|
|
|
|
|
"zh-CN": "重置密码邮件发送失败。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"please_login_first" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Please login first.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "请先登录。"
|
|
|
|
|
},
|
|
|
|
|
"old_password_is_not_correct" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Old password is not correct.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "原密码输入不正确。"
|
|
|
|
|
},
|
|
|
|
|
"please_input_new_password" : {
|
|
|
|
|
"en-US": "Please input new password.",
|
|
|
|
|
"zh-CN": "请输入新密码。"
|
|
|
|
|
},
|
|
|
|
|
"invalid_reset_url": {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Invalid URL for resetting password.",
|
|
|
|
|
"zh-CN": "无效密码重置链接。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"reset_password_successfully" : {
|
|
|
|
|
"en-US": "Reset password successfully.",
|
|
|
|
|
"zh-CN": "密码重置成功。"
|
|
|
|
|
},
|
|
|
|
|
"internal_error": {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Internal error.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "内部错误,请联系系统管理员。"
|
|
|
|
|
},
|
|
|
|
|
"title_reset_password" : {
|
|
|
|
|
"en-US": "Reset Password",
|
|
|
|
|
"zh-CN": "重置密码"
|
|
|
|
|
},
|
|
|
|
|
"title_sign_up" : {
|
|
|
|
|
"en-US": "Sign Up",
|
|
|
|
|
"zh-CN": "注册"
|
|
|
|
|
},
|
|
|
|
|
"registered_successfully": {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Signed up successfully.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "注册成功。"
|
|
|
|
|
},
|
|
|
|
|
"registered_failed" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Failed to sign up.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "注册失败。"
|
|
|
|
|
},
|
|
|
|
|
"projects" : {
|
|
|
|
|
"en-US": "Projects",
|
|
|
|
|
"zh-CN": "项目"
|
|
|
|
|
},
|
|
|
|
|
"repositories" : {
|
|
|
|
|
"en-US": "Repositories",
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"zh-CN": "镜像仓库"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"no_repo_exists" :{
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "No repositories found, please use 'docker push' to upload images.",
|
|
|
|
|
"zh-CN": "未发现镜像,请用‘docker push’命令上传镜像。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"tag" : {
|
|
|
|
|
"en-US": "Tag",
|
|
|
|
|
"zh-CN": "标签"
|
|
|
|
|
},
|
|
|
|
|
"pull_command": {
|
|
|
|
|
"en-US": "Pull Command",
|
|
|
|
|
"zh-CN": "Pull 命令"
|
|
|
|
|
},
|
|
|
|
|
"image_details" : {
|
|
|
|
|
"en-US": "Image Details",
|
|
|
|
|
"zh-CN": "镜像详细信息"
|
|
|
|
|
},
|
|
|
|
|
"add_members" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Add Member",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "添加成员"
|
|
|
|
|
},
|
|
|
|
|
"edit_members" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Edit Member",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "编辑成员"
|
|
|
|
|
},
|
|
|
|
|
"add_member_failed" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "Adding Member Failed",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "添加成员失败"
|
|
|
|
|
},
|
|
|
|
|
"please_input_username" : {
|
|
|
|
|
"en-US": "Please input a username.",
|
|
|
|
|
"zh-CN": "请输入用户名。"
|
|
|
|
|
},
|
|
|
|
|
"please_assign_a_role_to_user" : {
|
|
|
|
|
"en-US": "Please assign a role to the user.",
|
|
|
|
|
"zh-CN": "请为用户分配角色。"
|
|
|
|
|
},
|
|
|
|
|
"user_id_exists" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "User is already a member.",
|
|
|
|
|
"zh-CN": "用户已经是成员。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
|
|
|
|
"user_id_does_not_exist" : {
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"en-US": "User does not exist.",
|
|
|
|
|
"zh-CN": "不存在此用户。"
|
2016-02-01 12:59:10 +01:00
|
|
|
|
},
|
2016-02-25 11:57:19 +01:00
|
|
|
|
"insufficient_privileges" : {
|
|
|
|
|
"en-US": "Insufficient privileges.",
|
2016-02-01 12:59:10 +01:00
|
|
|
|
"zh-CN": "权限不足。"
|
|
|
|
|
},
|
|
|
|
|
"operation_failed" : {
|
|
|
|
|
"en-US": "Operation Failed",
|
|
|
|
|
"zh-CN": "操作失败"
|
|
|
|
|
},
|
|
|
|
|
"button_on" : {
|
|
|
|
|
"en-US": "On",
|
|
|
|
|
"zh-CN": "打开"
|
|
|
|
|
},
|
|
|
|
|
"button_off" : {
|
|
|
|
|
"en-US": "Off",
|
|
|
|
|
"zh-CN": "关闭"
|
|
|
|
|
}
|
|
|
|
|
};
|