From 790e6ceca4497e0748d0153b391c456bfa072fa4 Mon Sep 17 00:00:00 2001
From: gutfuckllc <40531868+gutfuckllc@users.noreply.github.com>
Date: Mon, 6 Aug 2018 15:53:21 -0400
Subject: [PATCH] Localize unlocalized line

---
 locales/ja.yml                                            | 1 +
 src/client/app/common/views/components/messaging-room.vue | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/locales/ja.yml b/locales/ja.yml
index 6aac8acca2..a77ce46531 100644
--- a/locales/ja.yml
+++ b/locales/ja.yml
@@ -253,6 +253,7 @@ common/views/components/messaging-room.vue:
   no-history: "これより過去の履歴はありません"
   resize-form: "ドラッグしてフォームの広さを調整"
   new-message: "新しいメッセージがあります"
+  only-one-file-attached: "メッセージに添付できるのはひとつのファイルのみです"
 
 common/views/components/messaging-room.form.vue:
   input-message-here: "ここにメッセージを入力"
diff --git a/src/client/app/common/views/components/messaging-room.vue b/src/client/app/common/views/components/messaging-room.vue
index b2831d6928..e4cc30ded9 100644
--- a/src/client/app/common/views/components/messaging-room.vue
+++ b/src/client/app/common/views/components/messaging-room.vue
@@ -111,7 +111,7 @@ export default Vue.extend({
 				this.form.upload(e.dataTransfer.files[0]);
 				return;
 			} else if (e.dataTransfer.files.length > 1) {
-				alert('メッセージに添付できるのはひとつのファイルのみです');
+				alert('%i18n:@only-one-file-attached%');
 				return;
 			}