summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-01 08:41:52 +0000
committerPhil Hughes <me@iamphill.com>2019-05-01 08:41:52 +0000
commit43fcb8971c590a0a0b941b60d33d4e7fca77221c (patch)
tree59f87dd17dcd05e4f5d29722e89962a3477fdd00
parentda443ff064bd74a84b40a3af31ca00385bb39008 (diff)
parent5428de99e5ff5a00d7162c622a21a3a6a7c79056 (diff)
downloadgitlab-ce-28996-automatic-https-certificate-creation-renewal-for-pages-custom-domains-3.tar.gz
Internationalisation of raven directory See merge request gitlab-org/gitlab-ce!27741
-rw-r--r--app/assets/javascripts/raven/raven_config.js9
-rw-r--r--locale/gitlab.pot12
2 files changed, 17 insertions, 4 deletions
diff --git a/app/assets/javascripts/raven/raven_config.js b/app/assets/javascripts/raven/raven_config.js
index b4a8c263954..7259e0df104 100644
--- a/app/assets/javascripts/raven/raven_config.js
+++ b/app/assets/javascripts/raven/raven_config.js
@@ -1,5 +1,6 @@
import Raven from 'raven-js';
import $ from 'jquery';
+import { __ } from '~/locale';
const IGNORE_ERRORS = [
// Random plugins/extensions
@@ -9,9 +10,9 @@ const IGNORE_ERRORS = [
'canvas.contentDocument',
'MyApp_RemoveAllHighlights',
'http://tt.epicplay.com',
- "Can't find variable: ZiteReader",
- 'jigsaw is not defined',
- 'ComboSearch is not defined',
+ __("Can't find variable: ZiteReader"),
+ __('jigsaw is not defined'),
+ __('ComboSearch is not defined'),
'http://loading.retry.widdit.com/',
'atomicFindClose',
// Facebook borked
@@ -80,7 +81,7 @@ const RavenConfig = {
handleRavenErrors(event, req, config, err) {
const error = err || req.statusText;
- const responseText = req.responseText || 'Unknown response text';
+ const responseText = req.responseText || __('Unknown response text');
Raven.captureMessage(error, {
extra: {
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 68454457b76..ab125c5a7b0 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -1593,6 +1593,9 @@ msgstr ""
msgid "Can't find HEAD commit for this branch"
msgstr ""
+msgid "Can't find variable: ZiteReader"
+msgstr ""
+
msgid "Cancel"
msgstr ""
@@ -2409,6 +2412,9 @@ msgstr ""
msgid "Collapse sidebar"
msgstr ""
+msgid "ComboSearch is not defined"
+msgstr ""
+
msgid "Command line instructions"
msgstr ""
@@ -9952,6 +9958,9 @@ msgstr ""
msgid "Unknown format"
msgstr ""
+msgid "Unknown response text"
+msgstr ""
+
msgid "Unlock"
msgstr ""
@@ -11080,6 +11089,9 @@ msgstr ""
msgid "it is too large"
msgstr ""
+msgid "jigsaw is not defined"
+msgstr ""
+
msgid "latest"
msgstr ""