diff options
-rw-r--r-- | web/html/passreset.php | 7 | ||||
-rw-r--r-- | web/lang/zh_CN.po | 8 | ||||
-rw-r--r-- | 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")); </tr> </table> <br /> - <input type="submit" class="button" value="Continue" /> + <input type="submit" class="button" value="<?php echo __('Continue') ?>" /> </form> <?php } else { ?> - <p><?php echo __('If you have forgotten the e-mail address you used to - register, please send a message to the %haur-general%h mailing list.', + <p><?php echo __('If you have forgotten the e-mail address you used to register, please send a message to the %haur-general%h mailing list.', '<a href="http://mailman.archlinux.org/mailman/listinfo/aur-general">', '</a>'); ?></p> <form action="" method="post"> <p><?php echo __("Enter your e-mail address:"); ?> <input type="text" name="email" size="30" maxlength="64" /></p> - <input type="submit" class="button" value="Continue" /> + <input type="submit" class="button" value="<?php echo __('Continue') ?>" /> </form> <?php } ?> </div> 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"])); ?> <div class="pgbox"> |