[aur-dev] [PATCH] 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> --- web/html/passreset.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/passreset.php b/web/html/passreset.php index e926161..6fade6b 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -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> -- 1.8.5.4
participants (1)
-
Lukas Fleischer