Commit d13f2af0 authored by Loui Chang's avatar Loui Chang
Browse files

Modify some strings for translation.



Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent f0d68c81
......@@ -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>
......
......@@ -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"] = "继续";
......@@ -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">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment