Localize "only one file attached" popup

This commit is contained in:
gutfuckllc
2018-08-06 20:57:14 -04:00
parent 24de518922
commit a98392ff27
2 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@ export default Vue.extend({
}
} else {
if (items[0].kind == 'file') {
alert('メッセージに添付できるのはひとつのファイルのみです');
alert('%i18n:only-one-file-attached%');
}
}
},
@ -105,7 +105,7 @@ export default Vue.extend({
return;
} else if (e.dataTransfer.files.length > 1) {
e.preventDefault();
alert('メッセージに添付できるのはひとつのファイルのみです');
alert('%i18n:only-one-file-attached%');
return;
}