Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « tags « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8096a08a97b58ce4f2a9bc3d4531335f09a0544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { s__ } from '~/locale';

export const MODAL_TITLE = s__('TagsPage|Permanently delete tag?');

export const MODAL_TITLE_PROTECTED_TAG = s__('TagsPage|Permanently delete protected tag?');

export const MODAL_MESSAGE = s__(
  'TagsPage|Deleting the %{strongStart}%{tagName}%{strongEnd} tag cannot be undone.',
);

export const MODAL_MESSAGE_PROTECTED_TAG = s__(
  'TagsPage|Deleting the %{strongStart}%{tagName}%{strongEnd} protected tag cannot be undone.',
);

export const CANCEL_BUTTON_TEXT = s__('TagsPage|Cancel, keep tag');

export const CONFIRMATION_TEXT = s__('TagsPage|Are you sure you want to delete this tag?');

export const CONFIRMATION_TEXT_PROTECTED_TAG = s__(
  'TagsPage|Please type the following to confirm:',
);

export const DELETE_BUTTON_TEXT = s__('TagsPage|Yes, delete tag');

export const DELETE_BUTTON_TEXT_PROTECTED_TAG = s__('TagsPage|Yes, delete protected tag');

export const I18N_DELETE_TAG_MODAL = {
  modalTitle: MODAL_TITLE,
  modalTitleProtectedTag: MODAL_TITLE_PROTECTED_TAG,
  modalMessage: MODAL_MESSAGE,
  modalMessageProtectedTag: MODAL_MESSAGE_PROTECTED_TAG,
  cancelButtonText: CANCEL_BUTTON_TEXT,
  confirmationText: CONFIRMATION_TEXT,
  confirmationTextProtectedTag: CONFIRMATION_TEXT_PROTECTED_TAG,
  deleteButtonText: DELETE_BUTTON_TEXT,
  deleteButtonTextProtectedTag: DELETE_BUTTON_TEXT_PROTECTED_TAG,
};