diff options
Diffstat (limited to 'app/assets/javascripts/projects/commit/constants.js')
-rw-r--r-- | app/assets/javascripts/projects/commit/constants.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/assets/javascripts/projects/commit/constants.js b/app/assets/javascripts/projects/commit/constants.js index b47c744e5fb..d6bb4e9483f 100644 --- a/app/assets/javascripts/projects/commit/constants.js +++ b/app/assets/javascripts/projects/commit/constants.js @@ -26,6 +26,7 @@ export const I18N_REVERT_MODAL = { export const I18N_CHERRY_PICK_MODAL = { branchLabel: s__('ChangeTypeAction|Pick into branch'), + projectLabel: s__('ChangeTypeAction|Pick into project'), actionPrimaryText: s__('ChangeTypeAction|Cherry-pick'), }; @@ -33,10 +34,12 @@ export const PREPENDED_MODAL_TEXT = s__( 'ChangeTypeAction|This will create a new commit in order to revert the existing changes.', ); -export const I18N_DROPDOWN = { - noResultsMessage: __('No matching results'), - headerTitle: s__('ChangeTypeAction|Switch branch'), - searchPlaceholder: s__('ChangeTypeAction|Search branches'), -}; +export const I18N_NO_RESULTS_MESSAGE = __('No matching results'); + +export const I18N_PROJECT_HEADER = s__('ChangeTypeAction|Switch project'); +export const I18N_PROJECT_SEARCH_PLACEHOLDER = s__('ChangeTypeAction|Search projects'); + +export const I18N_BRANCH_HEADER = s__('ChangeTypeAction|Switch branch'); +export const I18N_BRANCH_SEARCH_PLACEHOLDER = s__('ChangeTypeAction|Search branches'); export const PROJECT_BRANCHES_ERROR = __('Something went wrong while fetching branches'); |