[aur-dev] [PATCH] passreset.php: Make error messages translatable

Lukas Fleischer archlinux at cryptocrack.de
Mon Feb 10 16:22:33 EST 2014


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

Signed-off-by: Lukas Fleischer <archlinux at 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



More information about the aur-dev mailing list