2020-05-08 14:09:55 -04:00
|
|
|
import { s__, __ } from '~/locale';
|
2020-04-14 05:09:34 -04:00
|
|
|
|
|
|
|
export const BRANCH_SUFFIX_COUNT = 8;
|
|
|
|
export const DEFAULT_TARGET_BRANCH = 'master';
|
|
|
|
|
|
|
|
export const SUBMIT_CHANGES_BRANCH_ERROR = s__('StaticSiteEditor|Branch could not be created.');
|
|
|
|
export const SUBMIT_CHANGES_COMMIT_ERROR = s__(
|
|
|
|
'StaticSiteEditor|Could not commit the content changes.',
|
|
|
|
);
|
|
|
|
export const SUBMIT_CHANGES_MERGE_REQUEST_ERROR = s__(
|
|
|
|
'StaticSiteEditor|Could not create merge request.',
|
|
|
|
);
|
2020-05-08 14:09:55 -04:00
|
|
|
export const LOAD_CONTENT_ERROR = __(
|
|
|
|
'An error ocurred while loading your content. Please try again.',
|
|
|
|
);
|
2020-04-15 05:09:46 -04:00
|
|
|
|
|
|
|
export const DEFAULT_HEADING = s__('StaticSiteEditor|Static site editor');
|
2020-05-12 23:08:26 -04:00
|
|
|
|
|
|
|
export const TRACKING_ACTION_CREATE_COMMIT = 'create_commit';
|
2020-06-10 02:08:18 -04:00
|
|
|
export const TRACKING_ACTION_CREATE_MERGE_REQUEST = 'create_merge_request';
|
2020-06-10 11:08:07 -04:00
|
|
|
export const TRACKING_ACTION_INITIALIZE_EDITOR = 'initialize_editor';
|
2020-07-08 08:09:33 -04:00
|
|
|
|
|
|
|
export const DEFAULT_IMAGE_UPLOAD_PATH = 'source/images/uploads/';
|