diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-02-10 06:12:16 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-02-10 06:12:16 +0000 |
commit | b2f20ff76649cab714c761e8a43f66e1976cf3d4 (patch) | |
tree | 5974be43528c46f8074e9390399fc92648eeb3fb /core/controllers | |
parent | fc162362de2f155933baf3231a857faa9f6d46cc (diff) |
style fixes (style for method names, style for vars in locale.php)
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/l10n_client.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/controllers/l10n_client.php b/core/controllers/l10n_client.php index b1d37849..41e05c98 100644 --- a/core/controllers/l10n_client.php +++ b/core/controllers/l10n_client.php @@ -24,8 +24,8 @@ class L10n_Client_Controller extends Controller { $input = Input::instance(); $message = $input->post("l10n-message-source"); $translation = $input->post("l10n-edit-target"); - $key = I18n::getMessageKey($message); - $locale = I18n::instance()->getLocale(); + $key = I18n::get_message_key($message); + $locale = I18n::instance()->locale(); $entry = ORM::factory("outgoing_translation") ->where(array("key" => $key, @@ -78,7 +78,7 @@ class L10n_Client_Controller extends Controller { } public static function l10n_form() { - $calls = I18n::instance()->getCallLog(); + $calls = I18n::instance()->call_log(); if ($calls) { $string_list = array(); @@ -92,7 +92,7 @@ class L10n_Client_Controller extends Controller { } $source = $message; $translation = ''; - if (I18n::instance()->hasTranslation($message, $options)) { + if (I18n::instance()->has_translation($message, $options)) { $translation = I18n::instance()->translate($message, $options); } $string_list[] = array('source' => $source, |