Changes in manga renderer

This commit is contained in:
Guillem Hernandez Sola
2026-04-23 19:46:30 +02:00
parent 832d699917
commit 05846d2c43
2 changed files with 38 additions and 44 deletions

View File

@@ -75,7 +75,8 @@ def parse_translations(filepath: str) -> Dict[int, str]:
continue
try:
bid = int(parts[0].lstrip("#"))
translated = parts[8].strip() # Index 8 is TRANSLATED
# 👉 FIX: Always grab the second-to-last column to avoid | delimiter bugs
translated = parts[-2].strip()
if translated and translated != "-":
translations[bid] = translated
except ValueError: