summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-01-30 05:10:37 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-01-31 04:56:51 +0000
commite33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch)
treece5d1515f93c1e38a01c95b5e0f07f1b572f3763 /lib/api/projects.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb8
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