Compare commits
2 Commits
832d699917
...
9a14e0fb61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a14e0fb61 | ||
|
|
05846d2c43 |
@@ -75,7 +75,8 @@ def parse_translations(filepath: str) -> Dict[int, str]:
|
|||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
bid = int(parts[0].lstrip("#"))
|
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 != "-":
|
if translated and translated != "-":
|
||||||
translations[bid] = translated
|
translations[bid] = translated
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user