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/helpers/graphics.php | |
parent | e53916dd0622e3db61d6a05ad0fe69e8d7c7f11a (diff) |
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r-- | core/helpers/graphics.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php index 7b13c55d..2edfb5f8 100644 --- a/core/helpers/graphics.php +++ b/core/helpers/graphics.php @@ -217,8 +217,8 @@ class graphics_Core { $count = self::find_dirty_images_query()->count(); if ($count) { site_status::warning( - t2("One of your photos is out of date. {{link_start}}Click here to fix it{{link_end}}", - "{{count}} of your photos are out of date. {{link_start}}Click here to fix them{{link_end}}", + t2("One of your photos is out of date. %link_startClick here to fix it%link_end", + "%count of your photos are out of date. %link_startClick here to fix them%link_end", $count, array("link_start" => "<a href=\"" . url::site("admin/maintenance/start/graphics::rebuild_dirty_images?csrf=__CSRF__") . @@ -254,8 +254,8 @@ class graphics_Core { } } - $task->status = t2("Updated: 1 image. Total: {{total_count}}.", - "Updated: {{count}} images. Total: {{total_count}}.", + $task->status = t2("Updated: 1 image. Total: %total_count.", + "Updated: %count images. Total: %total_count.", $completed, array("total_count" => ($remaining + $completed))); |