From a631fe29f3950f8db1f7fb4ce1f47261a9b0feff Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Thu, 8 Jan 2009 17:13:06 +0000 Subject: 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. --- modules/akismet/helpers/akismet.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/akismet/helpers/akismet.php') diff --git a/modules/akismet/helpers/akismet.php b/modules/akismet/helpers/akismet.php index 12d7a106..df4e7cfe 100644 --- a/modules/akismet/helpers/akismet.php +++ b/modules/akismet/helpers/akismet.php @@ -30,10 +30,10 @@ class akismet_Core { public static function get_configure_form() { $form = new Forge("admin/akismet", "", "post"); - $group = $form->group("configure_akismet")->label(_("Configure Akismet")); - $group->input("api_key")->label(_("API Key"))->value(module::get_var("akismet", "api_key")); - $group->api_key->error_messages("invalid", _("The API key you provided is invalid.")); - $group->submit(_("Save")); + $group = $form->group("configure_akismet")->label(t("Configure Akismet")); + $group->input("api_key")->label(t("API Key"))->value(module::get_var("akismet", "api_key")); + $group->api_key->error_messages("invalid", t("The API key you provided is invalid.")); + $group->submit(t("Save")); return $form; } -- cgit v1.2.3