diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 01:05:11 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 01:05:11 +0000 |
commit | ff6791f57652aecfe5d3b43848b0a63f4307fa35 (patch) | |
tree | 8f398dc77052dd0cbcbd056a34a9c0bc7cd3d10e /core/tests | |
parent | 4adff591692247debc4089e3a2f1e8fda735d502 (diff) |
Models should be named in adjective_noun form to make pluralizatoin
more intuitive.
Renamed Translations_Incoming to Incoming_Translation to suit.
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/I18n_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |