summaryrefslogtreecommitdiff
path: root/core/helpers/module.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
commita631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch)
treeb5af3ad39362dea97ce01be63d5ec09b7846bb9c /core/helpers/module.php
parentfd081159f1783918d81e355e25e262ccc5249913 (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/helpers/module.php')
-rw-r--r--core/helpers/module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/module.php b/core/helpers/module.php
index 9bce7a44..4b98674e 100644
--- a/core/helpers/module.php
+++ b/core/helpers/module.php
@@ -127,7 +127,7 @@ class module_Core {
}
self::load_modules();
- log::success("module", sprintf(_("Installed module %s"), $module_name));
+ log::success("module", t("Installed module {{module_name}}", array("module_name" => $module_name)));
}
/**
@@ -137,7 +137,7 @@ class module_Core {
$installer_class = "{$module_name}_installer";
Kohana::log("debug", "$installer_class uninstall");
call_user_func(array($installer_class, "uninstall"));
- log::success("module", sprintf(_("Uninstalled module %s"), $module_name));
+ log::success("module", t("Uninstalled module {{module_name}}", array("module_name" => $module_name)));
}
/**