passreset.php: Make error messages translatable

This fixes a regression introduced in commit 48b7407 (passreset.php:
Refactor HTML, 2014-01-08).

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-02-10 22:20:47 +01:00
parent 94a4f597ff
commit 1be6761acd

View file

@ -62,9 +62,9 @@ html_header(__("Password Reset"));
<h2><?= __("Password Reset"); ?></h2>
<?php if ($step == 'confirm'): ?>
<p>Check your e-mail for the confirmation link.</p>
<p><?= __('Check your e-mail for the confirmation link.') ?></p>
<?php elseif ($step == 'complete'): ?>
<p>Your password has been reset successfully.</p>
<p><?= __('Your password has been reset successfully.') ?></p>
<?php elseif (isset($_GET['resetkey'])): ?>
<?php if ($error): ?>
<ul class="errorlist"><li><?= $error ?></li></ul>