diff options
Diffstat (limited to 'app/assets/javascripts/notes/i18n.js')
-rw-r--r-- | app/assets/javascripts/notes/i18n.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/i18n.js b/app/assets/javascripts/notes/i18n.js index 4bf2a8d70a7..c25ca6b586d 100644 --- a/app/assets/javascripts/notes/i18n.js +++ b/app/assets/javascripts/notes/i18n.js @@ -4,6 +4,7 @@ export const COMMENT_FORM = { GENERIC_UNSUBMITTABLE_NETWORK: __( 'Your comment could not be submitted! Please check your network connection and try again.', ), + error: __('Your comment could not be submitted because %{reason}.'), note: __('Note'), comment: __('Comment'), internalComment: __('Add internal note'), @@ -54,3 +55,8 @@ export const EDITED_TEXT = { actionWithAuthor: __('%{actionText} %{actionDetail} %{timeago} by %{author}'), actionWithoutAuthor: __('%{actionText} %{actionDetail}'), }; + +export const UPDATE_COMMENT_FORM = { + error: __('Your comment could not be updated because %{reason}.'), + defaultError: __('Something went wrong while editing your comment. Please try again.'), +}; |