summaryrefslogtreecommitdiff
path: root/core/tests
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-02-12 07:11:24 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-02-12 07:11:24 +0000
commit50b783e3a5af17485443f55e51aa57c9c67be7e2 (patch)
treebb71e36f73da465f92188bdc0831c262d3e1e653 /core/tests
parent9bbe8053c73c875dca7c838e708a8829a80dacf6 (diff)
Change i18n message key to include the plural form (to ensure that it's truly unique).
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/I18n_Test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/tests/I18n_Test.php b/core/tests/I18n_Test.php
index 4a353538..75170a1d 100644
--- a/core/tests/I18n_Test.php
+++ b/core/tests/I18n_Test.php
@@ -64,15 +64,15 @@ class I18n_Test extends Unit_Test_Case {
public function translate_plural_other_test() {
$result = $this->i18n->translate(array('one' => 'One item has been added',
- 'other' => '%count items have been added.'),
- array('count' => 5));
+ 'other' => '%count elements have been added'),
+ array('count' => 5));
$this->assert_equal('5 Elemente wurden hinzugefuegt.', $result);
}
public function translate_plural_one_test() {
$result = $this->i18n->translate(array('one' => 'One item has been added',
- 'other' => '%count items have been added.'),
- array('count' => 1));
+ 'other' => '%count elements have been added'),
+ array('count' => 1));
$this->assert_equal('Ein Element wurde hinzugefuegt.', $result);
}