summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/boards/stores/actions.js4
-rw-r--r--app/assets/javascripts/boards/stores/mutations.js3
-rw-r--r--locale/gitlab.pot3
3 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/stores/actions.js b/app/assets/javascripts/boards/stores/actions.js
index da82b52330a..51565c597e6 100644
--- a/app/assets/javascripts/boards/stores/actions.js
+++ b/app/assets/javascripts/boards/stores/actions.js
@@ -1,5 +1,7 @@
+import { __ } from '~/locale';
+
const notImplemented = () => {
- throw new Error('Not implemented!');
+ throw new Error(__('Not implemented!'));
};
export default {
diff --git a/app/assets/javascripts/boards/stores/mutations.js b/app/assets/javascripts/boards/stores/mutations.js
index 77ba68be07e..8e61b93e824 100644
--- a/app/assets/javascripts/boards/stores/mutations.js
+++ b/app/assets/javascripts/boards/stores/mutations.js
@@ -1,7 +1,8 @@
import * as mutationTypes from './mutation_types';
+import { __ } from '~/locale';
const notImplemented = () => {
- throw new Error('Not implemented!');
+ throw new Error(__('Not implemented!'));
};
export default {
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index acebc86f900..3c88066d48d 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -6470,6 +6470,9 @@ msgstr ""
msgid "Not found."
msgstr ""
+msgid "Not implemented!"
+msgstr ""
+
msgid "Not now"
msgstr ""