Version 1
[yaffs-website] / web / core / modules / system / src / Tests / Installer / InstallerTranslationMultipleLanguageForeignTest.php
diff --git a/web/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageForeignTest.php b/web/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
new file mode 100644 (file)
index 0000000..8bf739b
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace Drupal\system\Tests\Installer;
+
+/**
+ * Tests translation files for multiple languages get imported during install.
+ *
+ * @group Installer
+ */
+class InstallerTranslationMultipleLanguageForeignTest extends InstallerTranslationMultipleLanguageTest {
+
+  /**
+   * Overrides the language code in which to install Drupal.
+   *
+   * @var string
+   */
+  protected $langcode = 'de';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUpLanguage() {
+    parent::setUpLanguage();
+    $this->translations['Save and continue'] = 'Save and continue de';
+  }
+
+}