From c2bbdcf9e790746699acceee3ad5c18f5615919b Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Mon, 19 May 2025 17:29:30 +0800 Subject: [PATCH] Refine translation tooling Signed-off-by: Loren Eteval --- Translation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Translation.py b/Translation.py index 03ccf4f..550e12f 100644 --- a/Translation.py +++ b/Translation.py @@ -165,6 +165,9 @@ def main(): # # translation[text][target] = result.text + # TODO: Temporarily set the same as original text + translation[text][target] = text + if not targetText or translation[text].get('isReviewed') is None: # Target translation does not exist, or does not have 'isReviewed' field. # Set 'isReviewed' field to "False"