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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Don't use i18n command in favor of exporting in rake task directly
Oliver Güntherd1ac70db1bfe
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rakeindex 59f343d0a3b..71b06122b1b 100644--- a/lib/tasks/assets.rake+++ b/lib/tasks/assets.rake@@ -79,8 +79,10 @@ namespace :assets dodesc 'Export frontend locale files'task :export_locales do- sh('bundle exec i18n export') do |ok, res|- raise "Failed to export i18n-js translations: #{res.exitstatus}" if !ok+ puts "Exporting I18n.js locales"+ time = Benchmark.realtime do+ I18nJS.call(config_file: Rails.root.join('config/i18n.yml'))end+ puts "=> Done in #{time.round(2)}s"endend