Improve translation support (part 7)
(cherry picked from commit 64a624c89b
)
This commit is contained in:
parent
395bcf50c0
commit
93de0cd4da
@ -132,7 +132,7 @@ label cc_pf_strip_T3_intro_E1:
|
||||
pause .5
|
||||
|
||||
# Panties acquired message!
|
||||
call give_reward("You have acquired Cho's panties!", "interface/icons/panties.webp")
|
||||
call give_reward(_("You have acquired Cho's panties!"), "interface/icons/panties.webp")
|
||||
$ states.cho.ev.panty_thief.acquired = True
|
||||
|
||||
else:
|
||||
|
@ -88,7 +88,7 @@ label hufflepuff_match:
|
||||
with d3
|
||||
|
||||
# Show wine
|
||||
call give_reward(text=">Not grape-juice.", gift="interface/icons/wine.webp")
|
||||
call give_reward(text=_(">Not grape-juice."), gift="interface/icons/wine.webp")
|
||||
|
||||
gen "That's all the persuasion I needed, my friend!" ("base", xpos="far_left", ypos="head")
|
||||
hide screen bld1
|
||||
@ -1140,7 +1140,7 @@ label hufflepuff_match_return:
|
||||
call cho_walk(action="leave")
|
||||
|
||||
stop music fadeout 1.0
|
||||
call unlock_clothing(text="New clothing items for Cho have been unlocked!", item=cho_outfit_cheerleader)
|
||||
call unlock_clothing(text=_("New clothing items for Cho have been unlocked!"), item=cho_outfit_cheerleader)
|
||||
call popup("New favours for Cho have been unlocked!", "Congratulations!", "interface/icons/head/cho.webp")
|
||||
|
||||
$ states.her.busy = True
|
||||
|
@ -450,7 +450,7 @@ label slut_scene:
|
||||
gen "You are \"my\" slut, and you will do well to remember it...{w=0.4} Now get out of my office." ("base", xpos="far_left", ypos="head")
|
||||
her @ cheeks blush "...{w=0.4} Fine." ("angry", "narrow", "base", "down")
|
||||
|
||||
call give_reward("A new collar has been unlocked in the wardrobe!")
|
||||
call give_reward(_("A new collar has been unlocked in the wardrobe!"))
|
||||
|
||||
show screen blkfade
|
||||
with d5
|
||||
@ -672,7 +672,7 @@ label whore_scene: #(locked behind public reputation and last sex event)
|
||||
gen "And proudly!" ("base", xpos="far_left", ypos="head")
|
||||
her @ cheeks blush "... *Hmph*!" ("annoyed", "narrow", "base", "R")
|
||||
|
||||
call give_reward("A new collar has been unlocked in the wardrobe!")
|
||||
call give_reward(_("A new collar has been unlocked in the wardrobe!"))
|
||||
|
||||
her @ cheeks blush "Goodbye then, [name_genie_hermione]." ("soft", "narrow", "base", "R")
|
||||
gen "Goodbye [name_hermione_genie]." ("base", xpos="far_left", ypos="head")
|
||||
@ -892,7 +892,7 @@ label slave_scene:
|
||||
gen "The collar you're wearing... I want you to keep it." ("base", xpos="far_left", ypos="head")
|
||||
her "Yes, [name_genie_hermione]! Thank you, [name_genie_hermione]!" ("angry", "happy", "base", "up")
|
||||
|
||||
call give_reward("A new collar has been unlocked in the wardrobe!")
|
||||
call give_reward(_("A new collar has been unlocked in the wardrobe!"))
|
||||
|
||||
gen "Now... On your feet." ("base", xpos="far_left", ypos="head")
|
||||
else:
|
||||
@ -1169,7 +1169,7 @@ label flasher_scene:
|
||||
her @ cheeks blush "Alright then..." ("open", "narrow", "base", "R")
|
||||
her @ cheeks blush "Just let me know when you want me to put it on..." ("open", "closed", "base", "mid")
|
||||
|
||||
call give_reward("A new collar has been unlocked in the wardrobe!")
|
||||
call give_reward(_("A new collar has been unlocked in the wardrobe!"))
|
||||
|
||||
if game.daytime:
|
||||
her @ cheeks blush "Have a Good day." ("soft", "base", "base", "R")
|
||||
@ -1284,7 +1284,7 @@ label good_girl_scene:
|
||||
gen "(At least I can enjoy watching her wearing it...)" ("base", xpos="far_left", ypos="head")
|
||||
her "Just let me know if you need anything." ("open", "happy", "base", "mid")
|
||||
|
||||
call give_reward("A new collar has been unlocked in the wardrobe!")
|
||||
call give_reward(_("A new collar has been unlocked in the wardrobe!"))
|
||||
|
||||
if game.daytime:
|
||||
her "Have a Good day." ("grin", "base", "base", "mid")
|
||||
|
@ -4,7 +4,7 @@ default _no_clothes = False
|
||||
|
||||
label potion_ass_make:
|
||||
|
||||
call give_reward("You have successfully created a new potion!", ass_potion_ITEM)
|
||||
call give_reward(_("You have successfully created a new potion!"), ass_potion_ITEM)
|
||||
|
||||
gen "There we go." ("base", xpos="far_left", ypos="head")
|
||||
play sound "sounds/sniff.ogg"
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
label potion_breasts_make:
|
||||
|
||||
call give_reward("You have successfully created a new potion!", breast_potion_ITEM)
|
||||
call give_reward(_("You have successfully created a new potion!"), breast_potion_ITEM)
|
||||
|
||||
gen "There we go." ("base", xpos="far_left", ypos="head")
|
||||
play sound "sounds/sniff.ogg"
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
label potion_cat_make:
|
||||
|
||||
call give_reward("You have successfully created a new potion!", cat_potion_ITEM)
|
||||
call give_reward(_("You have successfully created a new potion!"), cat_potion_ITEM)
|
||||
|
||||
play sound "sounds/sniff.ogg"
|
||||
gen "Yep..." ("base", xpos="far_left", ypos="head")
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
label potion_luna_make:
|
||||
|
||||
call give_reward("You have successfully created a new potion!", luna_potion_ITEM)
|
||||
call give_reward(_("You have successfully created a new potion!"), luna_potion_ITEM)
|
||||
|
||||
play sound "sounds/sniff.ogg"
|
||||
gen "It does have a distinctive smell of grass, among other things..." ("base", xpos="far_left", ypos="head")
|
||||
|
@ -1218,7 +1218,7 @@ label ll_pf_inspect_T2_E3_intro:
|
||||
gen "(*Hmm*... What's this?)" ("base", xpos="far_left", ypos="head")
|
||||
|
||||
$ hair_luna_ITEM.owned = 1
|
||||
call give_reward("You found a string of blonde hair!", gift=hair_luna_ITEM)
|
||||
call give_reward(_("You found a string of blonde hair!"), gift=hair_luna_ITEM)
|
||||
|
||||
gen "(Looks like she's left me a parting gift.)" ("base", xpos="far_left", ypos="head")
|
||||
if states.map.snape_office.intro_e2:
|
||||
|
@ -244,7 +244,7 @@ label luna_intro_E1:
|
||||
gen "*Ha-ha*... Good one! Alright, talk to you later, Beelzebub!" ("grin", xpos="far_left", ypos="head")
|
||||
"Beelzebub" "Ah, don't be so formal, just call me Bub."
|
||||
"Beelzebub" "If you ever need some latest {i}hot{/i} news, I'm your guy."
|
||||
call give_reward("Satan's phone number has been added to your contacts list.", "interface/icons/phone.webp")
|
||||
call give_reward(_("Satan's phone number has been added to your contacts list."), "interface/icons/phone.webp")
|
||||
gen "Thanks Bub, will do!" ("grin", xpos="far_left", ypos="head")
|
||||
|
||||
"Bub" "Take care!"
|
||||
@ -472,8 +472,8 @@ label luna_intro_E1:
|
||||
$ hermione_chibi.zorder = 3
|
||||
$ luna_chibi.zorder = 3
|
||||
|
||||
call unlock_clothing(text="New clothing items for Tonks have been unlocked!", item=ton_outfit_dressing_gown)
|
||||
call unlock_clothing(text="New clothing items for Hermione have been unlocked!", item=her_outfit_pajama)
|
||||
call unlock_clothing(text=_("New clothing items for Tonks have been unlocked!"), item=ton_outfit_dressing_gown)
|
||||
call unlock_clothing(text=_("New clothing items for Hermione have been unlocked!"), item=her_outfit_pajama)
|
||||
|
||||
jump day_start
|
||||
|
||||
|
@ -2807,7 +2807,7 @@ label ball_ending_E2:
|
||||
pause.1
|
||||
|
||||
# Read letter from Genie
|
||||
$ letter = Letter(text="""{size=-5}To: Hermione Granger{/size}
|
||||
$ letter = Letter(text=_("""{size=-5}To: Hermione Granger{/size}
|
||||
|
||||
{size=-4}Dear [word_01],
|
||||
|
||||
@ -2816,7 +2816,7 @@ By the time you will read this letter I shall be long gone. We shall never cross
|
||||
|
||||
Farewell, my little [word_03].{/size}
|
||||
|
||||
{size=-5}-Yours truly,\n[word_04]-{/size}"""
|
||||
{size=-5}-Yours truly,\n[word_04]-{/size}""")
|
||||
)
|
||||
|
||||
$ letter.open()
|
||||
|
@ -17,7 +17,7 @@ screen popup_window(msg="", xpos=0, ypos=60):
|
||||
|
||||
text msg align (0.5, 0.5) size 12
|
||||
|
||||
label give_reward(text="You found something!", gift="interface/icons/box_blue_2.webp", sound=True):
|
||||
label give_reward(text=_("You found something!"), gift="interface/icons/box_blue_2.webp", sound=True):
|
||||
if sound:
|
||||
play sound "sounds/win2.ogg"
|
||||
|
||||
|
@ -193,7 +193,7 @@ label hermione_third_duel:
|
||||
her "Here..." ("mad", "narrow", "base", "mid_soft")
|
||||
|
||||
$ unlocked_cards += [card_her_librarian]
|
||||
call give_reward("You have received a card!", "images/cardgame/t1/hermione/her_librarian_v1.webp")
|
||||
call give_reward(_("You have received a card!"), "images/cardgame/t1/hermione/her_librarian_v1.webp")
|
||||
|
||||
$ tokens += 3
|
||||
else:
|
||||
@ -283,7 +283,7 @@ label hermione_random_duel:
|
||||
gen "That's fine, wouldn't want you to go there looking as defeated as you are at the moment." ("grin", xpos="far_left", ypos="head")
|
||||
her @ cheeks blush "..." ("normal", "happy", "base", "R")
|
||||
her @ cheeks blush "Did you need anything else?" ("open", "base", "base", "mid_soft")
|
||||
call give_reward("Hermione can now work by helping the twins promote the card game.", "interface/icons/icon_gambler_hat.webp")
|
||||
call give_reward(_("Hermione can now work by helping the twins promote the card game."), "interface/icons/icon_gambler_hat.webp")
|
||||
jump hermione_requests
|
||||
"-Ask her for a blowjob instead-":
|
||||
jump hg_wager_bj
|
||||
|
@ -85,7 +85,7 @@ label twins_second_duel:
|
||||
fre "Make sure to come back and spend those tokens in our token shop."
|
||||
$ card_rand_twins = renpy.random.choice([[card_fred, "fred"], [card_george, "george"]])
|
||||
$ unlocked_cards += [card_rand_twins[0]]
|
||||
call give_reward("You have received a special card!", "images/cardgame/t1/special/%s_v1.webp" % str(card_rand_twins[1]))
|
||||
call give_reward(_("You have received a special card!"), "images/cardgame/t1/special/%s_v1.webp" % str(card_rand_twins[1]))
|
||||
$ states.twi.ev.cardgame.stage = 2
|
||||
$ tokens += 3
|
||||
else:
|
||||
@ -213,7 +213,7 @@ label twins_random_duel:
|
||||
gen "Well, how about a lower percentage? I'll adjust my wager as well." ("base", xpos="far_left", ypos="head")
|
||||
ger "We'll think about it..."
|
||||
|
||||
call give_reward("You have received 5%% of the twins' profits!", "interface/icons/cards.webp")
|
||||
call give_reward(_("You have received 5%% of the twins' profits!"), "interface/icons/cards.webp")
|
||||
$ states.twi.ev.cardgame.profit += 0.05
|
||||
$ states.twi.ev.cardgame.stage = 3
|
||||
$ tokens += 3
|
||||
|
@ -155,7 +155,7 @@ label biggus_dickus:
|
||||
hide hermione_main
|
||||
with d3
|
||||
|
||||
call give_reward("Hermione hands over her creation to you.", "interface/icons/plush_owl_strapon.webp")
|
||||
call give_reward(_("Hermione hands over her creation to you."), "interface/icons/plush_owl_strapon.webp")
|
||||
|
||||
her "What do you think?" ("grin", "wink", "base", "mid", xpos="mid", ypos="base", trans=dissolve)
|
||||
gen "What the hell am I looking at!?" ("angry", xpos="far_left", ypos="head")
|
||||
|
@ -142,6 +142,6 @@ label blueballing_bad:
|
||||
label blueballing_bad_rewards:
|
||||
|
||||
if not her_outfit_bb.unlocked:
|
||||
call unlock_clothing(text="New clothing items for Hermione have been unlocked!", item=her_outfit_bb)
|
||||
call unlock_clothing(text=_("New clothing items for Hermione have been unlocked!"), item=her_outfit_bb)
|
||||
|
||||
return
|
||||
|
@ -1,5 +1,5 @@
|
||||
label eating_for_pleasure_rewards:
|
||||
call unlock_clothing(text="New clothing items for Hermione have been unlocked!", item=her_outfit_pizza)
|
||||
call unlock_clothing(text=_("New clothing items for Hermione have been unlocked!"), item=her_outfit_pizza)
|
||||
return
|
||||
|
||||
label eating_for_pleasure:
|
||||
|
@ -1,17 +1,17 @@
|
||||
label genies_christmas_wish_rewards:
|
||||
|
||||
if not her_outfit_reindeer.unlocked:
|
||||
call unlock_clothing(text="New clothing items for Hermione have been unlocked!", item=her_outfit_reindeer)
|
||||
call unlock_clothing(text="New clothing items for Cho have been unlocked!", item=cho_outfit_reindeer)
|
||||
call unlock_clothing(text="New clothing items for Luna have been unlocked!", item=lun_outfit_reindeer)
|
||||
call unlock_clothing(text="New clothing items for Tonks have been unlocked!", item=ton_outfit_santa)
|
||||
call unlock_clothing(text=_("New clothing items for Hermione have been unlocked!"), item=her_outfit_reindeer)
|
||||
call unlock_clothing(text=_("New clothing items for Cho have been unlocked!"), item=cho_outfit_reindeer)
|
||||
call unlock_clothing(text=_("New clothing items for Luna have been unlocked!"), item=lun_outfit_reindeer)
|
||||
call unlock_clothing(text=_("New clothing items for Tonks have been unlocked!"), item=ton_outfit_santa)
|
||||
|
||||
python:
|
||||
naughty_list_ITEM.owned = 1
|
||||
xmas_garland_ITEM.owned = 1
|
||||
xmas_window_santa_ITEM.owned = 1
|
||||
|
||||
call give_reward(text=">You have received a bunch of new room decorations!", gift="interface/icons/santas_naughty_list.webp")
|
||||
call give_reward(text=_(">You have received a bunch of new room decorations!"), gift="interface/icons/santas_naughty_list.webp")
|
||||
|
||||
return
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
label not_so_great_escape_rewards:
|
||||
if not ton_outfit_police.unlocked:
|
||||
call unlock_clothing(text="New clothing items for Tonks have been unlocked!", item=ton_outfit_police)
|
||||
call unlock_clothing(text="New clothing items for Cho have been unlocked!", item=cho_outfit_police)
|
||||
call unlock_clothing(text="New clothing items for Luna have been unlocked!", item=lun_outfit_police)
|
||||
call unlock_clothing(text=_("New clothing items for Tonks have been unlocked!"), item=ton_outfit_police)
|
||||
call unlock_clothing(text=_("New clothing items for Cho have been unlocked!"), item=cho_outfit_police)
|
||||
call unlock_clothing(text=_("New clothing items for Luna have been unlocked!"), item=lun_outfit_police)
|
||||
|
||||
$ halloween_rug_ITEM.owned = 1
|
||||
$ halloween_chandelier_ITEM.owned = 1
|
||||
@ -18,7 +18,7 @@ label not_so_great_escape_rewards:
|
||||
$ halloween_lampL_ITEM.owned = 1
|
||||
$ halloween_lampR_ITEM.owned = 1
|
||||
|
||||
call give_reward(text=">You have received a bunch of new room decorations!", gift="interface/icons/halloween_chandelier.webp")
|
||||
call give_reward(text=_(">You have received a bunch of new room decorations!"), gift="interface/icons/halloween_chandelier.webp")
|
||||
return
|
||||
|
||||
label not_so_great_escape:
|
||||
|
@ -1,7 +1,7 @@
|
||||
label suck_and_run_rewards:
|
||||
# Unlock outfit message. Should only appear once.
|
||||
if not ton_outfit_succubus.unlocked:
|
||||
call unlock_clothing(text="New clothing items for Tonks have been unlocked!", item=ton_outfit_succubus)
|
||||
call unlock_clothing(text=_("New clothing items for Tonks have been unlocked!"), item=ton_outfit_succubus)
|
||||
return
|
||||
|
||||
# Mirror story: Suck and Run
|
||||
|
@ -44,14 +44,14 @@ label cupboard:
|
||||
# Dueling potion
|
||||
if game.day <= 3 and states.cupboard_rummaged_times in [1,2]:
|
||||
$ states.healing_potions += 1
|
||||
call give_reward("You found some sort of healing potion...","interface/icons/item_potion.webp")
|
||||
call give_reward(_("You found some sort of healing potion..."),"interface/icons/item_potion.webp")
|
||||
$ cupboard_OBJ.idle = "cupboard_idle"
|
||||
call gen_chibi("sit_behind_desk")
|
||||
jump main_room_menu
|
||||
|
||||
# Dumbledore card
|
||||
if game.day >= 26 and states.cardgame.unlocked and random_percent <= 40 and not card_exist(unlocked_cards,card_dumbledore) :
|
||||
call give_reward("You have found a special card!", "images/cardgame/t1/special/dumbledore_v1.webp")
|
||||
call give_reward(_("You have found a special card!"), "images/cardgame/t1/special/dumbledore_v1.webp")
|
||||
$ unlocked_cards += [card_dumbledore]
|
||||
$ cupboard_OBJ.idle = "cupboard_idle"
|
||||
call gen_chibi("sit_behind_desk")
|
||||
@ -60,7 +60,7 @@ label cupboard:
|
||||
# Map
|
||||
if not states.map.unlocked and states.her.favors_unlocked:
|
||||
$ states.map.unlocked = True
|
||||
call give_reward("You found a map of the school grounds.", "interface/icons/generic_scroll.webp")
|
||||
call give_reward(_("You found a map of the school grounds."), "interface/icons/generic_scroll.webp")
|
||||
|
||||
gen "What's this? A map?" ("base", xpos="far_left", ypos="head")
|
||||
$ cupboard_OBJ.idle = "cupboard_idle"
|
||||
@ -80,7 +80,7 @@ label cupboard:
|
||||
label rum_block(item):
|
||||
if isinstance(item, int):
|
||||
$ game.gold += item
|
||||
call give_reward("You found [item] gold...", "interface/icons/gold.webp")
|
||||
call give_reward(_("You found [item] gold..."), "interface/icons/gold.webp")
|
||||
|
||||
elif item == "nothing":
|
||||
nar "You found nothing of value..."
|
||||
@ -89,11 +89,11 @@ label rum_block(item):
|
||||
$ item.owned += 1
|
||||
|
||||
if item == wine_ITEM:
|
||||
call give_reward("You found a bottle of wine from professor Dumbledore's personal stash...", item)
|
||||
call give_reward(_("You found a bottle of wine from professor Dumbledore's personal stash..."), item)
|
||||
elif item == firewhisky_ITEM:
|
||||
call give_reward("You found a bottle of firewhisky from professor Dumbledore's personal stash...", item)
|
||||
call give_reward(_("You found a bottle of firewhisky from professor Dumbledore's personal stash..."), item)
|
||||
else:
|
||||
call give_reward("You found [item.name]...", item)
|
||||
call give_reward(_("You found [item.name]..."), item)
|
||||
|
||||
call tutorial("inventory")
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user