diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
commit | bba707de36d9bfbdb3001e3e89fac0c072aa14e9 (patch) | |
tree | 2b3ee7fc662baea04cecdf14b8a2758c108f83cc /conf | |
parent | 78add502d71dca43bb59ab9ad91745c64d0bf74d (diff) | |
download | gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.tar.gz gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.zip |
Finish team list, create new team, join/leave team page
Diffstat (limited to 'conf')
-rw-r--r-- | conf/locale/locale_en-US.ini | 19 | ||||
-rw-r--r-- | conf/locale/locale_zh-CN.ini | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index d44dca081b..4e191dca40 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -79,6 +79,7 @@ Retype = Re-type password SSHTitle = SSH key name HttpsUrl = HTTPS URL PayloadUrl = Payload URL +TeamName = Team name require_error = ` cannot be empty.` alpha_dash_error = ` must be valid alpha or numeric or dash(-_) characters.` @@ -94,16 +95,19 @@ password_not_match = Password and re-type password are not same. username_been_taken = Username has been already taken. repo_name_been_taken = Repository name has been already taken. org_name_been_taken = Organization name has been already taken. +team_name_been_taken = Team name has been already taken. email_been_used = E-mail address has been already used. ssh_key_been_used = Public key name has been used. illegal_username = Your username contains illegal characters. illegal_repo_name = Repository name contains illegal characters. illegal_org_name = Organization name contains illegal characters. +illegal_team_name = Team name contains illegal characters. username_password_incorrect = Username or password is not correct. enterred_invalid_repo_name = Please make sure you entered repository name is correct. enterred_invalid_owner_name = Please make sure you entered owner name is correct. enterred_invalid_password = Please make sure you entered password is correct. user_not_exist = Given user does not exist. +last_org_owner = The user to remove is the last member in owner team. There must be another owner. invalid_ssh_key = Sorry, we're not able to verify your SSH key: %s auth_failed = Authentication failed: %v @@ -237,6 +241,11 @@ lower_members = members lower_repositories = repositories create_new_team = Create New Team org_desc = Description +team_name = Team Name +team_desc = Description +team_name_helper = You'll use this name to mention this team in conversations. +team_desc_helper = What is this team all about? +team_permission_desc = What permission level should this team have? settings = Settings settings.options = Options @@ -258,9 +267,19 @@ members.owner = Owner members.member = Member members.conceal = Conceal members.remove = Remove +members.leave = Leave members.invite_desc = Start typing a username to invite a new member to %s: members.invite_now = Invite Now +teams.join = Join +teams.leave = Leave +teams.read_access = Read Access +teams.read_access_helper = This team will be able to view and clone its repositories. +teams.write_access = Write Access +teams.write_access_helper = This team will be able to read its repositories, as well as push to them. +teams.admin_access = Admin Access +teams.admin_access_helper = This team will be able to push/pull to its repositories, as well as add other collaborators to them. + [action] create_repo = created repository <a href="/%s">%s</a> commit_repo = pushed to <a href="/%s/src/%s">%s</a> at <a href="/%s">%s</a> diff --git a/conf/locale/locale_zh-CN.ini b/conf/locale/locale_zh-CN.ini index b84aca3d9e..e3607d8e6e 100644 --- a/conf/locale/locale_zh-CN.ini +++ b/conf/locale/locale_zh-CN.ini @@ -79,6 +79,7 @@ Retype = 确认密码 SSHTitle = SSH 密钥名称 HttpsUrl = HTTPS URL 地址 PayloadUrl = 推送地址 +TeamName = 团队名称 require_error = 不能为空。 alpha_dash_error = 必须为英文字母、阿拉伯数字或横线(-_)。 @@ -94,16 +95,19 @@ password_not_match = 密码与确认密码未匹配。 username_been_taken = 用户名已经被占用。 repo_name_been_taken = 仓库名称已经被占用。 org_name_been_taken = 组织名称已经被占用。 +team_name_been_taken = 团队名称已经被占用。 email_been_used = 邮箱地址已经被使用。 ssh_key_been_used = SSH 密钥已经被使用。 illegal_username = 您的用户名包含非法字符。 illegal_repo_name = 仓库名称包含非法字符。 illegal_org_name = 组织名称包含非法字符。 +illegal_team_name = 团队名称包含非法字符。 username_password_incorrect = 用户名或密码不正确。 enterred_invalid_repo_name = 请检查您输入的仓库名称是正确。 enterred_invalid_owner_name = 请检查您输入的新所有者用户名是否正确。 enterred_invalid_password = 请检查您输入的密码是否正确。 user_not_exist = 被操作的用户不存在! +last_org_owner = 被移除用户为最后一位管理员。请添加一位新的管理员再进行移除成员操作! invalid_ssh_key = 很抱歉,我们无法验证您输入的 SSH 密钥:%s auth_failed = 授权验证失败:%v @@ -237,6 +241,11 @@ lower_members = 名成员 lower_repositories = 个仓库 create_new_team = 创建新的团队 org_desc = 组织描述 +team_name = 团队名称 +team_desc = 团队描述 +team_name_helper = 您可以使用该名称来通知改组全体成员。 +team_desc_helper = 一句话描述这个团队是做什么的。 +team_permission_desc = 请选择该团队所具有的权限等级: settings = 组织设置 settings.options = 基本设置 @@ -258,9 +267,19 @@ members.owner = 管理员 members.member = 普通成员 members.conceal = 隐藏身份 members.remove = 移除成员 +members.leave = 离开组织 members.invite_desc = 请输入被邀请到组织 %s 的用户名称: members.invite_now = 立即邀请 +teams.join = 加入团队 +teams.leave = 离开团队 +teams.read_access = 读取权限 +teams.read_access_helper = 这个团队将拥有查看和克隆所属仓库的权限。 +teams.write_access = 写入权限 +teams.write_access_helper = 这个团队将拥有查看、克隆和推送所属仓库的权限。 +teams.admin_access = 管理权限 +teams.admin_access_helper = 这个团队将拥有查看、克隆、推送和添加其他组织成员到团队的权限。 + [action] create_repo = 创建了仓库 <a href="/%s">%s</a> commit_repo = 推送了 <a href="/%s/src/%s">%s</a> 分支的代码到 <a href="/%s">%s</a> |