summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2018-08-08 14:38:39 +0800
committerMark Chao <mchao@gitlab.com>2018-08-14 17:30:51 +0800
commitf8ee861cd42b35ff5d35c18dafbe4d1c425af926 (patch)
treea0cda839964f56f22ebad65b7d8bafc72f0b799f /.rubocop.yml
parentbf88e9afe70e6589dd0c1c089a5a73c8d2b687c6 (diff)
downloadgitlab-ce-f8ee861cd42b35ff5d35c18dafbe4d1c425af926.tar.gz
Move N_ calls into separate files
These are dynamic translations, so has to be marked explicitly using `N_`, but they are not used in runtime, so can exist in separate file. https://github.com/grosser/gettext_i18n_rails#unfound-translations-with-rake-gettextfind
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a586190319b..9858bbe0ddd 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -48,6 +48,8 @@ Naming/FileName:
- 'qa/bin/*'
- 'config/**/*'
- 'lib/generators/**/*'
+ - 'locale/unfound_translations.rb'
+ - 'ee/locale/unfound_translations.rb'
- 'ee/lib/generators/**/*'
IgnoreExecutableScripts: true
AllowedAcronyms: