From 4e06bd2292a1bc7eef3dd742149a577ea09fcf5e Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 12 Mar 2008 11:55:25 +0000 Subject: Language updates git-svn-id: https://code.elgg.org/elgg/trunk@184 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/actions.php') 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); -- cgit v1.2.3