mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-03-21 17:34:42 -05:00
Fixing main.py
This commit is contained in:
parent
b50b3e8cd6
commit
a56596afcd
2
PCCS
2
PCCS
|
|
@ -1 +1 @@
|
|||
Subproject commit db430d84c27bf196ab61e07d4b4588ddc093da08
|
||||
Subproject commit 1c98a391c2261c8141c8917160b2040514a0c2ee
|
||||
|
|
@ -15,6 +15,7 @@ update = True
|
|||
|
||||
print ("Running text_helper:")
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
FIRST_TRANSLATION_COL_INDEX = 8
|
||||
|
||||
if update:
|
||||
|
||||
|
|
@ -467,9 +468,9 @@ for row in currSheet.iterrows():
|
|||
currRow = row[1]
|
||||
#print(currRow)
|
||||
offset = lang.value
|
||||
if (pd.isna(currRow.iloc[8 + lang.value])):
|
||||
if (pd.isna(currRow.iloc[FIRST_TRANSLATION_COL_INDEX + lang.value])):
|
||||
offset = Languages.English.value
|
||||
mainDict[lang.name][currRow.iloc[0]][currRow.iloc[1]] = {"bytes": currRow.iloc[7 + offset],
|
||||
mainDict[lang.name][currRow.iloc[0]][currRow.iloc[1]] = {"bytes": currRow.iloc[FIRST_TRANSLATION_COL_INDEX + offset],
|
||||
"numLines": currRow.iloc[2],
|
||||
"pixelsPerChar": currRow.iloc[3],
|
||||
"pixelsInLine" : currRow.iloc[4],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user