diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
commit | a631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch) | |
tree | b5af3ad39362dea97ce01be63d5ec09b7846bb9c /core/controllers/admin_graphics.php | |
parent | fd081159f1783918d81e355e25e262ccc5249913 (diff) |
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
Diffstat (limited to 'core/controllers/admin_graphics.php')
-rw-r--r-- | core/controllers/admin_graphics.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/admin_graphics.php b/core/controllers/admin_graphics.php index e6e42672..babad3d4 100644 --- a/core/controllers/admin_graphics.php +++ b/core/controllers/admin_graphics.php @@ -38,8 +38,8 @@ class Admin_Graphics_Controller extends Admin_Controller { } site_status::clear("missing_graphics_toolkit"); - message::success(_("Updated Graphics Toolkit")); - log::success("graphics", sprintf(_("Changed graphics toolkit to %s"), $toolkit)); + message::success(t("Updated Graphics Toolkit")); + log::success("graphics", t("Changed graphics toolkit to: {{toolkit}}", array("toolkit" => $toolkit))); } url::redirect("admin/graphics"); |