summaryrefslogtreecommitdiff
path: root/core/tests
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-02-09 08:42:13 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-02-09 08:42:13 +0000
commitdce6548431c4d61ab6c532375a0f030d8de72fd1 (patch)
tree2f39eda105cc270f80580452ab36fac72b6a1375 /core/tests
parentfa1f49d99a30a029d1a4e09b820c639d639f6283 (diff)
Add local localization functionality. Local = no means to upload / download translations to a translation server yet.
- Added an outgoing_translations table to store translations from the local translation UI. - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority. - Not handling plural strings in the translations UI yet.
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/I18n_Test.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/tests/I18n_Test.php b/core/tests/I18n_Test.php
index df139f04..65b5e79a 100644
--- a/core/tests/I18n_Test.php
+++ b/core/tests/I18n_Test.php
@@ -42,7 +42,6 @@ class I18n_Test extends Unit_Test_Case {
foreach ($messages_te_ST as $data) {
list ($message, $translation) = $data;
- $key = $message;
$entry = ORM::factory("incoming_translation");
$entry->key = I18n::getMessageKey($message);
$entry->message = serialize($message);