From ed7175092c81dafa54be7fec2fa91d0ad88aa780 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Sat, 21 Mar 2009 07:44:46 +0000 Subject: Refactor all translation strings that have ambiguous placeholders. E.g. "%link_startClick here%link_end" is now 'Click here'. Note: This isn't always the best solution. E.g. consider "Foo bar." Now the translator has to deal with preserving CSS classes too... --- core/controllers/admin_maintenance.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/controllers') diff --git a/core/controllers/admin_maintenance.php b/core/controllers/admin_maintenance.php index 99d6f067..df912e29 100644 --- a/core/controllers/admin_maintenance.php +++ b/core/controllers/admin_maintenance.php @@ -33,9 +33,8 @@ class Admin_Maintenance_Controller extends Admin_Controller { t2("One task is stalled", "%count tasks are stalled", $stalled_count), - t("%link_startview%link_end", - array("link_start" => "", - "link_start" => ""))); + t('view', + array("url" => url::site("admin/maintenance")))); } $view = new Admin_View("admin.html"); -- cgit v1.2.3