diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-01-30 05:10:37 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-01-31 04:56:51 +0000 |
commit | e33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch) | |
tree | ce5d1515f93c1e38a01c95b5e0f07f1b572f3763 /lib/bitbucket_server | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-i18n-cop.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r-- | lib/bitbucket_server/connection.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |