summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/static_site_editor/constants.js
blob: d7ce2a93a560a63278a135e09c9154fe23832737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { s__ } from '~/locale';

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.',
);

export const DEFAULT_HEADING = s__('StaticSiteEditor|Static site editor');