diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-24 19:24:02 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-24 19:24:02 -0800 |
| commit | 3ed7a5af46586f186a4627d8b029aec7c3ff579d (patch) | |
| tree | f7dff8eaa04e0a5f3c9be45767a32a909ae41dd3 /modules/gallery/tests | |
| parent | 9b6663f87a7e679ffba691cf516191fc840cf978 (diff) | |
Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4
Diffstat (limited to 'modules/gallery/tests')
| -rw-r--r-- | modules/gallery/tests/I18n_Test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/tests/I18n_Test.php b/modules/gallery/tests/I18n_Test.php index 9010606a..d0555cbf 100644 --- a/modules/gallery/tests/I18n_Test.php +++ b/modules/gallery/tests/I18n_Test.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -class I18n_Test extends Unit_Test_Case { +class Gallery_I18n_Test extends Unit_Test_Case { private $i18n; public function setup() { @@ -26,7 +26,7 @@ class I18n_Test extends Unit_Test_Case { 'root_locale' => 'en', 'default_locale' => 'te_ST', 'locale_dir' => VARPATH . 'locale/'); - $this->i18n = I18n::instance($config); + $this->i18n = Gallery_I18n::instance($config); ORM::factory("incoming_translation") ->where("locale", "te_ST") @@ -43,7 +43,7 @@ class I18n_Test extends Unit_Test_Case { foreach ($messages_te_ST as $data) { list ($message, $translation) = $data; $entry = ORM::factory("incoming_translation"); - $entry->key = I18n::get_message_key($message); + $entry->key = Gallery_I18n::get_message_key($message); $entry->message = serialize($message); $entry->translation = serialize($translation); $entry->locale = 'te_ST'; |
