You are here

protected function ThunderInstallerGermanTest::getPo in Thunder 6.2.x

Same name and namespace in other branches
  1. 6.0.x tests/src/Functional/Installer/ThunderInstallerGermanTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerGermanTest::getPo()
  2. 6.1.x tests/src/Functional/Installer/ThunderInstallerGermanTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerGermanTest::getPo()

Returns the string for the test .po file.

Parameters

string $langcode: The language code.

Return value

string Contents for the test .po file.

1 call to ThunderInstallerGermanTest::getPo()
ThunderInstallerGermanTest::visitInstaller in tests/src/Functional/Installer/ThunderInstallerGermanTest.php
Visits the interactive installer.

File

tests/src/Functional/Installer/ThunderInstallerGermanTest.php, line 55

Class

ThunderInstallerGermanTest
Tests the interactive installer installing the standard profile.

Namespace

Drupal\Tests\thunder\Functional\Installer

Code

protected function getPo($langcode) {
  return <<<ENDPO
msgid ""
msgstr ""

msgid "Congratulations, you installed @drupal!"
msgstr "Glückwunsch, @drupal wurde erfolgreich installiert."

msgid "Save and continue"
msgstr "Speichern und fortfahren"

msgid "continue anyway"
msgstr "fortfahren"

msgid "Errors found"
msgstr "Fehler gefunden"

ENDPO;
}