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

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

57 lines
2.2 KiB
JavaScript
Raw Normal View History

2021-04-17 20:07:23 +05:30
import { __, s__ } from '~/locale';
export const COMMENT_FORM = {
GENERIC_UNSUBMITTABLE_NETWORK: __(
'Your comment could not be submitted! Please check your network connection and try again.',
),
note: __('Note'),
comment: __('Comment'),
2022-07-16 23:28:13 +05:30
internalComment: __('Add internal note'),
2021-04-17 20:07:23 +05:30
issue: __('issue'),
startThread: __('Start thread'),
2022-07-16 23:28:13 +05:30
startInternalThread: __('Start internal thread'),
2021-04-17 20:07:23 +05:30
mergeRequest: __('merge request'),
2022-01-26 12:08:38 +05:30
epic: __('epic'),
2021-04-17 20:07:23 +05:30
bodyPlaceholder: __('Write a comment or drag your files here…'),
2022-07-16 23:28:13 +05:30
bodyPlaceholderInternal: __('Write an internal note or drag your files here…'),
2022-07-23 23:45:48 +05:30
internal: s__('Notes|Make this an internal note'),
internalVisibility: s__(
2022-11-25 23:54:43 +05:30
'Notes|Internal notes are only visible to members with the role of Reporter or higher',
2022-01-26 12:08:38 +05:30
),
2021-04-17 20:07:23 +05:30
discussionThatNeedsResolution: __(
'Discuss a specific suggestion or question that needs to be resolved.',
),
2022-07-16 23:28:13 +05:30
internalDiscussionThatNeedsResolution: __(
'Discuss a specific suggestion or question internally that needs to be resolved.',
),
2021-04-17 20:07:23 +05:30
discussion: __('Discuss a specific suggestion or question.'),
2022-07-16 23:28:13 +05:30
internalDiscussion: __('Discuss a specific suggestion or question internally.'),
2021-04-17 20:07:23 +05:30
actionButtonWithNote: __('%{actionText} & %{openOrClose} %{noteable}'),
2022-01-26 12:08:38 +05:30
actionButton: {
withNote: {
reopen: __('%{actionText} & reopen %{noteable}'),
close: __('%{actionText} & close %{noteable}'),
},
withoutNote: {
reopen: __('Reopen %{noteable}'),
close: __('Close %{noteable}'),
},
},
2021-04-17 20:07:23 +05:30
submitButton: {
startThread: __('Start thread'),
2022-07-16 23:28:13 +05:30
startInternalThread: __('Start internal thread'),
2021-04-17 20:07:23 +05:30
comment: __('Comment'),
2022-07-16 23:28:13 +05:30
internalComment: __('Add internal note'),
2021-04-17 20:07:23 +05:30
commentHelp: __('Add a general comment to this %{noteableDisplayName}.'),
2022-07-16 23:28:13 +05:30
internalCommentHelp: __('Add a confidential internal note to this %{noteableDisplayName}.'),
2021-04-17 20:07:23 +05:30
},
2023-04-23 21:23:45 +05:30
attachmentMsg: s__(
'Notes|Attachments are sent by email. Attachments over 10 MB are sent as links to your GitLab instance, and only accessible to project members.',
),
2021-04-17 20:07:23 +05:30
};
2023-05-27 22:25:52 +05:30
export const EDITED_TEXT = {
actionWithAuthor: __('%{actionText} %{actionDetail} %{timeago} by %{author}'),
actionWithoutAuthor: __('%{actionText} %{actionDetail}'),
};