diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts index 3dbfd7fe7..0e429f127 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, ' '); } }