From: Vincent Vanwaelscappel Date: Tue, 16 Aug 2022 13:04:19 +0000 (+0200) Subject: wait #5330 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=782c2fe2b7f054b100e9304f7221771a11f78c13;p=sandvik-apps.git wait #5330 @0.25 --- 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)]; }