mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 17:29:18 -04:00
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.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user