- Aug 4, 2020
- 925
- 1,460
Hi, I don't know if this is the right place to ask this, but if it isn't, have the moderator move it to the right place.
I am translating to Spanish a renpy game in English and I want the quick menu of the Spanish version to be different from the English one without modifying the original files.
I have created this "patch.rpy", that I put in the /game/tl/spanish folder:
The language is not a problem, the problem is that when I change the language, the quick menu is always the one of the patch, and what I want is that when the game is in English you see the original quick menu of the game, and when the game is in Spanish, you see the quick menu of the patch.rpy.
What am I doing wrong?
Thanks for the help.
I am translating to Spanish a renpy game in English and I want the quick menu of the Spanish version to be different from the English one without modifying the original files.
I have created this "patch.rpy", that I put in the /game/tl/spanish folder:
Code:
init 999:
screen quick_menu():
zorder 100
if quick_menu:
hbox:
style_prefix "quick"
xalign 0.5
yalign 1.0
textbutton _("Retroceder") action Rollback()
textbutton _("Historial") action ShowMenu('history')
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Saltar") action Skip()
textbutton _("Salto directo") action Skip(fast=True, confirm=True)
textbutton _("Cargar ya") action QuickLoad()
textbutton _("Guardar ya") action QuickSave()
textbutton _("Cargar") action ShowMenu('load')
textbutton _("Guardar") action ShowMenu('save')
textbutton _("Preferencias") action ShowMenu('preferences')
textbutton _("Ocultar") action HideInterface()
textbutton _("Salir") action Quit(confirm=not main_menu)
What am I doing wrong?
Thanks for the help.