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'),
|
|
|
|
issue: __('issue'),
|
|
|
|
startThread: __('Start thread'),
|
|
|
|
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…'),
|
|
|
|
confidential: s__('Notes|Make this comment confidential'),
|
2022-01-26 12:08:38 +05:30
|
|
|
confidentialVisibility: s__(
|
|
|
|
'Notes|Confidential comments are only visible to members with the role of Reporter or higher',
|
|
|
|
),
|
2021-04-17 20:07:23 +05:30
|
|
|
discussionThatNeedsResolution: __(
|
|
|
|
'Discuss a specific suggestion or question that needs to be resolved.',
|
|
|
|
),
|
|
|
|
discussion: __('Discuss a specific suggestion or question.'),
|
|
|
|
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'),
|
|
|
|
comment: __('Comment'),
|
|
|
|
commentHelp: __('Add a general comment to this %{noteableDisplayName}.'),
|
|
|
|
},
|
|
|
|
};
|