aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/actions.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 11:55:25 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 11:55:25 +0000
commit4e06bd2292a1bc7eef3dd742149a577ea09fcf5e (patch)
treedf2874c916eb8a286ef3028ac03bc22299a4e32a /engine/lib/actions.php
parent083219d563d9c3a35429b27a1b76a312e7fa72dd (diff)
downloadelgg-4e06bd2292a1bc7eef3dd742149a577ea09fcf5e.tar.gz
elgg-4e06bd2292a1bc7eef3dd742149a577ea09fcf5e.tar.bz2
Language updates
git-svn-id: https://code.elgg.org/elgg/trunk@184 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r--engine/lib/actions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index bc5d6374f..b4a495414 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -37,10 +37,10 @@
if ($CONFIG->actions[$action]['public'] || $_SESSION['id'] != -1) {
if (@include($CONFIG->path . $CONFIG->actions[$action]['file'])) {
} else {
- register_error("The requested action was not defined in the system.");
+ register_error(sprintf(elgg_echo('actionundefined'),$action));
}
} else {
- register_error("Sorry, you cannot perform this action while logged out.");
+ register_error(elgg_echo('actionloggedout'));
}
}
forward($CONFIG->url . $forwarder);