Commit d5f136ee authored by Phil Hughes's avatar Phil Hughes

Merge branch 'ee-js-i18n-raven' into 'master'

Internationalisation of raven directory - EE

See merge request gitlab-org/gitlab-ee!11853
parents 145feb40 c1e0b6ca
import Raven from 'raven-js'; import Raven from 'raven-js';
import $ from 'jquery'; import $ from 'jquery';
import { __ } from '~/locale';
const IGNORE_ERRORS = [ const IGNORE_ERRORS = [
// Random plugins/extensions // Random plugins/extensions
...@@ -9,9 +10,9 @@ const IGNORE_ERRORS = [ ...@@ -9,9 +10,9 @@ const IGNORE_ERRORS = [
'canvas.contentDocument', 'canvas.contentDocument',
'MyApp_RemoveAllHighlights', 'MyApp_RemoveAllHighlights',
'http://tt.epicplay.com', 'http://tt.epicplay.com',
"Can't find variable: ZiteReader", __("Can't find variable: ZiteReader"),
'jigsaw is not defined', __('jigsaw is not defined'),
'ComboSearch is not defined', __('ComboSearch is not defined'),
'http://loading.retry.widdit.com/', 'http://loading.retry.widdit.com/',
'atomicFindClose', 'atomicFindClose',
// Facebook borked // Facebook borked
...@@ -80,7 +81,7 @@ const RavenConfig = { ...@@ -80,7 +81,7 @@ const RavenConfig = {
handleRavenErrors(event, req, config, err) { handleRavenErrors(event, req, config, err) {
const error = err || req.statusText; const error = err || req.statusText;
const responseText = req.responseText || 'Unknown response text'; const responseText = req.responseText || __('Unknown response text');
Raven.captureMessage(error, { Raven.captureMessage(error, {
extra: { extra: {
......
...@@ -2061,6 +2061,9 @@ msgstr "" ...@@ -2061,6 +2061,9 @@ msgstr ""
msgid "Can't find HEAD commit for this branch" msgid "Can't find HEAD commit for this branch"
msgstr "" msgstr ""
msgid "Can't find variable: ZiteReader"
msgstr ""
msgid "Can't remove group members without group managed account" msgid "Can't remove group members without group managed account"
msgstr "" msgstr ""
...@@ -2961,6 +2964,9 @@ msgstr "" ...@@ -2961,6 +2964,9 @@ msgstr ""
msgid "Collapse sidebar" msgid "Collapse sidebar"
msgstr "" msgstr ""
msgid "ComboSearch is not defined"
msgstr ""
msgid "Command line instructions" msgid "Command line instructions"
msgstr "" msgstr ""
...@@ -12883,6 +12889,9 @@ msgstr "" ...@@ -12883,6 +12889,9 @@ msgstr ""
msgid "Unknown format" msgid "Unknown format"
msgstr "" msgstr ""
msgid "Unknown response text"
msgstr ""
msgid "Unlimited" msgid "Unlimited"
msgstr "" msgstr ""
...@@ -14528,6 +14537,9 @@ msgstr "" ...@@ -14528,6 +14537,9 @@ msgstr ""
msgid "it is too large" msgid "it is too large"
msgstr "" msgstr ""
msgid "jigsaw is not defined"
msgstr ""
msgid "latest" msgid "latest"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment