summaryrefslogtreecommitdiff
path: root/lib/api/snippets.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/snippets.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/api/snippets.rb')
-rw-r--r--lib/api/snippets.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/api/snippets.rb b/lib/api/snippets.rb
index 326d55afd0e..cca0e055bc2 100644
--- a/lib/api/snippets.rb
+++ b/lib/api/snippets.rb
@@ -19,7 +19,7 @@ module API
end
desc 'Get a snippets list for authenticated user' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -30,7 +30,7 @@ module API
end
desc 'List all public snippets current_user has access to' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -41,7 +41,7 @@ module API
end
desc 'Get a single snippet' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -53,7 +53,7 @@ module API
end
desc 'Create new snippet' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -80,7 +80,7 @@ module API
end
desc 'Update an existing snippet' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -116,7 +116,7 @@ module API
# rubocop: enable CodeReuse/ActiveRecord
desc 'Remove snippet' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
success Entities::PersonalSnippet
end
params do
@@ -134,7 +134,7 @@ module API
# rubocop: enable CodeReuse/ActiveRecord
desc 'Get a raw snippet' do
- detail 'This feature was introduced in GitLab 8.15.'
+ detail _('This feature was introduced in GitLab 8.15.')
end
params do
requires :id, type: Integer, desc: 'The ID of a snippet'