summaryrefslogtreecommitdiff
path: root/lib/tasks/gettext.rake
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-03 19:32:07 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-09-04 08:30:10 +0200
commit7199e882dba1f664ff2d5b889428c086dce7827d (patch)
tree6ca4728b9e40f47be98c3307929eefc54659efa3 /lib/tasks/gettext.rake
parenta3af683045e0170d975eab2562a466f88d2692b8 (diff)
downloadgitlab-ce-7199e882dba1f664ff2d5b889428c086dce7827d.tar.gz
Only require `simple_po_parser` in rake task that needs itbvl-only-require-po-parser-in-rake
That way we don't need to install it in production, since it's really not needed there.
Diffstat (limited to 'lib/tasks/gettext.rake')
-rw-r--r--lib/tasks/gettext.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
index e1491f29b5e..f7f2fa2f14c 100644
--- a/lib/tasks/gettext.rake
+++ b/lib/tasks/gettext.rake
@@ -1,4 +1,5 @@
require "gettext_i18n_rails/tasks"
+require 'simple_po_parser'
namespace :gettext do
# Customize list of translatable files