From e6813519db34dd49953ddb4fdb06d3aef444ca15 Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Wed, 20 Jun 2018 22:09:23 +0200 Subject: Don't generate `.mo` files Since we are only using `.po` files for translation we can shave off some setup time. Generating the `mo` files also regenerates the PO-files, including fuzzy translations. Those cause a lot of bugs, and we don't need them anymore since the `po` files are generated by an external translation service. --- lib/tasks/gettext.rake | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/tasks/gettext.rake') diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake index d7c40cb6a12..3fb399497ba 100644 --- a/lib/tasks/gettext.rake +++ b/lib/tasks/gettext.rake @@ -16,7 +16,6 @@ namespace :gettext do # See: https://gitlab.com/gitlab-org/gitlab-ce/issues/33014#note_31218998 FileUtils.touch(File.join(Rails.root, 'locale/gitlab.pot')) - Rake::Task['gettext:pack'].invoke Rake::Task['gettext:po_to_json'].invoke end -- cgit v1.2.1