// @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 {
'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',