1 locale.test LocalePluralFormatTest::getPoFileWithMissingPlural()

Returns a .po file with a missing plural formula.

File

core/modules/locale/tests/locale.test, line 732
Tests for locale.module.

Class

LocalePluralFormatTest
Tests plural index computation functionality.

Code

function getPoFileWithMissingPlural() {
  return <<< EOF
msgid ""
msgstr ""
"Project-Id-Version: Backdrop 1\\n"
"MIME-Version: 1.0\\n"
"Content-Type: text/plain; charset=UTF-8\\n"
"Content-Transfer-Encoding: 8bit\\n"

msgid "Monday"
msgstr "lundi"
EOF;
}