diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2019-05-27 11:54:16 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2019-05-27 11:54:16 +0000 |
commit | 2d980fadb8fe6c54ebcbb56130c88aae2832c9c6 (patch) | |
tree | 305f805dbc5ce2408cae508159cda3dc7670a18b /app | |
parent | bdccf82bb41e69ecae0da12534c9bc77a7bcb7b8 (diff) | |
parent | 0baf42465e5d572491ddf42ad6e6467e9a4b7bdf (diff) | |
download | gitlab-ce-2d980fadb8fe6c54ebcbb56130c88aae2832c9c6.tar.gz |
Merge branch 'js-i18n-board-store' into 'master'
i18n boards store directory
See merge request gitlab-org/gitlab-ce!28712
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/boards/stores/actions.js | 4 | ||||
-rw-r--r-- | app/assets/javascripts/boards/stores/mutations.js | 3 |
2 files changed, 5 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 { |