debian-mirror-gitlab/app/assets/javascripts/vue_merge_request_widget/i18n.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-04-04 11:22:00 +05:30
import { __, s__ } from '~/locale';
export const MR_WIDGET_MISSING_BRANCH_WHICH = s__(
'mrWidget|The %{type} branch %{codeStart}%{name}%{codeEnd} does not exist.',
);
export const MR_WIDGET_MISSING_BRANCH_RESTORE = s__(
'mrWidget|Please restore it or use a different %{type} branch.',
);
export const MR_WIDGET_MISSING_BRANCH_MANUALCLI = s__(
'mrWidget|If the %{type} branch exists in your local repository, you can merge this merge request manually using the command line.',
);
2021-01-03 14:25:43 +05:30
export const SQUASH_BEFORE_MERGE = {
tooltipTitle: __('Required in this project.'),
checkboxLabel: __('Squash commits'),
helpLabel: __('What is squashing?'),
};
2021-10-27 15:23:28 +05:30
export const I18N_SHA_MISMATCH = {
2023-04-23 21:23:45 +05:30
warningMessage: s__('mrWidget|%{boldStart}Merge blocked:%{boldEnd} new changes were just added.'),
2021-10-27 15:23:28 +05:30
actionButtonLabel: __('Review changes'),
};
2022-04-04 11:22:00 +05:30
export const MERGE_TRAIN_BUTTON_TEXT = {
failed: __('Start merge train...'),
passed: __('Start merge train'),
};
2023-03-04 22:38:38 +05:30
export const MR_WIDGET_CLOSED_REOPEN = __('Reopen');
export const MR_WIDGET_CLOSED_REOPENING = __('Reopening...');
export const MR_WIDGET_CLOSED_RELOADING = __('Refreshing...');
export const MR_WIDGET_CLOSED_REOPEN_FAILURE = __(
'An error occurred. Unable to reopen this merge request.',
);