From dc65a55e13efdc7fe65558b0d5a5b28654fd4235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 31 May 2022 08:18:29 +0200 Subject: [PATCH] Remove length restriction from crowdin --- script/crowdin/fix_locale_keys.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/crowdin/fix_locale_keys.rb b/script/crowdin/fix_locale_keys.rb index 8cb73a9318..9b4efb9ed2 100644 --- a/script/crowdin/fix_locale_keys.rb +++ b/script/crowdin/fix_locale_keys.rb @@ -18,7 +18,7 @@ Dir.glob('**/config/locales/crowdin/*.yml').each do |crowdin_file| end # Read the language code from the YML index - if language_key.nil? || language_key.length > 5 + if language_key.nil? raise "Failed to detect language from #{crowdin_file}" end