]> _ Git - sandvik-apps.git/commitdiff
wait #5330 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Aug 2022 13:04:19 +0000 (15:04 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Aug 2022 13:04:19 +0000 (15:04 +0200)
ScreeningMediaSelection/tools/importtranslations.php

index 06b8a86c2845cb9d6d9d094a7a7371fe2cdf60ff..ce60f24a7ccf5265c730f5e959ce1c8be08717f8 100644 (file)
@@ -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)];
             }