2021-03-02 16:11:07 -05:00
|
|
|
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'),
|
2021-12-03 04:10:57 -05:00
|
|
|
epic: __('epic'),
|
2021-03-02 16:11:07 -05:00
|
|
|
bodyPlaceholder: __('Write a comment or drag your files here…'),
|
|
|
|
confidential: s__('Notes|Make this comment confidential'),
|
2021-12-13 10:12:59 -05:00
|
|
|
confidentialVisibility: s__(
|
|
|
|
'Notes|Confidential comments are only visible to members with the role of Reporter or higher',
|
|
|
|
),
|
2021-03-02 16:11:07 -05:00
|
|
|
discussionThatNeedsResolution: __(
|
|
|
|
'Discuss a specific suggestion or question that needs to be resolved.',
|
|
|
|
),
|
|
|
|
discussion: __('Discuss a specific suggestion or question.'),
|
|
|
|
actionButtonWithNote: __('%{actionText} & %{openOrClose} %{noteable}'),
|
2021-12-03 04:10:57 -05:00
|
|
|
actionButton: {
|
|
|
|
withNote: {
|
|
|
|
reopen: __('%{actionText} & reopen %{noteable}'),
|
|
|
|
close: __('%{actionText} & close %{noteable}'),
|
|
|
|
},
|
|
|
|
withoutNote: {
|
|
|
|
reopen: __('Reopen %{noteable}'),
|
|
|
|
close: __('Close %{noteable}'),
|
|
|
|
},
|
|
|
|
},
|
2021-03-02 16:11:07 -05:00
|
|
|
submitButton: {
|
|
|
|
startThread: __('Start thread'),
|
|
|
|
comment: __('Comment'),
|
|
|
|
commentHelp: __('Add a general comment to this %{noteableDisplayName}.'),
|
|
|
|
},
|
|
|
|
};
|