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

Add a string externalisation in note form

See merge request gitlab-org/gitlab-ce!24514
This commit is contained in:
Phil Hughes 2019-01-21 17:22:37 +00:00
commit 3fd9e48a7e
1 changed files with 2 additions and 1 deletions

View File

@ -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,