2017-09-25 07:29:55 -04:00
|
|
|
import { __ } from '../locale';
|
|
|
|
|
2017-09-19 11:38:55 -04:00
|
|
|
export const errorMessagesTypes = {
|
|
|
|
FETCH_REGISTRY: 'FETCH_REGISTRY',
|
|
|
|
FETCH_REPOS: 'FETCH_REPOS',
|
|
|
|
DELETE_REPO: 'DELETE_REPO',
|
|
|
|
DELETE_REGISTRY: 'DELETE_REGISTRY',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const errorMessages = {
|
2017-09-25 07:29:55 -04:00
|
|
|
[errorMessagesTypes.FETCH_REGISTRY]: __('Something went wrong while fetching the registry list.'),
|
2017-09-25 13:00:39 -04:00
|
|
|
[errorMessagesTypes.FETCH_REPOS]: __('Something went wrong while fetching the projects.'),
|
|
|
|
[errorMessagesTypes.DELETE_REPO]: __('Something went wrong on our end.'),
|
|
|
|
[errorMessagesTypes.DELETE_REGISTRY]: __('Something went wrong on our end.'),
|
2017-09-19 11:38:55 -04:00
|
|
|
};
|