aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 15:51:51 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 15:51:51 +0000
commitf92c81e14cf7faebe4d1a07dbf3ffe95546a2999 (patch)
treec2838011aba24c1fb654203edfdcac5e91c5520f
parentf46b9a78e84dc57b7673691c7297aaf81f6f7b07 (diff)
downloadelgg-f92c81e14cf7faebe4d1a07dbf3ffe95546a2999.tar.gz
elgg-f92c81e14cf7faebe4d1a07dbf3ffe95546a2999.tar.bz2
Corrected widget panel save messages.
git-svn-id: https://code.elgg.org/elgg/trunk@973 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--actions/widgets/reorder.php4
-rw-r--r--languages/en.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/widgets/reorder.php b/actions/widgets/reorder.php
index 47d446519..68fecfd6b 100644
--- a/actions/widgets/reorder.php
+++ b/actions/widgets/reorder.php
@@ -21,9 +21,9 @@
$result = reorder_widgets_from_panel($maincontent, $sidebar, $context, $owner);
if ($result) {
- system_message(elgg_echo('widgets:save:success'));
+ system_message(elgg_echo('widgets:panel:save:success'));
} else {
- system_message(elgg_echo('widgets:save:failure'));
+ system_message(elgg_echo('widgets:panel:save:failure'));
}
forward($_SERVER['HTTP_REFERER']);
diff --git a/languages/en.php b/languages/en.php
index 4c7e2249a..f0f67d44d 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -298,6 +298,8 @@
'widgets' => "Widgets",
'widget' => "Widget",
+ 'widgets:panel:save:success' => "Your widgets were successfully saved.",
+ 'widgets:panel:save:failure' => "There was a problem saving your widgets. Please try again.",
'widgets:save:success' => "The widget was successfully saved.",
'widgets:save:failure' => "We could not save your widget. Please try again.",