Merge pull request 'Marks missing text as translatable' (#234) from missing-text into master

Reviewed-on: https://git.cavemanon.xyz/Cavemanon/SnootGame/pulls/234
This commit is contained in:
MichaelYick 2024-04-14 09:39:15 +00:00
commit 4a872edd95

View file

@ -292,10 +292,10 @@ screen quick_menu():
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
[ [
[ "Skip", Skip() ], [ _("Skip"), Skip() ],
[ "Save", ShowMenu('save') ], [ _("Save"), ShowMenu('save') ],
[ "Auto", Preference("auto-forward", "toggle") ], [ _("Auto"), Preference("auto-forward", "toggle") ],
[ "Load", ShowMenu('load') ] [ _("Load"), ShowMenu('load') ]
] ) ] )
screen score_menu(): screen score_menu():
@ -491,11 +491,11 @@ screen main_menu():
xalign 0.5 xalign 0.5
yalign 0.5 yalign 0.5
if persistent.endings == 0b1111 and (persistent.bonus_chapters == 0b111111111): if persistent.endings == 0b1111 and (persistent.bonus_chapters == 0b111111111):
text "You have unlocked the final bonus chapter!" style "main_menu_text" yalign 0.5 text _("You have unlocked the final bonus chapter!") style "main_menu_text" yalign 0.5
elif persistent.endings == 0b1111: elif persistent.endings == 0b1111:
text "You have finished all endings! Complete all bonus chapters to receive the final chapter!" style "main_menu_text" yalign 0.5 text _("You have finished all endings! Complete all bonus chapters to receive the final chapter!") style "main_menu_text" yalign 0.5
else: else:
text "You have unlocked new bonus chapters, complete unseen endings to see more!" style "main_menu_text" yalign 0.5 text _("You have unlocked new bonus chapters, complete unseen endings to see more!") style "main_menu_text" yalign 0.5
## The use statement includes another screen inside this one. The actual ## The use statement includes another screen inside this one. The actual
@ -516,20 +516,20 @@ screen main_menu():
use bonus_chapter_button("template_black") use bonus_chapter_button("template_black")
use main_menu_buttons("template_black", use main_menu_buttons("template_black",
[ [
[ "Load", ShowMenu("load") ], [ _("Load"), ShowMenu("load") ],
[ "Options", ShowMenu("preferences") ], [ _("Options"), ShowMenu("preferences") ],
[ "Extras", ShowMenu("extras") ], \ [ _("Extras"), ShowMenu("extras") ], \
[ "Quit", Quit(confirm=not main_menu) ] [ _("Quit"), Quit(confirm=not main_menu) ]
] ) ] )
else: else:
use main_menu_button("gui/button/menubuttons/template_idle.png", "Start", Start()) use main_menu_button("gui/button/menubuttons/template_idle.png", "Start", Start())
use bonus_chapter_button() use bonus_chapter_button()
use main_menu_buttons("gui/button/menubuttons/template_idle.png", use main_menu_buttons("gui/button/menubuttons/template_idle.png",
[ [
[ "Load", ShowMenu("load") ], [ _("Load"), ShowMenu("load") ],
[ "Options", ShowMenu("preferences") ], [ _("Options"), ShowMenu("preferences") ],
[ "Extras", ShowMenu("extras") ], \ [ _("Extras"), ShowMenu("extras") ], \
[ "Quit", Quit(confirm=not main_menu) ] [ _("Quit"), Quit(confirm=not main_menu) ]
] ) ] )
#on "show" action renpy.start_predict_screen("cg_gallery") #on "show" action renpy.start_predict_screen("cg_gallery")
@ -1267,11 +1267,11 @@ screen extrasnavigation():
ypos 1130 ypos 1130
use main_menu_buttons("gui/button/menubuttons/template_idle.png", use main_menu_buttons("gui/button/menubuttons/template_idle.png",
[ [
[ "Help", ShowMenu("help") ], [ _("Help"), ShowMenu("help") ],
[ "About", ShowMenu("about") ], [ _("About"), ShowMenu("about") ],
[ "Gallery", ShowMenu("cg_gallery") ], [ _("Gallery"), ShowMenu("cg_gallery") ],
[ "Mods", ShowMenu("mod_menu") ], [ _("Mods"), ShowMenu("mod_menu") ],
[ "Return", ShowMenu("main_menu") ] [ _("Return"), ShowMenu("main_menu") ]
] ) ] )
add Null(0, 129) add Null(0, 129)
@ -1764,10 +1764,10 @@ screen quick_menu():
yalign 0.975 yalign 0.975
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \ use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \
[ \ [ \
[ "Back", Rollback() ], \ [ _("Back"), Rollback() ], \
[ "Skip", Skip() ], \ [ _("Skip"), Skip() ], \
[ "Auto", Preference("auto-forward", "toggle") ], \ [ _("Auto"), Preference("auto-forward", "toggle") ], \
[ "Menu", ShowMenu() ] \ [ _("Menu"), ShowMenu() ] \
] ) ] )
screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py) screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py)
@ -1786,11 +1786,11 @@ screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py)
yalign 0.9 yalign 0.9
use main_menu_buttons("gui/button/menubuttons/template_idle.png", use main_menu_buttons("gui/button/menubuttons/template_idle.png",
[ [
[ "Help", ShowMenu("help") ], [ _("Help"), ShowMenu("help") ],
[ "About", ShowMenu("about") ], [ _("About"), ShowMenu("about") ],
[ "Gallery", ShowMenu("cg_gallery") ], [ _("Gallery"), ShowMenu("cg_gallery") ],
[ "Mods", ShowMenu("mod_menu") ], [ _("Mods"), ShowMenu("mod_menu") ],
[ "Return", ShowMenu("main_menu") ] [ _("Return"), ShowMenu("main_menu") ]
] ) ] )
style radio_button: style radio_button: