debian-mirror-gitlab/app/assets/javascripts/issues/show/components/incidents/constants.js

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

41 lines
1.4 KiB
JavaScript
Raw Normal View History

2022-08-27 11:52:29 +05:30
import { __, s__ } from '~/locale';
2022-08-13 15:12:31 +05:30
export const timelineTabI18n = Object.freeze({
title: s__('Incident|Timeline'),
emptyDescription: s__('Incident|No timeline items have been added yet.'),
addEventButton: s__('Incident|Add new timeline event'),
});
export const timelineFormI18n = Object.freeze({
createError: s__('Incident|Error creating incident timeline event: %{error}'),
createErrorGeneric: s__(
'Incident|Something went wrong while creating the incident timeline event.',
),
areaPlaceholder: s__('Incident|Timeline text...'),
2022-08-27 11:52:29 +05:30
save: __('Save'),
cancel: __('Cancel'),
description: __('Description'),
2022-08-13 15:12:31 +05:30
saveAndAdd: s__('Incident|Save and add another event'),
areaLabel: s__('Incident|Timeline text'),
});
export const timelineListI18n = Object.freeze({
deleteButton: s__('Incident|Delete event'),
deleteError: s__('Incident|Error deleting incident timeline event: %{error}'),
deleteErrorGeneric: s__(
'Incident|Something went wrong while deleting the incident timeline event.',
),
deleteModal: s__('Incident|Are you sure you want to delete this event?'),
2022-10-11 01:57:18 +05:30
editError: s__('Incident|Error updating incident timeline event: %{error}'),
editErrorGeneric: s__(
'Incident|Something went wrong while updating the incident timeline event.',
),
});
export const timelineItemI18n = Object.freeze({
delete: __('Delete'),
edit: __('Edit'),
moreActions: __('More actions'),
timeUTC: __('%{time} UTC'),
2022-08-13 15:12:31 +05:30
});