From 391d3a3a66c20e6e1a4939fa86bb4636917dd2e0 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Mon, 27 Oct 2025 14:27:45 -0500 Subject: [PATCH] More --- util/translation.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/util/translation.py b/util/translation.py index efb146c..154dcbd 100644 --- a/util/translation.py +++ b/util/translation.py @@ -502,6 +502,13 @@ def extractTranslation(translatedTextList, isList, pbar=None): translation_table = { 0x201C: '"', # “ left double quotation mark 0x201D: '"', # ” right double quotation mark + 0xFF02: '"', # " fullwidth quotation mark + + 0x2018: "'", # ‘ left single quotation mark + 0x2019: "'", # ’ right single quotation mark + 0x201B: "'", # ‛ single high-reversed-9 quotation mark + 0x02BC: "'", # ʼ modifier letter apostrophe + 0xFF07: "'", # ' fullwidth apostrophe } s = s.translate(translation_table)