aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/actions.php2
-rw-r--r--languages/en.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index d164b14d6..18475de27 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -97,7 +97,7 @@ function action($action, $forwarder = "") {
// @todo make this better!
if ($event_result) {
if (!include($CONFIG->actions[$action]['file'])) {
- register_error(sprintf(elgg_echo('actionundefined'), $action));
+ register_error(sprintf(elgg_echo('actionnotfound'), $action));
}
}
} else {
diff --git a/languages/en.php b/languages/en.php
index 7953f12d6..d6b059a48 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -39,6 +39,7 @@ $english = array(
'exception:title' => "Fatal Error.",
'actionundefined' => "The requested action (%s) was not defined in the system.",
+ 'actionnotfound' => "The action file for %s was not found.",
'actionloggedout' => "Sorry, you cannot perform this action while logged out.",
'actionunauthorized' => 'You are unauthorized to perform this action',