From 520849d07041d3aa085ce3ec923497784ee8474c Mon Sep 17 00:00:00 2001 From: Zero King Date: Sun, 23 Dec 2018 20:36:02 +0000 Subject: [PATCH] Update translation placeholder (#3735) --- .../app/common/views/components/messaging-room.form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/messaging-room.form.vue b/src/client/app/common/views/components/messaging-room.form.vue index 729ed640b..6c8b09c24 100644 --- a/src/client/app/common/views/components/messaging-room.form.vue +++ b/src/client/app/common/views/components/messaging-room.form.vue @@ -85,7 +85,7 @@ export default Vue.extend({ } } else { 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; } else if (e.dataTransfer.files.length > 1) { e.preventDefault(); - alert('%i18n:only-one-file-attached%'); + alert(this.$t('only-one-file-attached')); return; }