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/projects.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-i18n-cop.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 9f3a1699146..9653bbc44e6 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -97,7 +97,7 @@ module API end params :create_params do - optional :namespace_id, type: Integer, desc: 'Namespace ID for the new project. Default to the user namespace.' + optional :namespace_id, type: Integer, desc: _('Namespace ID for the new project. Default to the user namespace.') optional :import_url, type: String, desc: 'URL from which the project is imported' end @@ -190,7 +190,7 @@ module API end end - desc 'Create new project for a specified user. Only available to admin users.' do + desc _('Create new project for a specified user. Only available to admin users.') do success Entities::Project end params do @@ -249,7 +249,7 @@ module API present project, options end - desc 'Fork new project for the current user or provided namespace.' do + desc _('Fork new project for the current user or provided namespace.') do success Entities::Project end params do @@ -493,7 +493,7 @@ module API end desc 'Start the housekeeping task for a project' do - detail 'This feature was introduced in GitLab 9.0.' + detail _('This feature was introduced in GitLab 9.0.') end post ':id/housekeeping' do authorize_admin_project |