mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Refactor all translation strings that have ambiguous placeholders.
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'. Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with preserving CSS classes too...
This commit is contained in:
@@ -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" => "<a href=\"" . url::site("admin/maintenance") . "\">",
|
||||
"link_start" => "</a>")));
|
||||
t('<a href="%url">view</a>',
|
||||
array("url" => url::site("admin/maintenance"))));
|
||||
}
|
||||
|
||||
$view = new Admin_View("admin.html");
|
||||
|
||||
Reference in New Issue
Block a user