From 782c2fe2b7f054b100e9304f7221771a11f78c13 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 16 Aug 2022 15:04:19 +0200 Subject: [PATCH] wait #5330 @0.25 --- ScreeningMediaSelection/tools/importtranslations.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ScreeningMediaSelection/tools/importtranslations.php b/ScreeningMediaSelection/tools/importtranslations.php index 06b8a86..ce60f24 100644 --- a/ScreeningMediaSelection/tools/importtranslations.php +++ b/ScreeningMediaSelection/tools/importtranslations.php @@ -21,6 +21,7 @@ foreach ($data as $sheet) { if (null === $locale || !$locale) { break; } + $locale = trim($locale); if (!isset($locales[$locale])) { $locales[$locale] = ['_name' => getName($locale)]; } -- 2.39.5