InstallerTranslationMultipleLanguageForeignTest.php 640 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Drupal\FunctionalTests\Installer;
  3. /**
  4. * Tests translation files for multiple languages get imported during install.
  5. *
  6. * @group Installer
  7. */
  8. class InstallerTranslationMultipleLanguageForeignTest extends InstallerTranslationMultipleLanguageTest {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. protected $defaultTheme = 'stark';
  13. /**
  14. * Overrides the language code in which to install Drupal.
  15. *
  16. * @var string
  17. */
  18. protected $langcode = 'de';
  19. /**
  20. * {@inheritdoc}
  21. */
  22. protected function setUpLanguage() {
  23. parent::setUpLanguage();
  24. $this->translations['Save and continue'] = 'Save and continue de';
  25. }
  26. }