diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
commit | a631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch) | |
tree | b5af3ad39362dea97ce01be63d5ec09b7846bb9c /core/tests | |
parent | fd081159f1783918d81e355e25e262ccc5249913 (diff) |
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.
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/I18n_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/I18n_Test.php b/core/tests/I18n_Test.php index 2a13189a..5d505eb1 100644 --- a/core/tests/I18n_Test.php +++ b/core/tests/I18n_Test.php @@ -44,7 +44,7 @@ class I18n_Test extends Unit_Test_Case { $key = $message; $key = is_array($key) ? array_shift($key) : $key; $entry = ORM::factory("translations_incoming"); - $entry->key = md5($key); + $entry->key = md5($key, true); $entry->message = serialize($message); $entry->translation = serialize($translation); $entry->locale = 'te_ST'; |