You are here

public function LocaleExportTest::getUntranslatedString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Tests/LocaleExportTest.php \Drupal\locale\Tests\LocaleExportTest::getUntranslatedString()

Returns a .po file fragment with an untranslated string.

Return value

string A .po file fragment with an untranslated string.

1 call to LocaleExportTest::getUntranslatedString()
LocaleExportTest::testExportTranslation in core/modules/locale/src/Tests/LocaleExportTest.php
Test exportation of translations.

File

core/modules/locale/src/Tests/LocaleExportTest.php, line 174
Contains \Drupal\locale\Tests\LocaleExportTest.

Class

LocaleExportTest
Tests the exportation of locale files.

Namespace

Drupal\locale\Tests

Code

public function getUntranslatedString() {
  return <<<EOF
msgid "February"
msgstr ""
EOF;
}