summaryrefslogtreecommitdiff
path: root/lib/api/protected_tags.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/protected_tags.rb')
-rw-r--r--lib/api/protected_tags.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/protected_tags.rb b/lib/api/protected_tags.rb
index ee13473c848..519b23c280f 100644
--- a/lib/api/protected_tags.rb
+++ b/lib/api/protected_tags.rb
@@ -13,7 +13,7 @@ module API
end
resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
desc "Get a project's protected tags" do
- detail 'This feature was introduced in GitLab 11.3.'
+ detail _('This feature was introduced in GitLab 11.3.')
success Entities::ProtectedTag
end
params do
@@ -28,7 +28,7 @@ module API
# rubocop: enable CodeReuse/ActiveRecord
desc 'Get a single protected tag' do
- detail 'This feature was introduced in GitLab 11.3.'
+ detail _('This feature was introduced in GitLab 11.3.')
success Entities::ProtectedTag
end
params do
@@ -43,7 +43,7 @@ module API
# rubocop: enable CodeReuse/ActiveRecord
desc 'Protect a single tag or wildcard' do
- detail 'This feature was introduced in GitLab 11.3.'
+ detail _('This feature was introduced in GitLab 11.3.')
success Entities::ProtectedTag
end
params do
@@ -70,7 +70,7 @@ module API
end
desc 'Unprotect a single tag' do
- detail 'This feature was introduced in GitLab 11.3.'
+ detail _('This feature was introduced in GitLab 11.3.')
end
params do
requires :name, type: String, desc: 'The name of the protected tag'