From 92dfcdad5762e429355e9c560ec47746999287b9 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Tue, 6 Nov 2018 20:47:07 +0900
Subject: [PATCH] Fix #3141

---
 src/misc/i18n.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts
index 3dbfd7fe7b..0e429f1276 100644
--- a/src/misc/i18n.ts
+++ b/src/misc/i18n.ts
@@ -54,7 +54,7 @@ export default class Replacer {
 			if (this.lang === 'ja-JP') console.warn(`key '${key}' is not string in '${path}'`);
 			return key; // Fallback
 		} else {
-			return text;
+			return text.replace(/\n/g, ' ');
 		}
 	}