From 4d697dc42b3115b73888202de45e797ffb6150c5 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 13 Apr 2009 09:45:28 -0400 Subject: Move cn.po to zh_CN.po. Update AUTHORS, and config.inc.proto Signed-off-by: Loui Chang --- web/lang/cn.po | 264 ----------------------------------------------- web/lang/zh_CN.po | 264 +++++++++++++++++++++++++++++++++++++++++++++++ web/lib/config.inc.proto | 3 +- 3 files changed, 266 insertions(+), 265 deletions(-) delete mode 100644 web/lang/cn.po create mode 100644 web/lang/zh_CN.po (limited to 'web') diff --git a/web/lang/cn.po b/web/lang/cn.po deleted file mode 100644 index 89003bd..0000000 --- a/web/lang/cn.po +++ /dev/null @@ -1,264 +0,0 @@ - - -global $_t; - -$_t["Search by"] = ""; - -$_t["This package has been flagged out of date."] = ""; - -$_t["Missing a required field."] = ""; - -$_t["Logged-in as: %s"] = ""; - -$_t["Error trying to modify account, %h%s%h: %s."] = ""; - -$_t["Username does not exist."] = ""; - -$_t["Tarball"] = ""; - -$_t["Can contain only one period, underscore or hyphen."] = ""; - -$_t["Unflag Out-of-date"] = ""; - -$_t["Missing package ID."] = ""; - -$_t["You must be logged in before you can unflag packages."] = ""; - -$_t["No results matched your search criteria."] = ""; - -$_t["Update"] = ""; - -$_t["Sort order"] = ""; - -$_t["You must be logged in before you can edit package information."] = ""; - -$_t["Your votes have been cast for the selected packages."] = ""; - -$_t["Package details could not be found."] = ""; - -$_t["change category"] = ""; - -$_t["Error retrieving package list."] = ""; - -$_t["Reset"] = ""; - -$_t["Submitted: %s by %s"] = ""; - -$_t["string"] = ""; - -$_t["Remember me"] = ""; - -$_t["This vote is still running."] = ""; - -$_t["Package category updated."] = ""; - -$_t["%s already has proposal running for them."] = ""; - -$_t["Error - No file uploaded"] = ""; - -$_t["You did not select any packages to disown."] = ""; - -$_t["Package URL is missing a protocol (ie. http:// ,ftp://)"] = ""; - -$_t["Votes"] = ""; - -$_t["Total"] = ""; - -$_t["No more results to display."] = ""; - -$_t["Maintainer"] = ""; - -$_t["Less"] = ""; - -$_t["You are not allowed to access this area."] = ""; - -$_t["Any type"] = ""; - -$_t["Accounts"] = ""; - -$_t["Could not retrieve proposal details."] = ""; - -$_t["You do not have permission to edit this account."] = ""; - -$_t["Click on the Home link above to login."] = ""; - -$_t["The email address is invalid."] = ""; - -$_t["Could not change directory to %s."] = ""; - -$_t["None of the selected packages could be deleted."] = ""; - -$_t["Your votes have been removed from the selected packages."] = ""; - -$_t["No packages matched your search criteria."] = ""; - -$_t["Create"] = ""; - -$_t["orphan"] = ""; - -$_t["View this user's packages"] = ""; - -$_t["Next"] = "下一个"; - -$_t["Could not re-tar"] = "将不在重新大包"; - -$_t["You must be logged in before you can adopt packages."] = "在你怀疑前你必须先登录"; - -$_t["You must create an account before you can upload packages."] = "在你上传包之前你必须创建帐号"; - -$_t["Location"] = "位置"; - -$_t["Delete comment"] = "删除注释"; - -$_t["Account Type"] = "帐户类型"; - -$_t["Type"] = "类型"; - -$_t["More"] = "更多"; - -$_t["Username"] = "帐户"; - -$_t["Could not create incoming directory: %s."] = ""; - -$_t["Upload package file"] = "上传包文件"; - -$_t["(defaults to 7 if empty)"] = "(如果是空的,默认值是7)"; - -$_t["No New Comment Notification"] = "没有新的通知"; - -$_t["Couldn't add to notification list."] = ""; - -$_t["Disown Packages"] = ""; - -$_t["Files"] = "文件"; - -$_t["Vote ID not valid."] = "非法的投票选项"; - -$_t["(empty if not applicable)"] = ""; - -$_t["Per page"] = "每一页"; - -$_t["New proposal submitted."] = ""; - -$_t["Upload"] = "上传"; - -$_t["You must be logged in before you can vote for packages."] = "你必须登录之后才能为包投票"; - -$_t["Invalid category ID."] = "非法的分类标识"; - -$_t["Go"] = "前进"; - -$_t["New Package Notify"] = "新包通知"; - -$_t["Use this form to search existing accounts."] = "使用这个表单去查找已经存在的帐户"; - -$_t["The address, %h%s%h, is already in use."] = "该地址,%h%s%h,已经被使用"; - -$_t["Current Votes"] = "当前的投票"; - -$_t["Select Category"] = "选择分类"; - -$_t["You have been removed from the comment notification list for %s."] = "你已经从评论通知中移出了%s"; - -$_t["Unknown file format for uploaded file."] = "上传的未知格式的文件"; - -$_t["Delete Packages"] = "删除包"; - -$_t["The selected packages have been deleted."] = "选中的包已经被删除"; - -$_t["Back"] = "返回"; - -$_t["Re-type password"] = "确认密码"; - -$_t["All Votes"] = "所有投票"; - -$_t["The selected packages have been disowned."] = "选中的包已经被否决"; - -$_t["Suspended"] = "暂停"; - -$_t["Home"] = "首页"; - -$_t["Yes"] = "是"; - -$_t["UnFlag Out-of-date"] = "过期的未标记"; - -$_t["Developer"] = "开发者"; - -$_t["Category"] = "目录"; - -$_t["Missing build function in PKGBUILD."] = "PKGBUILD中缺少build函数"; - -$_t["You must be logged in before you can flag packages."] = "你必须在登录后才能标记包"; - -$_t["No results found."] = "没有发任何结果"; - -$_t["No"] = "不"; - -$_t["Discussion"] = "讨论"; - -$_t["Dependencies"] = "依赖"; - -$_t["Start"] = "开始"; - -$_t["Add"] = "添加"; - -$_t["You did not select any packages to adopt."] = "你没有选择可疑的包"; - -$_t["Length must be at least 1."] = "长度必须大于等于1"; - -$_t["Error trying to create account, %h%s%h: %s."] = "尝试创建帐户失败,%h%s%h:%s."; - -$_t["End"] = "结束"; - -$_t["The account, %h%s%h, has been successfully modified."] = "该帐户,%h%s%h,修改成功."; - -$_t["Account Suspended"] = "帐户被暂停"; - -$_t["Status"] = "状态"; - -$_t["You must be logged in before you can get notifications on comments."] = "你必须登录后才能收到评论通知"; - -$_t["Leave the password fields blank to keep your same password."] = "如果不修改密码,请保持密码项为空"; - -$_t["IRC Nick"] = "IRC昵称"; - -$_t["Trusted user"] = "受信用户"; - -$_t["Normal user"] = "普通用户"; - -$_t["This is a %h%s%h problem!"] = "这是一个%h%s%h 问题"; - -$_t["You are not allowed to overwrite the %h%s%h package."] = "不允许你覆盖%h%s%h这个包"; - -$_t["Missing comment ID."] = "评论标识丢失"; - -$_t["Error trying to retrieve package details."] = "尝试重新获取包详情错误"; - -$_t["Proposal cannot be empty."] = "提议不能为空"; - -$_t["User"] = "用户"; - -$_t["Package Category"] = "包分类"; - -$_t["The selected packages have been adopted."] = "选择的包已经被怀疑"; - -$_t["Packages"] = "包"; - -$_t["Edit Account"] = "编辑帐户"; - -$_t["Search"] = "搜索"; - -$_t["Language"] = "语言"; - -$_t["Orphans"] = "孤儿"; - diff --git a/web/lang/zh_CN.po b/web/lang/zh_CN.po new file mode 100644 index 0000000..89003bd --- /dev/null +++ b/web/lang/zh_CN.po @@ -0,0 +1,264 @@ + + +global $_t; + +$_t["Search by"] = ""; + +$_t["This package has been flagged out of date."] = ""; + +$_t["Missing a required field."] = ""; + +$_t["Logged-in as: %s"] = ""; + +$_t["Error trying to modify account, %h%s%h: %s."] = ""; + +$_t["Username does not exist."] = ""; + +$_t["Tarball"] = ""; + +$_t["Can contain only one period, underscore or hyphen."] = ""; + +$_t["Unflag Out-of-date"] = ""; + +$_t["Missing package ID."] = ""; + +$_t["You must be logged in before you can unflag packages."] = ""; + +$_t["No results matched your search criteria."] = ""; + +$_t["Update"] = ""; + +$_t["Sort order"] = ""; + +$_t["You must be logged in before you can edit package information."] = ""; + +$_t["Your votes have been cast for the selected packages."] = ""; + +$_t["Package details could not be found."] = ""; + +$_t["change category"] = ""; + +$_t["Error retrieving package list."] = ""; + +$_t["Reset"] = ""; + +$_t["Submitted: %s by %s"] = ""; + +$_t["string"] = ""; + +$_t["Remember me"] = ""; + +$_t["This vote is still running."] = ""; + +$_t["Package category updated."] = ""; + +$_t["%s already has proposal running for them."] = ""; + +$_t["Error - No file uploaded"] = ""; + +$_t["You did not select any packages to disown."] = ""; + +$_t["Package URL is missing a protocol (ie. http:// ,ftp://)"] = ""; + +$_t["Votes"] = ""; + +$_t["Total"] = ""; + +$_t["No more results to display."] = ""; + +$_t["Maintainer"] = ""; + +$_t["Less"] = ""; + +$_t["You are not allowed to access this area."] = ""; + +$_t["Any type"] = ""; + +$_t["Accounts"] = ""; + +$_t["Could not retrieve proposal details."] = ""; + +$_t["You do not have permission to edit this account."] = ""; + +$_t["Click on the Home link above to login."] = ""; + +$_t["The email address is invalid."] = ""; + +$_t["Could not change directory to %s."] = ""; + +$_t["None of the selected packages could be deleted."] = ""; + +$_t["Your votes have been removed from the selected packages."] = ""; + +$_t["No packages matched your search criteria."] = ""; + +$_t["Create"] = ""; + +$_t["orphan"] = ""; + +$_t["View this user's packages"] = ""; + +$_t["Next"] = "下一个"; + +$_t["Could not re-tar"] = "将不在重新大包"; + +$_t["You must be logged in before you can adopt packages."] = "在你怀疑前你必须先登录"; + +$_t["You must create an account before you can upload packages."] = "在你上传包之前你必须创建帐号"; + +$_t["Location"] = "位置"; + +$_t["Delete comment"] = "删除注释"; + +$_t["Account Type"] = "帐户类型"; + +$_t["Type"] = "类型"; + +$_t["More"] = "更多"; + +$_t["Username"] = "帐户"; + +$_t["Could not create incoming directory: %s."] = ""; + +$_t["Upload package file"] = "上传包文件"; + +$_t["(defaults to 7 if empty)"] = "(如果是空的,默认值是7)"; + +$_t["No New Comment Notification"] = "没有新的通知"; + +$_t["Couldn't add to notification list."] = ""; + +$_t["Disown Packages"] = ""; + +$_t["Files"] = "文件"; + +$_t["Vote ID not valid."] = "非法的投票选项"; + +$_t["(empty if not applicable)"] = ""; + +$_t["Per page"] = "每一页"; + +$_t["New proposal submitted."] = ""; + +$_t["Upload"] = "上传"; + +$_t["You must be logged in before you can vote for packages."] = "你必须登录之后才能为包投票"; + +$_t["Invalid category ID."] = "非法的分类标识"; + +$_t["Go"] = "前进"; + +$_t["New Package Notify"] = "新包通知"; + +$_t["Use this form to search existing accounts."] = "使用这个表单去查找已经存在的帐户"; + +$_t["The address, %h%s%h, is already in use."] = "该地址,%h%s%h,已经被使用"; + +$_t["Current Votes"] = "当前的投票"; + +$_t["Select Category"] = "选择分类"; + +$_t["You have been removed from the comment notification list for %s."] = "你已经从评论通知中移出了%s"; + +$_t["Unknown file format for uploaded file."] = "上传的未知格式的文件"; + +$_t["Delete Packages"] = "删除包"; + +$_t["The selected packages have been deleted."] = "选中的包已经被删除"; + +$_t["Back"] = "返回"; + +$_t["Re-type password"] = "确认密码"; + +$_t["All Votes"] = "所有投票"; + +$_t["The selected packages have been disowned."] = "选中的包已经被否决"; + +$_t["Suspended"] = "暂停"; + +$_t["Home"] = "首页"; + +$_t["Yes"] = "是"; + +$_t["UnFlag Out-of-date"] = "过期的未标记"; + +$_t["Developer"] = "开发者"; + +$_t["Category"] = "目录"; + +$_t["Missing build function in PKGBUILD."] = "PKGBUILD中缺少build函数"; + +$_t["You must be logged in before you can flag packages."] = "你必须在登录后才能标记包"; + +$_t["No results found."] = "没有发任何结果"; + +$_t["No"] = "不"; + +$_t["Discussion"] = "讨论"; + +$_t["Dependencies"] = "依赖"; + +$_t["Start"] = "开始"; + +$_t["Add"] = "添加"; + +$_t["You did not select any packages to adopt."] = "你没有选择可疑的包"; + +$_t["Length must be at least 1."] = "长度必须大于等于1"; + +$_t["Error trying to create account, %h%s%h: %s."] = "尝试创建帐户失败,%h%s%h:%s."; + +$_t["End"] = "结束"; + +$_t["The account, %h%s%h, has been successfully modified."] = "该帐户,%h%s%h,修改成功."; + +$_t["Account Suspended"] = "帐户被暂停"; + +$_t["Status"] = "状态"; + +$_t["You must be logged in before you can get notifications on comments."] = "你必须登录后才能收到评论通知"; + +$_t["Leave the password fields blank to keep your same password."] = "如果不修改密码,请保持密码项为空"; + +$_t["IRC Nick"] = "IRC昵称"; + +$_t["Trusted user"] = "受信用户"; + +$_t["Normal user"] = "普通用户"; + +$_t["This is a %h%s%h problem!"] = "这是一个%h%s%h 问题"; + +$_t["You are not allowed to overwrite the %h%s%h package."] = "不允许你覆盖%h%s%h这个包"; + +$_t["Missing comment ID."] = "评论标识丢失"; + +$_t["Error trying to retrieve package details."] = "尝试重新获取包详情错误"; + +$_t["Proposal cannot be empty."] = "提议不能为空"; + +$_t["User"] = "用户"; + +$_t["Package Category"] = "包分类"; + +$_t["The selected packages have been adopted."] = "选择的包已经被怀疑"; + +$_t["Packages"] = "包"; + +$_t["Edit Account"] = "编辑帐户"; + +$_t["Search"] = "搜索"; + +$_t["Language"] = "语言"; + +$_t["Orphans"] = "孤儿"; + diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto index 7248b93..ccfeda2 100644 --- a/web/lib/config.inc.proto +++ b/web/lib/config.inc.proto @@ -31,7 +31,8 @@ $SUPPORTED_LANGS = array( "pl" => "Polski", "pt" => "Português", "ru" => "Русский", - "tr" => "Türkçe" + "tr" => "Türkçe", + "zh_CN" => "简体中文" ); # Idle seconds before timeout -- cgit v1.2.3-70-g09d2