From da76074f286887a3192572b4d273bdc9a501a47f Mon Sep 17 00:00:00 2001 From: MarvNC <rotrobmin@gmail.com> Date: Sat, 20 Jan 2024 19:07:05 -0800 Subject: [PATCH] Fix zho/lzh not getting ruby text --- src/util/yomitan/convertSenseToSC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/yomitan/convertSenseToSC.js b/src/util/yomitan/convertSenseToSC.js index 5a0d7e6..064b99d 100644 --- a/src/util/yomitan/convertSenseToSC.js +++ b/src/util/yomitan/convertSenseToSC.js @@ -186,7 +186,7 @@ function convertLanguageEntryToDiv(language, languageTexts) { data: { wordshk: 'langtext', }, - content: convertTextToSC(languageText, languageInfo.langCode), + content: convertTextToSC(languageText, language), }; // Change text size for selected languages const cjkLangs = ['yue', 'zho', 'jpn', 'kor', 'lzh'];