From c792db81ba39c6f08804b2ecc8de5bc9ad1e4dac Mon Sep 17 00:00:00 2001 From: Brandon Labuschagne Date: Fri, 31 May 2019 08:45:37 +0000 Subject: Revert "Merge branch 'js-i18n-board-store' into 'master'" This reverts merge request !28712 --- app/assets/javascripts/boards/stores/actions.js | 4 +--- app/assets/javascripts/boards/stores/mutations.js | 3 +-- locale/gitlab.pot | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/boards/stores/actions.js b/app/assets/javascripts/boards/stores/actions.js index 51565c597e6..da82b52330a 100644 --- a/app/assets/javascripts/boards/stores/actions.js +++ b/app/assets/javascripts/boards/stores/actions.js @@ -1,7 +1,5 @@ -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 8e61b93e824..77ba68be07e 100644 --- a/app/assets/javascripts/boards/stores/mutations.js +++ b/app/assets/javascripts/boards/stores/mutations.js @@ -1,8 +1,7 @@ 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 a02c5e41721..b0ff967dd62 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -6563,9 +6563,6 @@ msgstr "" msgid "Not found." msgstr "" -msgid "Not implemented!" -msgstr "" - msgid "Not now" msgstr "" -- cgit v1.2.1