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.

49 lines
1.9 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…'),
confidential: s__('Notes|Make this an internal note'),
2022-01-26 12:08:38 +05:30
confidentialVisibility: s__(
2022-07-16 23:28:13 +05:30
'Notes|Internal notes are only visible to the author, assignees, and 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
},
};