Modify some strings for translation.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2010-10-07 23:07:01 -04:00
parent f0d68c81f9
commit d13f2af079
3 changed files with 7 additions and 12 deletions

View file

@ -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>

View file

@ -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"] = "继续";

View file

@ -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">