From 1010e163600fb627ed1ce04fe81641b1ed325bc8 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 13 Oct 2010 00:52:15 +0200 Subject: [PATCH] One more test. --- .../test/Horde/Translation/GettextTest.php | 3 +++ .../Translation/locale/de/LC_MESSAGES/Horde_Other.mo | Bin 0 -> 484 bytes .../Translation/locale/de/LC_MESSAGES/Horde_Other.po | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 framework/Translation/test/Horde/Translation/locale/de/LC_MESSAGES/Horde_Other.mo create mode 100644 framework/Translation/test/Horde/Translation/locale/de/LC_MESSAGES/Horde_Other.po diff --git a/framework/Translation/test/Horde/Translation/GettextTest.php b/framework/Translation/test/Horde/Translation/GettextTest.php index 7d8cd4d3f..a63bbdd9f 100644 --- a/framework/Translation/test/Horde/Translation/GettextTest.php +++ b/framework/Translation/test/Horde/Translation/GettextTest.php @@ -10,6 +10,7 @@ class Horde_Translation_GettextTest extends PHPUnit_Framework_TestCase { private $_dict; + private $_otherDict; public function setUp() { @@ -17,6 +18,7 @@ class Horde_Translation_GettextTest extends PHPUnit_Framework_TestCase putenv('LANG=de_DE.UTF-8'); putenv('LANGUAGE=de_DE.UTF-8'); $this->_dict = new Horde_Translation_Gettext('Horde_Translation', dirname(__FILE__) . '/locale'); + $this->_otherDict = new Horde_Translation_Gettext('Horde_Other', dirname(__FILE__) . '/locale'); } public function testGettext() @@ -24,6 +26,7 @@ class Horde_Translation_GettextTest extends PHPUnit_Framework_TestCase $this->assertEquals('Heute', $this->_dict->t('Today')); $this->assertEquals('Schön', $this->_dict->t('Beautiful')); $this->assertEquals('2 Tage', sprintf($this->_dict->t('%d days'), 2)); + $this->assertEquals('Morgen', $this->_otherDict->t('Tomorrow')); } public function testNgettext() diff --git a/framework/Translation/test/Horde/Translation/locale/de/LC_MESSAGES/Horde_Other.mo b/framework/Translation/test/Horde/Translation/locale/de/LC_MESSAGES/Horde_Other.mo new file mode 100644 index 0000000000000000000000000000000000000000..6a131d0f856a515580219411534e3a46c4ce6879 GIT binary patch literal 484 zcmZvY!A=4(5QbNy#_Z9vhkDa!u?r?{3K$}SV%UhddhlW@J1!-=?WQfLSKqoHj!)OZN>BMao<2bFvs;L$~U}N=h_(k z>sTC&|+9dE08=-6_9A5cDD70}jvZ+ky=`^)8)|@0TYh}_pTN#%X z6>U;~a23G)fR(x65d<455_*B92& z?_RXw, 2010. +msgid "" +msgstr "" +"Project-Id-Version: Horde_Translation\n" +"Report-Msgid-Bugs-To: dev@lists.horde.org\n" +"POT-Creation-Date: 2010-08-17 18:32+0200\n" +"PO-Revision-Date: 2010-10-13 00:48+0200\n" +"Last-Translator: Jan Schneider \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Tomorrow" +msgstr "Morgen" -- 2.11.0