From d13f2af0799d5be163b8438c7f9594c20bb76208 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 7 Oct 2010 23:07:01 -0400 Subject: Modify some strings for translation. Signed-off-by: Loui Chang --- web/html/passreset.php | 7 +++---- web/lang/zh_CN.po | 8 ++------ web/template/pkg_details.php | 4 ++-- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/web/html/passreset.php b/web/html/passreset.php index 0f98593..0b0b030 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -117,19 +117,18 @@ html_header(__("Password Reset"));
- + -

', ''); ?>

- +
diff --git a/web/lang/zh_CN.po b/web/lang/zh_CN.po index 870f38f..3fe0477 100644 --- a/web/lang/zh_CN.po +++ b/web/lang/zh_CN.po @@ -505,9 +505,7 @@ $_t["Forgot Password"] = "找回密码"; $_t["Check your e-mail for the confirmation link."] = "请进入您的邮箱查看确认邮件。"; -# NO! dont change very English bit of the next line, otherwise will not working -$_t["If you have forgotten the e-mail address you used to - register, please send a message to the %haur-general%h mailing list."] = "如果您忘记了注册账号时使用的Email,请向 %haur-general%h 邮件列表寻求帮助。"; +$_t["If you have forgotten the e-mail address you used to register, please send a message to the %haur-general%h mailing list."] = "如果您忘记了注册账号时使用的Email,请向 %haur-general%h 邮件列表寻求帮助。"; $_t["Some packages may be provided as binaries in [community]."] = "部分包将以二进制包的形式提供于[community]仓库。"; @@ -515,6 +513,4 @@ $_t["Name, Description"] = "名称和描述"; $_t["Name Only"] = "名称"; -# not working though, php modification needed, uncomment when ready -#$_t["(unknown)"] = "(未知)"; -#$_t["Continue"] = "继续"; +$_t["Continue"] = "继续"; diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 9c76ab3..30d17e1 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -33,8 +33,8 @@ $msg = __('unknown'); $license = empty($row['License']) ? $msg : $row['License']; # Print the timestamps for last updates -$updated_time = ($row["ModifiedTS"] == 0) ? "(unknown)" : gmdate("r", intval($row["ModifiedTS"])); -$submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval($row["SubmittedTS"])); +$updated_time = ($row["ModifiedTS"] == 0) ? $msg : gmdate("r", intval($row["ModifiedTS"])); +$submitted_time = ($row["SubmittedTS"] == 0) ? $msg : gmdate("r", intval($row["SubmittedTS"])); ?>
-- cgit v1.2.3-70-g09d2