summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r--lib/api/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index a768b78cda5..a4b0043c828 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -29,7 +29,7 @@ module API
version 'v3', using: :path do
route :any, '*path' do
- error!('API V3 is no longer supported. Use API V4 instead.', 410)
+ error!(_('API V3 is no longer supported. Use API V4 instead.'), 410)
end
end