From ff6791f57652aecfe5d3b43848b0a63f4307fa35 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 13 Jan 2009 01:05:11 +0000 Subject: Models should be named in adjective_noun form to make pluralizatoin more intuitive. Renamed Translations_Incoming to Incoming_Translation to suit. --- core/tests/I18n_Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/tests') diff --git a/core/tests/I18n_Test.php b/core/tests/I18n_Test.php index 5d505eb1..f99dd9c1 100644 --- a/core/tests/I18n_Test.php +++ b/core/tests/I18n_Test.php @@ -29,7 +29,7 @@ class I18n_Test extends Unit_Test_Case { $this->i18n = I18n::instance($config); $db = Database::instance(); - $db->query("DELETE FROM `translations_incomings` WHERE `locale` = 'te_ST'"); + $db->query("DELETE FROM `incoming_translations` WHERE `locale` = 'te_ST'"); $messages_de_DE = array( array('Hello world', 'Hallo Welt'), @@ -43,7 +43,7 @@ class I18n_Test extends Unit_Test_Case { list ($message, $translation) = $data; $key = $message; $key = is_array($key) ? array_shift($key) : $key; - $entry = ORM::factory("translations_incoming"); + $entry = ORM::factory("incoming_translation"); $entry->key = md5($key, true); $entry->message = serialize($message); $entry->translation = serialize($translation); -- cgit v1.2.3