Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more translations for zh_CN #130

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
*/
define("MAJOR_VERSION", "1");
define("MINOR_VERSION", "6.3");
define("VERSION_EXTRA", "UNOFFICIAL");
define("VERSION_EXTRA", "BETA");

/**
* Constant ACL modules.
Expand Down
4 changes: 2 additions & 2 deletions translations/index.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ name=English
author=Manuel Freiholz

[zh_CN]
name=中文
name=简体中文
author=Sean Chan

[es_ES]
name=Español
author=Jacobo Domínguez

[ja_JP]
name=Japanese
name=日本語
author=Shiro Sakurai

[pt_BR]
Expand Down
11 changes: 6 additions & 5 deletions translations/zh_CN/accesspathcreate.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"Create access-path","创建访问路径"
"Create a new access-path to grant access to users and groups.","创建一个路径,用于授权用户和用户组.."
"Create a new access-path to grant access to users and groups.","创建新的访问路径,用于对用户和用户组配置访问权限。可以手动输入仓库路径或浏览仓库来创建。"
"New access-path data","新路径数据"
"Path","路径"
"Syntax","注意语法:"
"An "/" as access path holds permissions over all repositories.","用 "/" 作为路径,会包含所有代码仓库的权限 ."
"Browse...","浏览..."
"Path","手动输入路径"
"Syntax","语法:"
"An "/" as access path holds permissions over all repositories.","用 "/" 作为路径,会包含所有仓库的权限 ."
"Browse...","浏览仓库"
"Back to overview","返回起始页"
6 changes: 3 additions & 3 deletions translations/zh_CN/actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"The following group(s) could not been deleted","下列组无法被删除."

# delete_repository.php
"You have to select at least one repository.","请至少选择一个代码仓库."
"The following repository(s) could not been deleted:","下列代码仓库无法被删除:"
"You have to select at least one repository.","请至少选择一个仓库."
"The following repository(s) could not been deleted:","下列仓库无法被删除:"

# delete_user.php
"The following user's has been deleted:","已删除下列用户:"
Expand All @@ -68,7 +68,7 @@
# None

# unassign_permission.php
"You have to select at least one access-path and one user or group.","请至少选择一个用户或组,和一个访问路径."
"You have to select at least one access-path and one user or group.","请至少选择一个用户、用户组,或访问路径."
"The following Access-Path's has been unassigned:","已解除下列访问路径:"
"You have no permission to unassign the following Access-Path's, they have been skipped:","您无权解除下列访问路径,已跳过"
"Due to an unknown error, the following Access-Path's could not been handled:","未知错误,下列访问路径未被处理:"
Expand Down
4 changes: 4 additions & 0 deletions translations/zh_CN/errors.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
"The requested module is turned off.","所请求的访问模块已被关闭."
"You do not have permission to access this page.","抱歉,您没有访问此页面的权限。"
"Required permissions:","需要的访问权限:"
"Module:","模块:"
"Action:","操作:"
25 changes: 17 additions & 8 deletions translations/zh_CN/global.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
"Language","语言"
"Translated by","翻译者"
"Repositories","代码仓库"
"Repositories","仓库"
"Users","用户"
"Groups",""
"Groups","用户组"
"Memberships","关系"
"Access-Paths","访问路径"
"Permissions","权限"
"Role","角色"
"Roles","角色组"
"Logout","登出"
"Logout","注销登录"
"Login","登录"
"Change password","修改密码"
"Filter","查找"
"User","用户"
"Group",""
"Group","用户组"
"Access-Path","访问路径"
"Permission","权限"
"Delete","删除"
"List","列表"
"Add","添加"
"Assign","分配"
"Unassign","解除"
"Create","新建"
"Are you sure?","确定?"
"Create","创建"
"Are you sure delete selected users?","准备删除选定的用户,是否继续?"
"Are you sure delete selected repositories?","准备删除选定的仓库,是否继续?"
"Are you sure delete selected groups?","准备删除选定的用户组,是否继续?"
"Are you sure delete selected accesspath?","准备删除选定的访问路径,是否继续?"
"Settings","设置"
"Backend","后端"
"Synchronize","同步"
"Welcome","欢迎"
"Show roles","选择角色"
"Show roles","了解用户角色"
"Home","首页"
"Session","会话"
"Exception list","错误"
"Message list","信息"
"Export dump","下载仓库备份文件"
"Description","描述"
"Options","选项"
13 changes: 7 additions & 6 deletions translations/zh_CN/groupcreate.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"Create group","创建组"
"Create a new group to grant access to the repositories for a range of users.","创建一个新组,用于对一群用户针对一个代码仓库的访问权限."
"New group data","新组数据"
"Group name","组名"
"Valid group names are","合法的组名为"
"Invalid group names are","不合法的组名为:"
"Create group","创建用户组"
"Create a new group to grant access to the repositories for a range of users.","创建一个新组,用于对一群用户针对一个仓库的访问权限."
"New group data","新用户组数据"
"Group name","用户组名"
"Valid group names are","合法的用户组名称示例"
"Invalid group names are","无效的用户组名称示例"
"Back to overview","回到起始页"
2 changes: 1 addition & 1 deletion translations/zh_CN/grouplist.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"Group management","组管理"
"Group management","用户组管理"
"Here you can see a list of all groups, which are defined in your subversion configuration.","在这里,您可以查看所有已从svn配置文件中定义的组."
5 changes: 3 additions & 2 deletions translations/zh_CN/groupview.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"On this page you can see all assigned users to this group.","在本页,您可以查看所有已授权到本组的用户."
"Users of group","组用户"
"Permissions of group","组权限"
"Users of group","此用户组包含用户"
"Permissions of group","此用户组权限"
"Groups of group","此用户组所属父用户组"
6 changes: 3 additions & 3 deletions translations/zh_CN/index.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"General information","相关信息"
"Logged in as","登录为"
"Application version","版本号"
"General information","一般信息"
"Logged in as","登录用户名"
"Application version","系统版本"
"PHP version","PHP 版本"
"Check for updates","更新版本"
3 changes: 2 additions & 1 deletion translations/zh_CN/login.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"You must login to get access to the application.","请登录."
"You must login to get access to the application.","您需要登录才能访问本应用系统."
"Username","用户名"
"Password","密码"
"Wrong user/password combination.","用户名或密码不正确。"
12 changes: 6 additions & 6 deletions translations/zh_CN/permissionassign.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"Manage the user and group permissions for the different access-paths on this site.","在此站点上管理不同访问路径下的用户,用户组访问权限."
"Manage the user and group permissions for the different access-paths on this site.","管理此站点上不同路径的用户/用户组的访问权限."
"Select the permission for the selected user(s)/group(s)","为已选择的用户/(用户组)选择权限"
"No permission","无权限"
"The user(s)/group(s) has no rights.","用户/用户组无权限."
"No-Access","无访问权限"
"The user(s)/group(s) has no rights.","用户/用户组无访问权限."
"Read only","只读"
"The user(s)/group(s) can see all files.","用户/组 可查看所有文件."
"The user(s)/group(s) can see all files.","用户/用户组只能读取文件."
"Read & Write","读写"
"The user(s)/group(s) can see, create, modify and delete all files.","用户/组 可增删改所有文件."
"Select the Access-Path for which the user(s)/group(s) should get rights","选择用户/组应该获得权限的访问路径."
"The user(s)/group(s) can see, create, modify and delete all files.","用户/用户组可读写文件."
"Select the Access-Path for which the user(s)/group(s) should get rights","选择用户/用户组应该获得权限的访问路径."
25 changes: 17 additions & 8 deletions translations/zh_CN/repositorycreate.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
"Create repository","创建代码仓库"
"Create a new repository to manage your sources.","创建代码仓库来管理您的资源."
"New repository data","新代码仓库数据"
"Repository name","代码仓库名字"
"Type","类型"
"File System (Recommended)","文件系统(推荐)"
"Create repository","创建仓库"
"Create a new repository to manage your sources.","创建新的仓库."
"New repository data","新仓库数据"
"Repository name","仓库名称"
"Type of repository","仓库类型"
"Pre-defined repository structure","预定义仓库结构"
"No pre-defined structure","无"
"Multi project structure","多个项目的仓库"
"Single project structure","单个项目的仓库"
"FSFS (default)","FSFS(默认)"
"Berkly DB","Berkly DB"
"Valid signs for repository name are","合法的代码仓库名字为"
"Valid signs for repository name are","合法的仓库名字为"
"Underscore","下划线"
"Hyphen","连字符"
"No space!","切忌空格!"
"No space!","请勿使用空格!"
"Back to overview","回到起始页"
"Repository location","仓库位置"
"Project name","项目名称"
"The folders 'trunk', 'branches' and 'tags' will be created in a subfolder, which is named by the project's name.","系统将在仓库的根目录下创建项目目录,然后在项目目录下创建 "trunk", "branches" 和 "tags" 这三个子目录"
"Creates the folders 'trunk', 'branches' and 'tags' in the root of the repository.","系统将在仓库的根目录下创建 "trunk", "branches" 和 "tags" 这三个子目录"
7 changes: 5 additions & 2 deletions translations/zh_CN/repositorylist.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
"On this page you can view your existing repositories and create or delete an repository.","在本页面,您可以查看存在的代码仓库,也可以添加删除代码仓库"
"Repository management","代码仓库管理"
"On this page you can view your existing repositories and create or delete an repository.","在本页面,您可以查看、添加或删除仓库"
"Repository management","仓库管理"
"Remove configured Access-Paths","删除对应的访问路径"
"Add access path","添加访问路径"
"Repositories","仓库"
5 changes: 4 additions & 1 deletion translations/zh_CN/repositoryview.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
"Repository browsing","代码仓库浏览"
"Repository browsing","浏览仓库"
"Add access path","添加访问路径"
"File name","文件名"
"Author","作者"
"Revision","修订"
16 changes: 9 additions & 7 deletions translations/zh_CN/roles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@
"User","用户"
"Can login and change the own password.","可登录并修改自己的密码."

"User-Group-Manager","用户-组-管理员"
"Create/Delete users and groups and manages memberships and change passwords of users.","可 增加-删除用户/组 ,和管理其间关系,可为用户修改密码"
"User-Group-Manager","用户、用户组管理员"
"Create/Delete users and groups and manages memberships and change passwords of users.","可增加、删除用户或用户组 ,配置用户与用户组关系,可修改所有用户的密码"

"Access-Path-Manager","访问路径管理员"
"Create/Delete Access-Paths and manages user and group permissions.","可 增加-删除 访问路径,和管理用户和组之间的关系."
"Create/Delete Access-Paths and manages user and group permissions.","可增加、删除访问路径,和管理用户与用户组之间的关系."

"Repository-Creator","代码仓库创建者"
"Can create new repositories, but NOT delete.","可创建新代码仓库,但不能删除."
"Repository-Creator","仓库创建员"
"Can create new repositories, but NOT delete.","可创建新仓库,但不能删除仓库。"

"Repository-Manager","代码仓库管理员"
"Create/Delete repositories.","增加-删除 代码仓库."
"Repository-Manager","仓库管理员"
"Create/Delete repositories.","增加、删除仓库."

"Role-Manager","角色管理员"
"Assign and unassign web application roles to users.","为用户分配和解除网页程序的角色."

"Update-Manager","更新管理员"
"Can synchronize the user data from provider with the SVNAuthFile.","可以从数据提供方同步用户数据."

"Available roles","可用的角色"
28 changes: 20 additions & 8 deletions translations/zh_CN/settings.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# All
"Example","样例"
"Example","示例"

# Settings table
"Subversion authorization","Subversion 授权相关"
"Subversion authorization","Subversion 授权"
"Subversion authorization file","Subversion 授权文件"
"Data providers","数据提供方相关"
"Data providers","数据提供者"
"User authentication","用户身份验证"
"User authentication file (SVNUserFile)","用户身份验证文件 (SVNUserFile)"
"Subversion settings","Subversion 设置相关"
"Parent directory of the repositories (SVNParentPath)","代码仓库的父目录 (SVNParentPath)"
"Subversion settings","Subversion 设置"
"Parent directory of the repositories (SVNParentPath)","仓库的父目录 (SVNParentPath)"
"Subversion client executable","'svn.exe' 或 'svn'可执行文件:"
"Subversion admin executable","'svnadmin.exe' 或 'svnadmin' 可执行文件:"
"LDAP connection information","LDAP 连接信息相关"
"LDAP connection information","LDAP 连接信息"
"Host address","LDAP主机地址 "
"Protocol version","LDAP 协议版本"
"LDAP user provider information","LDAP 用户信息相关 "
"LDAP group provider information","LDAP 用户组信息相关"
"LDAP user provider information","LDAP 用户信息 "
"LDAP group provider information","LDAP 用户组信息"

# No users, no edit provider
"You have not defined an "UserEditProviderType", but the system also could not find any user from the configured user view provider.","您并未定义 "UserEditProviderType" . 且系统未从用户数据提供方 发现任何用户 ."
Expand All @@ -27,3 +27,15 @@
"You can <a href="login.php"><b>login now.</b></a>"," <a href="login.php"><b>登录.</b></a>"
"No administrator defined! Select the user for the administator privileges, please.","并无权限!请配置用户的admin权限"
"Save","保存"
"Test","测试"
"Test passed.","测试通过."
"The folder does not exist.","目录不存在"
"The file does not exist.","文件不存在"
"User view provider type:","用户视图提供类型:"
"User edit provider type:","用户编辑提供类型:"
"Group view provider type:","用户组视图提供类型:"
"Group edit provider type:","用户组编辑提供类型:"
"Repository view provider type:","仓库视图提供类型:"
"Repository edit provider type:","仓库编辑提供类型:"
"Save configuration","保存配置"
"Done.","保存配置完成。"
2 changes: 1 addition & 1 deletion translations/zh_CN/userchangepass.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"Change password of user","修改密码"
"Change the password of your subversion account.","修改svn帐户密码."
"New password","新密码"
"Re-type password","新密码确认"
"Re-type password","再次输入新密码"
"The password's doesn't match each other.","两次新密码不匹配."
3 changes: 2 additions & 1 deletion translations/zh_CN/usercreate.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"Create user","创建用户"
"Create a new user to grant access to the repositories.","创建一个可以授权访问对应代码仓库的新用户."
"Create a new user to grant access to the repositories.","创建一个可以授权访问对应仓库的新用户."
"New user data","新用户数据"
"Username","用户名"
"Password","密码"
"Re-type password","确认密码"
"Back to overview","回到起始页"
8 changes: 4 additions & 4 deletions translations/zh_CN/userview.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"On this page you can see all assignments of the user.","在本页,您可以看到所有用户的分配情况."
"On this page you can see all assignments of the user.","在本页,您可以查看用户的权限和所属用户组."
"Groups of user","用户组"
"Permissions of users","用户权限"
"Inherit from Group","从组继承"
"<b>Note:</b> You can not unassign permissions from user, which are inherited by a group.","<b>注意:</b> 您无法解除从组继承过来的用户的权限."
"User is project manager of:","用户是项目经理:"
"Inherit from Group","权限继承自用户组"
"<b>Note:</b> You can not unassign permissions from user, which are inherited by a group.","<b>注意:</b> 用户从用户组继承的权限无法解除。"
"User is project manager of:","此用户是项目经理:"
4 changes: 2 additions & 2 deletions userview.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// Action handling.
if (check_request_var('unassign'))
{
$appEngine->handleAction('unassign_usergroup');
$appEngine->handleAction('unassign_fromgroup');
}
else if (check_request_var('unassign_permission'))
{
Expand All @@ -49,7 +49,7 @@
}
else if(check_request_var('assign_usergroup'))
{
$appEngine->handleAction('assign_togroup');
$appEngine->handleAction('assign_togroup');
}

// Get required variables.
Expand Down