From a16b1d92c404d7af52e2ccd3277cb8b9bd81dc59 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 14 Nov 2010 19:53:21 +0000 Subject: =?UTF-8?q?#860154=20by=20Zolt=C3=A1n=20Balogh,=20zserno,=20G?= =?UTF-8?q?=C3=A1bor=20Hojtsy:=20Fixed=20Locale=20module=20does=20not=20im?= =?UTF-8?q?port=20the=20plural=20forms=20from=20compact=20files.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/locale/locale.test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/locale/locale.test b/modules/locale/locale.test index 6bc2fb757..321be44d7 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -612,7 +612,7 @@ class LocaleImportFunctionalTest extends DrupalWebTestCase { $this->assertRaw(t('The language %language has been created.', array('%language' => 'French')), t('The language has been automatically created.')); // The import should have created 7 strings. - $this->assertRaw(t('The translation was successfully imported. There are %number newly created translated strings, %update strings were updated and %delete strings were removed.', array('%number' => 7, '%update' => 0, '%delete' => 0)), t('The translation file was successfully imported.')); + $this->assertRaw(t('The translation was successfully imported. There are %number newly created translated strings, %update strings were updated and %delete strings were removed.', array('%number' => 9, '%update' => 0, '%delete' => 0)), t('The translation file was successfully imported.')); // This import should have saved plural forms to have 2 variants. $this->assert(db_query("SELECT plurals FROM {languages} WHERE language = 'fr'")->fetchField() == 2, t('Plural number initialized.')); @@ -815,6 +815,11 @@ msgstr "" "Content-Transfer-Encoding: 8bit\\n" "Plural-Forms: nplurals=2; plural=(n > 1);\\n" +msgid "One sheep" +msgid_plural "@count sheep" +msgstr[0] "un mouton" +msgstr[1] "@count moutons" + msgid "Monday" msgstr "lundi" @@ -2206,4 +2211,3 @@ class LocaleDateFormatsFunctionalTest extends DrupalWebTestCase { $this->assertText($french_date, t('French date format appears')); } } - -- cgit v1.2.3