summaryrefslogtreecommitdiff
path: root/lib/api/environments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/environments.rb')
-rw-r--r--lib/api/environments.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/environments.rb b/lib/api/environments.rb
index 633f24d3c9a..7c8f567ab6e 100644
--- a/lib/api/environments.rb
+++ b/lib/api/environments.rb
@@ -13,7 +13,7 @@ module API
end
resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
desc 'Get all environments of the project' do
- detail 'This feature was introduced in GitLab 8.11.'
+ detail _('This feature was introduced in GitLab 8.11.')
success Entities::Environment
end
params do
@@ -26,7 +26,7 @@ module API
end
desc 'Creates a new environment' do
- detail 'This feature was introduced in GitLab 8.11.'
+ detail _('This feature was introduced in GitLab 8.11.')
success Entities::Environment
end
params do
@@ -47,7 +47,7 @@ module API
end
desc 'Updates an existing environment' do
- detail 'This feature was introduced in GitLab 8.11.'
+ detail _('This feature was introduced in GitLab 8.11.')
success Entities::Environment
end
params do
@@ -70,7 +70,7 @@ module API
end
desc 'Deletes an existing environment' do
- detail 'This feature was introduced in GitLab 8.11.'
+ detail _('This feature was introduced in GitLab 8.11.')
success Entities::Environment
end
params do