diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-01-30 05:10:37 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-01-31 04:56:51 +0000 |
commit | e33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch) | |
tree | ce5d1515f93c1e38a01c95b5e0f07f1b572f3763 /lib/api/project_import.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-i18n-cop.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/api/project_import.rb')
-rw-r--r-- | lib/api/project_import.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/api/project_import.rb b/lib/api/project_import.rb index c64ec2fcc95..2e9ae36b662 100644 --- a/lib/api/project_import.rb +++ b/lib/api/project_import.rb @@ -27,7 +27,7 @@ module API params do requires :path, type: String, desc: 'The new project path and name' requires :file, type: File, desc: 'The project export file to be imported' - optional :namespace, type: String, desc: "The ID or name of the namespace that the project will be imported into. Defaults to the current user's namespace." + optional :namespace, type: String, desc: _("The ID or name of the namespace that the project will be imported into. Defaults to the current user's namespace.") optional :overwrite, type: Boolean, default: false, desc: 'If there is a project in the same namespace and with the same name overwrite it' optional :override_params, type: Hash, @@ -36,7 +36,7 @@ module API end end desc 'Create a new project import' do - detail 'This feature was introduced in GitLab 10.6.' + detail _('This feature was introduced in GitLab 10.6.') success Entities::ProjectImportStatus end post 'import' do @@ -72,7 +72,7 @@ module API requires :id, type: String, desc: 'The ID of a project' end desc 'Get a project export status' do - detail 'This feature was introduced in GitLab 10.6.' + detail _('This feature was introduced in GitLab 10.6.') success Entities::ProjectImportStatus end get ':id/import' do |