Too much data in translation variable
Posted: Wed Sep 28, 2016 1:13 pm
I trying to translate one game, which already has 4 languages. I don't have original sources, only decompiled files.
First, I edited translation.rpy file.
Like this:
But there's a problem: too much data. "Overly long logical line" occurs.
So, how can I add data to translation variable? I didn't find method for manipulating RevertableDict object data.
First, I edited translation.rpy file.
Like this:
Code: Select all
init -1001 python:
translation = {
"settings" : {
"english" : "SETTINGS",
None : "НАСТРОЙКИ",
"spanish" : "OPCIONES",
"italian" : "IMPOSTAZIONI",
"japanese" : "設定",
},
#etc...
So, how can I add data to translation variable? I didn't find method for manipulating RevertableDict object data.