Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove check for in-context translations (fixed)

Oliver Günther8d8dfe5e9386
diff --git a/script/i18n/fix_crowdin_translation_filenames.rb b/script/i18n/fix_crowdin_translation_filenames.rb
index 3522580687d..d2160c41a6f 100644
--- a/script/i18n/fix_crowdin_translation_filenames.rb
+++ b/script/i18n/fix_crowdin_translation_filenames.rb
@@ -6,7 +6,7 @@ Dir.glob('**/config/locales/crowdin/*.yml').each do |crowdin_file|
filename = File.basename(crowdin_file)
# Skip the empty in-context translations
- next if filename.includes?('lol.')
+ next if filename.include?('lol.')
File.readlines(crowdin_file).each do |line|
if line.match(/^\s*(\S{2,}):\s*$/)