diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-01-15 10:02:41 +0000 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-15 10:02:41 +0000 |
| commit | e4a9b19bf9997f46203fbc18c696c63703a72625 (patch) | |
| tree | c33f4cb354961eeba452f428dfa68c664bc3226f /core/controllers/admin_dashboard.php | |
| parent | e53916dd0622e3db61d6a05ad0fe69e8d7c7f11a (diff) | |
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
Diffstat (limited to 'core/controllers/admin_dashboard.php')
| -rw-r--r-- | core/controllers/admin_dashboard.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/controllers/admin_dashboard.php b/core/controllers/admin_dashboard.php index 43b61868..15701417 100644 --- a/core/controllers/admin_dashboard.php +++ b/core/controllers/admin_dashboard.php @@ -42,12 +42,12 @@ class Admin_Dashboard_Controller extends Admin_Controller { if ($form->add_block->center->value) { dashboard::add_block("main", $module_name, $block_id); message::success( - t("Added <b>{{title}}</b> block to the main dashboard area", + t("Added <b>%title</b> block to the main dashboard area", array("title" => $available["$module_name:$id"]))); } else { dashboard::add_block("sidebar", $module_name, $block_id); message::success( - t("Added <b>{{title}}</b> to the dashboard sidebar", + t("Added <b>%title</b> to the dashboard sidebar", array("title" => $available["$module_name:$id"]))); } } @@ -68,7 +68,7 @@ class Admin_Dashboard_Controller extends Admin_Controller { if (!empty($deleted)) { $available = dashboard::get_available(); $title = $available[join(":", $deleted)]; - message::success(t("Removed <b>{{title}}</b> block", array("title" => $title))); + message::success(t("Removed <b>%title</b> block", array("title" => $title))); } url::redirect("admin"); |
