From e33e3d29ae56ddd10b66513c35f3e318ea375cb9 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Wed, 30 Jan 2019 05:10:37 +0000 Subject: Autofixed some untranslated strings --- lib/bitbucket_server/connection.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bitbucket_server') diff --git a/lib/bitbucket_server/connection.rb b/lib/bitbucket_server/connection.rb index 9c14b26c65a..a492c99d6d7 100644 --- a/lib/bitbucket_server/connection.rb +++ b/lib/bitbucket_server/connection.rb @@ -77,7 +77,7 @@ module BitbucketServer private def check_errors!(response) - raise ConnectionError, "Response is not valid JSON" unless response.parsed_response.is_a?(Hash) + raise ConnectionError, _("Response is not valid JSON") unless response.parsed_response.is_a?(Hash) return if response.code >= 200 && response.code < 300 @@ -87,7 +87,7 @@ module BitbucketServer raise ConnectionError, message rescue JSON::ParserError - raise ConnectionError, "Unable to parse the server response as JSON" + raise ConnectionError, _("Unable to parse the server response as JSON") end def auth -- cgit v1.2.1