Commit 3fd9e48a authored by Phil Hughes's avatar Phil Hughes

Merge branch 'fix-note-i18n' into 'master'

Add a string externalisation in note form

See merge request gitlab-org/gitlab-ce!24514
parents 60308245 abcabccf
...@@ -6,6 +6,7 @@ import issueWarning from '../../vue_shared/components/issue/issue_warning.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 markdownField from '../../vue_shared/components/markdown/field.vue';
import issuableStateMixin from '../mixins/issuable_state'; import issuableStateMixin from '../mixins/issuable_state';
import resolvable from '../mixins/resolvable'; import resolvable from '../mixins/resolvable';
import { __ } from '~/locale';
export default { export default {
name: 'NoteForm', name: 'NoteForm',
...@@ -33,7 +34,7 @@ export default { ...@@ -33,7 +34,7 @@ export default {
saveButtonTitle: { saveButtonTitle: {
type: String, type: String,
required: false, required: false,
default: 'Save comment', default: __('Save comment'),
}, },
discussion: { discussion: {
type: Object, type: Object,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment