Compare commits

...

2 Commits

Author SHA1 Message Date
0b477fb762 Improve translation support (part 6) 2024-05-03 18:15:50 +01:00
4ad2be031f Improve translation support (part 5) 2024-05-03 18:12:53 +01:00
16 changed files with 317 additions and 331 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -360,7 +360,7 @@ label hg_butt_plugs:
her "The solution?" ("disgust", "wink", "base", "mid") her "The solution?" ("disgust", "wink", "base", "mid")
gen "Here." ("base", xpos="far_left", ypos="head") gen "Here." ("base", xpos="far_left", ypos="head")
call give_gift("You hand hermione the jar of anal lubricant.",anal_lube_ITEM) call give_gift(_("You hand hermione the jar of anal lubricant."), anal_lube_ITEM)
her "!!!" ("clench", "wide", "base", "stare") her "!!!" ("clench", "wide", "base", "stare")
her "I wasn't being serious, [name_genie_hermione]!" ("scream", "base", "angry", "mid") her "I wasn't being serious, [name_genie_hermione]!" ("scream", "base", "angry", "mid")

View File

@ -757,7 +757,7 @@ label hg_tutor_E8:
gen "Sure." ("base", xpos="far_left", ypos="head") gen "Sure." ("base", xpos="far_left", ypos="head")
gen "But before that I have a little present for you." ("base", xpos="far_left", ypos="head") gen "But before that I have a little present for you." ("base", xpos="far_left", ypos="head")
call give_gift("You give an assortment of adult magazines to Hermione.",adult_mag_ITEM) call give_gift(_("You give an assortment of adult magazines to Hermione."), adult_mag_ITEM)
gen "I hope this will help you in your studies." ("base", xpos="far_left", ypos="head") gen "I hope this will help you in your studies." ("base", xpos="far_left", ypos="head")
her @ cheeks blush tears mascara "Yes, certainly." ("base", "closed", "base", "mid") her @ cheeks blush tears mascara "Yes, certainly." ("base", "closed", "base", "mid")
@ -916,7 +916,7 @@ label hg_tutor_E9:
her @ cheeks blush tears mascara "\"Studies,\" yes, that's right." ("grin", "narrow", "base", "mid_soft") her @ cheeks blush tears mascara "\"Studies,\" yes, that's right." ("grin", "narrow", "base", "mid_soft")
gen "And to aid your studies I have even more scientific materials." ("base", xpos="far_left", ypos="head") gen "And to aid your studies I have even more scientific materials." ("base", xpos="far_left", ypos="head")
call give_gift("You give an assortment of porn magazines to Hermione.",porn_mag_ITEM) call give_gift(_("You give an assortment of porn magazines to Hermione."), porn_mag_ITEM)
her @ cheeks blush tears mascara "I promise to study them every night until I commit their lessons to memory!" ("grin", "closed", "base", "mid") her @ cheeks blush tears mascara "I promise to study them every night until I commit their lessons to memory!" ("grin", "closed", "base", "mid")
her @ cheeks blush tears mascara "Thank you and good night, professor." ("grin", "narrow", "base", "mid_soft") her @ cheeks blush tears mascara "Thank you and good night, professor." ("grin", "narrow", "base", "mid_soft")
@ -963,7 +963,7 @@ label hg_tutor_E10:
gen ".........." ("base", xpos="far_left", ypos="head") gen ".........." ("base", xpos="far_left", ypos="head")
her "So what's my gift this time?" ("open", "squint", "base", "mid") her "So what's my gift this time?" ("open", "squint", "base", "mid")
call give_gift("You give the vibrator to Hermione",vibrator_ITEM) call give_gift(_("You give the vibrator to Hermione"), vibrator_ITEM)
her "And I suppose you want me to test this in front of you?" ("open", "closed", "base", "mid") her "And I suppose you want me to test this in front of you?" ("open", "closed", "base", "mid")
gen "Of course." ("grin", xpos="far_left", ypos="head") gen "Of course." ("grin", xpos="far_left", ypos="head")
@ -1336,7 +1336,7 @@ label hg_tutor_E12:
her "And now I want more, so where is my gift?!" ("annoyed", "squint", "base", "mid") her "And now I want more, so where is my gift?!" ("annoyed", "squint", "base", "mid")
gen "There, there." ("base", xpos="far_left", ypos="head") gen "There, there." ("base", xpos="far_left", ypos="head")
call give_gift("You give the anal beads to Hermione",anal_beads_ITEM) call give_gift(_("You give the anal beads to Hermione"), anal_beads_ITEM)
her @ cheeks blush "Oh! That's even better than a butt plug." ("shock", "wide", "base", "stare") her @ cheeks blush "Oh! That's even better than a butt plug." ("shock", "wide", "base", "stare")
gen "And they can be useful for your pussy too." ("grin", xpos="far_left", ypos="head") gen "And they can be useful for your pussy too." ("grin", xpos="far_left", ypos="head")
@ -1677,7 +1677,7 @@ label hg_tutor_E13:
her "I'm ready, [name_genie_hermione]." (ypos="head", flip=False, trans=d3) her "I'm ready, [name_genie_hermione]." (ypos="head", flip=False, trans=d3)
call give_gift("You take an empty butterbeer bottle, spit on the neck, and push it inside her butthole.",butterbeer_ITEM) call give_gift(_("You take an empty butterbeer bottle, spit on the neck, and push it inside her butthole."), butterbeer_ITEM)
call her_chibi_scene("lie_on_desk_fingering_slow") call her_chibi_scene("lie_on_desk_fingering_slow")
hide screen bld1 hide screen bld1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -106,7 +106,7 @@ label ss_he_wine_intro:
pause.1 pause.1
# Show wine # Show wine
call give_gift("You hand over the bottle you found in the cupboard to professor Snape...", wine_ITEM) call give_gift(_("You hand over the bottle you found in the cupboard to professor Snape..."), wine_ITEM)
sna "This one has got to be from Albus' personal stash!" ("snape_24") sna "This one has got to be from Albus' personal stash!" ("snape_24")
sna "Some pricey and incredibly rare stuff." ("snape_06") sna "Some pricey and incredibly rare stuff." ("snape_06")
@ -121,7 +121,7 @@ label ss_he_wine_intro_E2:
gen "Care for another bottle?" ("base", xpos="far_left", ypos="head") gen "Care for another bottle?" ("base", xpos="far_left", ypos="head")
pause.1 pause.1
call give_gift("You hand over the bottle you found in the cupboard to professor Snape...", wine_ITEM) call give_gift(_("You hand over the bottle you found in the cupboard to professor Snape..."), wine_ITEM)
sna "Another bottle of Dumbledore's wine?" ("snape_05", ypos="head") sna "Another bottle of Dumbledore's wine?" ("snape_05", ypos="head")
sna "Did you find Albus' secret stash or was it his personal wine cellar?" ("snape_05") sna "Did you find Albus' secret stash or was it his personal wine cellar?" ("snape_05")
@ -139,7 +139,7 @@ label ss_he_wine_repeat:
gen "Look what I've got!" ("base", xpos="far_left", ypos="head") gen "Look what I've got!" ("base", xpos="far_left", ypos="head")
pause.1 pause.1
call give_gift("You hand over the bottle you found in the cupboard to professor Snape...", wine_ITEM) call give_gift(_("You hand over the bottle you found in the cupboard to professor Snape..."), wine_ITEM)
sna "Another one?" ("snape_05", ypos="head") sna "Another one?" ("snape_05", ypos="head")

View File

@ -55,7 +55,7 @@ label summon_snape:
sna "With pleasure!" ("snape_02", ypos="head") sna "With pleasure!" ("snape_02", ypos="head")
pause.1 pause.1
call give_gift("You hand over the bottle you found in the cupboard to professor Snape...", wine_ITEM) call give_gift(_("You hand over the bottle you found in the cupboard to professor Snape..."), wine_ITEM)
$ states.gen.stats.hangouts_with_snape += 1 $ states.gen.stats.hangouts_with_snape += 1
$ wine_ITEM.owned -= 1 $ wine_ITEM.owned -= 1

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,7 @@ label nt_he_wine_intro:
pause.1 pause.1
# Show wine # Show wine
call give_gift("You hand over the bottle you found in the cupboard to professor Tonks...", wine_ITEM) call give_gift(_("You hand over the bottle you found in the cupboard to professor Tonks..."), wine_ITEM)
ton "Wine?" ("open", "base", "raised", "down") ton "Wine?" ("open", "base", "raised", "down")
ton "Don't you have anything stronger?" ("upset", "base", "base", "R") ton "Don't you have anything stronger?" ("upset", "base", "base", "R")

File diff suppressed because it is too large Load Diff

View File

@ -50,9 +50,9 @@ screen ui_top_bar():
if room_menu_active: if room_menu_active:
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_menu.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_menu.webp"))
if toggle_menu: if toggle_menu:
tooltip "Close menu" tooltip _("Close menu")
else: else:
tooltip "Open menu" tooltip _("Open menu")
action ToggleScreenVariable("toggle_menu", True, False) action ToggleScreenVariable("toggle_menu", True, False)
# Sleep button # Sleep button
@ -64,10 +64,10 @@ screen ui_top_bar():
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_sleep.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_sleep.webp"))
if game.daytime: if game.daytime:
action Jump("night_start") action Jump("night_start")
tooltip "Doze Off (s)" tooltip _("Doze Off (s)")
else: else:
action Jump("day_start") action Jump("day_start")
tooltip "Sleep (s)" tooltip _("Sleep (s)")
hbox: hbox:
if renpy.android: if renpy.android:
@ -81,7 +81,7 @@ screen ui_top_bar():
idle gui.format("interface/topbar/buttons/{}/ui_achievements.webp") idle gui.format("interface/topbar/buttons/{}/ui_achievements.webp")
if room_menu_active: if room_menu_active:
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_achievements.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_achievements.webp"))
tooltip "Achievements" tooltip _("Achievements")
action Jump("achievement") action Jump("achievement")
# Stats button # Stats button
@ -89,7 +89,7 @@ screen ui_top_bar():
idle gui.format("interface/topbar/buttons/{}/ui_stats.webp") idle gui.format("interface/topbar/buttons/{}/ui_stats.webp")
if room_menu_active: if room_menu_active:
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_stats.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_stats.webp"))
tooltip "Characters (c)" tooltip _("Characters (c)")
action Jump("stats") action Jump("stats")
# Inventory button # Inventory button
@ -97,7 +97,7 @@ screen ui_top_bar():
idle gui.format("interface/topbar/buttons/{}/ui_inv.webp") idle gui.format("interface/topbar/buttons/{}/ui_inv.webp")
if room_menu_active: if room_menu_active:
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_inv.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_inv.webp"))
tooltip "Inventory (i)" tooltip _("Inventory (i)")
action Jump("inventory") action Jump("inventory")
# Work button # Work button
@ -106,7 +106,7 @@ screen ui_top_bar():
idle gui.format("interface/topbar/buttons/{}/ui_work.webp") idle gui.format("interface/topbar/buttons/{}/ui_work.webp")
if room_menu_active: if room_menu_active:
hover image_hover(gui.format("interface/topbar/buttons/{}/ui_work.webp")) hover image_hover(gui.format("interface/topbar/buttons/{}/ui_work.webp"))
tooltip "Work (w)" tooltip _("Work (w)")
action Jump("paperwork") action Jump("paperwork")
screen ui_points(): screen ui_points():
@ -144,7 +144,7 @@ screen ui_points():
if room_menu_active: if room_menu_active:
imagebutton: imagebutton:
idle "interface/topbar/hover_zone.webp" idle "interface/topbar/hover_zone.webp"
tooltip "House Points\n{size=-2}Click to toggle style display{/size}" tooltip _("House Points\n{size=-2}Click to toggle style display{/size}")
hovered SetLocalVariable("toggle_points", True) hovered SetLocalVariable("toggle_points", True)
unhovered SetLocalVariable("toggle_points", False) unhovered SetLocalVariable("toggle_points", False)
action ToggleVariable("persistent.toggle_points", True, False) action ToggleVariable("persistent.toggle_points", True, False)
@ -213,11 +213,11 @@ screen ui_menu():
textbutton "Save" action ShowMenu("save") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ] textbutton "Save" action ShowMenu("save") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ]
textbutton "Load" action ShowMenu("load") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ] textbutton "Load" action ShowMenu("load") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ]
if game.cheats and game.difficulty <= 2 and game.day > 1: if game.cheats and game.difficulty <= 2 and game.day > 1:
textbutton "Cheats" action [SetScreenVariable("toggle_menu", False), Jump("cheats")] background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ] textbutton _("Cheats") action [SetScreenVariable("toggle_menu", False), Jump("cheats")] background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ]
if game.day > 1 and renpy.android: if game.day > 1 and renpy.android:
textbutton "Preferences" action ShowMenu("preferences") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ] textbutton _("Preferences") action ShowMenu("preferences") background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ]
if game.day > 1 and persistent.game_complete: if game.day > 1 and persistent.game_complete:
textbutton "Gallery" action [SetScreenVariable("toggle_menu", False), Jump("scene_gallery")] background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ] textbutton _("Gallery") action [SetScreenVariable("toggle_menu", False), Jump("scene_gallery")] background None xalign 0.5 text_outlines [ (2, "#00000080", 1, 0) ]
#if game.day > 1 and config.developer: #if game.day > 1 and config.developer:
# textbutton "{size=-11}Show Chars{/size}" action [SetScreenVariable("toggle_menu", False), Jump("summon_characters")] background "#000" # textbutton "{size=-11}Show Chars{/size}" action [SetScreenVariable("toggle_menu", False), Jump("summon_characters")] background "#000"

View File

@ -1,19 +1,19 @@
default main_room = Room("main_room") default main_room = Room("main_room")
default fireplace_OBJ = RoomObject(main_room, "fireplace", pos=(693, 277), idle="fireplace_idle_shadow", focus_mask="fireplace_hover", foreground=None, action=Jump("fireplace"), tooltip="Light/Extinguish") default fireplace_OBJ = RoomObject(main_room, "fireplace", pos=(693, 277), idle="fireplace_idle_shadow", focus_mask="fireplace_hover", foreground=None, action=Jump("fireplace"), tooltip=_("Light/Extinguish"))
default cupboard_OBJ = RoomObject(main_room, "cupboard", pos=(260, 280), idle="cupboard_idle", action=Jump("cupboard"), tooltip="Rummage") default cupboard_OBJ = RoomObject(main_room, "cupboard", pos=(260, 280), idle="cupboard_idle", action=Jump("cupboard"), tooltip=_("Rummage"))
default phoenix_OBJ = RoomObject(main_room, "phoenix", pos=(557, 272), idle="phoenix_idle", hover="phoenix_hover", focus_mask="phoenix_idle", background="phoenix_feather", action=Jump("phoenix"), tooltip="Interact") default phoenix_OBJ = RoomObject(main_room, "phoenix", pos=(557, 272), idle="phoenix_idle", hover="phoenix_hover", focus_mask="phoenix_idle", background="phoenix_feather", action=Jump("phoenix"), tooltip=_("Interact"))
default door_OBJ = RoomObject(main_room, "door", pos=(898, 315), idle="door_idle", focus_mask="door_hover", action=Jump("door"), tooltip="Summon") default door_OBJ = RoomObject(main_room, "door", pos=(898, 315), idle="door_idle", focus_mask="door_hover", action=Jump("door"), tooltip=_("Summon"))
default candleL_OBJ = RoomObject(main_room, "candle_left", pos=(350, 160), idle="candle_left", foreground=None, action=ToggleVariable("candleL_OBJ.foreground", "candle_fire", None), zorder=3) default candleL_OBJ = RoomObject(main_room, "candle_left", pos=(350, 160), idle="candle_left", foreground=None, action=ToggleVariable("candleL_OBJ.foreground", "candle_fire", None), zorder=3)
default candleR_OBJ = RoomObject(main_room, "candle_right", pos=(833, 225), idle="candle_right", foreground=None, action=ToggleVariable("candleR_OBJ.foreground", "candle_fire", None), zorder=3) default candleR_OBJ = RoomObject(main_room, "candle_right", pos=(833, 225), idle="candle_right", foreground=None, action=ToggleVariable("candleR_OBJ.foreground", "candle_fire", None), zorder=3)
default desk_OBJ = RoomObject(main_room, "desk", pos=(370, 336), idle="ch_gen sit_behind_desk", hover="ch_gen sit_behind_desk_hover", focus_mask="ch_gen sit_behind_desk", action=Jump("desk"), hovered=Show("gui_tooltip", img="emo_exclaim", xx=335, yy=210), unhovered=Hide("gui_tooltip"), tooltip="Desk", zorder=1) default desk_OBJ = RoomObject(main_room, "desk", pos=(370, 336), idle="ch_gen sit_behind_desk", hover="ch_gen sit_behind_desk_hover", focus_mask="ch_gen sit_behind_desk", action=Jump("desk"), hovered=Show("gui_tooltip", img="emo_exclaim", xx=335, yy=210), unhovered=Hide("gui_tooltip"), tooltip=_("Desk"), zorder=1)
default poster_OBJ = RoomObject(main_room, "poster", pos=(364, 285), idle=Null(127, 166), action=Jump("enlarge_poster"), zorder=-1) default poster_OBJ = RoomObject(main_room, "poster", pos=(364, 285), idle=Null(127, 166), action=Jump("enlarge_poster"), zorder=-1)
default trophy_OBJ = RoomObject(main_room, "trophy", pos=(650, 120), idle=Null(), action=None, zorder=-1) default trophy_OBJ = RoomObject(main_room, "trophy", pos=(650, 120), idle=Null(), action=None, zorder=-1)
default chair_OBJ = RoomObject(main_room, "chair", pos=(793, 300), idle="chair_right", action=None, zorder=0) default chair_OBJ = RoomObject(main_room, "chair", pos=(793, 300), idle="chair_right", action=None, zorder=0)
default chair_left_OBJ = RoomObject(main_room, "chair", pos=(333, 300), idle="chair_left", action=None, zorder=0, hidden=True) default chair_left_OBJ = RoomObject(main_room, "chair", pos=(333, 300), idle="chair_left", action=None, zorder=0, hidden=True)
default owl_OBJ = RoomObject(main_room, "owl", pos=(455, 289), idle="owl_letter", hover="owl_letter_hover", action=Jump("letter_open_all"), tooltip="Check Mail", hidden=True, anchor=(0.5, 1.0)) default owl_OBJ = RoomObject(main_room, "owl", pos=(455, 289), idle="owl_letter", hover="owl_letter_hover", action=Jump("letter_open_all"), tooltip=_("Check Mail"), hidden=True, anchor=(0.5, 1.0))
default parcel_OBJ = RoomObject(main_room, "parcel", pos=(402, 290), idle="parcel", action=Jump("parcel_open_all"), tooltip="Check Parcel", hidden=True, anchor=(0.5, 1.0)) default parcel_OBJ = RoomObject(main_room, "parcel", pos=(402, 290), idle="parcel", action=Jump("parcel_open_all"), tooltip=_("Check Parcel"), hidden=True, anchor=(0.5, 1.0))
default rug_OBJ = RoomObject(main_room, "rug", pos=(482, 392), idle=Null(), action=None, zorder=0) default rug_OBJ = RoomObject(main_room, "rug", pos=(482, 392), idle=Null(), action=None, zorder=0)
default chandelier_OBJ = RoomObject(main_room, "chandelier", pos=(536, 24), idle=Null(), action=None, zorder=5) default chandelier_OBJ = RoomObject(main_room, "chandelier", pos=(536, 24), idle=Null(), action=None, zorder=5)

View File

@ -1,7 +1,7 @@
default room_of_requirement = Room("room_of_requirement") default room_of_requirement = Room("room_of_requirement")
default ror_door_OBJ = RoomObject(room_of_requirement, "door", pos=(897, 315), idle="door_idle_night", action=Jump("main_room"), tooltip="Return to office") default ror_door_OBJ = RoomObject(room_of_requirement, "door", pos=(897, 315), idle="door_idle_night", action=Jump("main_room"), tooltip=_("Return to office"))
default ror_mirror_OBJ = RoomObject(room_of_requirement, "mirror", pos=(180, 492), anchor=(0.5, 1.0), idle="mirror", hover="mirror_hover", action=Jump("mirror"), tooltip="Look into the mirror") default ror_mirror_OBJ = RoomObject(room_of_requirement, "mirror", pos=(180, 492), anchor=(0.5, 1.0), idle="mirror", hover="mirror_hover", action=Jump("mirror"), tooltip=_("Look into the mirror"))
default mirror_image = Null() default mirror_image = Null()

View File

@ -1,13 +1,13 @@
default snape_office = Room("snape_office") default snape_office = Room("snape_office")
default snape_office_brewing_station_OBJ = RoomObject(snape_office, "snape_office_brewing_station", pos=(367, 325), idle="snape_office_brewing_station_off", focus_mask=None, action=Jump("brewing_station"), tooltip="Brewing Station", zorder=-1) default snape_office_brewing_station_OBJ = RoomObject(snape_office, "snape_office_brewing_station", pos=(367, 325), idle="snape_office_brewing_station_off", focus_mask=None, action=Jump("brewing_station"), tooltip=_("Brewing Station"), zorder=-1)
default snape_office_shelves_OBJ = RoomObject(snape_office, "snape_office_shelves", pos=(695, 240), idle="snape_office_shelves", foreground="snape_office_shelves_anim", focus_mask=None, action=Jump("shelves"), tooltip="Shelves", zorder=-1) default snape_office_shelves_OBJ = RoomObject(snape_office, "snape_office_shelves", pos=(695, 240), idle="snape_office_shelves", foreground="snape_office_shelves_anim", focus_mask=None, action=Jump("shelves"), tooltip=_("Shelves"), zorder=-1)
default snape_office_picture_OBJ = RoomObject(snape_office, "snape_office_picture", pos=(879, 219), idle="snape_office_picture", action=Jump("snape_picture"), tooltip="Picture", zorder=-1) default snape_office_picture_OBJ = RoomObject(snape_office, "snape_office_picture", pos=(879, 219), idle="snape_office_picture", action=Jump("snape_picture"), tooltip=_("Picture"), zorder=-1)
default snape_office_statue_OBJ = RoomObject(snape_office, "snape_office_statue", pos=(541, 137), idle="snape_office_statue", action=Jump("snake_statue"), tooltip="Snake Head", zorder=-1) default snape_office_statue_OBJ = RoomObject(snape_office, "snape_office_statue", pos=(541, 137), idle="snape_office_statue", action=Jump("snake_statue"), tooltip=_("Snake Head"), zorder=-1)
default snape_office_desk_OBJ = RoomObject(snape_office, "snape_office_desk", pos=(737, 369), idle="snape_office_desk", action=Jump("snape_at_desk"), tooltip="Snape's Desk", zorder=0) default snape_office_desk_OBJ = RoomObject(snape_office, "snape_office_desk", pos=(737, 369), idle="snape_office_desk", action=Jump("snape_at_desk"), tooltip=_("Snape's Desk"), zorder=0)
default snape_office_candelabra_OBJ = RoomObject(snape_office, "snape_office_candelabra", pos=(540, 300), idle="snape_office_candelabra_on", foreground="snape_office_candelabra_anim", focus_mask=None, action=Jump("candelabra"), tooltip="Examine", zorder=0) default snape_office_candelabra_OBJ = RoomObject(snape_office, "snape_office_candelabra", pos=(540, 300), idle="snape_office_candelabra_on", foreground="snape_office_candelabra_anim", focus_mask=None, action=Jump("candelabra"), tooltip=_("Examine"), zorder=0)
default snape_office_door_OBJ = RoomObject(snape_office, "snape_office_door", pos=(185, 307), idle="snape_office_door", action=Jump("snape_office_door"), tooltip="Return to office", zorder=0) default snape_office_door_OBJ = RoomObject(snape_office, "snape_office_door", pos=(185, 307), idle="snape_office_door", action=Jump("snape_office_door"), tooltip=_("Return to office"), zorder=0)
screen snape_office(): screen snape_office():
tag room tag room

View File

@ -1,20 +1,6 @@
translate chinese python: translate chinese python:
def replace_text(s): def replace_text(s):
s = s.replace("Light/Extinguish","点燃/熄灭")
s = s.replace("Rummage","翻找")
s = s.replace("Interact","互动")
s = s.replace("Summon","传唤")
s = s.replace("Desk","办公桌")
s = s.replace("Check Mail","查看邮件")
s = s.replace("Check Parcel","查看包裹")
s = s.replace("Open menu","打开选项")
s = s.replace("Close menu","关闭选项")
s = s.replace("House Points\n{size=-2}Click to toggle style display{/size}","学院积分\n{size=-2}点击切换显示样式{/size}") s = s.replace("House Points\n{size=-2}Click to toggle style display{/size}","学院积分\n{size=-2}点击切换显示样式{/size}")
s = s.replace("Achievements","成就")
s = s.replace("Characters (c)","角色 (c)")
s = s.replace("Inventory (i)","库存 (i)")
s = s.replace("Work (w)","工作 (w)")
s = s.replace("Doze Off (s)","打盹 (s)")
s = s.replace("Brewing Station","酿造站") s = s.replace("Brewing Station","酿造站")
s = s.replace("Shelves","书架") s = s.replace("Shelves","书架")
s = s.replace("Examine","检查") s = s.replace("Examine","检查")