core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php | 4 ++-- .../locale_test_development_release.module | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php b/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php index bc7e13b..5d67537 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php @@ -7,7 +7,7 @@ namespace Drupal\locale\Tests; -use Drupal\Component\Utility\FormattableString; +use Drupal\Component\Render\FormattableMarkup; use Drupal\Component\Utility\SafeMarkup; /** @@ -88,7 +88,7 @@ public function testInterface() { $this->assertRaw(t('Missing translations for: @languages. See the Available translation updates page for more information.', array('@languages' => t('German'), ':updates' => \Drupal::url('locale.translate_status'))), 'Missing translations message'); $this->drupalGet('admin/reports/translations'); $this->assertText(t('Missing translations for one project'), 'No translations found'); - $release_details = new FormattableString('@module (@version). @info', [ + $release_details = new FormattableMarkup('@module (@version). @info', [ '@module' => 'Locale test translate', '@version' => '1.3-dev', '@info' => t('File not found at %local_path', array('%local_path' => 'core/modules/locale/tests/test.de.po')) diff --git a/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.module b/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.module index 18a1f10..deedf07 100644 --- a/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.module +++ b/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.module @@ -39,4 +39,4 @@ function locale_test_development_release_locale_translation_projects_alter(&$pro 'project_type' => 'module', 'project_status' => TRUE, ]; -} \ No newline at end of file +}