summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-01-21 17:22:37 +0000
committerPhil Hughes <me@iamphill.com>2019-01-21 17:22:37 +0000
commit3fd9e48a7edad05770eb09f7753a0a649f6ca728 (patch)
treee7ce7c8d09a72ef5500f6864a853f5b0271c7940
parent603082453a6ad185c7b56a1df7b0c07ffac28322 (diff)
parentabcabccfffde0a686b49e3235a0ffb4e90c60df5 (diff)
downloadgitlab-ce-3fd9e48a7edad05770eb09f7753a0a649f6ca728.tar.gz
Merge branch 'fix-note-i18n' into 'master'
Add a string externalisation in note form See merge request gitlab-org/gitlab-ce!24514
-rw-r--r--app/assets/javascripts/notes/components/note_form.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/note_form.vue b/app/assets/javascripts/notes/components/note_form.vue
index 6dbb858e93d..269b4a4b117 100644
--- a/app/assets/javascripts/notes/components/note_form.vue
+++ b/app/assets/javascripts/notes/components/note_form.vue
@@ -6,6 +6,7 @@ import issueWarning from '../../vue_shared/components/issue/issue_warning.vue';
import markdownField from '../../vue_shared/components/markdown/field.vue';
import issuableStateMixin from '../mixins/issuable_state';
import resolvable from '../mixins/resolvable';
+import { __ } from '~/locale';
export default {
name: 'NoteForm',
@@ -33,7 +34,7 @@ export default {
saveButtonTitle: {
type: String,
required: false,
- default: 'Save comment',
+ default: __('Save comment'),
},
discussion: {
type: Object,