diff options
Diffstat (limited to 'lib/api/search.rb')
-rw-r--r-- | lib/api/search.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/api/search.rb b/lib/api/search.rb index f5db692afe5..b4f439d39c2 100644 --- a/lib/api/search.rb +++ b/lib/api/search.rb @@ -49,7 +49,7 @@ module API resource :search do desc 'Search on GitLab' do - detail 'This feature was introduced in GitLab 10.5.' + detail _('This feature was introduced in GitLab 10.5.') end params do requires :search, type: String, desc: 'The expression it should be searched for' @@ -67,7 +67,7 @@ module API resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do desc 'Search on GitLab' do - detail 'This feature was introduced in GitLab 10.5.' + detail _('This feature was introduced in GitLab 10.5.') end params do requires :id, type: String, desc: 'The ID of a group' @@ -86,7 +86,7 @@ module API resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do desc 'Search on GitLab' do - detail 'This feature was introduced in GitLab 10.5.' + detail _('This feature was introduced in GitLab 10.5.') end params do requires :id, type: String, desc: 'The ID of a project' |