From d3eef0aa0c773b8b9dc3a4f119e5709744e35af6 Mon Sep 17 00:00:00 2001 From: xmodar Date: Tue, 25 Oct 2022 06:55:17 +0300 Subject: [PATCH] Remove rtl: false from localizations --- javascript/localization.js | 5 ++++- localizations/ja_JP.json | 1 - localizations/ko_KR.json | 1 - localizations/ru_RU.json | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/javascript/localization.js b/javascript/localization.js index 6fb2fccd..f92d2d24 100644 --- a/javascript/localization.js +++ b/javascript/localization.js @@ -107,7 +107,10 @@ function processNode(node){ } function dumpTranslations(){ - dumped = { rtl: localization.rtl || false } + dumped = {} + if (localization.rtl) { + dumped.rtl = true + } Object.keys(original_lines).forEach(function(text){ if(dumped[text] !== undefined) return diff --git a/localizations/ja_JP.json b/localizations/ja_JP.json index ae533e06..a6cc2477 100644 --- a/localizations/ja_JP.json +++ b/localizations/ja_JP.json @@ -1,5 +1,4 @@ { - "rtl": false, "⤡": "⤡", "⊞": "⊞", "×": "×", diff --git a/localizations/ko_KR.json b/localizations/ko_KR.json index 6daad1b7..ab12c37e 100644 --- a/localizations/ko_KR.json +++ b/localizations/ko_KR.json @@ -1,5 +1,4 @@ { - "rtl": false, "×": "×", "•": "•", "⊞": "⊞", diff --git a/localizations/ru_RU.json b/localizations/ru_RU.json index 8ec2c5a3..664d36ea 100644 --- a/localizations/ru_RU.json +++ b/localizations/ru_RU.json @@ -1,5 +1,4 @@ { - "rtl": false, "⤡": "⤡", "⊞": "⊞", "×": "×",