summaryrefslogtreecommitdiff
path: root/app/services/import
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-04-15 12:25:48 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-04-15 12:25:48 +0000
commit5770b6544d3476e27d77a0ab11f162c941aa0cae (patch)
treec6e60cc32fc4a8fa5fe089a530a6446d3a03756e /app/services/import
parent0c0be8d68e8f899da4e80dd4bdf44a01dfa54cee (diff)
downloadgitlab-ce-5770b6544d3476e27d77a0ab11f162c941aa0cae.tar.gz
Externalize strings detected by rubocop-i18n
- Externalize strings in milestones_helper - Externalize strings in app/services - Update PO file
Diffstat (limited to 'app/services/import')
-rw-r--r--app/services/import/github_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/import/github_service.rb b/app/services/import/github_service.rb
index a2533683da9..a322a306ba4 100644
--- a/app/services/import/github_service.rb
+++ b/app/services/import/github_service.rb
@@ -7,7 +7,7 @@ module Import
def execute(access_params, provider)
unless authorized?
- return error('This namespace has already been taken! Please choose another one.', :unprocessable_entity)
+ return error(_('This namespace has already been taken! Please choose another one.'), :unprocessable_entity)
end
project = Gitlab::LegacyGithubImport::ProjectCreator