aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php4
-rw-r--r--actions/logout.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/actions/login.php b/actions/login.php
index cb25b1f0c..7323f1d4d 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -25,9 +25,9 @@
// Set the system_message as appropriate
if ($result) {
- system_message("You have been logged in.");
+ system_message(elgg_echo('login'));
} else {
- system_message("We couldn't log you in. Make sure your details are correct and please try again.");
+ system_message(elgg_echo('loginerror'));
}
?> \ No newline at end of file
diff --git a/actions/logout.php b/actions/logout.php
index fd550c5a4..273e8be48 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -17,9 +17,9 @@
// Set the system_message as appropriate
if ($result) {
- system_message("You have been logged out.");
+ system_message(elgg_echo('logout'));
} else {
- system_message("We couldn't log you out. We're not sure why, to be honest. Try again?");
+ system_message(elgg_echo('logouterror'));
}
?> \ No newline at end of file