Update translation placeholder (#3735)

This commit is contained in:
Zero King 2018-12-23 20:36:02 +00:00 committed by syuilo
parent 4df7b824f1
commit bb88d06f3f

View file

@ -85,7 +85,7 @@ export default Vue.extend({
} }
} else { } else {
if (items[0].kind == 'file') { if (items[0].kind == 'file') {
alert('%i18n:only-one-file-attached%'); alert(this.$t('only-one-file-attached'));
} }
} }
}, },
@ -107,7 +107,7 @@ export default Vue.extend({
return; return;
} else if (e.dataTransfer.files.length > 1) { } else if (e.dataTransfer.files.length > 1) {
e.preventDefault(); e.preventDefault();
alert('%i18n:only-one-file-attached%'); alert(this.$t('only-one-file-attached'));
return; return;
} }