diff options
Diffstat (limited to 'rubocop/cop/static_translation_definition.rb')
-rw-r--r-- | rubocop/cop/static_translation_definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/static_translation_definition.rb b/rubocop/cop/static_translation_definition.rb index 55956d9665b..ac50fd94884 100644 --- a/rubocop/cop/static_translation_definition.rb +++ b/rubocop/cop/static_translation_definition.rb @@ -3,7 +3,7 @@ module RuboCop module Cop class StaticTranslationDefinition < RuboCop::Cop::Cop - MSG = "The text you're translating will be already in the translated form when it's assigned to the constant. When a users changes the locale, these texts won't be translated again. Consider moving the translation logic to a method.".freeze + MSG = "The text you're translating will be already in the translated form when it's assigned to the constant. When a users changes the locale, these texts won't be translated again. Consider moving the translation logic to a method." TRANSLATION_METHODS = %i[_ s_ n_].freeze |