summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2014-01-20 02:37:34 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-01-20 15:41:17 +0100
commit1bc78b9dff5a1451007e28f9955deb1250c82d29 (patch)
treeafe13dd53c0678a4eefd7f26f8cdba54ac49f1af
parentecbb664b3da2e0e089e08c7c0b91334a205c403e (diff)
downloadaur-1bc78b9dff5a1451007e28f9955deb1250c82d29.tar.gz
aur-1bc78b9dff5a1451007e28f9955deb1250c82d29.tar.xz
acctfuncs.inc.php: Allow translation of missing strings
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/lib/acctfuncs.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index fe748a28..b4081b59 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -425,7 +425,7 @@ function try_login() {
$userID = valid_user($_REQUEST['user']);
if ( user_suspended($userID) ) {
- $login_error = "Account Suspended.";
+ $login_error = __('Account suspended');
}
elseif ( $userID && isset($_REQUEST['passwd'])
&& valid_passwd($userID, $_REQUEST['passwd']) ) {
@@ -490,7 +490,7 @@ function try_login() {
}
else {
- $login_error = "Error trying to generate session id.";
+ $login_error = __('An error occurred trying to generate a user session.');
}
} elseif (passwd_is_empty($userID)) {
$login_error = __('Your password has been reset. ' .