Skip to content

WIP: Add rubocop-i18n

Martin Wortschack requested to merge mw-rubocop-i18n into master

What does this MR do?

Adds rubocop-i18n (see https://github.com/puppetlabs/rubocop-i18n) to our codebase to detect untranslated strings in Ruby files.

Except for GetText/DecorateFunctionMessage (https://github.com/puppetlabs/rubocop-i18n#gettextdecoratefunctionmessage) the following cops were enabled:

The following MRs were opened to externalize those strings:

EE Port: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10987

Missed cases

In the following cases rubocop-i18n wasn't able to detect offenses:

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/57968

Does this MR meet the acceptance criteria?

Edited by Martin Wortschack

Merge request reports