the translation for some text in menu doesn't display
Posted: Mon Oct 31, 2022 1:21 pm
the source code:
menu:
extend ""
"Oh, yeah that'd be helpful!":
$displaymenu = False
call playerStatQuestions from _call_playerStatQuestions
"I have a pretty good idea of who I am. (choose a preset)":
$displaymenu = False
$Atticus_State["eye"] = 7
$displaymenu = True
voice atticus_whatkindofperson
Atticus "I see, what kind of person are you?{nw}"
menu:
extend ""
"I'm pretty active with a strong personality. (Brawn & Hustle)":
#Mountain
python:
......
"I'll just wing it. (randomize stats & appearance)":
$displaymenu = False
python:
Robyn_State["hair"] = persistent.RobynSettings[0] = random.randint(0,1)
......
the translation: Englisht to SimplifiedChinese
# game/scripts/Game Script/Robyn Creation.rpy:231
old "Oh, yeah that'd be helpful!"
new "噢,不错,这一定能帮上忙!"
# game/scripts/Game Script/Robyn Creation.rpy:237
old "I have a pretty good idea of who I am. (choose a preset)"
new "对于自己是谁我有很清楚的认知。(选择一个预设)"
# game/scripts/Game Script/Robyn Creation.rpy:370
old "I'll just wing it. (randomize stats & appearance)"
new "我其实不太确定。(获得随机数值与外观)"
The last two translations code don't work. When I play game, the sentences are still English.
menu:
extend ""
"Oh, yeah that'd be helpful!":
$displaymenu = False
call playerStatQuestions from _call_playerStatQuestions
"I have a pretty good idea of who I am. (choose a preset)":
$displaymenu = False
$Atticus_State["eye"] = 7
$displaymenu = True
voice atticus_whatkindofperson
Atticus "I see, what kind of person are you?{nw}"
menu:
extend ""
"I'm pretty active with a strong personality. (Brawn & Hustle)":
#Mountain
python:
......
"I'll just wing it. (randomize stats & appearance)":
$displaymenu = False
python:
Robyn_State["hair"] = persistent.RobynSettings[0] = random.randint(0,1)
......
the translation: Englisht to SimplifiedChinese
# game/scripts/Game Script/Robyn Creation.rpy:231
old "Oh, yeah that'd be helpful!"
new "噢,不错,这一定能帮上忙!"
# game/scripts/Game Script/Robyn Creation.rpy:237
old "I have a pretty good idea of who I am. (choose a preset)"
new "对于自己是谁我有很清楚的认知。(选择一个预设)"
# game/scripts/Game Script/Robyn Creation.rpy:370
old "I'll just wing it. (randomize stats & appearance)"
new "我其实不太确定。(获得随机数值与外观)"
The last two translations code don't work. When I play game, the sentences are still English.