diff options
Diffstat (limited to 'app/assets/javascripts/notes/i18n.js')
-rw-r--r-- | app/assets/javascripts/notes/i18n.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/i18n.js b/app/assets/javascripts/notes/i18n.js index 1ffb94d11ad..cd47985d8d0 100644 --- a/app/assets/javascripts/notes/i18n.js +++ b/app/assets/javascripts/notes/i18n.js @@ -9,6 +9,7 @@ export const COMMENT_FORM = { issue: __('issue'), startThread: __('Start thread'), mergeRequest: __('merge request'), + epic: __('epic'), bodyPlaceholder: __('Write a comment or drag your files hereā¦'), confidential: s__('Notes|Make this comment confidential'), confidentialVisibility: s__('Notes|Confidential comments are only visible to project members'), @@ -17,7 +18,16 @@ export const COMMENT_FORM = { ), discussion: __('Discuss a specific suggestion or question.'), actionButtonWithNote: __('%{actionText} & %{openOrClose} %{noteable}'), - actionButton: __('%{openOrClose} %{noteable}'), + actionButton: { + withNote: { + reopen: __('%{actionText} & reopen %{noteable}'), + close: __('%{actionText} & close %{noteable}'), + }, + withoutNote: { + reopen: __('Reopen %{noteable}'), + close: __('Close %{noteable}'), + }, + }, submitButton: { startThread: __('Start thread'), comment: __('Comment'), |