0baf42465e
This is one of many MRs opened in order to improve the overall internationalisation of the GitLab codebase. This commit only targets Vanilla JS files. i18n documentation https://docs.gitlab.com/ee/development/i18n/externalization.html
92 lines
1.8 KiB
JavaScript
92 lines
1.8 KiB
JavaScript
import * as mutationTypes from './mutation_types';
|
|
import { __ } from '~/locale';
|
|
|
|
const notImplemented = () => {
|
|
throw new Error(__('Not implemented!'));
|
|
};
|
|
|
|
export default {
|
|
[mutationTypes.SET_ENDPOINTS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_ADD_LIST]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_ADD_LIST_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_ADD_LIST_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_UPDATE_LIST]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_UPDATE_LIST_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_UPDATE_LIST_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_REMOVE_LIST]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_REMOVE_LIST_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_REMOVE_LIST_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_ADD_ISSUE]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_ADD_ISSUE_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_ADD_ISSUE_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_MOVE_ISSUE]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_MOVE_ISSUE_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_MOVE_ISSUE_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.REQUEST_UPDATE_ISSUE]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_UPDATE_ISSUE_SUCCESS]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.RECEIVE_UPDATE_ISSUE_ERROR]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.SET_CURRENT_PAGE]: () => {
|
|
notImplemented();
|
|
},
|
|
|
|
[mutationTypes.TOGGLE_EMPTY_STATE]: () => {
|
|
notImplemented();
|
|
},
|
|
};
|