fix(report): keep the English edition when one phrase was untranslated
The English personal report was discarded whenever a Chinese fragment survived the trailing glossary. English sections now render the English fields that were already calculated. Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Grok (agent loop)
Cursor
parent
9812f31737
commit
ba1ffeb35f
@@ -156,7 +156,10 @@ OFFSET_NAME_EN = {0: "same house", 1: "2nd", 2: "3rd", 3: "4th (Kendra)", 4: "5t
|
||||
5: "6th", 6: "7th (Kendra)", 7: "8th", 8: "9th (Trine)",
|
||||
9: "10th (Kendra)", 10: "11th", 11: "12th"}
|
||||
|
||||
STRENGTH_EN = {"强": "Strong", "中": "Moderate", "弱": "Weak", "待评估": "To be assessed", "观察": "Watch"}
|
||||
STRENGTH_EN = {
|
||||
"强": "Strong", "中": "Moderate", "弱": "Weak", "待评估": "To be assessed", "观察": "Watch",
|
||||
"部分减弱": "partly weakened",
|
||||
}
|
||||
|
||||
|
||||
def _combo(cond: Dict, default_zh: str, **values) -> BiText:
|
||||
|
||||
Reference in New Issue
Block a user