diff --git a/game/scripts/characters/astoria/common.rpy b/game/scripts/characters/astoria/common.rpy index 80a077bb..cc3592de 100644 --- a/game/scripts/characters/astoria/common.rpy +++ b/game/scripts/characters/astoria/common.rpy @@ -44,11 +44,11 @@ label update_astoria: $ random_number = renpy.random.randint(0, 5) if random_number in [1,5]: - $ ast_susan_name = renpy.random.choice(["Suzy","Cow","Cow Tits","Milk Bag","Slut","Whore","Piggy","Pig","Bessie","Moo Moo"]) + $ ast_susan_name = renpy.random.choice([_("Suzy"), _("Cow"), _("Cow Tits"), _("Milk Bag"), _("Slut"), _("Whore"), _("Piggy"), _("Pig"), _("Bessie"), _("Moo Moo")]) if random_number in [2,5]: - $ ast_tonks_name = renpy.random.choice(["Hag","Old Hag","Punk","Dyke","Lesbo"]) + $ ast_tonks_name = renpy.random.choice([_("Hag"), _("Old Hag"), _("Punk"), _("Dyke"), _("Lesbo")]) if random_number in [3,5]: - $ ton_astoria_name = renpy.random.choice(["Cutie","Kitty","Princess","Cupcake","Honey"]) + $ ton_astoria_name = renpy.random.choice([_("Cutie"), _("Kitty"), _("Princess"), _("Cupcake"), _("Honey")]) # Chibi Update $ astoria_chibi.update() diff --git a/game/scripts/characters/astoria/events/clothing.rpy b/game/scripts/characters/astoria/events/clothing.rpy index 893d6dd9..2ff936b9 100644 --- a/game/scripts/characters/astoria/events/clothing.rpy +++ b/game/scripts/characters/astoria/events/clothing.rpy @@ -36,7 +36,7 @@ label astoria_summon_setup: ast "What?!" ("scream", "narrow", "angry", "mid", xpos="base", ypos="base", trans=d3) ast "" ("angry", "narrow", "angry", "mid") - call describe_mood("Astoria", ast_mood) + call describe_mood(_("Astoria"), ast_mood) call tutorial("moodngifts") else: if game.daytime: diff --git a/game/scripts/characters/astoria/favors.rpy b/game/scripts/characters/astoria/favors.rpy index c37bcf92..5c55cbeb 100644 --- a/game/scripts/characters/astoria/favors.rpy +++ b/game/scripts/characters/astoria/favors.rpy @@ -1,6 +1,6 @@ # Imperius Curse default ag_st_imperio = event_class( - title = "Imperio Training", start_label = "ag_st_imperio", start_tier = 1, + title = _("Imperio Training"), start_label = "ag_st_imperio", start_tier = 1, events = [ [ ["ag_st_imperio_E1"], @@ -16,7 +16,7 @@ default ag_st_imperio = event_class( ) default ag_se_imperio_sb = event_class( - title = "Cast Imperio on Susan", start_label = "ag_se_imperio_sb", start_tier = 1, + title = _("Cast Imperio on Susan"), start_label = "ag_se_imperio_sb", start_tier = 1, events = [ [ ["ag_se_imperio_sb_E1"], diff --git a/game/scripts/characters/astoria/gifts.rpy b/game/scripts/characters/astoria/gifts.rpy index dfa56f3a..19811ec8 100644 --- a/game/scripts/characters/astoria/gifts.rpy +++ b/game/scripts/characters/astoria/gifts.rpy @@ -14,14 +14,14 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 5 and ast_whoring < 12: ast "A lollipop?" (mouth="open", face="neutral") - call give_gift(">You give the lollipop to Astoria...", gift_item) + call give_gift(_(">You give the lollipop to Astoria..."), gift_item) ast "why are you being so nice to me..." (face="angry") ast "Although... the other students haven't had any left since the last Hogsmeade trip." (mouth="open", face="neutral") ast "They'll be so jealous!" (mouth="grin", face="happy") call ast_mood(-1) else: ast "A lollipop?" (mouth="open", face="neutral") - call give_gift(">You give the lollipop to Astoria...", gift_item) + call give_gift(_(">You give the lollipop to Astoria..."), gift_item) ast "That's going to take all day to suck on..." ast "I guess my mouth will be too busy to do anything else for the entire day!" call ast_mood(-2) @@ -35,14 +35,14 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 5 and ast_whoring < 12: ast "Some chocolate?" (mouth="open", face="neutral") - call give_gift(">You give the chocolate to Astoria...", gift_item) + call give_gift(_(">You give the chocolate to Astoria..."), gift_item) ast "Thank you, [ast_genie_name]." (mouth="open", face="neutral") ast "I don't know what I did to deserve it." (mouth="annoyed", pupils="R", face="neutral") ast "But I'm not going to say no..." (face="happy") call ast_mood(-1) else: ast "Some chocolate?" (mouth="open", face="neutral") - call give_gift(">You give the chocolate to Astoria...", gift_item) + call give_gift(_(">You give the chocolate to Astoria..."), gift_item) ast "Did you hear chocolate is supposed to be an aphrodisiac?" ast "Although it was a muggle that came up with that one so I doubt there's any truth to it." ast "Oh well, that sucks doesn't it?" @@ -57,20 +57,20 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 5 and ast_whoring < 12: ast "An owl plushie?" (mouth="open", face="neutral") - call give_gift(">You give the stuffed toy to Astoria...", gift_item) + call give_gift(_(">You give the stuffed toy to Astoria..."), gift_item) ast "I don't use stuffed toys..." (mouth="open", face="annoyed") ast "I know someone that hates owls though... I'll put this in front of her face when she's waking up..." (mouth="annoyed", pupils="R", face="neutral") call ast_mood(-1) elif ast_whoring > 11 and ast_whoring < 18: ast "An owl plushie?" (mouth="open", face="neutral") - call give_gift(">You give the stuffed toy to Astoria...", gift_item) + call give_gift(_(">You give the stuffed toy to Astoria..."), gift_item) ast "Do I look like a girl that plays with toys?" ast "Actually, don't answer that..." ast "Guess it'd be rude not to take it..." call ast_mood(-1) else: ast "An owl plushie?" (mouth="open", face="neutral") - call give_gift(">You give the stuffed toy to Astoria...", gift_item) + call give_gift(_(">You give the stuffed toy to Astoria..."), gift_item) ast "If you want to give me toys you better be prepared for me to call you daddy..." ast "So, thank you..." ast "Daddy..." @@ -80,26 +80,26 @@ label give_ast_gift(gift_item): if ast_whoring < 6: ast "Butterbeer?" (mouth="smile", face="happy") - call give_gift(">You give the bottle to Astoria...", gift_item) + call give_gift(_(">You give the bottle to Astoria..."), gift_item) ast "Time to get smashed!" (face="happy") ast "The other students will be so jealous I got beer into the school..." (mouth="annoyed", face="angry") call ast_mood(-2) elif ast_whoring > 5 and ast_whoring < 12: ast "Butterbeer?" (mouth="smile", face="happy") - call give_gift(">You give the bottle to Astoria...", gift_item) + call give_gift(_(">You give the bottle to Astoria..."), gift_item) ast "Don't you have something stronger?" (pupils="mid", face="annoyed") ast "Like something you can't get in the school usually?" (pupils="R", face="annoyed") ast "Fine, I'll take it!" (mouth="smile", face="happy") call ast_mood(-1) elif ast_whoring > 11 and ast_whoring < 18: ast "Butterbeer?" (face="annoyed") - call give_gift(">You give the bottle to Astoria...", gift_item) + call give_gift(_(">You give the bottle to Astoria..."), gift_item) ast "This watered down piss-water can barely get a house elf tipsy." ast "Actually, that gives me an idea..." call ast_mood(-1) else: ast "Butterbeer?" (mouth="open", face="neutral") - call give_gift(">You give the bottle to Astoria...", gift_item) + call give_gift(_(">You give the bottle to Astoria..."), gift_item) ast "It's more of a cider really isn't it?" (face="neutral") ast "Thanks!" (mouth="smile", face="happy") call ast_mood(-2) @@ -113,7 +113,7 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 5 and ast_whoring < 12: ast "Magazines?" (mouth="open", face="annoyed") - call give_gift(">You give an assortment of educational magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of educational magazines to Astoria..."), gift_item) ast "Making your own stink bombs..." (face="annoyed") ast "Looks like I might be able to make these in potions class..." ast "If Snape doesn't catch me doing it." (mouth="clench", face="annoyed") @@ -124,7 +124,7 @@ label give_ast_gift(gift_item): call ast_mood(1) else: ast "magazines?" (mouth="open", face="annoyed") - call give_gift(">You give an assortment of educational magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of educational magazines to Astoria..."), gift_item) ast "I was hoping for something a bit more risqué..." (face="annoyed") call ast_mood(0) @@ -136,17 +136,17 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 5 and ast_whoring < 12: ast "Girl magazines?" (face="disgusted") - call give_gift(">You give an assortment of rather girly magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Astoria..."), gift_item) ast "I'll take it for the free mascara sample. I once drew a uni-brow on someone with it." (face="happy") call ast_mood(-1) elif ast_whoring > 11 and ast_whoring < 18: ast "Girl magazines?" (face="annoyed") - call give_gift(">You give an assortment of rather girly magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Astoria..."), gift_item) ast "Well, I am a girl so of course I'd want it!" (face="annoyed") call ast_mood(-1) else: ast "Girl magazines?" (face="annoyed") - call give_gift(">You give an assortment of rather girly magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Astoria..."), gift_item) ast "Don't I look hot enough for you [ast_genie_name]?" (mouth="open", eyes="closed", face="annoyed") ast "I'm just teasing you, I'll have it." (face="happy") call ast_mood(-1) @@ -158,12 +158,12 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 5 and ast_whoring < 12: ast "Adult magazines?" (face="annoyed") - call give_gift(">You give an assortment of adult magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of adult magazines to Astoria..."), gift_item) ast "Of course I read them. I'm an adult after all, it's in the name." (mouth="annoyed", pupils="R", face="angry") call ast_mood(-1) else: ast "Adult magazines?" (face="annoyed") - call give_gift(">You give an assortment of adult magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of adult magazines to Astoria..."), gift_item) ast "This is that magazine Tonks was reading during our writing test..." (pupils="down", face="annoyed") ast "Perhaps I'll wave it at her so she thinks I stole it..." (mouth="smile", pupils="mid", face="angry") call ast_mood(-1) @@ -171,7 +171,7 @@ label give_ast_gift(gift_item): elif gift_item == porn_mag_ITEM: if ast_whoring < 6: ast "Porn magazines?" (face="disgusted") - call give_gift(">You give an assortment of pornographic magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of pornographic magazines to Astoria..."), gift_item) ast "I'll take it!" (mouth="grin", face="happy") ast "I'll put one in Susan's bag when she's not looking. Can't wait to see that cows face when her friends notice." (mouth="open", face="angry") ast "Thank you, [ast_genie_name]." (face="happy") @@ -183,7 +183,7 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 11 and ast_whoring < 18: ast "Porn magazines?" (face="annoyed") - call give_gift(">You give an assortment of pornographic magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of pornographic magazines to Astoria..."), gift_item) ast "That's some extreme stuff you got there..." (face="disgusted") ast "BDSM, what does that stand for..." (pupils="down", face="disgusted") ast "She looks like she's enjoying it. That's not fun..." @@ -191,7 +191,7 @@ label give_ast_gift(gift_item): call ast_mood(-1) else: ast "Porn magazines?" (face="happy") - call give_gift(">You give an assortment of pornographic magazines to Astoria...", gift_item) + call give_gift(_(">You give an assortment of pornographic magazines to Astoria..."), gift_item) ast "Is this where you get your ideas from?" (face="angry") ast "A swing? Why would you have that in a porn ma... oh there's the next page." (pupils="down", face="disgusted") ast "Yeah fuck it, give it here..." (mouth="grin", face="angry") @@ -201,14 +201,14 @@ label give_ast_gift(gift_item): if ast_whoring < 6: ast "Viktor Krum?" (face="annoyed") ast "Is that the Quidditch player everyone seems to fancy?" (mouth="open", pupils="mid", face="annoyed") - call give_gift(">You give the poster to Astoria...", gift_item) + call give_gift(_(">You give the poster to Astoria..."), gift_item) ast "*Hmph*, I guess I'll take it if he's that popular..." (mouth="annoyed", pupils="R", face="neutral") call ast_mood(0) elif ast_whoring > 5 and ast_whoring < 12: ast "Viktor Krum?" (face="annoyed") ast "Bet he could crush m... someone with his bare hands." (face="disgusted") ast "Give it here..." (face="happy") - call give_gift(">You give the poster to Astoria...", gift_item) + call give_gift(_(">You give the poster to Astoria..."), gift_item) call ast_mood(-1) else: ast "Viktor Krum?" (face="happy") @@ -229,11 +229,11 @@ label give_ast_gift(gift_item): ast "Lingerie?" (face="annoyed") ast "Sexy..." (pupils="down", face="annoyed") ast "Why not, I don't know if you could tell but I'm a bit of a rebel. Might even wear these in class." (mouth="grin", face="angry") - call give_gift(">You give the sexy lingerie to Astoria...", gift_item) + call give_gift(_(">You give the sexy lingerie to Astoria..."), gift_item) call ast_mood(-1) else: ast "Lingerie?" (face="annoyed") - call give_gift(">You give the sexy lingerie to Astoria...", gift_item) + call give_gift(_(">You give the sexy lingerie to Astoria..."), gift_item) ast "Is this is the kind of clothes you want your students to dress in from now on?" (face="annoyed") ast "*Heh*- I don't blame you, the school uniform is the most basic piece of trash ever without some spice..." (face="annoyed") call ast_mood(-1) @@ -246,18 +246,18 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 5 and ast_whoring < 12: ast "Stockings?" (mouth="open", face="neutral") - call give_gift(">You give the stockings to Astoria...", gift_item) + call give_gift(_(">You give the stockings to Astoria..."), gift_item) ast "Seems pretty elastic... I could totally lob some stink bombs with these." (mouth="grin", face="angry") call ast_mood(-1) elif ast_whoring > 11 and ast_whoring < 18: ast "Stockings?" (face="annoyed") ast "Hah, you fool! With these you wont be able to stare at my legs anymore!" (mouth="grin", face="angry") - call give_gift(">You give the stockings to Astoria...", gift_item) + call give_gift(_(">You give the stockings to Astoria..."), gift_item) call ast_mood(-2) else: ast "Stockings?" (face="annoyed") ast "These are almost as see-through as your wicked intentions..." (mouth="grin", face="angry") - call give_gift(">You give the stockings to Astoria...", gift_item) + call give_gift(_(">You give the stockings to Astoria..."), gift_item) ast "Disgusting..." (face="angry") call ast_mood(-1) @@ -266,7 +266,7 @@ label give_ast_gift(gift_item): ast "Condoms?" (face="disgusted") ast "Yeah, no... I'll take them but there's not going to be any dick going near these bad boys..." (face="annoyed") ast "These will be the perfect thing to fill with water and drop down the staircase..." (mouth="smile", face="angry") - call give_gift(">You give the pack of Condoms to Astoria...", gift_item) + call give_gift(_(">You give the pack of Condoms to Astoria..."), gift_item) ast "Cheers for the ammo, [ast_genie_name]." (face="happy") call ast_mood(-2) elif ast_whoring > 5 and ast_whoring < 12: @@ -275,13 +275,13 @@ label give_ast_gift(gift_item): ast "What?" (face="annoyed") ast "I see your concern... They probably would be able to trace it back to me." (face="annoyed") ast "Oh well, a gift is a gift." (face="neutral") - call give_gift(">You give the pack of Condoms to Astoria...", gift_item) + call give_gift(_(">You give the pack of Condoms to Astoria..."), gift_item) call ast_mood(0) else: ast "Condoms?" (face="annoyed") ast "Why would I need condoms when I could just go in raw?" (mouth="grin", face="angry") ast "*Ha-Ha-Hah* The look on your face, now that's something money can't buy." (face="happy") - call give_gift(">You sheepishly give the pack of Condoms to Astoria...", gift_item) + call give_gift(_(">You sheepishly give the pack of Condoms to Astoria..."), gift_item) ast "*Hmm*.... yeah why not." (face="neutral") call ast_mood(-1) @@ -300,11 +300,11 @@ label give_ast_gift(gift_item): ast "Hold on a second, that's the noise I've been hearing in the girls chambers!" (face="happy") ast "Do they work?" (face="happy") ast "I mean, I'll take it I guess." (face="neutral") - call give_gift(">You give the vibrator to Astoria...",gift_item) + call give_gift(_(">You give the vibrator to Astoria..."),gift_item) call ast_mood(-1) else: ast "A vibrator?" (face="neutral") - call give_gift(">You give the vibrator to Astoria...",gift_item) + call give_gift(_(">You give the vibrator to Astoria..."),gift_item) ast "That's disgusting! What a disgusting old man you are. Well aren't you being disgusting..." (face="angry") ast "Disgusting..." (face="angry") ast "Give it here." (face="happy") @@ -314,20 +314,20 @@ label give_ast_gift(gift_item): if ast_whoring < 6: ast "Lube?" (mouth="open", face="neutral") ast "I know the perfect staircase for this!" (face="happy") - call give_gift(">You give the jar of lube to Astoria...", gift_item) + call give_gift(_(">You give the jar of lube to Astoria..."), gift_item) ast "Thank you, [ast_genie_name]." (face="happy") call ast_mood(-1) elif ast_whoring > 5 and ast_whoring < 12: ast "Anal Lube?" (mouth="smile", face="happy") ast "Swiggity swooty I'm coming for that booty!" (mouth="smile", face="angry") ast "Come on now, what's with that dry humour. Maybe you could use some of that lube?" (face="annoyed") - call give_gift(">You cautiously give the jar of lube to Astoria...", gift_item) + call give_gift(_(">You cautiously give the jar of lube to Astoria..."), gift_item) ast "Boo!" (face="annoyed") ast "*ha-ha-ha*!" (face="happy") call ast_mood(-2) else: ast "Anal Lube?" (face="happy") - call give_gift(">You give the jar of lube to Astoria...", gift_item) + call give_gift(_(">You give the jar of lube to Astoria..."), gift_item) ast "Why would I need this, surely the initial pain is the best part..." (face="angry") ast "Oh, for me? Duh!" (face="annoyed") ast "Yeah, actually I'll take it..." (face="happy") @@ -342,7 +342,7 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 5 and ast_whoring < 12: ast "Handcuffs? And a Ball gag?" (face="annoyed") - call give_gift(">You give the handcuffs to Astoria...", gift_item) + call give_gift(_(">You give the handcuffs to Astoria..."), gift_item) ast "I can break these cuffs!" (face="angry") ast "*HNNNNNGH!" (face="angry") ast "I can't break those cuffs..." (face="annoyed") @@ -350,7 +350,7 @@ label give_ast_gift(gift_item): call ast_mood(0) else: ast "Handcuffs? And a Ball gag?" (face="happy") - call give_gift(">You give the handcuffs to Astoria...", gift_item) + call give_gift(_(">You give the handcuffs to Astoria..."), gift_item) ast "So I guess these are one of those BDSM items?" (face="neutral") ast "Colour me intrigued..." (face="happy") call ast_mood(-1) @@ -367,13 +367,13 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 11 and ast_whoring < 18: ast "anal plugs?" (face="disgusted") - call give_gift(">You give the anal plugs to Astoria...", gift_item) + call give_gift(_(">You give the anal plugs to Astoria..."), gift_item) ast "Why are you giving me this?" (face="annoyed") ast "I'll take it I guess..." (face="annoyed") call ast_mood(0) else: ast "anal plugs?" (face="neutral") - call give_gift(">You give the anal plugs to Astoria...", gift_item) + call give_gift(_(">You give the anal plugs to Astoria..."), gift_item) ast "You do know these hurts a bit if you're not used to them?" (face="annoyed") call nar(">Astoria absent-mindedly pockets the anal plug.") ast "Don't see why you'd give these out as if they were sweets..." (mouth="annoyed", face="neutral") @@ -394,14 +394,14 @@ label give_ast_gift(gift_item): call ast_mood(0) elif ast_whoring > 11 and ast_whoring < 18: ast "A strap-on?" (face="angry") - call give_gift(">You give the strap-on to Astoria...", gift_item) + call give_gift(_(">You give the strap-on to Astoria..."), gift_item) ast "I'll strap it on your forehead and make you into a sex unicorn!" (mouth="grin", face="angry") ast "I read about people having sex on top of a unicorn..." (face="disgusted") ast "Bit of an odd segment that one was..." (face="annoyed") call ast_mood(-1) else: ast "A strap-on?" (face="annoyed") - call give_gift(">You give the strap-on to Astoria...", gift_item) + call give_gift(_(">You give the strap-on to Astoria..."), gift_item) ast "It says Thestral on the side..." (face="annoyed") ast "Isn't' that the creature only people that has seen someone die can see?" ast "That makes the person who made he mould kinda fucked up if you think about it..." (face="disgusted") @@ -415,13 +415,13 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 5 and ast_whoring < 12: ast "A broom?" (face="neutral") - call give_gift(">You give the broom to Astoria...", gift_item) + call give_gift(_(">You give the broom to Astoria..."), gift_item) ast "Now if anything will motivate you to fly, that will..." (mouth="grin", face="angry") ast "Bit awkward during broom care though..." (face="annoyed") call ast_mood(0) else: ast "A broom?" (face="happy") - call give_gift(">You give the broom to Astoria...", gift_item) + call give_gift(_(">You give the broom to Astoria..."), gift_item) ast "Now that will keep you sturdy." (mouth="grin", face="angry") ast "What a depraved little invention..." (mouth="smile", face="angry") ast "Totally something I'd come up with!" @@ -440,13 +440,13 @@ label give_ast_gift(gift_item): call ast_mood(1) elif ast_whoring > 11 and ast_whoring < 18: ast "A sex doll?" (face="angry") - call give_gift(">You give the doll to Astoria...", gift_item) + call give_gift(_(">You give the doll to Astoria..."), gift_item) ast "I hope you got this for cheap. It looks awful..." (face="annoyed") ast "I mean... why thank you, I shall cherish this forever!" (face="annoyed") call ast_mood(0) else: ast "A sex doll?" (face="disgusted") - call give_gift(">You give the doll to Astoria...", gift_item) + call give_gift(_(">You give the doll to Astoria..."), gift_item) ast "But I'm a girl..." (face="annoyed") ast "I'll leave it in the Slytherin common room to see if anyone has balls enough to takes it..." (mouth="grin", face="angry") call ast_mood(-1) @@ -469,14 +469,14 @@ label give_ast_gift(gift_item): else: ast "Anal beads?" (face="neutral") ast "Looks painful." (face="annoyed") - call give_gift(">You give the anal beads to Astoria...", gift_item) + call give_gift(_(">You give the anal beads to Astoria..."), gift_item) ast "And they're green... Did you get these made just for me?" (mouth="annoyed", face="neutral") call ast_mood(-1) elif gift_item == wine_ITEM: if ast_whoring < 6: ast "Wine?" (face="disgusted") - call give_gift(">You give the wine to Astoria...", gift_item) + call give_gift(_(">You give the wine to Astoria..."), gift_item) ast "You're joking right?" (face="annoyed") ast "Snape would murder me if he saw me bringing alcohol into the common room." (face="angry") ast "I can't make you shut up after hours even without alcohol in your system..." (face="annoyed") @@ -485,7 +485,7 @@ label give_ast_gift(gift_item): else: ast "Wine?" (face="happy") ast "Well aren't we fancy?" (face="neutral") - call give_gift(">You give the wine to Astoria...", gift_item) + call give_gift(_(">You give the wine to Astoria..."), gift_item) ast "This is the real shit. Look at the date on that." (face="neutral") ast "You really are ancient if you bought it new..." (face="happy") call ast_mood(-1) @@ -500,7 +500,7 @@ label give_ast_gift(gift_item): else: ast "Firewhisky?" (face="happy") ast "Fine, I'll give in. If Tonks likes it so much it can't be that bad..." (face="happy") - call give_gift(">You give the firewhisky to Astoria...", gift_item) + call give_gift(_(">You give the firewhisky to Astoria..."), gift_item) ast "*Hmm*... not made using real fire.. well that's bloody obvious..." (face="neutral") ast "Might experience a slight pain and burning sensation when consuming..." (face="disgusted") ast "Why didn't you say so before!" (face="angry") diff --git a/game/scripts/characters/astoria/summon.rpy b/game/scripts/characters/astoria/summon.rpy index 52320fc2..197d2c9e 100644 --- a/game/scripts/characters/astoria/summon.rpy +++ b/game/scripts/characters/astoria/summon.rpy @@ -89,7 +89,7 @@ label astoria_spells: else: # Spell trained and unlocked. spell_menu.append(i.get_menu_item()) - spell_menu.append(("-Never mind-", "nvm")) + spell_menu.append((_("-Never mind-"), "nvm")) result = renpy.display_menu(spell_menu) @@ -155,27 +155,27 @@ label astoria_talk: menu: "-Sir-": label .sir: - $ ast_genie_name = "Sir" + $ ast_genie_name = _("Sir") ast "Very well, [ast_genie_name]." ( face="neutral") jump astoria_talk "-Dumbledore-": label .dumbledore: - $ ast_genie_name = "Dumbledore" + $ ast_genie_name = _("Dumbledore") ast "Of course, [ast_genie_name]." ( face="neutral") jump astoria_talk "-Professor-": label .professor: - $ ast_genie_name = "Professor" + $ ast_genie_name = _("Professor") ast "Of course, [ast_genie_name]." ( face="neutral") jump astoria_talk "-Old man-": label .old_man: - $ ast_genie_name = "Old man" + $ ast_genie_name = _("Old man") ast "Alrighty, [ast_genie_name]." ( face="neutral") jump astoria_talk "-Genie-": label .genie: - $ ast_genie_name = "Genie" + $ ast_genie_name = _("Genie") ast "What?! You are a genie? For real?" ( face="happy") ast "That's so cool!" ( face="happy") gen "(Oh right. Nobody is supposed to know that.)" ("base", xpos="far_left", ypos="head") @@ -184,7 +184,7 @@ label astoria_talk: jump astoria_talk "-Lord Voldemort-": label .lord_voldemort: - $ ast_genie_name = "Lord Voldemort" + $ ast_genie_name = _("Lord Voldemort") ast "Voldemort? Like that mean, evil wizard?" ( face="disgusted") ast "You aren't him, are you?" ( face="disgusted") gen "No, just role-playing..." ("base", xpos="far_left", ypos="head") @@ -193,7 +193,7 @@ label astoria_talk: jump astoria_talk "-Daddy-": label .daddy: - $ ast_genie_name = "Daddy" + $ ast_genie_name = _("Daddy") ast "Daddy? Don't you think that's a little weird?" ( face="disgusted") gen "Not at all!" ("base", xpos="far_left", ypos="head") ast "*Hmph*..." ( face="angry") @@ -201,7 +201,7 @@ label astoria_talk: jump astoria_talk "-Master-" (style="disabled") if ast_whoring < 18: label .master_fail: - $ ast_genie_name = "Dumby" # Tricked + $ ast_genie_name = _("Dumby") # Tricked ast "*Ha-ha-ha-ha*-- you want me to call you master?" ( face="happy") ast "That's so dumb!" ( face="happy") ast "Oh I know!" ( face="happy") @@ -214,7 +214,7 @@ label astoria_talk: jump astoria_talk "-Master-" if ast_whoring >= 18: label .master: - $ ast_genie_name = "Master" + $ ast_genie_name = _("Master") ast "*Ha-ha-ha-ha*-- you want me to call you master?" ( face="happy") ast "That's so silly!" ( face="happy") gen "(...)" ("base", xpos="far_left", ypos="head") @@ -250,28 +250,28 @@ label astoria_talk: menu: "-Miss Greengrass-": label .miss_greengrass: - $ astoria_name = "Miss Greengrass" + $ astoria_name = _("Miss Greengrass") ast "Sure, [ast_genie_name]." ( face="happy") jump astoria_talk "-Astoria-": label .Astoria: - $ astoria_name = "Astoria" + $ astoria_name = _("Astoria") ast "Finally getting rid of this formal bullshit? I approve!" ( face="happy") jump astoria_talk "-Girl-": label .girl: - $ astoria_name = "Girl" + $ astoria_name = _("Girl") ast "Okay, [ast_genie_name]." ( face="neutral") jump astoria_talk "-Princess-": label .princess: - $ astoria_name = "Princess" + $ astoria_name = _("Princess") ast "I really do feel like a princess!" ( face="happy") ast "After all, I can do whatever I want!" ( face="angry") jump astoria_talk "-Cutie-": label .cutie: - $ astoria_name = "Cutie" + $ astoria_name = _("Cutie") ast "Fine... If you really have to, [ast_genie_name]." ( face="disgusted") jump astoria_talk "-Slave-" (style="disabled") if ast_whoring < 18: @@ -283,7 +283,7 @@ label astoria_talk: jump astoria_talk "-Slave-" if ast_whoring >= 18: label .slave: - $ astoria_name = "Slave" + $ astoria_name = _("Slave") ast "I'm not your slave, [ast_genie_name]!" ( face="angry") gen "Of course you aren't! We are just playing a game, that's all..." ("base", xpos="far_left", ypos="head") ast "Oh I like games!" ( face="happy") diff --git a/game/scripts/characters/astoria/vars.rpy b/game/scripts/characters/astoria/vars.rpy index 0473124d..97699f6f 100644 --- a/game/scripts/characters/astoria/vars.rpy +++ b/game/scripts/characters/astoria/vars.rpy @@ -7,10 +7,10 @@ default astoria_chatted = False default astoria_outfits_schedule = True # Names -default astoria_name = "Astoria" -default ast_genie_name = "Sir" -default ast_susan_name = "Cow" -default ast_tonks_name = "Old Hag" +default astoria_name = _("Astoria") +default ast_genie_name = _("Sir") +default ast_susan_name = _("Cow") +default ast_tonks_name = _("Old Hag") # Stats default ast_whoring = 0 # Affection level diff --git a/game/scripts/characters/cho/events/favors/inspect_her_body.rpy b/game/scripts/characters/cho/events/favors/inspect_her_body.rpy index 3ab7881f..517e6ad9 100644 --- a/game/scripts/characters/cho/events/favors/inspect_her_body.rpy +++ b/game/scripts/characters/cho/events/favors/inspect_her_body.rpy @@ -946,7 +946,7 @@ label cc_pf_strip_T2_intro_E3: pause .8 # 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") $ has_cho_panties = True gen "Well then, Miss Chang..." ("base", xpos="far_left", ypos="head") @@ -1126,7 +1126,7 @@ label cc_pf_strip_T2_E3: # Repeats call nar(">Cho throws her panties at you.") # 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") $ has_cho_panties = True gen "Nice!" ("grin", xpos="far_left", ypos="head") @@ -1548,7 +1548,7 @@ label cc_pf_strip_T2_hermione: call bld gen "Nice, I still got her panties!" ("grin", xpos="far_left", ypos="head") - 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") $ has_cho_panties = True # Reset Hermione clothing. @@ -1691,7 +1691,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") $ has_cho_panties = True else: diff --git a/game/scripts/characters/cho/events/panties.rpy b/game/scripts/characters/cho/events/panties.rpy index 44c429a0..63f62572 100644 --- a/game/scripts/characters/cho/events/panties.rpy +++ b/game/scripts/characters/cho/events/panties.rpy @@ -19,7 +19,7 @@ label cho_panties_response_T2: call cho_walk("desk", "base") pause .8 - call give_reward("> You hand over the panties...", "interface/icons/panties_cum.webp") + call give_reward(_("> You hand over the panties..."), "interface/icons/panties_cum.webp") $ renpy.sound.play("sounds/cloth_sound3.ogg") pause .4 @@ -115,7 +115,7 @@ label cho_panties_response_T3: call cho_walk("desk", "base") pause .8 - call give_reward("> You hand over the panties...", "interface/icons/panties_cum.webp") + call give_reward(_("> You hand over the panties..."),"interface/icons/panties_cum.webp") cho "(...)" ("upset", "base", "base", "down", cheeks="blush", xpos="mid", ypos="base", trans=blackfade) gen "Something wrong?" ("base", xpos="far_left", ypos="head") diff --git a/game/scripts/characters/cho/favors.rpy b/game/scripts/characters/cho/favors.rpy index 8f1c1542..ceb21e23 100644 --- a/game/scripts/characters/cho/favors.rpy +++ b/game/scripts/characters/cho/favors.rpy @@ -1,6 +1,6 @@ # Cho Favors # cc_pf = Cho Chang Personal Favor -default cc_pf_talk = event_class(title = "Talk to me!", start_label = "cc_pf_talk", start_tier = 1, +default cc_pf_talk = event_class(title = _("Talk to me!"), start_label = "cc_pf_talk", start_tier = 1, events = [ [ ["cc_pf_talk_T1_intro_E1"], @@ -21,7 +21,7 @@ default cc_pf_talk = event_class(title = "Talk to me!", start_label = "cc_pf_tal iconset = [["heart_empty", "heart_red"], ["heart_empty", "heart_red"], ["heart_empty", "heart_red"]] ) #cc_pf_strip_T3_intro_E3 -default cc_pf_strip = event_class(title = "Inspect her body!", start_label = "cc_pf_strip", start_tier = 2, +default cc_pf_strip = event_class(title = _("Inspect her body!"), start_label = "cc_pf_strip", start_tier = 2, events = [ [ ["cc_pf_strip_T2_intro_E1"], @@ -37,7 +37,7 @@ default cc_pf_strip = event_class(title = "Inspect her body!", start_label = "cc iconset = [["heart_empty", "heart_red"], ["heart_empty", "heart_red"]] ) -default cc_pf_blowjob = event_class(title = "Suck it!", start_label = "cc_pf_blowjob", start_tier = 3, +default cc_pf_blowjob = event_class(title = _("Suck it!"), start_label = "cc_pf_blowjob", start_tier = 3, events = [ [ ["cc_pf_blowjob_T3_intro_E1"], diff --git a/game/scripts/characters/cho/gifts.rpy b/game/scripts/characters/cho/gifts.rpy index 3761c82a..a79315e2 100644 --- a/game/scripts/characters/cho/gifts.rpy +++ b/game/scripts/characters/cho/gifts.rpy @@ -11,23 +11,23 @@ label give_cho_gift(gift_item): if cho_tier <= 1: cho "Sweets?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "My team captain hasn't let me buy any to keep my blood sugar balanced, whatever that means." (mouth="soft", face="annoyed") - call give_gift(">You give the sweets to Cho...",gift_item) + call give_gift(_(">You give the sweets to Cho..."), gift_item) cho "But thanks, [cho_genie_name]." (face="neutral") call cho_mood(-2) elif cho_tier == 2: cho "Sweets?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the sweets to Cho...",gift_item) + call give_gift(_(">You give the sweets to Cho..."), gift_item) cho "Thank you, [cho_genie_name] I do think I deserve one at least after winning our first match." ("smile", "base", "base", "L") call cho_mood(-2) elif cho_tier == 3: cho "Sweets?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "But we're up against Gryffindor soon, I don't want to get addicted to sugar..." (mouth="soft", face="annoyed") - call give_gift(">You give the sweets to Cho...",gift_item) + call give_gift(_(">You give the sweets to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." ("smile", "base", "base", "L") call cho_mood(-1) else: cho "Sweets?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the sweets to Cho...",gift_item) + call give_gift(_(">You give the sweets to Cho..."), gift_item) cho "I'll keep it for later, I like licking it in front of my teammates to tease them a bit." ("open", "base", "raised", "mid") cho "*Mmmh*, but in the future... I'm more of a savoury kind of girl when it comes to sucking on things..." ("horny", "wink", "base", "mid") cho "But thanks, [cho_genie_name]." ("smile", "base", "base", "L") @@ -37,24 +37,24 @@ label give_cho_gift(gift_item): if cho_tier <= 1: cho "Chocolate?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "I probably shouldn't... although." (pupils="R", face="horny") - call give_gift(">You give the chocolate to Cho...",gift_item) + call give_gift(_(">You give the chocolate to Cho..."), gift_item) cho "I'll take it, [cho_genie_name]!" (face="happy") call cho_mood(-2) elif cho_tier == 2: cho "Chocolate... now that would be a treat..." (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the chocolate to Cho...",gift_item) + call give_gift(_(">You give the chocolate to Cho..."), gift_item) cho "What the heck, I deserve it." ("smile", "base", "base", "L") cho "Thank you, [cho_genie_name]." ("open", "base", "base", "L") call cho_mood(-2) elif cho_tier == 3: cho "Chocolate?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "But we're up against Gryffindor soon, I don't want to get addicted to sugar..." (mouth="soft", face="annoyed") - call give_gift(">You give the chocolate to Cho...",gift_item) + call give_gift(_(">You give the chocolate to Cho..."), gift_item) cho "Thanks." ("base", "base", "base", "L") call cho_mood(-1) else: cho "Chocolate?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the chocolate to Cho...",gift_item) + call give_gift(_(">You give the chocolate to Cho..."), gift_item) cho "YES!" ("smile", "base", "base", "L") cho "I've been trying to stay away from it but since the season is over I can have as much as I'd like..." ("open", "wide", "base", "L") cho "Within reason." ("base", "base", "base", "L") @@ -63,25 +63,25 @@ label give_cho_gift(gift_item): elif gift_item == plush_owl_ITEM: if cho_tier <= 1: cho "A toy?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give the stuffed owl to Cho...",gift_item) + call give_gift(_(">You give the stuffed owl to Cho..."), gift_item) cho "My team would probably laugh if they saw me with this..." (mouth="open", face="annoyed") cho "I guess it's cute..." (face="annoyed") call cho_mood(0) elif cho_tier == 2: cho "A toy?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the stuffed owl to Cho...",gift_item) + call give_gift(_(">You give the stuffed owl to Cho..."), gift_item) cho "That's very nice of you [cho_genie_name] but I'd probably be made fun of owning this..." ("annoyed", "base", "base", "mid") cho "I guess I could give it to someone." ("open", "base", "base", "down") call cho_mood(0) elif cho_tier == 3: cho "A toy?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the stuffed owl to Cho...",gift_item) + call give_gift(_(">You give the stuffed owl to Cho..."), gift_item) cho "I'm not a child [cho_genie_name]..." ("annoyed", "base", "base", "mid") cho "Thank you I guess..." ("open", "base", "base", "down") call cho_mood(0) else: cho "A toy?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give the stuffed owl to Cho...",gift_item) + call give_gift(_(">You give the stuffed owl to Cho..."), gift_item) cho "Not the kind of Toy I'd like..." ("horny", "narrow", "raised", "mid") cho "Thank you I suppose." ("annoyed", "base", "base", "mid") call cho_mood(0) @@ -95,44 +95,44 @@ label give_cho_gift(gift_item): cho "Butterbeer?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "Yes, I'll take it... turns out my team mates had been lying about the alcohol content to mess with me." ("open", "narrow", "base", "mid") cho "I guess I'll finally find out what I've been missing out on!" ("soft", "base", "raised", "L") - call give_gift(">You give the Butterbeer to Cho...",gift_item) + call give_gift(_(">You give the Butterbeer to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-2) elif cho_tier == 3: cho "Butterbeer?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "It's a bit tame isn't it? I chugged a lot of it after our last win and can't say I felt a buzz even." ("open", "narrow", "base", "L") - call give_gift(">You give the Butterbeer to Cho...",gift_item) + call give_gift(_(">You give the Butterbeer to Cho..."), gift_item) cho "Thank you I suppose, [cho_genie_name]." (face="neutral") call cho_mood(0) else: cho "Butterbeer?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "Don't you have any firewhisky?" ("annoyed", "base", "base", "mid") - call give_gift(">You give the Butterbeer to Cho...",gift_item) + call give_gift(_(">You give the Butterbeer to Cho..."), gift_item) cho "Thank you I suppose, [cho_genie_name]." (face="neutral") call cho_mood(0) elif gift_item == science_mag_ITEM: if cho_tier <= 1: cho "Oh, I heard that they put out a new formula for broom polish in this issue." (mouth="open", pupils="R", face="neutral", xpos="mid", ypos="base") - call give_gift(">You give an assortment of educational magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) elif cho_tier == 2: cho "*Hmm*... Broom aerodynamics and how to utilise your opponents slipstream..." (pupils="down", face="horny", xpos="mid", ypos="base") cho "Interesting..." ("smile", "base", "base", "mid") - call give_gift(">You give an assortment of educational magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) elif cho_tier == 3: cho "Five steps to modify your brooms legally..." (pupils="down", face="horny", xpos="mid", ypos="base") cho "Sounds useful." ("smile", "base", "base", "mid") - call give_gift(">You give an assortment of educational magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) else: cho "Experts guide, How to maintain and store your Quidditch gear." (pupils="down", face="horny", xpos="mid", ypos="base") cho "Isn't that what a broom closet is for?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give an assortment of educational magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Cho..."), gift_item) cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) @@ -143,21 +143,21 @@ label give_cho_gift(gift_item): call cho_mood(0) elif cho_tier == 2: cho "Girls magazines?" (pupils="down", face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give an assortment of rather girly magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Cho..."), gift_item) cho "I don't usually read these types of magazines, the boys used to make fun of me for it." (face="annoyed") cho "But they can't get into the girls dorm." (face="neutral") cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) elif cho_tier == 3: cho "Girls magazines?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give an assortment of rather girly magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Cho..."), gift_item) cho "They do have some interesting stuff on skincare I suppose..." ("annoyed", "closed", "base", "mid") cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) else: cho "Girls magazines?" (pupils="down", face="horny", xpos="mid", ypos="base") cho "I did enjoy last months issue about cultural appropriation with traditional clothing..." ("smile", "base", "base", "mid") - call give_gift(">You give an assortment of rather girly magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Cho..."), gift_item) cho "Don't tell the boys I said that." ("soft", "closed", "base", "mid") cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) @@ -170,21 +170,21 @@ label give_cho_gift(gift_item): call cho_mood(1) elif cho_tier == 2: cho "Adult magazines?" (face="disgusted", xpos="mid", ypos="base") - call give_gift(">You give an assortment of adult magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of adult magazines to Cho..."), gift_item) cho "These people do have nice, posture..." (face="horny") cho "I... I guess they could be useful." (face="horny") cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) elif cho_tier == 3: cho "Adult magazines?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give an assortment of adult magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of adult magazines to Cho..."), gift_item) cho "They're all so fit in these magazines, totally my type." ("open", "wide", "raised", "down") cho "Does this one model in the nude?" ("horny", "base", "base", "L") cho "Thank you, [cho_genie_name]." (face="neutral") call cho_mood(-1) else: cho "Adult magazines?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give an assortment of adult magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of adult magazines to Cho..."), gift_item) cho "Wow, look at that guys abs..." ("horny", "base", "base", "down") cho "And that girls..." ("soft", "base", "raised", "down") cho "I'll take it." ("open", "narrow", "base", "mid") @@ -206,7 +206,7 @@ label give_cho_gift(gift_item): call cho_mood(2) elif cho_tier == 3: cho "What's this?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give an assortment of porn magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of porn magazines to Cho..."), gift_item) cho "What's with these positions? Is that a broom handle up her..." (mouth="open",eyes="wide",eyebrows="raised", pupils="down") cho "Oh my..." (mouth="soft", pupils="R", face="disgusted") call cho_mood(0) @@ -215,7 +215,7 @@ label give_cho_gift(gift_item): cho "Ooh, are those two doing it on a broom? That's impressive..." ("open", "wide", "raised", "down") cho "[cho_genie_name], this is naughty. Even for you..." ("horny", "wink", "base", "L") cho "I've got my eyes on you." ("base", "narrow", "raised", "L") - call give_gift(">You give an assortment of porn magazines to Cho...",gift_item) + call give_gift(_(">You give an assortment of porn magazines to Cho..."), gift_item) cho "Thank you." ("smile", "base", "base", "mid") call cho_mood(-3) @@ -231,7 +231,7 @@ label give_cho_gift(gift_item): cho "A Viktor Krum poster?" (mouth="soft", eyes="wide", eyebrows="raised", pupils="mid", xpos="mid", ypos="base") cho "He really is quite muscular isn't he..." ("open", "narrow", "base", "down") cho "I'll use it..." ("smile", "base", "base", "mid") - call give_gift(">You give the poster to Cho...",gift_item) + call give_gift(_(">You give the poster to Cho..."), gift_item) cho "As a motivational poster that is!" ("open", "wide", "raised", "L") cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-2) @@ -240,13 +240,13 @@ label give_cho_gift(gift_item): cho "Wasn't his nudes leaked in Wizard Hunks weekly?" ("open", "narrow", "base", "mid") cho "..." ("angry", "wide", "raised", "down") cho "Not that I'd read such a thing." ("upset", "base", "base", "downR") - call give_gift(">You give the poster to Cho...",gift_item) + call give_gift(_(">You give the poster to Cho..."), gift_item) cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-3) else: cho "A Viktor Krum poster?" (mouth="scream", eyes="wide", eyebrows="raised", pupils="mid", xpos="mid", ypos="base") cho "I'll take that if you don't mind." (pupils="downR", face="horny") - call give_gift(">You give the poster to Cho...",gift_item) + call give_gift(_(">You give the poster to Cho..."), gift_item) cho "(...)" (mouth="soft", pupils="up", face="horny") cho "I love it, [cho_genie_name]." (pupils="mid", face="horny") call cho_mood(-5) @@ -267,7 +267,7 @@ label give_cho_gift(gift_item): elif cho_tier == 3: cho "Lingerie?" (face="annoyed", xpos="mid", ypos="base") cho "Seems pretty flexible. I might be able use these when stretching." (mouth="annoyed", pupils="down", face="annoyed") - call give_gift(">You give the lingerie to Cho...",gift_item) + call give_gift(_(">You give the lingerie to Cho..."), gift_item) cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-2) else: @@ -275,7 +275,7 @@ label give_cho_gift(gift_item): cho "Sexy... Did you pick them out yourself?" ("horny", "wide", "base", "down") cho "You've got good taste... I tore mine last year during the ball..." ("base", "base", "raised", "mid") cho "Well, they got torn at one point at least..." ("smile", "narrow", "base", "down") - call give_gift(">You give the lingerie to Cho...",gift_item) + call give_gift(_(">You give the lingerie to Cho..."), gift_item) cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-3) @@ -289,13 +289,13 @@ label give_cho_gift(gift_item): elif cho_tier == 2: cho "Stockings?" ("annoyed", "narrow", "base", "down",xpos="mid",ypos="base") cho "I guess I wont get sunburnt on my legs wearing these..." ("open", "narrow", "base", "mid") - call give_gift(">You give the lingerie to Cho...",gift_item) + call give_gift(_(">You give the lingerie to Cho..."), gift_item) cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-1) elif cho_tier == 3: cho "Stockings?" ("annoyed", "narrow", "base", "down",xpos="mid",ypos="base") cho "I can almost see right through these..." (mouth="annoyed", pupils="down", face="annoyed") - call give_gift(">You give the lingerie to Cho...",gift_item) + call give_gift(_(">You give the lingerie to Cho..."), gift_item) cho "Thank you [cho_genie_name]." (face="neutral") call cho_mood(-2) else: @@ -323,7 +323,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "Condoms?" (pupils="down", face="horny", xpos="mid", ypos="base") - call give_gift(">You give a pack of condoms to Cho...", gift_item) + call give_gift(_(">You give a pack of condoms to Cho..."), gift_item) cho "I do surround myself with mostly boys, so having these at hand could be useful..." (pupils="downR", face="horny") cho "Thank you for your concerns, [cho_genie_name]..." (mouth="soft", pupils="mid", face="neutral") call cho_mood(-2) @@ -347,7 +347,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "A Vibrator?" (face="horny", xpos="mid", ypos="base") - call give_gift(">You give the vibrator to Cho...", gift_item) + call give_gift(_(">You give the vibrator to Cho..."), gift_item) cho "Ahh, It does promote a healthy lifestyle..." (face="horny") cho "Thank you, [cho_genie_name]." (face="happy") call cho_mood(-3) @@ -369,7 +369,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "Anal Lubricant?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give the jar of anal lube to Cho...", gift_item) + call give_gift(_(">You give the jar of anal lube to Cho..."), gift_item) cho "You should've given me this yesterday, [cho_genie_name]." (mouth="soft", face="annoyed") cho "I haven't been able to sit on a broom all day after yesterday's game..." (mouth="annoyed", pupils="down", face="annoyed") call cho_mood(-5) @@ -392,7 +392,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "Ball gag and cuffs?" (pupils="down", face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give the ball gag and cuffs to Cho...", gift_item) + call give_gift(_(">You give the ball gag and cuffs to Cho..."), gift_item) cho "How progressive... do they require a safe-word to open?" (face="horny") cho "Wait, how would a safe-word work when you have a ball in your mouth..." (mouth="quiver", eyes="wide", eyebrows="raised", pupils="down") call cho_mood(-3) @@ -419,7 +419,7 @@ label give_cho_gift(gift_item): call cho_mood(2) else: cho "Anal plugs?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give a set of anal plugs to Cho...", gift_item) + call give_gift(_(">You give a set of anal plugs to Cho..."), gift_item) cho "But these would stick out under my robes..." (face="annoyed") cho "Maybe people would just think it's a tail or something..." (face="horny") cho "Thank you, [cho_genie_name]." (face="neutral") @@ -445,7 +445,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "A strap-on?" ("open", "wide", "worried", "down",xpos="mid",ypos="base") - call give_gift(">You give the thestral strap-on to Cho...", gift_item) + call give_gift(_(">You give the thestral strap-on to Cho..."), gift_item) cho "How would that even fit in anyone?" (mouth="quiver", eyes="wide", eyebrows="raised", pupils="down") call cho_mood(-1) @@ -469,7 +469,7 @@ label give_cho_gift(gift_item): call cho_mood(0) else: cho "Is that a Lady Speed Stick-2000, with a built-in vibrator and pulse function?" (mouth="scream", eyes="wide", eyebrows="raised", pupils="down", xpos="mid", ypos="base") - call give_gift(">You give the broom to Cho...", gift_item) + call give_gift(_(">You give the broom to Cho..."), gift_item) cho "I mean..." (pupils="downR", face="horny") cho "Thank you, [cho_genie_name]..." (mouth="soft", pupils="down", face="horny") cho "I can't wait to try it out..." (pupils="mid", face="happy") @@ -494,7 +494,7 @@ label give_cho_gift(gift_item): call cho_mood(1) else: cho "A sex doll?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give the sex doll to Cho...", gift_item) + call give_gift(_(">You give the sex doll to Cho..."), gift_item) cho "It says Joanne on it..." (face="disgusted") cho "I leave it in the boys changing room, should be a good reward after a practice." (face="annoyed") call cho_mood(-7) @@ -519,7 +519,7 @@ label give_cho_gift(gift_item): call cho_mood(2) else: cho "Anal beads?" (face="annoyed", xpos="mid", ypos="base") - call give_gift(">You give the anal beads to Cho...", gift_item) + call give_gift(_(">You give the anal beads to Cho..."), gift_item) cho "Surely my butt would hurt after using these..." (face="annoyed") cho "Although I do have a cushioning charm on my broom for a reason..." (face="horny") cho "Thank you, [cho_genie_name]." (face="neutral") diff --git a/game/scripts/characters/cho/requests.rpy b/game/scripts/characters/cho/requests.rpy index 8dd917b6..17ff3ede 100644 --- a/game/scripts/characters/cho/requests.rpy +++ b/game/scripts/characters/cho/requests.rpy @@ -1,7 +1,7 @@ # Public requests # cc_pr = Cho Chang Public Request -default cc_pr_spy_boys = event_class(title = "Spy on the boys!", start_label = "cc_pr_spy_boys_start", start_tier = 3, +default cc_pr_spy_boys = event_class(title = _("Spy on the boys!"), start_label = "cc_pr_spy_boys_start", start_tier = 3, events = [ [ ["cc_pr_spy_boys_T3_twins"], @@ -13,7 +13,7 @@ default cc_pr_spy_boys = event_class(title = "Spy on the boys!", start_label = " iconset = [["star_empty", "star_yellow"]] ) -default cc_pr_manipulate_boys = event_class(title = "Manipulate the boys!", start_label = "cc_pr_manipulate_boys_start", +default cc_pr_manipulate_boys = event_class(title = _("Manipulate the boys!"), start_label = "cc_pr_manipulate_boys_start", events = [ [ ["cc_pr_manipulate_boys_T1_intro_E1"], ["cc_pr_manipulate_boys_T1_E1"], @@ -35,7 +35,7 @@ default cc_pr_manipulate_boys = event_class(title = "Manipulate the boys!", star iconset = [["star_empty", "star_yellow"]] # You have to add icons at least for first tier, the rest will be copied over automatically. ) -default cc_pr_spy_girls = event_class(title = "Spy on the girls!", start_label = "cc_pr_spy_girls_start", start_tier = 3, +default cc_pr_spy_girls = event_class(title = _("Spy on the girls!"), start_label = "cc_pr_spy_girls_start", start_tier = 3, events = [ [ ["cc_pr_spy_girls_T3_showers"], @@ -48,7 +48,7 @@ default cc_pr_spy_girls = event_class(title = "Spy on the girls!", start_label = iconset = [["star_empty", "star_yellow"]] ) -default cc_pr_manipulate_girls = event_class(title = "Manipulate the girls!", start_label = "cc_pr_manipulate_girls_start", start_tier = 3, +default cc_pr_manipulate_girls = event_class(title = _("Manipulate the girls!"), start_label = "cc_pr_manipulate_girls_start", start_tier = 3, events = [ [ ["cc_pr_manipulate_girls_T3_alicia"], diff --git a/game/scripts/characters/cho/summon.rpy b/game/scripts/characters/cho/summon.rpy index 0060cc0f..7e2d4184 100644 --- a/game/scripts/characters/cho/summon.rpy +++ b/game/scripts/characters/cho/summon.rpy @@ -236,10 +236,10 @@ label update_cho_requests: return label favor_not_ready: - call nar(">You can't do this favour just yet.") + call nar(_(">You can't do this favour just yet.")) return label not_available: - $ TBA_message("This feature is currently not available as of version %s." % config.version) + $ TBA_message(_("This feature is currently not available as of version %s." % config.version)) return diff --git a/game/scripts/characters/cho/talk.rpy b/game/scripts/characters/cho/talk.rpy index fe7afba2..d094b93c 100644 --- a/game/scripts/characters/cho/talk.rpy +++ b/game/scripts/characters/cho/talk.rpy @@ -17,23 +17,23 @@ label cho_talk: "\"-Address me only as-\"" if cho_quid.E1_complete: menu: "\"-Sir-\"": - $ cho_genie_name = "Sir" + $ cho_genie_name = _("Sir") "\"-Dumbledore-\"": - $ cho_genie_name = "Dumbledore" + $ cho_genie_name = _("Dumbledore") "\"-Professor-\"": - $ cho_genie_name = "Professor" + $ cho_genie_name = _("Professor") "\"-Coach-\"": - $ cho_genie_name = "Coach" + $ cho_genie_name = _("Coach") "\"-Sergeant-\"": - $ cho_genie_name = "Sergeant" + $ cho_genie_name = _("Sergeant") "\"-Captain-\"": - $ cho_genie_name = "Captain" + $ cho_genie_name = _("Captain") "\"-Old Man-\"": - $ cho_genie_name = "Old Man" + $ cho_genie_name = _("Old Man") "\"-Daddy-\"" if cho_tier >= 4: - $ cho_genie_name = "Daddy" + $ cho_genie_name = _("Daddy") "-Custom Input-": - $ cho_genie_name = renpy.input("(Please enter the name.)", cho_genie_name, ALLOWED_CHARACTERS, length=14).strip() or "Professor" + $ cho_genie_name = renpy.input(_("(Please enter the name.)"), cho_genie_name, ALLOWED_CHARACTERS, length=14).strip() or _("Professor") "\"-Never mind-\"": jump cho_talk @@ -42,25 +42,25 @@ label cho_talk: "\"-From now on I will refer to you as-\"" if cho_quid.E1_complete: menu: "\"-Miss Chang-\"": - $ cho_name = "Miss Chang" + $ cho_name = _("Miss Chang") "\"-Cho-\"": - $ cho_name = "Cho" + $ cho_name = _("Cho") "\"-Cadet-\"": - $ cho_name = "Cadet" + $ cho_name = _("Cadet") "\"-Pilot-\"": - $ cho_name = "Pilot" + $ cho_name = _("Pilot") "\"-Maggot-\"": - $ cho_name = "Maggot" + $ cho_name = _("Maggot") "\"-Tomboy-\"": - $ cho_name = "Tomboy" + $ cho_name = _("Tomboy") "\"-Boy-\"": - $ cho_name = "Boy" + $ cho_name = _("Boy") "\"-Champ-\"" if cho_tier >= 4: - $ cho_name = "Champ" + $ cho_name = _("Champ") "\"-Slut-\"" if cho_tier >= 4: - $ cho_name = "Slut" + $ cho_name = _("Slut") "-Custom Input-": - $ cho_name = renpy.input("(Please enter the name.)", cho_name, ALLOWED_CHARACTERS, length=14).strip() or "Miss Chang" + $ cho_name = renpy.input(_("(Please enter the name.)"), cho_name, ALLOWED_CHARACTERS, length=14).strip() or _("Miss Chang") "\"-Never mind-\"": jump cho_talk diff --git a/game/scripts/characters/cho/vars.rpy b/game/scripts/characters/cho/vars.rpy index 0f9f4bb8..ffc7bfb3 100644 --- a/game/scripts/characters/cho/vars.rpy +++ b/game/scripts/characters/cho/vars.rpy @@ -34,11 +34,11 @@ default hufflepuff_match = "" # Dynamic string. Valid choices: 'start', 'ready', default slytherin_match = "" # Dynamic string. Valid choices: 'start', 'ready', 'intro_done', 'completed', 'return'. default gryffindor_match = "" # Dynamic string. Valid choices: 'start', 'ready', 'intro_done', 'completed', 'return'. -default cho_broom_name = "Purple Rocket" +default cho_broom_name = _("Purple Rocket") # Names -default cho_genie_name = "Professor" -default cho_name = "Cho" -default tonks_cho_name = "Sweetie" +default cho_genie_name = _("Professor") +default cho_name = _("Cho") +default tonks_cho_name = _("Sweetie") default gave_cho_gift = False diff --git a/game/scripts/characters/genie/common.rpy b/game/scripts/characters/genie/common.rpy index 1d7c89b5..614ca109 100644 --- a/game/scripts/characters/genie/common.rpy +++ b/game/scripts/characters/genie/common.rpy @@ -1,5 +1,5 @@ -define character.genie_say = Character("Genie", show_icon="genie") +define character.genie_say = Character(_("Genie"), show_icon="genie") init python: def gen(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs): diff --git a/game/scripts/characters/genie/vars.rpy b/game/scripts/characters/genie/vars.rpy index 35f89754..cbbce042 100644 --- a/game/scripts/characters/genie/vars.rpy +++ b/game/scripts/characters/genie/vars.rpy @@ -9,7 +9,7 @@ default genie_outfit = "robes" # Flags default genie_masturbating = False -default dumbledore_name = "Albus Dumbledore" +default dumbledore_name = _("Albus Dumbledore") # Stats diff --git a/game/scripts/characters/hermione/events/clothing.rpy b/game/scripts/characters/hermione/events/clothing.rpy index 95456370..bafafaa6 100644 --- a/game/scripts/characters/hermione/events/clothing.rpy +++ b/game/scripts/characters/hermione/events/clothing.rpy @@ -334,7 +334,7 @@ label hermione_summon_setup: elif her_mood >= 50: her "I have nothing to tell you, sir!" ("mad", "narrow", "angry", "L", xpos="base", ypos="base", trans=d3) - call describe_mood("Hermione", her_mood) + call describe_mood(_("Hermione"), her_mood) call tutorial("moodngifts") else: if game.daytime: diff --git a/game/scripts/characters/hermione/events/jobs.rpy b/game/scripts/characters/hermione/events/jobs.rpy index 6356141f..7b6ef6d6 100644 --- a/game/scripts/characters/hermione/events/jobs.rpy +++ b/game/scripts/characters/hermione/events/jobs.rpy @@ -782,7 +782,7 @@ label hermione_helping_selling_cards: gen "Sounds like you're doing a great job." ("base", xpos="far_left", ypos="head") her "Thanks!" ("open","happy", cheeks="blush") her "Here's your payment." ("open", "base", "base", "mid") - call give_reward("You have received twenty gold", "interface/icons/gold.webp") + call give_reward(_("You have received twenty gold"), "interface/icons/gold.webp") $ game.gold += 20 gen "Well done [hermione_name], fifteen points to Gryffindor." ("base", xpos="far_left", ypos="head") $ gryffindor += 15 @@ -809,7 +809,7 @@ label hermione_helping_selling_cards: her "I'm fine with them believing they had anything to do with it though." ("smile", "closed", "base", "mid") gen "How noble of you..." ("base", xpos="far_left", ypos="head") her "Here's your payment." ("open", "base", "base", "mid") - call give_reward("You have received twenty gold", "interface/icons/gold.webp") + call give_reward(_("You have received twenty gold"), "interface/icons/gold.webp") $ game.gold += 20 gen "Well done [hermione_name], twenty points to Gryffindor." ("base", xpos="far_left", ypos="head") $ gryffindor += 20 @@ -848,7 +848,7 @@ label hermione_helping_selling_cards: her "Thank you." ("annoyed", "happyCl", "base", "mid", cheeks="blush") her "Anyway..." ("base", "base", "base", "mid") her "Here's your payment." ("open", "base", "base", "mid") - call give_reward("You have received twenty gold", "interface/icons/gold.webp") + call give_reward(_("You have received twenty gold"), "interface/icons/gold.webp") $ game.gold += 20 gen "Well done [hermione_name], twenty points to Gryffindor." ("base", xpos="far_left", ypos="head") $ gryffindor += 20 @@ -883,7 +883,7 @@ label hermione_helping_selling_cards: her "Anyway..." ("normal", "base", "base", "mid") her "glad you agree." ("base", "happy", "base", "mid_soft") her "Here's your payment." ("open", "base", "base", "mid") - call give_reward("You have received twenty gold", "interface/icons/gold.webp") + call give_reward(_("You have received twenty gold"), "interface/icons/gold.webp") $ game.gold += 20 gen "Well done [hermione_name], twenty points to Gryffindor." ("base", xpos="far_left", ypos="head") $ gryffindor += 20 @@ -912,7 +912,7 @@ label hermione_helping_selling_cards: her "There's no conclusion to be made by just testing a theory once [genie_name]." ("normal", "closed", "angry", "mid") her "Anyway..." ("open", "base", "base", "mid") her "Here's your payment." ("open", "base", "base", "mid") - call give_reward("You have received twenty gold", "interface/icons/gold.webp") + call give_reward(_("You have received twenty gold"), "interface/icons/gold.webp") $ game.gold += 20 gen "Well done [hermione_name], twenty-five points to Gryffindor." ("base", xpos="far_left", ypos="head") $ gryffindor += 25 diff --git a/game/scripts/characters/hermione/events/potions/ass_expand.rpy b/game/scripts/characters/hermione/events/potions/ass_expand.rpy index 5bd68f50..038b07ab 100644 --- a/game/scripts/characters/hermione/events/potions/ass_expand.rpy +++ b/game/scripts/characters/hermione/events/potions/ass_expand.rpy @@ -9,7 +9,7 @@ default her_ass_expand_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") $ renpy.sound.play("sounds/sniff.ogg") diff --git a/game/scripts/characters/hermione/events/potions/breast_expand.rpy b/game/scripts/characters/hermione/events/potions/breast_expand.rpy index 08e802f7..f0d67b88 100644 --- a/game/scripts/characters/hermione/events/potions/breast_expand.rpy +++ b/game/scripts/characters/hermione/events/potions/breast_expand.rpy @@ -7,7 +7,7 @@ default her_breast_expand_pub_high_reputation_done = False label potion_breast_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") $ renpy.sound.play("sounds/sniff.ogg") diff --git a/game/scripts/characters/hermione/events/potions/polyjuice_cat.rpy b/game/scripts/characters/hermione/events/potions/polyjuice_cat.rpy index d61860c8..3a90a7e9 100644 --- a/game/scripts/characters/hermione/events/potions/polyjuice_cat.rpy +++ b/game/scripts/characters/hermione/events/potions/polyjuice_cat.rpy @@ -6,7 +6,7 @@ default her_polyjuice_cat_stage_two = False 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) $ renpy.sound.play("sounds/sniff.ogg") gen "Yep..." ("base", xpos="far_left", ypos="head") diff --git a/game/scripts/characters/hermione/events/potions/polyjuice_luna.rpy b/game/scripts/characters/hermione/events/potions/polyjuice_luna.rpy index a1d1cd21..d2a5736f 100644 --- a/game/scripts/characters/hermione/events/potions/polyjuice_luna.rpy +++ b/game/scripts/characters/hermione/events/potions/polyjuice_luna.rpy @@ -4,7 +4,7 @@ default her_polyjuice_luna_nude = False 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) $ renpy.sound.play("sounds/sniff.ogg") gen "It does have a distinctive smell of grass, among other things..." ("base", xpos="far_left", ypos="head") diff --git a/game/scripts/characters/hermione/events/shaming/panty_thief.rpy b/game/scripts/characters/hermione/events/shaming/panty_thief.rpy index 1a4f2c49..c0b0ec26 100644 --- a/game/scripts/characters/hermione/events/shaming/panty_thief.rpy +++ b/game/scripts/characters/hermione/events/shaming/panty_thief.rpy @@ -134,7 +134,7 @@ label hg_ps_get_panties: call her_walk(action="leave") - call give_reward(">You have acquired Hermione's panties!", "interface/icons/panties.webp") + call give_reward(_(">You have acquired Hermione's panties!"), "interface/icons/panties.webp") $ hg_ps_get_panties.inProgress = True jump end_hermione_event @@ -143,7 +143,7 @@ label hg_ps_get_panties: label hg_cum_on_panties_response: # Hermione responds the cum on her panties - call give_reward("> You hand over the panties...", "interface/icons/panties_cum.webp") + call give_reward(_("> You hand over the panties..."), "interface/icons/panties_cum.webp") if her_tier == 2: her "*Hmm*....?" ("annoyed", "narrow", "worried", "down",xpos="right",ypos="base") diff --git a/game/scripts/characters/hermione/events/tentacles.rpy b/game/scripts/characters/hermione/events/tentacles.rpy index 51bdc8ac..15b45b25 100644 --- a/game/scripts/characters/hermione/events/tentacles.rpy +++ b/game/scripts/characters/hermione/events/tentacles.rpy @@ -102,11 +102,11 @@ label tentacle_scene_intro: menu: gen "(*Hmm*... how should I start?)" ("base", xpos="far_left", ypos="head") "\"Dear Hermione, ...\"": - $ d_flag_01.append("Dear Hermione,\n\n") + $ d_flag_01.append(_("Dear Hermione,\n\n")) "\"Dear [hermione_name], ...\"": - $ d_flag_01.append("Dear [hermione_name],\n\n") + $ d_flag_01.append(_("Dear [hermione_name],\n\n")) "\"You, the bimbo, ...\"": - $ d_flag_01.append("You, the bimbo,\n\n") + $ d_flag_01.append(_("You, the bimbo,\n\n")) $ renpy.play('sounds/scribble.ogg') "*Scribble* *Scribble*" @@ -114,11 +114,11 @@ label tentacle_scene_intro: menu: gen "....*Mhmm*...." ("base", xpos="far_left", ypos="head") "\"... I had very important business matter to attend to...\"": - $ d_flag_01.append("I had very important business matter to attend to,") + $ d_flag_01.append(_("I had very important business matter to attend to,")) "\"... I went out to visit a brothel...\"": - $ d_flag_01.append("I went out to visit a brothel,") + $ d_flag_01.append(_("I went out to visit a brothel,")) "\"... I have turned myself into a plant...\"": - $ d_flag_01.append("I have turned myself into a plant,") + $ d_flag_01.append(_("I have turned myself into a plant,")) $ d_flag_02 = True $ renpy.play('sounds/scribble.ogg') @@ -127,9 +127,9 @@ label tentacle_scene_intro: menu: gen "..." ("base", xpos="far_left", ypos="head") "\"... I ask you kindly...\"": - $ d_flag_01.append("I ask you kindly,") + $ d_flag_01.append(_("I ask you kindly,")) "\"... Just listen for once...\"": - $ d_flag_01.append("just listen for once and") + $ d_flag_01.append(_("just listen for once and")) $ renpy.play('sounds/scribble.ogg') "*Scribble* *Scribble*" @@ -137,9 +137,9 @@ label tentacle_scene_intro: menu: gen "... and now..." ("base", xpos="far_left", ypos="head") "\"... take this plant with you to your class...\"" if not d_flag_02: - $ d_flag_01.append("take this plant with you to your class.\n\n") + $ d_flag_01.append(_("take this plant with you to your class.\n\n")) "\"... take this plant then shove it up your arse...\"" if not d_flag_02: - $ d_flag_01.append("take this plant then {b}{s}shove it up your{/s}{/b} bring it to class.\n\n") + $ d_flag_01.append(_("take this plant then {b}{s}shove it up your{/s}{/b} bring it to class.\n\n")) gen "Shove it up your--..." ("grin", xpos="far_left", ypos="head") call gen_chibi("sit_behind_desk") with d3 @@ -148,10 +148,10 @@ label tentacle_scene_intro: call gen_chibi("paperwork") with d3 "\"... take me to class...\"" if d_flag_02: - $ d_flag_01.append("take me to class.\n\n") + $ d_flag_01.append(_("take me to class.\n\n")) "\"... shove me up your arse...\"" if d_flag_02: - $ d_flag_01.append("{b}{s}shove me up your{/s}{/b} take me to class.\n\n") + $ d_flag_01.append(_("{b}{s}shove me up your{/s}{/b} take me to class.\n\n")) gen "Shove me up your--..." ("grin", xpos="far_left", ypos="head") call gen_chibi("sit_behind_desk") with d3 @@ -166,9 +166,9 @@ label tentacle_scene_intro: menu: gen "..." ("base", xpos="far_left", ypos="head") "\"... Sincerely, Dombledure.\"": - $ d_flag_01.append("Sincerely,\nDombledure.") + $ d_flag_01.append(_("Sincerely,\nDombledure.")) "\"... Yours truly, [genie_name].\"": - $ d_flag_01.append("Yours truly,\n[genie_name].") + $ d_flag_01.append(_("Yours truly,\n[genie_name].")) $ d_flag_01 = " ".join(d_flag_01) diff --git a/game/scripts/characters/hermione/events/tutoring.rpy b/game/scripts/characters/hermione/events/tutoring.rpy index 49369a05..067113b3 100644 --- a/game/scripts/characters/hermione/events/tutoring.rpy +++ b/game/scripts/characters/hermione/events/tutoring.rpy @@ -377,7 +377,7 @@ label hg_tutor_E5: $ genie_masturbating = True hide hermione_main hide screen blktone - call nar(">You reach under the desk and grab your cock...") + call nar(_(">You reach under the desk and grab your cock...")) call gen_chibi("jerk_off_behind_desk") with d3 call ctc diff --git a/game/scripts/characters/hermione/favors.rpy b/game/scripts/characters/hermione/favors.rpy index e227bb1b..d446ffcb 100644 --- a/game/scripts/characters/hermione/favors.rpy +++ b/game/scripts/characters/hermione/favors.rpy @@ -1,5 +1,5 @@ # Personal favours -default hg_pf_talk = event_class(title = "Talk to me!", start_label = "hg_pf_talk", start_tier = 1, events = [ +default hg_pf_talk = event_class(title = _("Talk to me!"), start_label = "hg_pf_talk", start_tier = 1, events = [ [ ["hg_pf_talk_T1_intro_E1"], ["hg_pf_talk_T1_E1"] @@ -34,7 +34,7 @@ default hg_pf_talk_tonks = event_class(title = "", start_label = "", start_tier ) -default hg_pf_admire_panties = event_class(title = "Show me your Panties!", start_label = "hg_pf_admire_panties", start_tier = 1, events = [ +default hg_pf_admire_panties = event_class(title = _("Show me your Panties!"), start_label = "hg_pf_admire_panties", start_tier = 1, events = [ [ ["hg_pf_admire_panties_T1_intro_E1"], ["hg_pf_admire_panties_T1_E1"] @@ -62,7 +62,7 @@ default hg_pf_admire_panties = event_class(title = "Show me your Panties!", star ) -default hg_pf_admire_breasts = event_class(title = "Show me your tits!", start_label = "hg_pf_admire_breasts", start_tier = 1, events = [ +default hg_pf_admire_breasts = event_class(title = _("Show me your tits!"), start_label = "hg_pf_admire_breasts", start_tier = 1, events = [ [ ["hg_pf_admire_breasts_T1_intro_E1"], ["hg_pf_admire_breasts_T1_intro_E2"], @@ -92,7 +92,7 @@ default hg_pf_admire_breasts = event_class(title = "Show me your tits!", start_l ) -default hg_pf_grope = event_class(title = "Grope her!", start_label = "hg_pf_grope", start_tier = 1, events = [ +default hg_pf_grope = event_class(title = _("Grope her!"), start_label = "hg_pf_grope", start_tier = 1, events = [ [ ["hg_pf_grope_T1_fail_intro"], ["hg_pf_grope_T1_fail_repeat"], @@ -120,7 +120,7 @@ default hg_pf_grope = event_class(title = "Grope her!", start_label = "hg_pf_gro ) -default hg_pf_strip = event_class(title = "Dance for Me!", start_label = "hg_pf_strip", start_tier = 1, events = [ +default hg_pf_strip = event_class(title = _("Dance for Me!"), start_label = "hg_pf_strip", start_tier = 1, events = [ [["hg_pf_strip_fail"]], # Tier 1 [ @@ -146,7 +146,7 @@ default hg_pf_strip = event_class(title = "Dance for Me!", start_label = "hg_pf_ ) -default hg_pf_handjob = event_class(title = "Give me a handy!", start_label = "hg_pf_handjob", start_tier = 1, events = [ +default hg_pf_handjob = event_class(title = _("Give me a handy!"), start_label = "hg_pf_handjob", start_tier = 1, events = [ [["hg_pf_handjob_fail"]], # Tier 1 [["hg_pf_handjob_fail"]], # Tier 2 [["hg_pf_handjob_fail"]], # Tier 3 @@ -169,7 +169,7 @@ default hg_pf_handjob = event_class(title = "Give me a handy!", start_label = "h ) -default hg_pf_titjob = event_class(title = "Give me a tittyjob!", start_label = "hg_pf_titjob", start_tier = 1, events = [ +default hg_pf_titjob = event_class(title = _("Give me a tittyjob!"), start_label = "hg_pf_titjob", start_tier = 1, events = [ [["hg_pf_titjob_fail"]], # Tier 1 [["hg_pf_titjob_fail"]], # Tier 2 [["hg_pf_titjob_fail"]], # Tier 3 @@ -192,7 +192,7 @@ default hg_pf_titjob = event_class(title = "Give me a tittyjob!", start_label = ) -default hg_pf_blowjob = event_class(title = "Suck it!", start_label = "hg_pf_blowjob", start_tier = 1, events = [ +default hg_pf_blowjob = event_class(title = _("Suck it!"), start_label = "hg_pf_blowjob", start_tier = 1, events = [ [["hg_pf_blowjob_fail"]], # Tier 1 [["hg_pf_blowjob_fail"]], # Tier 2 [["hg_pf_blowjob_fail"]], # Tier 3 @@ -220,7 +220,7 @@ default hg_pf_blowjob = event_class(title = "Suck it!", start_label = "hg_pf_blo ) -default hg_pf_sex = event_class(title = "Let's have sex!", start_label = "hg_pf_sex", start_tier = 1, events = [ +default hg_pf_sex = event_class(title = _("Let's have sex!"), start_label = "hg_pf_sex", start_tier = 1, events = [ [["hg_pf_sex_fail"]], # Tier 1 [["hg_pf_sex_fail"]], # Tier 2 [["hg_pf_sex_fail"]], # Tier 3 diff --git a/game/scripts/characters/hermione/gifts.rpy b/game/scripts/characters/hermione/gifts.rpy index 226b3188..d4c7cd40 100644 --- a/game/scripts/characters/hermione/gifts.rpy +++ b/game/scripts/characters/hermione/gifts.rpy @@ -11,31 +11,31 @@ label give_her_gift(gift_item): if gift_item == lollipop_ITEM: if her_whoring < 6: # Lv 1-2. her "A lollipop?" ("base", "base", "base", "mid") - call give_gift(">You give the candy to Hermione...",gift_item) + call give_gift(_(">You give the candy to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-5) elif her_whoring < 12: # Lv 3-4. her "Candy?" ("normal", "base", "base", "mid") her "Candy is for kids, [genie_name]." ("open", "base", "base", "mid") - call give_gift(">You give the candy to Hermione...",gift_item) + call give_gift(_(">You give the candy to Hermione..."), gift_item) her "Thank you..." ("annoyed", "base", "worried", "R") call her_mood(-5) elif her_whoring < 18: # Lv 5-6. her "Candy?" ("normal", "base", "base", "mid") - call give_gift(">You give the candy to Hermione...",gift_item) + call give_gift(_(">You give the candy to Hermione..."), gift_item) her "*Ehm*... Sure, thanks..." ("open", "squint", "base", "mid") call her_mood(-5) else: # Lv 7+ her "A lollipop?" ("base", "base", "base", "mid") her "Clever girls use candy like this as a \"weapon\"." ("smile", "base", "base", "R") - call give_gift(">You give the candy to Hermione...",gift_item) + call give_gift(_(">You give the candy to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "happyCl", "base", "mid") call her_mood(-5) elif gift_item == chocolate_ITEM: if her_whoring < 6: # Lv 1-2. her "A chocolate bar?" ("base", "base", "base", "mid") - call give_gift(">You give the chocolate to Hermione...", gift_item) + call give_gift(_(">You give the chocolate to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-10) elif her_whoring < 12: # Lv 3-4. @@ -43,19 +43,19 @@ label give_her_gift(gift_item): her "*Hmm*..." ("annoyed", "squint", "angry", "mid") her "That thing about fairies..." her "That is a joke of some sort, right?" ("open", "base", "worried", "mid") - call give_gift(">You give the chocolate to Hermione...", gift_item) + call give_gift(_(">You give the chocolate to Hermione..."), gift_item) her "Thank you..." ("soft", "base", "base", "mid") call her_mood(-10) elif her_whoring < 18: # Lv 5-6. her "A chocolate bar?" ("normal", "base", "base", "mid") her "I just like the way it crunches, [genie_name]! N-not the taste..." ("grin", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give the chocolate to Hermione...", gift_item) + call give_gift(_(">You give the chocolate to Hermione..."), gift_item) her "*Ehm*... Sure, thanks..." ("base", "base", "base", "mid") call her_mood(-10) else: # Lv 7+ her "A chocolate bar?" ("base", "base", "base", "mid") her "You spoil me, [genie_name]." ("smile", "base", "angry", "mid") - call give_gift(">You give the chocolate to Hermione...", gift_item) + call give_gift(_(">You give the chocolate to Hermione..."), gift_item) her "Thank you." ("base", "squint", "base", "mid") call her_mood(-10) @@ -63,20 +63,20 @@ label give_her_gift(gift_item): if her_whoring < 6: # Lv 1-2. her "A stuffed owl?" ("base", "base", "base", "mid") her "It's cute..." ("base", "base", "base", "mid") - call give_gift(">You give the owl to Hermione...",gift_item) + call give_gift(_(">You give the owl to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-7) elif her_whoring < 12: # Lv 3-4. her "A plush toy?" ("open", "base", "worried", "mid") her "I like it!" ("base", "base", "base", "mid") - call give_gift(">You give the owl to Hermione...",gift_item) + call give_gift(_(">You give the owl to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-10) elif her_whoring < 18: # Lv 5-6. her "A toy?" ("base", "base", "base", "mid") her "Toys are for kids, [genie_name]." ("open", "base", "base", "mid") her "But I'll take it..." ("annoyed", "base", "worried", "R") - call give_gift(">You give the owl to Hermione...",gift_item) + call give_gift(_(">You give the owl to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-15) else: # Lv 7+ @@ -87,7 +87,7 @@ label give_her_gift(gift_item): her "So it is really just a plush toy then?" her "Shame..." ("angry", "narrow", "base", "down") her "I mean, thank you, [genie_name]." ("angry", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give the owl to Hermione...",gift_item) + call give_gift(_(">You give the owl to Hermione..."), gift_item) call her_mood(-4) elif gift_item == butterbeer_ITEM: @@ -95,26 +95,26 @@ label give_her_gift(gift_item): her "Butterbeer?" ("base", "base", "base", "mid") her "Are you sure about that, [genie_name]?" ("open", "squint", "base", "mid") her "It does contain alcohol, you know..." ("base", "base", "base", "mid") - call give_gift(">You give the bottle to Hermione...",gift_item) + call give_gift(_(">You give the bottle to Hermione..."), gift_item) her "Thank you." ("base", "base", "base", "mid") call her_mood(-3) elif her_whoring < 12: # Lv 3-4. her "Butterbeer, [genie_name]?" ("open", "base", "worried", "mid") her "To let you in on a little secret, [genie_name]..." ("open", "base", "base", "mid") her "I'm a big fan of this completely harmless beverage." ("base", "base", "base", "mid") - call give_gift(">You give the bottle to Hermione...",gift_item) + call give_gift(_(">You give the bottle to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-10) elif her_whoring < 18: # Lv 5-6. her "Butterbeer?" ("base", "base", "base", "mid") her "Thank you, [genie_name]." ("grin", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give the bottle to Hermione...",gift_item) + call give_gift(_(">You give the bottle to Hermione..."), gift_item) her "I shall drink this with the girls later." ("base", "base", "base", "mid") call her_mood(-15) else: # Lv 7+ her "Butterbeer...?" ("base", "base", "base", "mid") her "Thank you, [genie_name]." ("base", "base", "base", "mid") - call give_gift(">You give the bottle to Hermione...",gift_item) + call give_gift(_(">You give the bottle to Hermione..."), gift_item) her "I shall drink this later with the boys." ("base", "base", "base", "mid") her "Err... I meant to say with the girls, of course." ("open", "base", "base", "R",cheeks="blush") call her_mood(-20) @@ -122,13 +122,13 @@ label give_her_gift(gift_item): elif gift_item == science_mag_ITEM: if her_whoring < 6: # Lv 1-2. her "\"Popular magic\" magazines?" ("base", "base", "base", "mid") - call give_gift(">You give an assortment of educational magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Hermione..."), gift_item) her "Thank you, [genie_name]!" ("base", "base", "base", "mid") her "I will use them for my research!" call her_mood(-15) elif her_whoring < 12: # Lv 3-4. her "Sometimes I find information in magazines that I could never find in a book..." ("base", "base", "base", "mid") - call give_gift(">You give an assortment of educational magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Hermione..."), gift_item) her "Thank you, [genie_name]!" ("base", "base", "base", "mid") her "I will use them for my research!" call her_mood(-10) @@ -136,14 +136,14 @@ label give_her_gift(gift_item): her "Oh..." ("open", "base", "base", "mid") her "Yes, I used to read magazines like that a lot..." ("base", "base", "base", "mid") her "Lately not so much though..." ("open", "base", "worried", "R") - call give_gift(">You give an assortment of educational magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Hermione..."), gift_item) her "Thank you, [genie_name]!" ("base", "base", "base", "mid") call her_mood(-3) else: # Lv 7+ her "*Ehm*..." ("open", "base", "worried", "R") her "To be honest, magazines like that lost their appeal to me completely lately..." ("open", "squint", "base", "mid") her "But I don't mind taking them off you hands anyway, [genie_name]." ("open", "base", "worried", "mid") - call give_gift(">You give an assortment of educational magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of educational magazines to Hermione..."), gift_item) her "Thank you." ("soft", "base", "base", "R") call her_mood(0) @@ -157,19 +157,19 @@ label give_her_gift(gift_item): her "I don't read magazines of that nature, [genie_name]..." ("open", "closed", "angry", "mid") her "................" ("soft", "base", "base", "R") her "But I could give it a try just to humour you I suppose..." ("open", "closed", "angry", "mid") - call give_gift(">You give an assortment of rather girly magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Hermione..."), gift_item) her "Thank you, [genie_name]!" ("open", "squint", "base", "mid") call her_mood(-5) elif her_whoring < 18: # Lv 5-6. her "I ashamed to admit this, but..." ("open", "base", "worried", "R") her "I really enjoy reading magazines like that lately..." ("grin", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give an assortment of rather girly magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Hermione..."), gift_item) her "Thank you, [genie_name]." ("open", "squint", "base", "mid") call her_mood(-15) else: # Lv 7+ her "The Latest edition of \"Girlz\"?!" ("angry", "wide", "base", "stare") her "I can't have enough of that brilliant magazine!" ("grin", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give an assortment of rather girly magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Hermione..."), gift_item) her "Thank you, [genie_name]." ("open", "squint", "base", "mid") call her_mood(-15) @@ -189,7 +189,7 @@ label give_her_gift(gift_item): elif her_whoring < 18: # Lv 5-6. her "Adult magazines?" ("open", "base", "base", "mid") her "[genie_name], this is such an inappropriate present for a girl like me..." ("angry", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give an assortment of adult magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of adult magazines to Hermione..."), gift_item) her "I shall throw these away myself..." ("annoyed", "narrow", "annoyed", "mid") call her_mood(-8) else: # Lv 7+ @@ -197,7 +197,7 @@ label give_her_gift(gift_item): her "Err.. I mean, adult magazines?" ("angry", "wink", "base", "mid") her "This is a little inappropriate..." her "But I will take them..." ("base", "happyCl", "base", "mid") - call give_gift(">You give an assortment of adult magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of adult magazines to Hermione..."), gift_item) her "thank you, [genie_name]." ("base", "happyCl", "base", "mid") call her_mood(-15) @@ -218,7 +218,7 @@ label give_her_gift(gift_item): her "Which is a completely inappropriate gift for a girl like me!" ("angry", "happyCl", "worried", "mid",emote="sweat") her ".............." ("angry", "narrow", "base", "down") her "But I will take them..." ("angry", "base", "base", "mid") - call give_gift(">You give an assortment of porn magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of porn magazines to Hermione..."), gift_item) her "And I shall throw them in the trash, where they and... girls who like these things belong..." ("annoyed", "narrow", "annoyed", "mid") call her_mood(0) else: # Lv 7+ @@ -228,7 +228,7 @@ label give_her_gift(gift_item): her "................." ("angry", "narrow", "base", "down") her "Alright, I shall accept them..." ("upset", "closed", "base", "mid") her "Solely for research purposes of course..." ("open", "base", "base", "R",cheeks="blush") - call give_gift(">You give an assortment of porn magazines to Hermione...",gift_item) + call give_gift(_(">You give an assortment of porn magazines to Hermione..."), gift_item) call her_mood(-15) elif gift_item == krum_poster_ITEM: @@ -242,18 +242,18 @@ label give_her_gift(gift_item): her "*Hmm*..." ("annoyed", "narrow", "annoyed", "mid") her "I think I saw this player once or twice..." ("annoyed", "narrow", "worried", "down") her "He is that Durmstrang student, right?" ("base", "base", "base", "mid") - call give_gift(">You give the poster to Hermione...",gift_item) + call give_gift(_(">You give the poster to Hermione..."), gift_item) call her_mood(-5) elif her_whoring < 18: # Lv 5-6. her "A Viktor Krum poster, [genie_name]?" ("annoyed", "narrow", "worried", "down") her "Can't say that I care much for Quidditch, but..." ("open", "squint", "base", "mid") her "I can see why the girls find the brutish physique of some players appealing..." ("open", "narrow", "worried", "down") - call give_gift(">You give the poster to Hermione...",gift_item) + call give_gift(_(">You give the poster to Hermione..."), gift_item) call her_mood(-15) else: # Lv 7+ her "A Viktor Krum poster?!" ("scream", "wide", "base", "mid") her "Thank you, [genie_name]!" ("grin", "happyCl", "worried", "mid",emote="sweat") - call give_gift(">You give the poster to Hermione...",gift_item) + call give_gift(_(">You give the poster to Hermione..."), gift_item) her "Can't wait to hang it over my bed!" ("smile", "base", "base", "R") her "The girls will go green with envy..." ("smile", "narrow", "base", "mid_soft") call her_mood(-25) @@ -271,14 +271,14 @@ label give_her_gift(gift_item): elif her_whoring < 18: # Lv 5-6. her "sexy lingerie?" ("base", "narrow", "worried", "down") her "[genie_name] that is so inappropriate..." ("angry", "wink", "base", "mid") - call give_gift(">You give the lingerie to Hermione...",gift_item) + call give_gift(_(">You give the lingerie to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "R",cheeks="blush") call her_mood(-7) else: # Lv 7+ her "sexy lingerie?" ("base", "narrow", "worried", "down") her "Do You think it will make me look like one of the witches in those adult magazines, [genie_name]?" ("grin", "narrow", "base", "dead") her "Oh... I mean, thank you, [genie_name]." ("angry", "wink", "base", "mid") - call give_gift(">You give the lingerie to Hermione...",gift_item) + call give_gift(_(">You give the lingerie to Hermione..."), gift_item) call her_mood(-15) elif gift_item == sexy_stockings_ITEM : @@ -293,13 +293,13 @@ label give_her_gift(gift_item): elif her_whoring < 18: # Lv 5-6. her "Sexy stockings?" ("base", "narrow", "worried", "down") her "Thank you I guess..." ("base", "wink", "base", "mid",cheeks="blush") - call give_gift(">You give the stockings to Hermione...",gift_item) + call give_gift(_(">You give the stockings to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "R",cheeks="blush") call her_mood(-8) else: # Lv 7+ her "Sexy stockings?" ("base", "narrow", "worried", "down") her "These are almost completely transparent, [genie_name]!" ("grin", "wide", "base", "mid") - call give_gift(">You give the stockings to Hermione...",gift_item) + call give_gift(_(">You give the stockings to Hermione..."), gift_item) call her_mood(-10) elif gift_item == pink_condoms_ITEM: @@ -316,12 +316,12 @@ label give_her_gift(gift_item): her "A pack of condoms?" ("normal", "base", "base", "mid") her "[genie_name], what possible use could I have for those?" her "Well, I shall accept them simply because it is rude to refuse a gift..." ("open", "closed", "angry", "mid") - call give_gift(">You give a pack of condoms to Hermione...", gift_item) + call give_gift(_(">You give a pack of condoms to Hermione..."), gift_item) call her_mood(-3) else: # Lv 7+ her "A pack of condoms?" ("open", "squint", "base", "mid") her "I appreciate your concern, [genie_name]. Thank you." ("base", "narrow", "base", "mid_soft") - call give_gift(">You give a pack of condoms to Hermione...", gift_item) + call give_gift(_(">You give a pack of condoms to Hermione..."), gift_item) call her_mood(-4) elif gift_item == vibrator_ITEM: @@ -345,13 +345,13 @@ label give_her_gift(gift_item): her "Did you have this custom made for me [genie_name]?" ("angry", "narrow", "base", "down") her "This is inappropriate..." ("scream", "closed", "angry", "mid") her "But I shall take it nonetheless..." ("annoyed", "base", "worried", "R") - call give_gift(">You give the vibrator to Hermione...",gift_item) + call give_gift(_(">You give the vibrator to Hermione..."), gift_item) call her_mood(0) else: # Lv 7+ her "This vibrator..." ("open", "base", "worried", "mid") her "It's... calling out for me..." ("open", "base", "worried", "R") her "But not in a dirty way, [genie_name]." ("disgust", "narrow", "base", "mid_soft") - call give_gift(">You give the vibrator to Hermione...",gift_item) + call give_gift(_(">You give the vibrator to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "narrow", "worried", "down") call her_mood(-10) @@ -372,14 +372,14 @@ label give_her_gift(gift_item): her "*Ehm*.. well... I know this girl..." ("open", "base", "base", "R",cheeks="blush") her "I mean I don't know her, she is a friend of a friend..." her "Yes, I will take this for her..." - call give_gift(">You give the jar to Hermione...",gift_item) + call give_gift(_(">You give the jar to Hermione..."), gift_item) her "Still, I think you should not give presents like this to your pupils, [genie_name]." ("open", "narrow", "annoyed", "mid", cheeks="blush") call her_mood(0) else: # Lv 7+ her "Anal lubricant, [genie_name]?" ("base", "narrow", "worried", "down") her "I know a couple of girls who would do anything for a commodity like that." ("open", "narrow", "annoyed", "mid", cheeks="blush") her "Thank for looking out for us, [genie_name]." ("base", "narrow", "base", "mid_soft") - call give_gift(">You give the jar to Hermione...",gift_item) + call give_gift(_(">You give the jar to Hermione..."), gift_item) call her_mood(-5) elif gift_item == ballgag_and_cuffs_ITEM: @@ -404,20 +404,20 @@ label give_her_gift(gift_item): her "But I assure you that I am not one of them, [genie_name]." ("upset", "closed", "base", "mid") her "But I know a girl who knows a girl who is into things like..." ("open", "base", "base", "R",cheeks="blush") her "Yes, I shall take these to her..." ("base", "base", "base", "R",cheeks="blush") - call give_gift(">You give the ball gag and cuffs to Hermione...",gift_item) + call give_gift(_(">You give the ball gag and cuffs to Hermione..."), gift_item) call her_mood(-9) else: # Lv 7+ her "A ball gag and handcuffs?" ("open", "happy", "base", "mid",cheeks="blush") her "This is completely inappropriate, [genie_name]." ("angry", "wink", "base", "mid") # :) her "But a gift is a gift, right?" ("base", "squint", "base", "mid") - call give_gift(">You give the ball gag and cuffs to Hermione...",gift_item) + call give_gift(_(">You give the ball gag and cuffs to Hermione..."), gift_item) call her_mood(-15) elif gift_item == anal_plugs_ITEM: if her_whoring < 6: # Lv 1-2. her "*Hmm*...?" ("base", "base", "base", "mid") her "Are those like key chain toys?" ("soft", "base", "base", "mid") - call give_gift(">You give the anal plugs to Hermione...",gift_item) + call give_gift(_(">You give the anal plugs to Hermione..."), gift_item) her "Thank you, [genie_name]." ("annoyed", "narrow", "annoyed", "mid") call her_mood(-8) elif her_whoring < 12: # Lv 3-4. @@ -438,7 +438,7 @@ label give_her_gift(gift_item): her "They are so pretty though..." ("angry", "wink", "base", "mid") her "....................." ("angry", "narrow", "base", "down") her "Well, alright. I shall take them off your hands if I must, [genie_name]." ("soft", "narrow", "annoyed", "up") - call give_gift(">You give the anal plugs to Hermione...",gift_item) + call give_gift(_(">You give the anal plugs to Hermione..."), gift_item) her "But I shall never use them of course..." ("open", "closed", "base", "mid") her "................" ("base", "narrow", "worried", "down") call her_mood(-10) @@ -449,7 +449,7 @@ label give_her_gift(gift_item): her "An artefact of some sort or a trophy?" ("open", "base", "base", "mid") her "So well-crafted..." ("base", "base", "base", "mid") her "Are you sure that it's alright for me to have it, [genie_name]?" ("base", "base", "base", "mid") - call give_gift(">You give the strap-on to Hermione...",gift_item) + call give_gift(_(">You give the strap-on to Hermione..."), gift_item) her "Thank you very much, [genie_name]. I promise to take good care of it." ("open", "closed", "base", "mid") call her_mood(-20) elif her_whoring < 12: # Lv 3-4. @@ -470,7 +470,7 @@ label give_her_gift(gift_item): her "Is this like a party prank prop?" ("angry", "base", "base", "mid") her "It's so well-crafted though..." ("angry", "narrow", "base", "down") her "I will take it..." ("normal", "happyCl", "worried", "mid") - call give_gift(">You give the strap-on to Hermione...",gift_item) + call give_gift(_(">You give the strap-on to Hermione..."), gift_item) call her_mood(-10) else: # Lv 7+ her "It's... It's magnificent, [genie_name]..." ("shock", "wide", "base", "stare") @@ -480,7 +480,7 @@ label give_her_gift(gift_item): her "Breathtaking..." ("grin", "narrow", "base", "dead") her "Not in the way you think, [genie_name]..." ("upset", "closed", "base", "mid") her "I am merely admiring the craftsmanship..." ("open", "closed", "base", "mid") - call give_gift(">You give the strap-on to Hermione...",gift_item) + call give_gift(_(">You give the strap-on to Hermione..."), gift_item) her "Thank you for the gift, [genie_name]." ("base", "squint", "base", "mid") call her_mood(-30) @@ -490,7 +490,7 @@ label give_her_gift(gift_item): her "*Hmm*..." ("normal", "base", "base", "mid") her "What is that silly-looking thing attached to it?" ("normal", "squint", "angry", "mid") her "Is it like a saddle...?" ("open", "squint", "base", "mid") - call give_gift(">You give the broom to Hermione...",gift_item) + call give_gift(_(">You give the broom to Hermione..."), gift_item) her "Thank you for the gift, [genie_name]." ("open", "base", "worried", "mid") call her_mood(-20) elif her_whoring < 12: # Lv 3-4. @@ -498,7 +498,7 @@ label give_her_gift(gift_item): her "*Hmm*..." ("normal", "squint", "angry", "mid") her "It's a sex-toy of some sort, isn't it?" ("angry", "base", "angry", "mid") her "But it is so well crafted..." ("open", "narrow", "worried", "down") - call give_gift(">You give the broom to Hermione...",gift_item) + call give_gift(_(">You give the broom to Hermione..."), gift_item) her "Thank you, [genie_name]." ("upset", "closed", "base", "mid") call her_mood(-20) elif her_whoring < 18: # Lv 5-6. @@ -507,7 +507,7 @@ label give_her_gift(gift_item): her "What kind of saddle is that...?" ("disgust", "narrow", "base", "mid_soft") her "Well, doesn't matter." ("open", "closed", "base", "mid") her "Refusing an expensive gift like that would be rude..." - call give_gift(">You give the broom to Hermione...",gift_item) + call give_gift(_(">You give the broom to Hermione..."), gift_item) her "Thank you, [genie_name]." ("upset", "closed", "base", "mid") call her_mood(-30) else: # Lv 7+ @@ -517,7 +517,7 @@ label give_her_gift(gift_item): her "It was designed especially for witches, was it not?" ("open", "happy", "base", "mid",cheeks="blush") her "I am not sure whether this is inappropriate or clever..." ("annoyed", "narrow", "annoyed", "mid") her "But this is a brilliant piece of engineering either way..." ("base", "squint", "base", "mid") - call give_gift(">You give the broom to Hermione...",gift_item) + call give_gift(_(">You give the broom to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "narrow", "base", "mid_soft") call her_mood(-30) @@ -535,14 +535,14 @@ label give_her_gift(gift_item): her "A sex doll..." ("angry", "narrow", "base", "down") her "This is a little inappropriate..." ("upset", "closed", "base", "mid") her "But maybe we could use it for a prank or something..." ("base", "narrow", "worried", "down") - call give_gift(">You give the blow-up doll to Hermione...",gift_item) + call give_gift(_(">You give the blow-up doll to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "narrow", "worried", "down") call her_mood(-10) else: # Lv 7+ her "the Joanne sex doll?" ("annoyed", "narrow", "worried", "down") her "I Can't say that I approve of this..." ("open", "base", "base", "R",cheeks="blush") her "But I know Harry would love to have a go at it..." ("base", "narrow", "worried", "down") - call give_gift(">You give the blow-up doll to Hermione...",gift_item) + call give_gift(_(">You give the blow-up doll to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "R",cheeks="blush") call her_mood(-30) @@ -550,7 +550,7 @@ label give_her_gift(gift_item): if her_whoring < 6: # Lv 1-2. her "*Hmm*...?" ("base", "base", "base", "mid") her "Is this a necklace?" ("soft", "base", "base", "mid") - call give_gift(">You give the anal beads to Hermione...",gift_item) + call give_gift(_(">You give the anal beads to Hermione..."), gift_item) her "Thank you, [genie_name]." ("base", "base", "base", "mid") call her_mood(-8) elif her_whoring < 12: # Lv 3-4. @@ -570,14 +570,14 @@ label give_her_gift(gift_item): her "Although it's got a nice colour..." ("angry", "wink", "base", "mid") her "....................." ("angry", "narrow", "base", "down") her "Fine, I'll use them as an armband, [genie_name]." ("soft", "narrow", "annoyed", "up") - call give_gift(">You give the anal beads to Hermione...",gift_item) + call give_gift(_(">You give the anal beads to Hermione..."), gift_item) her "But I wont use them for their intended purpose..." ("open", "closed", "base", "mid") her "................" ("base", "narrow", "worried", "down") call her_mood(-10) elif gift_item == wine_ITEM or gift_item == firewhisky_ITEM: if her_whoring < 7: - call give_gift(">You give the "+str(gift_item.name)+" bottle to Hermione...", gift_item) + call give_gift(_(">You give the "+str(gift_item.name)+" bottle to Hermione..."), gift_item) her "Thank you, [genie_name], I'll ask Ginny to drink some with me later." ("soft", "base", "base", "mid", cheeks="blush") call her_mood(-20) elif her_whoring < 12: @@ -587,7 +587,7 @@ label give_her_gift(gift_item): elif her_whoring < 18: her "But, [genie_name].. I can't drink alcohol." ("base", "narrow", "worried", "down") her "I guess I could use it for some potion mixing though.." ("open", "base", "base", "R") - call give_gift(">You give the "+str(gift_item.name)+" bottle to Hermione...", gift_item) + call give_gift(_(">You give the "+str(gift_item.name)+" bottle to Hermione..."), gift_item) her "" ("base", "base", "base", "R") call her_mood(-5) else: diff --git a/game/scripts/characters/hermione/requests.rpy b/game/scripts/characters/hermione/requests.rpy index 747ec77c..2a02caeb 100644 --- a/game/scripts/characters/hermione/requests.rpy +++ b/game/scripts/characters/hermione/requests.rpy @@ -1,6 +1,6 @@ # Public requests -default hg_pr_flirt = event_class(title = "Flirt with students!", start_label = "hg_pr_flirt", start_tier = 1, events = [ +default hg_pr_flirt = event_class(title = _("Flirt with students!"), start_label = "hg_pr_flirt", start_tier = 1, events = [ [ ["hg_pr_flirt_T1_E1"], ["hg_pr_flirt_T1_E2"], @@ -24,7 +24,7 @@ default hg_pr_flirt = event_class(title = "Flirt with students!", start_label = iconset = [["star_empty", "star_yellow"], ["star_empty", "star_yellow"], ["star_empty", "star_yellow"]] ) -default hg_pr_flirt_teacher = event_class(title = "Flirt with teachers!", start_label = "hg_pr_flirt_teacher", start_tier = 1, events = [ +default hg_pr_flirt_teacher = event_class(title = _("Flirt with teachers!"), start_label = "hg_pr_flirt_teacher", start_tier = 1, events = [ [ ["hg_pr_flirt_teacher_T1_E1"], ["hg_pr_flirt_teacher_T1_E2"], @@ -48,7 +48,7 @@ default hg_pr_flirt_teacher = event_class(title = "Flirt with teachers!", start_ iconset = [["star_empty", "star_yellow"], ["star_empty", "star_yellow"], ["star_empty", "star_yellow"]] ) -default hg_pr_grope = event_class(title = "Let them grope you!", start_label = "hg_pr_grope", start_tier = 2, events = [ +default hg_pr_grope = event_class(title = _("Let them grope you!"), start_label = "hg_pr_grope", start_tier = 2, events = [ [ ["hg_pr_grope_T2_E1"], ["hg_pr_grope_T2_E2"], @@ -72,7 +72,7 @@ default hg_pr_grope = event_class(title = "Let them grope you!", start_label = " iconset = [["star_empty", "star_yellow"], ["star_empty", "star_yellow"], ["star_empty", "star_yellow"]] ) -default hg_pr_flash = event_class(title = "Flash your tits!", start_label = "hg_pr_flash", start_tier = 3, events = [ +default hg_pr_flash = event_class(title = _("Flash your tits!"), start_label = "hg_pr_flash", start_tier = 3, events = [ [ ["hg_pr_flash_T3_E1"], ["hg_pr_flash_T3_E2"], @@ -97,7 +97,7 @@ default hg_pr_flash = event_class(title = "Flash your tits!", start_label = "hg_ monologue_glass = False # Event specific ) -default hg_pr_kiss = event_class(title = "Kiss a girl!", start_label = "hg_pr_kiss", start_tier = 3, events = [ +default hg_pr_kiss = event_class(title = _("Kiss a girl!"), start_label = "hg_pr_kiss", start_tier = 3, events = [ [ ["hg_pr_kiss_T3_E1"], ["hg_pr_kiss_T3_E2"], @@ -120,7 +120,7 @@ default hg_pr_kiss = event_class(title = "Kiss a girl!", start_label = "hg_pr_ki iconset = [["star_empty", "star_yellow"], ["star_empty", "star_yellow"], ["star_empty", "star_yellow"]] ) -default hg_pr_handjob = event_class(title = "Give a handjob!", start_label = "hg_pr_handjob", start_tier = 4, events = [ +default hg_pr_handjob = event_class(title = _("Give a handjob!"), start_label = "hg_pr_handjob", start_tier = 4, events = [ [ ["hg_pr_handjob_T4_E1"], ["hg_pr_handjob_T4_E2"], @@ -144,7 +144,7 @@ default hg_pr_handjob = event_class(title = "Give a handjob!", start_label = "hg iconset = [["star_empty", "star_yellow"], ["star_empty", "star_yellow"], ["star_empty", "star_yellow"]] ) -default hg_pr_blowjob = event_class(title = "Give a blowjob!", start_label = "hg_pr_blowjob", start_tier = 5, events = [ +default hg_pr_blowjob = event_class(title = _("Give a blowjob!"), start_label = "hg_pr_blowjob", start_tier = 5, events = [ [ ["hg_pr_blowjob_T5_E1"], ["hg_pr_blowjob_T5_E2"], @@ -163,7 +163,7 @@ default hg_pr_blowjob = event_class(title = "Give a blowjob!", start_label = "hg ) -default hg_pr_sex = event_class(title = "Have sex!", start_label = "hg_pr_sex", start_tier = 6, events = [ +default hg_pr_sex = event_class(title = _("Have sex!"), start_label = "hg_pr_sex", start_tier = 6, events = [ [ ["hg_pr_sex_T6_intro_E1"], ["hg_pr_sex_T6_intro_E2"], diff --git a/game/scripts/characters/hermione/shaming.rpy b/game/scripts/characters/hermione/shaming.rpy index b3dd9765..53b80eac 100644 --- a/game/scripts/characters/hermione/shaming.rpy +++ b/game/scripts/characters/hermione/shaming.rpy @@ -1,13 +1,13 @@ default hg_ps_get_panties = shaming_class( tier = 2, - title = "Panty Thief", + title = _("Panty Thief"), start_label = "hg_ps_get_panties", complete_label = "hg_ps_get_panties_complete" ) default hg_ps_cumslut = shaming_class( tier = 4, - title = "Wear My Cum", + title = _("Wear My Cum"), start_label = "hg_ps_cumslut", complete_label = "hg_ps_cumslut_complete" ) diff --git a/game/scripts/characters/hermione/summon.rpy b/game/scripts/characters/hermione/summon.rpy index ab91dae9..d6eed927 100644 --- a/game/scripts/characters/hermione/summon.rpy +++ b/game/scripts/characters/hermione/summon.rpy @@ -174,7 +174,7 @@ label hermione_level_up(tier=None): $ her_mood = 0 pause.5 - call nar(">Hermione has reached {i}favour tier{/i} "+str(her_tier)+"!") + call nar(_(">Hermione has reached {i}favour tier{/i} "+str(her_tier)+"!")) call update_her_tier @@ -200,13 +200,13 @@ label hermione_favor_menu: menu_choices = [] for i in hg_favor_list: if i in []: # Not in the game yet. - menu_choices.append(gui.menu_item("-Not available-", "na", style="disabled")) + menu_choices.append(gui.menu_item(_("-Not available-"), "na", style="disabled")) elif i.start_tier > her_tier: - menu_choices.append(gui.menu_item("-Not Ready-", "vague", style="disabled")) + menu_choices.append(gui.menu_item(_("-Not Ready-"), "vague", style="disabled")) else: menu_choices.append(i.get_menu_item()) - menu_choices.append(("-Never mind-", "nvm")) + menu_choices.append((_("-Never mind-"), "nvm")) result = renpy.display_menu(menu_choices) if result == "nvm": @@ -221,7 +221,7 @@ label hermione_favor_menu: $ renpy.jump(result) "-Public requests-" (icon="interface/icons/small/star_yellow.webp", style="disabled") if not game.daytime: - call nar(">Public requests are available during the day only.") + call nar(_(">Public requests are available during the day only.")) jump silver_requests_root "-Public requests-" (icon="interface/icons/small/star_yellow.webp") if game.daytime: @@ -244,13 +244,13 @@ label hermione_favor_menu: menu_choices = [] for i in hg_requests_list: if i in []: # Not in the game yet. - menu_choices.append(gui.menu_item("-Not available-", "na", style="disabled")) + menu_choices.append(gui.menu_item(_("-Not available-"), "na", style="disabled")) elif i.start_tier > her_tier: - menu_choices.append(gui.menu_item("-Not Ready-", "vague", style="disabled")) + menu_choices.append(gui.menu_item(_("-Not Ready-"), "vague", style="disabled")) else: menu_choices.append(i.get_menu_item()) - menu_choices.append(("-Never mind-", "nvm")) + menu_choices.append((_("-Never mind-"), "nvm")) result = renpy.display_menu(menu_choices) if result == "nvm": @@ -265,7 +265,7 @@ label hermione_favor_menu: $ renpy.jump(result) "-Public Shaming-" (icon="interface/icons/small/star_pink.webp", style="disabled") if not game.daytime: - call nar(">Public Shaming events are available during the day only.") + call nar(_(">Public Shaming events are available during the day only.")) jump silver_requests_root "-Public Shaming-" (icon="interface/icons/small/star_pink.webp")if game.daytime: @@ -277,7 +277,7 @@ label hermione_favor_menu: menu_choices.append(gui.menu_item("-Vague idea-", "vague", style="disabled")) else: menu_choices.append(i.get_menu_item()) - menu_choices.append(("-Never mind-", "nvm")) + menu_choices.append((_("-Never mind-"), "nvm")) result = renpy.display_menu(menu_choices) if result == "nvm": diff --git a/game/scripts/characters/hermione/talk.rpy b/game/scripts/characters/hermione/talk.rpy index b42d0313..6c11a600 100644 --- a/game/scripts/characters/hermione/talk.rpy +++ b/game/scripts/characters/hermione/talk.rpy @@ -89,56 +89,56 @@ label hermione_talk: "-Address me only as-": menu: "-Sir-": - $ genie_name = "Sir" + $ genie_name = _("Sir") jump genie_change "-Dumbledore-": - $ genie_name = "Dumbledore" + $ genie_name = _("Dumbledore") jump genie_change "-Professor-": - $ genie_name = "Professor" + $ genie_name = _("Professor") jump genie_change "-Old man-": - $ genie_name = "Old man" + $ genie_name = _("Old man") jump genie_change "-Genie-": if her_whoring >=5: - $ genie_name = "Genie" + $ genie_name = _("Genie") jump genie_change else: jump genie_change_fail "-My Lord-": if her_whoring >=7: - $ genie_name = "My Lord" + $ genie_name = _("My Lord") jump genie_change else: jump genie_change_fail "-Darling-": if her_whoring >=10: - $ genie_name = "Darling" + $ genie_name = _("Darling") jump genie_change else: jump genie_change_fail "-Lord Voldemort-": if her_whoring >=15: - $ genie_name = "Lord Voldemort" + $ genie_name = _("Lord Voldemort") jump genie_change else: jump genie_change_fail "-Daddy-": if her_whoring >=19: - $ genie_name = "Daddy" + $ genie_name = _("Daddy") $ achievements.unlock("daddy") jump genie_change else: jump genie_change_fail "-Master-": if her_whoring >=20: - $ genie_name = "Master" + $ genie_name = _("Master") jump genie_change else: jump genie_change_fail "-Custom Input-": - $ temp_name = renpy.input("(Please enter the name.)", genie_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), genie_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name == "": jump hermione_talk @@ -153,85 +153,85 @@ label hermione_talk: "-From now on I will refer to you as-": menu: "-Miss Granger-": - $ temp_name = "Miss Granger" + $ temp_name = _("Miss Granger") jump hermione_change "-Hermione-": - $ temp_name = "Hermione" + $ temp_name = _("Hermione") jump hermione_change "-Girl-": - $ temp_name = "Girl" + $ temp_name = _("Girl") if her_whoring >=1: jump hermione_change else: jump hermione_change_fail "-Nerd-": - $ temp_name = "Nerd" + $ temp_name = _("Nerd") if her_whoring >=3: jump hermione_change else: jump hermione_change_fail "-Hottie-": - $ temp_name = "Hottie" + $ temp_name = _("Hottie") if her_whoring >=5: jump hermione_change else: jump hermione_change_fail "-Angel-": - $ temp_name = "Angel" + $ temp_name = _("Angel") if her_whoring >=7: jump hermione_change else: jump hermione_change_fail "-Minx-": - $ temp_name = "Minx" + $ temp_name = _("Minx") if her_whoring >=9: jump hermione_change else: jump hermione_change_fail "-Princess-": - $ temp_name = "Princess" + $ temp_name = _("Princess") if her_whoring >=11: jump hermione_change else: jump hermione_change_fail "-Pet-": - $ temp_name = "Pet" + $ temp_name = _("Pet") if her_whoring >=11: jump hermione_change else: jump hermione_change_fail "-Bitch-": - $ temp_name = "Bitch" + $ temp_name = _("Bitch") if her_whoring >=13: jump hermione_change else: jump hermione_change_fail "-Slut-": - $ temp_name = "Slut" + $ temp_name = _("Slut") if her_whoring >=15: jump hermione_change else: jump hermione_change_fail "-Cumslut-": - $ temp_name = "Cumslut" + $ temp_name = _("Cumslut") if her_whoring >= 17: jump hermione_change else: jump hermione_change_fail "-Slytherin Whore-": - $ temp_name = "Slytherin Whore" + $ temp_name = _("Slytherin Whore") if her_whoring >= 19: jump hermione_change else: jump hermione_change_fail "-Mudblood-": - $ temp_name = "Mudblood" + $ temp_name = _("Mudblood") if her_whoring >= 21: jump hermione_change else: jump hermione_change_fail "-Custom Input-": - $ temp_name = renpy.input("(Please enter the name.)", hermione_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), hermione_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name == "": jump hermione_talk diff --git a/game/scripts/characters/hermione/vars.rpy b/game/scripts/characters/hermione/vars.rpy index 5fa0b0ff..9893b47b 100644 --- a/game/scripts/characters/hermione/vars.rpy +++ b/game/scripts/characters/hermione/vars.rpy @@ -35,8 +35,8 @@ default buttplug_2_question = False default buttplug_3_question = False # Names -default genie_name = "Sir" -default hermione_name = "Miss Granger" +default genie_name = _("Sir") +default hermione_name = _("Miss Granger") # Stats default her_jerk_off_counter = 0 diff --git a/game/scripts/characters/hooch/vars.rpy b/game/scripts/characters/hooch/vars.rpy index 78b33fa8..16ce5a66 100644 --- a/game/scripts/characters/hooch/vars.rpy +++ b/game/scripts/characters/hooch/vars.rpy @@ -10,5 +10,5 @@ default hooch_busy = False default hooch_unlocked = False # Names -default hooch_genie_name = "Sir Dumbledore" -default hooch_name = "Madam Hooch" +default hooch_genie_name = _("Sir Dumbledore") +default hooch_name = _("Madam Hooch") diff --git a/game/scripts/characters/luna/events/favors/inspect_her_body.rpy b/game/scripts/characters/luna/events/favors/inspect_her_body.rpy index 33e4a779..d9ddcad7 100644 --- a/game/scripts/characters/luna/events/favors/inspect_her_body.rpy +++ b/game/scripts/characters/luna/events/favors/inspect_her_body.rpy @@ -957,7 +957,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 snape_office_intro_E1: diff --git a/game/scripts/characters/luna/events/intro.rpy b/game/scripts/characters/luna/events/intro.rpy index 0d86a69f..7287d5ab 100644 --- a/game/scripts/characters/luna/events/intro.rpy +++ b/game/scripts/characters/luna/events/intro.rpy @@ -243,7 +243,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!" diff --git a/game/scripts/characters/luna/favors.rpy b/game/scripts/characters/luna/favors.rpy index 85d97a9b..f816f030 100644 --- a/game/scripts/characters/luna/favors.rpy +++ b/game/scripts/characters/luna/favors.rpy @@ -1,7 +1,7 @@ # Personal favours default ll_pf_talk = event_class( - title = "Talk to me!", + title = _("Talk to me!"), start_label = "ll_pf_talk", start_tier = 1, events = [ @@ -27,7 +27,7 @@ default ll_pf_talk = event_class( ) default ll_pf_inspect = event_class( - title = "Inspect her body!", + title = _("Inspect her body!"), start_label = "ll_pf_inspect", start_tier = 2, events = [ @@ -48,7 +48,7 @@ default ll_pf_inspect = event_class( ) default ll_pf_masturbate = event_class( - title = "Play with yourself!", + title = _("Play with yourself!"), start_label = "ll_pf_masturbate", start_tier = 3, events = [ diff --git a/game/scripts/characters/luna/gifts.rpy b/game/scripts/characters/luna/gifts.rpy index b6b2a42a..af5ca3ed 100644 --- a/game/scripts/characters/luna/gifts.rpy +++ b/game/scripts/characters/luna/gifts.rpy @@ -9,98 +9,98 @@ label give_lun_gift(gift_item): if gift_item == lollipop_ITEM: lun "A lollipop?" - call give_gift(">You give the lollipop to Luna...", gift_item) + call give_gift(_(">You give the lollipop to Luna..."), gift_item) lun "My father always believed that you should always have something sugary around in case any baby unicorns come to visit." lun "Thank you, [lun_genie_name]." elif gift_item == chocolate_ITEM: lun "Chocolate?" - call give_gift(">You give the chocolate to Luna...", gift_item) + call give_gift(_(">You give the chocolate to Luna..."), gift_item) lun "*Aaah*, I heard these helps with dementia... Or was it Dementors?" elif gift_item == plush_owl_ITEM: lun "A plush owl?" - call give_gift(">You give the owl plushie to Luna...", gift_item) + call give_gift(_(">You give the owl plushie to Luna..."), gift_item) lun "I love owls... Always had a few around me growing up, delivering the newspaper my father publishes." elif gift_item == butterbeer_ITEM: lun "Butterbeer?" - call give_gift(">You give the bottle to Luna...", gift_item) + call give_gift(_(">You give the bottle to Luna..."), gift_item) lun "How did you know? I didn't wear my cork necklace today." lun "Thank you, [lun_genie_name]." elif gift_item == science_mag_ITEM: lun "Magical creatures weekly?" - call give_gift(">You give an assortment of educational magazines to Luna...", gift_item) + call give_gift(_(">You give an assortment of educational magazines to Luna..."), gift_item) lun "Thestrals and their link with death..." lun "Interesting..." elif gift_item == girls_mag_ITEM: - call give_gift(">You give the girls magazine to Luna...",gift_item) + call give_gift(_(">You give the girls magazine to Luna..."), gift_item) #Add text elif gift_item == adult_mag_ITEM: - call give_gift(">You give the adult magazine to Luna...",gift_item) + call give_gift(_(">You give the adult magazine to Luna..."), gift_item) #Add text elif gift_item == porn_mag_ITEM: - call give_gift(">You give the porn magazine to Luna...",gift_item) + call give_gift(_(">You give the porn magazine to Luna..."), gift_item) #Add text elif gift_item == krum_poster_ITEM: - call give_gift(">You give the poster to Luna...",gift_item) + call give_gift(_(">You give the poster to Luna..."), gift_item) #Add text elif gift_item == sexy_lingerie_ITEM: - call give_gift(">You give the lingerie to Luna...",gift_item) + call give_gift(_(">You give the lingerie to Luna..."), gift_item) #Add text elif gift_item == sexy_stockings_ITEM : - call give_gift(">You give the stockings to Luna...",gift_item) + call give_gift(_(">You give the stockings to Luna..."), gift_item) #Add text elif gift_item == pink_condoms_ITEM: - call give_gift(">You give the condoms to Luna...",gift_item) + call give_gift(_(">You give the condoms to Luna..."), gift_item) #Add text elif gift_item == vibrator_ITEM: - call give_gift(">You give the vibrator to Luna...",gift_item) + call give_gift(_(">You give the vibrator to Luna..."), gift_item) #Add text elif gift_item == anal_lube_ITEM: - call give_gift(">You give the anal lube to Luna...",gift_item) + call give_gift(_(">You give the anal lube to Luna..."), gift_item) #Add text elif gift_item == ballgag_and_cuffs_ITEM: - call give_gift(">You give the handcuffs to Luna...",gift_item) + call give_gift(_(">You give the handcuffs to Luna..."), gift_item) #Add text elif gift_item == anal_plugs_ITEM: - call give_gift(">You give the anal plugs to Luna...",gift_item) + call give_gift(_(">You give the anal plugs to Luna..."), gift_item) #Add text elif gift_item == testral_strapon_ITEM: - call give_gift(">You give the strap-on to Luna...",gift_item) + call give_gift(_(">You give the strap-on to Luna..."), gift_item) #Add text elif gift_item == broom_2000_ITEM: - call give_gift(">You give the broom to Luna...",gift_item) + call give_gift(_(">You give the broom to Luna..."), gift_item) #Add text elif gift_item == sexdoll_ITEM: - call give_gift(">You give the doll to Luna...",gift_item) + call give_gift(_(">You give the doll to Luna..."), gift_item) #Add text elif gift_item == anal_beads_ITEM: - call give_gift(">You give the anal beads to Luna...",gift_item) + call give_gift(_(">You give the anal beads to Luna..."), gift_item) #Add text elif gift_item == wine_ITEM: - call give_gift(">You give the wine to Luna...", gift_item) + call give_gift(_(">You give the wine to Luna..."), gift_item) #Add text elif gift_item == firewhisky_ITEM: - call give_gift(">You give the firewhisky to Luna...", gift_item) + call give_gift(_(">You give the firewhisky to Luna..."), gift_item) #Add text lun "" (xpos="base",ypos="base") diff --git a/game/scripts/characters/luna/vars.rpy b/game/scripts/characters/luna/vars.rpy index 118cde65..28313ef2 100644 --- a/game/scripts/characters/luna/vars.rpy +++ b/game/scripts/characters/luna/vars.rpy @@ -25,7 +25,7 @@ default spectrespecs_E4 = False default quibbler_stocked = False # Names -default lun_genie_name = "Professor" -default luna_name = "Miss Lovegood" +default lun_genie_name = _("Professor") +default luna_name = _("Miss Lovegood") default gave_luna_gift = False diff --git a/game/scripts/characters/snape/common.rpy b/game/scripts/characters/snape/common.rpy index be29ee6a..c4063779 100644 --- a/game/scripts/characters/snape/common.rpy +++ b/game/scripts/characters/snape/common.rpy @@ -2,7 +2,7 @@ label update_snape: $ snape_flip = 1 return -define character.snape_say = Character("Severus Snape", show_icon="snape") +define character.snape_say = Character(_("Severus Snape"), show_icon="snape") init python: def sna(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, wand=False, **kwargs): diff --git a/game/scripts/characters/susan/gifts.rpy b/game/scripts/characters/susan/gifts.rpy index 7b82d24b..142f7ad6 100644 --- a/game/scripts/characters/susan/gifts.rpy +++ b/game/scripts/characters/susan/gifts.rpy @@ -8,91 +8,91 @@ label give_sus_gift(gift_item): $ gave_susan_gift = True if gift_item == lollipop_ITEM: - call give_gift(">You give the lollipop to Susan...",gift_item) + call give_gift(_(">You give the lollipop to Susan..."), gift_item) #Add text elif gift_item == chocolate_ITEM: - call give_gift(">You give the chocolate to Susan...",gift_item) + call give_gift(_(">You give the chocolate to Susan..."), gift_item) #Add text elif gift_item == plush_owl_ITEM: - call give_gift(">You give the plush owl to Susan...",gift_item) + call give_gift(_(">You give the plush owl to Susan..."), gift_item) #Add text elif gift_item == butterbeer_ITEM: - call give_gift(">You give the butterbeer to Susan...",gift_item) + call give_gift(_(">You give the butterbeer to Susan..."), gift_item) #Add text elif gift_item == science_mag_ITEM: - call give_gift(">You give the educational magazine to Susan...",gift_item) + call give_gift(_(">You give the educational magazine to Susan..."), gift_item) #Add text elif gift_item == girls_mag_ITEM: - call give_gift(">You give the girls magazine to Susan...",gift_item) + call give_gift(_(">You give the girls magazine to Susan..."), gift_item) #Add text elif gift_item == adult_mag_ITEM: - call give_gift(">You give the adult magazine to Susan...",gift_item) + call give_gift(_(">You give the adult magazine to Susan..."), gift_item) #Add text elif gift_item == porn_mag_ITEM: - call give_gift(">You give the porn magazine to Susan...",gift_item) + call give_gift(_(">You give the porn magazine to Susan..."), gift_item) #Add text elif gift_item == krum_poster_ITEM: - call give_gift(">You give the poster to Susan...",gift_item) + call give_gift(_(">You give the poster to Susan..."), gift_item) #Add text elif gift_item == sexy_lingerie_ITEM: - call give_gift(">You give the lingerie to Susan...",gift_item) + call give_gift(_(">You give the lingerie to Susan..."), gift_item) #Add text elif gift_item == sexy_stockings_ITEM : - call give_gift(">You give the stockings to Susan...",gift_item) + call give_gift(_(">You give the stockings to Susan..."), gift_item) #Add text elif gift_item == pink_condoms_ITEM: - call give_gift(">You give the condoms to Susan...",gift_item) + call give_gift(_(">You give the condoms to Susan..."), gift_item) #Add text elif gift_item == vibrator_ITEM: - call give_gift(">You give the vibrator to Susan...",gift_item) + call give_gift(_(">You give the vibrator to Susan..."), gift_item) #Add text elif gift_item == anal_lube_ITEM: - call give_gift(">You give the anal lube to Susan...",gift_item) + call give_gift(_(">You give the anal lube to Susan..."), gift_item) #Add text elif gift_item == ballgag_and_cuffs_ITEM: - call give_gift(">You give the handcuffs to Susan...",gift_item) + call give_gift(_(">You give the handcuffs to Susan..."), gift_item) #Add text elif gift_item == anal_plugs_ITEM: - call give_gift(">You give the anal plugs to Susan...",gift_item) + call give_gift(_(">You give the anal plugs to Susan..."), gift_item) #Add text elif gift_item == testral_strapon_ITEM: - call give_gift(">You give the strap-on to Susan...",gift_item) + call give_gift(_(">You give the strap-on to Susan..."), gift_item) #Add text elif gift_item == broom_2000_ITEM: - call give_gift(">You give the broom to Susan...",gift_item) + call give_gift(_(">You give the broom to Susan..."), gift_item) #Add text elif gift_item == sexdoll_ITEM: - call give_gift(">You give the doll to Susan...",gift_item) + call give_gift(_(">You give the doll to Susan..."), gift_item) #Add text elif gift_item == anal_beads_ITEM: - call give_gift(">You give the anal beads to Susan...",gift_item) + call give_gift(_(">You give the anal beads to Susan..."), gift_item) #Add text elif gift_item == wine_ITEM: - call give_gift(">You give the wine to Susan...", gift_item) + call give_gift(_(">You give the wine to Susan..."), gift_item) #Add text elif gift_item == firewhisky_ITEM: - call give_gift(">You give the firewhisky to Susan...", gift_item) + call give_gift(_(">You give the firewhisky to Susan..."), gift_item) #Add text diff --git a/game/scripts/characters/susan/summon.rpy b/game/scripts/characters/susan/summon.rpy index 5d961a0b..8f13d91b 100644 --- a/game/scripts/characters/susan/summon.rpy +++ b/game/scripts/characters/susan/summon.rpy @@ -75,19 +75,19 @@ label susan_talk: "-Address me only as-": menu: "-Sir-": - $ sus_genie_name = "Sir" + $ sus_genie_name = _("Sir") sus "Very well, [sus_genie_name]." ("base", "base", "base", "mid") jump susan_talk "-Dumbledore-": - $ sus_genie_name = "Dumbledore" + $ sus_genie_name = _("Dumbledore") sus "Okay, [sus_genie_name]." ("soft", "base", "base", "mid") jump susan_talk "-Professor-": - $ sus_genie_name = "Professor" + $ sus_genie_name = _("Professor") sus "Of course, [sus_genie_name]." ("base", "base", "base", "mid") jump susan_talk "-Old man-": - $ sus_genie_name = "Old man" + $ sus_genie_name = _("Old man") sus "That wouldn't be very polite, Professor." ("soft", "happy", "low", "mid") gen "Don't worry, [susan_name]. I always tell my students to call me silly names." ("base", xpos="far_left", ypos="head") gen "It helps bonding with them!" ("grin", xpos="far_left", ypos="head") @@ -95,7 +95,7 @@ label susan_talk: gen "(And soon I'm going to bond with your tits!)" ("angry", xpos="far_left", ypos="head") jump susan_talk "-Genie-": - $ sus_genie_name = "Genie" + $ sus_genie_name = _("Genie") sus "I... *Ehm*--" ("soft", "happy", "base", "mid") sus "Is that something people call you?" ("open", "base", "raised", "mid") gen "Yes-yes--, everybody!" ("base", xpos="far_left", ypos="head") @@ -104,7 +104,7 @@ label susan_talk: sus "O--{w=0.2} Okay then... [sus_genie_name]." ("grin", "happy", "base", "mid") jump susan_talk "-Lord Voldemort-": - $ sus_genie_name = "Lord Voldemort" + $ sus_genie_name = _("Lord Voldemort") sus "Why would you want me to call you that?" ("angry", "happy", "low", "mid") sus "We aren't supposed to mention his name!" ("angry", "happy", "worried", "mid") gen "It's only a name, girl..." ("base", xpos="far_left", ypos="head") @@ -116,7 +116,7 @@ label susan_talk: sus "V--{w=0.2} Voldemort..." ("angry", "happyCl", "sad", "mid") jump susan_talk "-Daddy-": - $ sus_genie_name = "Daddy" + $ sus_genie_name = _("Daddy") sus "Sir, no!" ("angry", "base", "base", "mid", cheeks="blush") sus "I can't possibly call you that!" ("open", "happy", "sad", "mid", cheeks="blush") gen "But I want you to." ("base", xpos="far_left", ypos="head") @@ -127,7 +127,7 @@ label susan_talk: sus "O--{w=0.2} Okay then... Professor-- *Ehm*... D-Daddy." ("annoyed", "happy", "worried", "stare", cheeks="blush") jump susan_talk "-Master-": - $ sus_genie_name = "Master" + $ sus_genie_name = _("Master") sus "M--{w=0.2} Master?" ("soft", "base", "base", "stare") sus "I don't think I should call my teachers that." ("soft", "narrow", "base", "downR") gen "No-no--, that's what you should call your teachers nowadays!" ("base", xpos="far_left", ypos="head") @@ -135,7 +135,7 @@ label susan_talk: sus "*Ehm*... Very well, [sus_genie_name]." ("soft", "happy", "base", "down") jump susan_talk "-Custom Input-": - $ temp_name = renpy.input("(Please enter the name.)", sus_genie_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), sus_genie_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name == "": jump susan_talk @@ -150,19 +150,19 @@ label susan_talk: "-From now on I will refer to you as-": menu: "-Miss Bones-": - $ susan_name = "Miss Bones" + $ susan_name = _("Miss Bones") sus "Of course, [sus_genie_name]." ("base", "base", "base", "mid") jump susan_talk "-Susan-": - $ susan_name = "Susan" + $ susan_name = _("Susan") sus "Of course, [sus_genie_name]." ("base", "base", "base", "mid") jump susan_talk "-Girl-": - $ susan_name = "Girl" + $ susan_name = _("Girl") sus "I'm okay with that, [sus_genie_name]." ("base", "base", "base", "mid") jump susan_talk "-Cow-": - $ susan_name = "Cow" + $ susan_name = _("Cow") sus "Why would you want to call me that, [sus_genie_name]?" ("angry", "happy", "low", "mid") sus "The other girls already call me that and I hate it..." ("angry", "narrow", "low", "down") gen "You poor thing!" ("base", xpos="far_left", ypos="head") @@ -171,7 +171,7 @@ label susan_talk: sus "You can call me a Cow, [sus_genie_name]." ("soft", "narrow", "base", "downR", cheeks="blush") jump susan_talk "-Betsy-": - $ susan_name = "Betsy" + $ susan_name = _("Betsy") sus "But, sir... Isn't that... You know..." ("open", "happy", "sad", "mid") gen "You know... What?" ("base", xpos="far_left", ypos="head") sus "Isn't that a name you'd give to a-- A cow?" ("open", "happy", "sad", "downR", cheeks="blush") @@ -184,7 +184,7 @@ label susan_talk: sus "Alright then, you can call me that if you like..." ("soft", "base", "base", "mid", cheeks="blush") jump susan_talk "-Slut-": - $ susan_name = "Slut" + $ susan_name = _("Slut") sus "[sus_genie_name]!" ("soft", "wide", "base", "mid", cheeks="blush") sus "You can't be serious!" ("angry", "happy", "base", "mid", cheeks="blush") gen "Why not. Nobody has to know..." ("base", xpos="far_left", ypos="head") @@ -198,7 +198,7 @@ label susan_talk: sus "... alright, [sus_genie_name]..." ("base", "happy", "sad", "mid", cheeks="blush") jump susan_talk "-Custom Input-": - $ temp_name = renpy.input("(Please enter the name.)", susan_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), susan_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name == "": jump susan_talk diff --git a/game/scripts/characters/susan/vars.rpy b/game/scripts/characters/susan/vars.rpy index 894f1ba7..1d169657 100644 --- a/game/scripts/characters/susan/vars.rpy +++ b/game/scripts/characters/susan/vars.rpy @@ -13,6 +13,6 @@ default susan_outfits_schedule = True default gave_susan_gift = False # Names -default susan_name = "Miss Bones" -default sus_genie_name = "Sir" +default susan_name = _("Miss Bones") +default sus_genie_name = _("Sir") diff --git a/game/scripts/characters/tonks/events/hangout.rpy b/game/scripts/characters/tonks/events/hangout.rpy index 38087e8d..6102e914 100644 --- a/game/scripts/characters/tonks/events/hangout.rpy +++ b/game/scripts/characters/tonks/events/hangout.rpy @@ -120,7 +120,7 @@ label nt_he_firewhisky_intro: pause.1 # Show firewhisky - call give_reward(">You hand over a bottle of firewhisky to Tonks...", gift="interface/icons/firewhisky.webp", sound=False) + call give_reward(_(">You hand over a bottle of firewhisky to Tonks...", gift="interface/icons/firewhisky.webp"), sound=False) ton "Finally, the good stuff!" ("horny", "base", "base", "down", ypos="head", flip=False) ton "I'm glad you brought out some firewhisky this time..." ("base", "base", "base", "down") diff --git a/game/scripts/characters/tonks/gifts.rpy b/game/scripts/characters/tonks/gifts.rpy index 6546b8ee..8681bcfa 100644 --- a/game/scripts/characters/tonks/gifts.rpy +++ b/game/scripts/characters/tonks/gifts.rpy @@ -9,13 +9,13 @@ label give_ton_gift(gift_item): if gift_item == lollipop_ITEM: ton "A lollipop?" (face="neutral", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the lollipop to Tonks...", gift_item) + call give_gift(_(">You give the lollipop to Tonks..."), gift_item) ton "I know the perfect student to give this to." (face="happy") call ton_friendship(1) elif gift_item == chocolate_ITEM: ton "*Mhmm*, Chocolate!" (pupils="down", face="happy", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the chocolate to Tonks...", gift_item) + call give_gift(_(">You give the chocolate to Tonks..."), gift_item) ton "It's said that chocolate is a very effective mood enhancer after a Dementor attack." (mouth="open", face="happy") ton "That's because chocolate is considered to be a great aphrodisiac..." (face="horny") ton "I'll keep this for one of my private lessons." (face="happy") @@ -24,66 +24,66 @@ label give_ton_gift(gift_item): elif gift_item == plush_owl_ITEM: ton "An Owl?" (face="neutral", xpos="mid", ypos="base", trans=d5) ton "Oh, it's a toy... Haven't seen one of these in a while." (face="disgusted") - call give_gift(">You give the stuffed owl to Tonks...",gift_item) + call give_gift(_(">You give the stuffed owl to Tonks..."),gift_item) ton "Okay, for nostalgias sake then..." (face="neutral") call ton_friendship(0) elif gift_item == butterbeer_ITEM: ton "Butterbeer?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "Don't you have anything stronger?" (mouth="open", face="annoyed") - call give_gift(">You give the bottle to Tonks...", gift_item) + call give_gift(_(">You give the bottle to Tonks..."), gift_item) ton "Just joking, I'll save it for when I've got company." (face="happy") call ton_friendship(1) elif gift_item == science_mag_ITEM: ton "Jinxes and sphinxes? These could help for some of my lessons." (mouth="open", face="neutral", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give an assortment of educational magazines to Tonks...", gift_item) + call give_gift(_(">You give an assortment of educational magazines to Tonks..."), gift_item) ton "Thank you, [ton_genie_name]." (face="neutral") call ton_friendship(0) elif gift_item == girls_mag_ITEM: ton "Some girl magazines? I could definitely put these in my classroom." (mouth="open", face="neutral", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give an assortment of rather girly magazines to Tonks...", gift_item) + call give_gift(_(">You give an assortment of rather girly magazines to Tonks..."), gift_item) ton "The girls do love staying after hours to socialise." (face="happy") call ton_friendship(0) elif gift_item == adult_mag_ITEM: ton "Adult magazines?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "Wont be the first time I've slipped one in the stack of magazines in my classroom." (face="horny") - call give_gift(">You give an assortment of adult magazines to Tonks...", gift_item) + call give_gift(_(">You give an assortment of adult magazines to Tonks..."), gift_item) ton "Thank you, [ton_genie_name]." (face="happy") call ton_friendship(1) elif gift_item == porn_mag_ITEM: ton "Porn magazines?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "I already know most positions in this book already of course..." (face="happy") - call give_gift(">You give an assortment of pornographic magazines to Tonks...", gift_item) + call give_gift(_(">You give an assortment of pornographic magazines to Tonks..."), gift_item) ton "Although..." (face="horny") ton "I'll keep them. Thank you, [ton_genie_name]." (face="happy") call ton_friendship(1) elif gift_item == krum_poster_ITEM: ton "That's that Krum boy is it?" (face="horny", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the poster to Tonks...", gift_item) + call give_gift(_(">You give the poster to Tonks..."), gift_item) ton "Nice figure, could set a good mood in the classroom... Or my office." (pupils="down", face="happy") ton "Thank you, [ton_genie_name]." (face="happy") call ton_friendship(1) elif gift_item == sexy_lingerie_ITEM: ton "Oh, I see you're a man with a sense of style." (mouth="open", pupils="down", face="happy", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the sexy lingerie to Tonks...", gift_item) + call give_gift(_(">You give the sexy lingerie to Tonks..."), gift_item) ton "If it were up to me these would be part of the school uniform..." (face="happy") call ton_friendship(1) elif gift_item == sexy_stockings_ITEM : ton "Nice, I have a pair just like these..." (mouth="open", pupils="down", face="happy", xpos="mid", ypos="base", trans=d5) ton "Although another pair without holes in them wont hurt..." (face="happy") - call give_gift(">You give the sexy stockings to Tonks...", gift_item) + call give_gift(_(">You give the sexy stockings to Tonks..."), gift_item) call ton_friendship(1) elif gift_item == pink_condoms_ITEM: ton "Some condoms?" (face="neutral", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give some condoms to Tonks...", gift_item) + call give_gift(_(">You give some condoms to Tonks..."), gift_item) ton "Safe sex is important..." (face="neutral") ton "I don't remember taking sex ed when I was in school... maybe I was too busy experimenting it myself that day..." (face="horny") call ton_friendship(1) @@ -91,13 +91,13 @@ label give_ton_gift(gift_item): elif gift_item == vibrator_ITEM: ton "A vibra-- back massager?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "Mm, Mine seemingly went missing from my desk. This should do if it doesn't turn up again." (face="annoyed") - call give_gift(">You give the vibrator to Tonks...", gift_item) + call give_gift(_(">You give the vibrator to Tonks..."), gift_item) ton "Thank you, [ton_genie_name]." (face="neutral") call ton_friendship(1) elif gift_item == anal_lube_ITEM: ton "That's one big jar of Anal lube you have there." (face="disgusted", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the jar of lube to Tonks...", gift_item) + call give_gift(_(">You give the jar of lube to Tonks..."), gift_item) ton "What's the difference between this and regular lube?" (mouth="open", face="disgusted") ton "Seems like it might be enough to cover the whole body..." (mouth="open", face="happy") ton "Thank you, [ton_genie_name]." (face="neutral") @@ -105,27 +105,27 @@ label give_ton_gift(gift_item): elif gift_item == ballgag_and_cuffs_ITEM: ton "Ball gag and cuffs?" (pupils="down", face="happy", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the ball gag and cuffs to Tonks...", gift_item) + call give_gift(_(">You give the ball gag and cuffs to Tonks..."), gift_item) ton "These are pretty cute. Should come in handy during my.... private lessons." (face="horny") call ton_friendship(1) elif gift_item == anal_plugs_ITEM: ton "Some anal plugs?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "Wow, this is what they use these days? Very colourful..." (face="happy") - call give_gift(">You give an assortment of anal plugs to Tonks...", gift_item) + call give_gift(_(">You give an assortment of anal plugs to Tonks..."), gift_item) ton "I think I might leave some in one of the desks..." (face="horny") call ton_friendship(1) elif gift_item == testral_strapon_ITEM: ton "Is that a strap-on?" ("open", "wide", "shocked", "stare", xpos="mid",ypos="base",trans=d5) - call give_gift(">You give the thestral strap-on to Tonks...", gift_item) + call give_gift(_(">You give the thestral strap-on to Tonks..."), gift_item) ton "This will be a perfect addition to my collection..." (face="angry") ton "Thank you, [ton_genie_name]." (face="happy") call ton_friendship(2) elif gift_item == broom_2000_ITEM: ton "I don't remember the brooms looking like this when I took flying lessons..." (face="angry", xpos="mid", ypos="base", trans=d5) - call give_gift(">You give the broom to Tonks...", gift_item) + call give_gift(_(">You give the broom to Tonks..."), gift_item) ton "Seems like a good way to stay put on the broom though... unless you lose focus." (mouth="open", face="happy") ton "Which you probably will with this..." (face="horny") call ton_friendship(3) @@ -133,14 +133,14 @@ label give_ton_gift(gift_item): elif gift_item == sexdoll_ITEM: ton "a sex doll?" (face="horny", xpos="mid", ypos="base", trans=d5) ton "Not too useful for me, but I might put it in one of our secret gift exchanges." (mouth="open", face="horny") - call give_gift(">You give the sex doll to Tonks...", gift_item) + call give_gift(_(">You give the sex doll to Tonks..."), gift_item) ton "They'll gossip for weeks wondering who it's from." (face="horny") call ton_friendship(1) elif gift_item == anal_beads_ITEM: ton "anal beads?" (face="disgusted", xpos="mid", ypos="base", trans=d5) ton "It's a bit short but I'll take it..." (face="happy") - call give_gift(">You give the anal beads to Tonks...", gift_item) + call give_gift(_(">You give the anal beads to Tonks..."), gift_item) ton "Thanks..." (face="horny") call ton_friendship(1) diff --git a/game/scripts/characters/tonks/requests.rpy b/game/scripts/characters/tonks/requests.rpy index e9b10ae4..0349213a 100644 --- a/game/scripts/characters/tonks/requests.rpy +++ b/game/scripts/characters/tonks/requests.rpy @@ -1,7 +1,7 @@ # Public requests default nt_pr_teach = event_class( - title = "Detention with Tonks.", start_label = "nt_pr_teach_start", start_tier = 1, + title = _("Detention with Tonks."), start_label = "nt_pr_teach_start", start_tier = 1, events = [ [ ["nt_pr_teach_T1_E1"], # Slytherin boy @@ -20,7 +20,7 @@ default nt_pr_teach = event_class( ) default nt_pr_grope = event_class( - title = "Hands-on lessons!", start_label = "nt_pr_grope_start", start_tier = 2, + title = _("Hands-on lessons!"), start_label = "nt_pr_grope_start", start_tier = 2, events = [ [ ["nt_pr_grope_T1_E1"], # Slytherin boy @@ -39,7 +39,7 @@ default nt_pr_grope = event_class( ) default nt_pr_kiss = event_class( - title = "Oral practice!", start_label = "nt_pr_kiss_start", start_tier = 2, + title = _("Oral practice!"), start_label = "nt_pr_kiss_start", start_tier = 2, events = [ [ ["nt_pr_kiss_T1_intro_E1"], # Ravenclaw boy diff --git a/game/scripts/characters/tonks/talk.rpy b/game/scripts/characters/tonks/talk.rpy index 562575a4..dd597acb 100644 --- a/game/scripts/characters/tonks/talk.rpy +++ b/game/scripts/characters/tonks/talk.rpy @@ -55,22 +55,22 @@ label tonks_talk: menu: "-Sir-": label .sir: # Local label unavailable from global scope - $ ton_genie_name = "Sir" + $ ton_genie_name = _("Sir") ton "Of course, [ton_genie_name]." ("base", "base", "base", "mid") "-Dumbledore-": label .dumbledore: - $ ton_genie_name = "Dumbledore" + $ ton_genie_name = _("Dumbledore") ton "Sure thing, [ton_genie_name]." ("base", "base", "base", "mid") "-Professor-": label .professor: - $ ton_genie_name = "Professor" + $ ton_genie_name = _("Professor") ton "Alright, [ton_genie_name]." ("base", "base", "base", "mid") "-Old man-": label .old_man: - $ ton_genie_name = "Old man" + $ ton_genie_name = _("Old man") ton "I have to say, for your age you're in really great shape..." ("soft", "base", "base", "down") gen "That's part of the benefits of being immortal...{w=0.4} Your body doesn't age." ("base", xpos="far_left", ypos="head") ton "You're lucky then... I've had men that were a couple hundred years old, whose bodies were quite fragile..." ("open", "base", "base", "R") @@ -86,7 +86,7 @@ label tonks_talk: "-Genie-": label .genie: - $ ton_genie_name = "Genie" + $ ton_genie_name = _("Genie") ton "Of course." ("base", "base", "base", "mid") gen "Sweet." ("grin", xpos="far_left", ypos="head") ton "Will I get my three wishes too?" ("open", "base", "base", "mid") @@ -107,7 +107,7 @@ label tonks_talk: "-Lord Voldemort-": label .lord_voldemort: - $ ton_genie_name = "Lord Voldemort" + $ ton_genie_name = _("Lord Voldemort") ton "Bold of you to say his name out loud... Who even told you about the dark lord?" ("open", "base", "angry", "mid") gen "I've read the stories..." ("base", xpos="far_left", ypos="head") ton "So you know this wizard did some terrible things in his lifetime?" ("open", "base", "angry", "R") @@ -133,7 +133,7 @@ label tonks_talk: "-Daddy-": label .daddy: - $ ton_genie_name = "Daddy" + $ ton_genie_name = _("Daddy") ton "Well, you do look about thrice as old as me..." ("base", "base", "raised", "mid") ton "Crazy to think you geezers get to bang all those young, sexy, innocent witches here..." ("open", "base", "base", "R") gen "(Geezers?)" ("base", xpos="far_left", ypos="head") @@ -159,7 +159,7 @@ label tonks_talk: "-Lover-" if ton_friendship >= 60: label .lover: - $ ton_genie_name = "Lover" + $ ton_genie_name = _("Lover") ton "As you wish, \"Lover boy\"..." ("horny", "narrow", "base", "mid") gen "Just \"Lover\" is fine." ("base", xpos="far_left", ypos="head") ton "Yes my love..." ("base", "narrow", "base", "mid") @@ -178,7 +178,7 @@ label tonks_talk: "-Master-" if ton_friendship >= 60: label .master: - $ ton_genie_name = "Master" + $ ton_genie_name = _("Master") ton "Yes, [ton_genie_name]." ("open", "base", "base", "mid") gen "(...)" ("base", xpos="far_left", ypos="head") ton "" ("base", "base", "raised", "mid") @@ -192,7 +192,7 @@ label tonks_talk: gen "(I don't think she's yet ready for that)" ("base", xpos="far_left", ypos="head") "-Custom Input-" if ton_friendship >= 60: - $ temp_name = renpy.input("(Please enter the name.)", ton_genie_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), ton_genie_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name.lower() in ("sir", "dumbledore", "professor", "old man", "genie", "lord voldemort", "daddy", "master"): @@ -213,11 +213,11 @@ label tonks_talk: menu: "-Tonks-": label .tonks: # Local label unavailable from global scope. - $ tonks_name = "Tonks" + $ tonks_name = _("Tonks") ton "Sure, [ton_genie_name]." ("base", "base", "base", "mid") "-Nymphadora-": - $ tonks_name = "Nymphadora" + $ tonks_name = _("Nymphadora") label .nymphadora: ton "*Ugh*--" ("mad", "base", "angry", "R") ton "Really, [ton_genie_name]?" ("open", "base", "angry", "mid") @@ -227,14 +227,14 @@ label tonks_talk: "-Nympho-": label .nympho: - $ tonks_name = "Nympho" + $ tonks_name = _("Nympho") ton "You think I'm a nympho, [ton_genie_name]?" ("horny", "base", "raised", "mid") ton "Like a filthy, sex craved maniac? Who wouldn't shy away from fulfilling every single one of her fantasies?" ("grin", "base", "shocked", "mid") ton "It fits quite well, actually." ("base", "base", "base", "R") "-Bitch-": label .bitch: - $ tonks_name = "Bitch" + $ tonks_name = _("Bitch") ton "*Hi-hi*" ("base", "base", "base", "R") ton "If only you knew..." ("horny", "base", "raised", "R") gen "(...)" ("base", xpos="far_left", ypos="head") @@ -251,7 +251,7 @@ label tonks_talk: "-Fuck Puppet-": label .fuck_puppet: - $ tonks_name = "Fuck Puppet" + $ tonks_name = _("Fuck Puppet") ton "A fuck puppet?" ("open", "base", "raised", "mid") ton "So you want me to be your personal toy?" ("horny", "base", "base", "mid") gen "Wouldn't anyone." ("base", xpos="far_left", ypos="head") @@ -266,7 +266,7 @@ label tonks_talk: #gen "I wasn't going to." ("base", xpos="far_left", ypos="head") "-Slut-": - $ tonks_name = "Slut" + $ tonks_name = _("Slut") ton "Maybe I am..." ("base", "narrow", "base", "R") ton "Although I'd rather get called \"fashionable\"." ("base", "narrow", "base", "mid") gen "Weird thing to say in bed but I ain't judging." ("base", xpos="far_left", ypos="head") @@ -286,7 +286,7 @@ label tonks_talk: "-Whore-": #Todo put under public checks label .whore: - $ tonks_name = "Whore" + $ tonks_name = _("Whore") ton "Hmm... I'm a \"whore\" now, am I?" ("horny", "base", "raised", "mid", hair="horny") gen "That's what I pay you for." ton "You pay me to--" ("soft", "narrow", "base", "mid", hair="horny") @@ -307,7 +307,7 @@ label tonks_talk: "-Cunt-" if ton_friendship >= 60: label .cunt: - $ tonks_name = "Cunt" + $ tonks_name = _("Cunt") ton "*Uuuh*, [ton_genie_name]..." ("base", "base", "raised", "mid") ton "You better not call me that in front of a student..." ("open", "base", "base", "mid") gen "What if I do?" ("grin", xpos="far_left", ypos="head") @@ -322,7 +322,7 @@ label tonks_talk: "-Slave-" if ton_friendship >= 60: label .slave: - $ tonks_name = "Slave" + $ tonks_name = _("Slave") ton "Does this mean I have to be obedient?" ("soft", "narrow", "raised", "mid") gen "Isn't that the point of an employee?" ("base", xpos="far_left", ypos="head") ton "I suppose, although you pay me for that." ("open", "narrow", "base", "R") @@ -346,7 +346,7 @@ label tonks_talk: gen "(I don't think she's yet ready for that)" ("base", xpos="far_left", ypos="head") "-Custom Input-" if ton_friendship >= 60: - $ temp_name = renpy.input("(Please enter the name.)", tonks_name, ALLOWED_CHARACTERS, length=14) + $ temp_name = renpy.input(_("(Please enter the name.)"), tonks_name, ALLOWED_CHARACTERS, length=14) $ temp_name = temp_name.strip() if temp_name.lower() in ("tonks", "nymphadora", "nympho", "fuck puppet", "bitch", "cunt"): if temp_name.lower() == "cunt" and ton_friendship < 60: diff --git a/game/scripts/characters/tonks/vars.rpy b/game/scripts/characters/tonks/vars.rpy index 603bb751..97802f84 100644 --- a/game/scripts/characters/tonks/vars.rpy +++ b/game/scripts/characters/tonks/vars.rpy @@ -22,6 +22,6 @@ default tonks_mail_list = [] default tonks_haircolor = [[255, 146, 185, 255], [254, 218, 238, 255]] # Names -default tonks_name = "Tonks" -default ton_genie_name = "Professor" -default ton_astoria_name = "Cutie" +default tonks_name = _("Tonks") +default ton_genie_name = _("Professor") +default ton_astoria_name = _("Cutie") diff --git a/game/scripts/events/final_events.rpy b/game/scripts/events/final_events.rpy index bfeabd1a..7d909f08 100644 --- a/game/scripts/events/final_events.rpy +++ b/game/scripts/events/final_events.rpy @@ -670,7 +670,7 @@ label ball_quest_E5: stop music fadeout 1.0 gen "Here... This is for you..." ("base", xpos="far_left", ypos="head") - call give_reward(">You give the ball dress to Hermione...","interface/icons/box_red_1.webp") + call give_reward(_(">You give the ball dress to Hermione..."),"interface/icons/box_red_1.webp") her "*Hmm*...? What is this?" ("base", "base", "base", "mid") her "{size=+7}A DRESS?!{/size}" ("angry", "wide", "base", "stare") diff --git a/game/scripts/gui/help.rpy b/game/scripts/gui/help.rpy index 916eb0bd..f0dd97fb 100644 --- a/game/scripts/gui/help.rpy +++ b/game/scripts/gui/help.rpy @@ -81,35 +81,35 @@ screen controls_help(): text _("Page Down or Mouse Wheel Down") hbox: - label "Hide Interface" + label _("Hide Interface") text _("H or Middle Mouse Button") hbox: - label "Screenshot" + label _("Screenshot") text _("Print Screen") hbox: - label "Sleep" + label _("Sleep") text _("s") hbox: - label "Map" + label _("Map") text _("m") hbox: - label "Stats" + label _("Stats") text _("c") hbox: - label "Inventory" + label _("Inventory") text _("i") hbox: - label "Fap-Fap-Fap" + label _("Fap-Fap-Fap") text _("f") hbox: - label "Summon" + label _("Summon") text _("d") screen gamepad_help(): diff --git a/game/scripts/gui/main_menu.rpy b/game/scripts/gui/main_menu.rpy index 3a5f5e3b..a3bec94b 100644 --- a/game/scripts/gui/main_menu.rpy +++ b/game/scripts/gui/main_menu.rpy @@ -46,7 +46,7 @@ screen main_menu(): pos (0.333, 0.5) anchor (0.5, 0.5) action OpenURL("https://discord.gg/UbQeTCJ5RW") - tooltip "Discord" + tooltip _("Discord") imagebutton: idle Transform("patreon_idle", alpha=0.5, zoom=0.5) @@ -55,7 +55,7 @@ screen main_menu(): pos (0.666, 0.5) anchor (0.5, 0.5) action OpenURL("https://www.patreon.com/SilverStudioGames") - tooltip "Patreon" + tooltip _("Patreon") fixed: xysize (300, 30) @@ -247,9 +247,9 @@ screen navigation(title=None): if not renpy.mobile: if UPDATE_VER: - textbutton "Install updates" action InstallUpdates() style_prefix "update_available" + textbutton _("Install updates") action InstallUpdates() style_prefix "update_available" else: - textbutton "Check for updates" action CheckUpdates(300) + textbutton _("Check for updates") action CheckUpdates(300) if show_quick_start: textbutton _("Quick Start") action Start("start_quick") sensitive is_sensitive diff --git a/game/scripts/gui/misc.rpy b/game/scripts/gui/misc.rpy index 6d8c957a..e4b474b4 100644 --- a/game/scripts/gui/misc.rpy +++ b/game/scripts/gui/misc.rpy @@ -74,7 +74,7 @@ style light_confirm_frame is light_gui_frame: screen skip_indicator(): zorder 100 - text "{unicode}{size=66}▶▶{/size}{/unicode}\nSkipping": + text _("{unicode}{size=66}▶▶{/size}{/unicode}\nSkipping"): at blink style "skip_text" diff --git a/game/scripts/gui/mods.rpy b/game/scripts/gui/mods.rpy index f0379a10..d081891a 100644 --- a/game/scripts/gui/mods.rpy +++ b/game/scripts/gui/mods.rpy @@ -100,8 +100,8 @@ screen mods(): else: text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3) - text "Author:\n{size=-4}[author]{/size}" size 14 - text "Description:\n{size=-4}[desc]{/size}" size 14 + text _("Author:\n{size=-4}[author]{/size}") size 14 + text _("Description:\n{size=-4}[desc]{/size}") size 14 style mods_text is slot_button_text: selected_color "#000" diff --git a/game/scripts/gui/preferences.rpy b/game/scripts/gui/preferences.rpy index 7155b208..e84c94a8 100644 --- a/game/scripts/gui/preferences.rpy +++ b/game/scripts/gui/preferences.rpy @@ -32,19 +32,19 @@ screen preferences(page="general"): pos (25 + 15, 100) yanchor 0.5 - textbutton "General": + textbutton _("General"): selected (page == "general") action Show("preferences", config.intra_transition, "general") - textbutton "Visuals": + textbutton _("Visuals"): selected (page == "visuals") action Show("preferences", config.intra_transition, "visuals") - textbutton "Sound": + textbutton _("Sound"): selected (page == "sound") action Show("preferences", config.intra_transition, "sound") - textbutton "Accessibility": + textbutton _("Accessibility"): selected (page == "accessibility") action Show("preferences", config.intra_transition, "accessibility") @@ -69,18 +69,18 @@ screen preferences_general(): vbox: style_prefix gui.theme("radio") - label "Theme" - textbutton "Auto" action [ + label _("Theme") + textbutton _("Auto") action [ settings.Set("theme", "auto"), Function(renpy.transition, trans), Function(renpy.restart_interaction) ] - textbutton "Day" action [ + textbutton _("Day") action [ settings.Set("theme", "light"), Function(renpy.transition, trans), Function(renpy.restart_interaction) ] - textbutton "Night" action [ + textbutton _("Night") action [ settings.Set("theme", "dark"), Function(renpy.transition, trans), Function(renpy.restart_interaction) @@ -110,6 +110,20 @@ screen preferences_general(): vbox: style_prefix gui.theme("check") + default languages = renpy.known_languages() + + vbox: + box_wrap True + + label _("Language") + + hbox: + spacing 2 + + textbutton "English" action Language(None) + for i in languages: + textbutton i.capitalize() action Language(i) + screen preferences_visuals(): hbox: box_wrap True @@ -134,7 +148,7 @@ screen preferences_visuals(): default fps_msg = "Framerate preference may take effect after restarting the game" - label "Framerate" + label _("Framerate") textbutton ("{} fps".format(int(renpy.get_refresh_rate()))) action [Preference("gl framerate", None), Notify(fps_msg)] if renpy.get_refresh_rate() > 60: @@ -160,7 +174,7 @@ screen preferences_visuals(): vbox: style_prefix gui.theme("check") - label "Advanced" + label _("Advanced") textbutton _("Transitions") action Preference("transitions", "toggle") textbutton _("Videos") action InvertSelected(Preference("video sprites", "toggle")) @@ -244,22 +258,22 @@ screen preferences_accessibility(): hbox: style_prefix gui.theme("radio") - textbutton "V. small" action Preference("font size", 0.7) - textbutton "Small" action Preference("font size", 0.9) - textbutton "Normal" action Preference("font size", 1.0) - textbutton "Large" action Preference("font size", 1.2) - textbutton "V. Large" action Preference("font size", 1.4) + textbutton _("V. small") action Preference("font size", 0.7) + textbutton _("Small") action Preference("font size", 0.9) + textbutton _("Normal") action Preference("font size", 1.0) + textbutton _("Large") action Preference("font size", 1.2) + textbutton _("V. Large") action Preference("font size", 1.4) label _("Vertical Text Spacing") hbox: style_prefix gui.theme("radio") - textbutton "V. small" action Preference("font line spacing", 0.7) - textbutton "Small" action Preference("font line spacing", 0.9) - textbutton "Normal" action Preference("font line spacing", 1.0) - textbutton "Large" action Preference("font line spacing", 1.2) - textbutton "V. Large" action Preference("font line spacing", 1.4) + textbutton _("V. small") action Preference("font line spacing", 0.7) + textbutton _("Small") action Preference("font line spacing", 0.9) + textbutton _("Normal") action Preference("font line spacing", 1.0) + textbutton _("Large") action Preference("font line spacing", 1.2) + textbutton _("V. Large") action Preference("font line spacing", 1.4) if not renpy.mobile: vbox: @@ -280,11 +294,11 @@ screen preferences_accessibility(): vbox: label _("Advanced") - textbutton "Delete persistent data ({color=#f00}!{/color})": + textbutton _("Delete persistent data ({color=#f00}!{/color})"): style gui.theme("pref_button") action Confirm(gui.CONFIRM_DELETE_PERSISTENT, Function(delete_persistent)) - textbutton "Delete save files ({color=#f00}!{/color})": + textbutton _("Delete save files ({color=#f00}!{/color})"): style gui.theme("pref_button") action Confirm(gui.CONFIRM_DELETE_SAVES, Function(delete_saves)) @@ -294,20 +308,20 @@ screen preferences_accessibility(): hbox: style_prefix gui.theme("radio") - textbutton "Aggressive" action [settings.Set("crashdefendersetting", 3), Function(crashdefender.set_mode, 3)] - textbutton "Balanced" action [settings.Set("crashdefendersetting", 2), Function(crashdefender.set_mode, 2)] - textbutton "Relaxed" action [settings.Set("crashdefendersetting", 1), Function(crashdefender.set_mode, 1)] - textbutton "Off" action [settings.Set("crashdefendersetting", 0), Function(crashdefender.set_mode, 0)] + textbutton _("Aggressive") action [settings.Set("crashdefendersetting", 3), Function(crashdefender.set_mode, 3)] + textbutton _("Balanced") action [settings.Set("crashdefendersetting", 2), Function(crashdefender.set_mode, 2)] + textbutton _("Relaxed") action [settings.Set("crashdefendersetting", 1), Function(crashdefender.set_mode, 1)] + textbutton _("Off") action [settings.Set("crashdefendersetting", 0), Function(crashdefender.set_mode, 0)] -define gui.CONFIRM_DELETE_PERSISTENT = """{color=#7a0000}Warning!{/color} +define gui.CONFIRM_DELETE_PERSISTENT = _("""{color=#7a0000}Warning!{/color} {size=-4}You are about to reset all persistent data, including achievements, seen text, and preferences.{/size}\n -Are you sure?""" +Are you sure?""") -define gui.CONFIRM_DELETE_SAVES = """{color=#7a0000}Warning!{/color} +define gui.CONFIRM_DELETE_SAVES = _("""{color=#7a0000}Warning!{/color} {size=-4}You are about to delete all save files, including auto saves, quick saves, and manual saves.{/size}\n -Are you sure?""" +Are you sure?""") init python: def delete_persistent(): diff --git a/game/scripts/gui/save_files.rpy b/game/scripts/gui/save_files.rpy index c22b06ca..bc2ceefd 100644 --- a/game/scripts/gui/save_files.rpy +++ b/game/scripts/gui/save_files.rpy @@ -90,12 +90,12 @@ screen file_slots(title): $ hours, minutes = divmod(minutes, 60) text FileTime(slot, format=_(slot_time_format)) - text "Day: {}".format(day) - text "Playtime: {}H {}M {}S".format(hours, minutes, seconds) + text _("Day: {}".format(day)) + text _("Playtime: {}H {}M {}S".format(hours, minutes, seconds)) else: - text "INCOMPATIBLE" color "#f00" + text _("INCOMPATIBLE") color "#f00" - textbutton "{font=[gui.glyph_font]}✘{/font}": + textbutton _("{font=[gui.glyph_font]}✘{/font}"): style "slot_delete_button" action FileDelete(slot) diff --git a/game/scripts/interface/achievements.rpy b/game/scripts/interface/achievements.rpy index e05ac788..18b3afa6 100644 --- a/game/scripts/interface/achievements.rpy +++ b/game/scripts/interface/achievements.rpy @@ -1,41 +1,41 @@ define achievements_dict = { - "unlockher": ["Characters", "Granger Danger", "Awarded for unlocking Hermione Granger.", False, "interface/icons/head/hermione.webp", False], - "unlockcho": ["Characters", "Chang Dynasty", "Awarded for unlocking Cho Chang.", False, "interface/icons/head/cho.webp", False], - "unlocklun": ["Characters", "Looney Tunes", "Awarded for unlocking Luna Lovegood.", False, "interface/icons/head/luna.webp", False], - "unlockast": ["Characters", "Green Peas", "Awarded for unlocking Astoria Greengrass.", False, "interface/icons/head/astoria.webp", False], - "unlockton": ["Characters", "Nymphadoreador", "Awarded for unlocking Nymphadora Tonks.", False, "interface/icons/head/tonks.webp", False], - "overwhored": ["Characters", "Overwhored", "Awarded for fully corrupting Hermione.", False, "interface/icons/head/hermione.webp", False], - "unlocksus": ["Characters", "Boner", "Awarded for unlocking Susan Bones.", False, "interface/icons/head/susan.webp", False], - "unlocksna": ["Characters", "Strictly colleagues", "Awarded for unlocking Severus Snape.", False, "interface/icons/head/snape.webp", False], - "mirror": ["Mirror", "Mirror, mirror on the wall..", "Awarded for unlocking the Room of Requirement.", False, "images/rooms/room_of_requirement/mirror_hover.webp", False], - "gold": ["General", "Gold Digger", "Awarded for having 10,000 gold in total.", False, "interface/icons/gold.webp", False], - "drunkard": ["General", "Drunken Master", "Awarded for collecting 25 bottles of wine.", False, "interface/icons/wine.webp", True], - "workaholic": ["General", "Workaholic", "Awarded for completing five full reports.", False, "interface/icons/generic_scroll.webp", False], - "fireplace": ["General", "Feel the Heat", "Awarded for lighting the fireplace 5 times or more.", False, "images/rooms/objects/fireplace/fireplace_idle.webp", True], - "peta": ["General", "I think I forgot something...", "Awarded for not feeding the bird for 50 days.... \nYou monster.\n{size=-4}Disclaimer: No real nor fictional animals were harmed in the process.{/size}", False, "images/rooms/objects/phoenix/phoenix_01.webp", True], - "petpal": ["General", "Regular stroking", "Awarded for petting the bird 25 times.", False, "images/rooms/objects/phoenix/phoenix_01.webp", False], - "postman": ["Cardgame", "Poster Boy", "Awarded for buying all posters from the token shop.", False, "interface/icons/agrabah_poster.webp", False], - "hats": ["Cardgame", "Mad Hatter", "Awarded for buying all hat decorations from the token shop.", False, "interface/icons/icon_gambler_hat.webp", False], - "daddy": ["Characters", "Who's your daddy?", "Awarded for letting Hermione call you a {size=-5}(sugar){/size} daddy.", False, "interface/icons/head/hermione.webp", True], - "pantiesfap": ["Characters", "I sneezed on them...", "Awarded for rubbing one out on Hermione's panties.", False, "characters/genie/chibis/jerk_off/02.webp", False], - "pantiesfapcho": ["Characters", "Exercise is important", "Awarded for rubbing one out on Cho's panties.", False, "characters/genie/chibis/jerk_off/02.webp", False], - "bros": ["Characters", "Bros before hoes", "Awarded for becoming best pals with Snape.", False, "interface/icons/head/snape.webp", False], - "knock": ["Characters", "*Knock* *knock*", "Awarded for telling Hermione to go away during her introductory events.", False, "images/rooms/objects/doors/door_idle.webp", True], - "decorator": ["Cardgame", "Decorator", "Awarded for decorating the office for the first time.", False, "interface/icons/stag_trophy.webp", False], - "flashback": ["Cardgame", "Flashback", "Awarded for retelling what actually happened...", False, "interface/icons/cards.webp", True], - "start": ["General", "Welcome to Hogwarts!", "Awarded for finishing the intro.", False, "interface/icon.webp", False], - "export": ["General", "Sharing is caring", "Awarded for exporting an outfit through the wardrobe menu.", False, "interface/wardrobe/icons/load.webp", False], - "Credits": ["General", "New game, who this?", "Awarded for checking out the Credits Menu.", False, "interface/icons/silver_scroll.webp", False], - "Cardwin": ["Cardgame", "Time to duel", "Awarded for winning your first Card game duel.", False, "interface/icons/cards.webp", False], - "puzzle": ["General", "Down the hatch!", "Awarded for wasting a bottle of unbelievably rare phoenix tears by drinking it.", False, "interface/icons/item_potion.webp", True], - "ending": ["General", "Bittersweet Farewell", "Awarded for reaching the original ending.", False, "interface/icons/silver.webp", True], + "unlockher": ["Characters", _("Granger Danger"), _("Awarded for unlocking Hermione Granger."), False, "interface/icons/head/hermione.webp", False], + "unlockcho": ["Characters", _("Chang Dynasty"), _("Awarded for unlocking Cho Chang."), False, "interface/icons/head/cho.webp", False], + "unlocklun": ["Characters", _("Looney Tunes"), _("Awarded for unlocking Luna Lovegood."), False, "interface/icons/head/luna.webp", False], + "unlockast": ["Characters", _("Green Peas"), _("Awarded for unlocking Astoria Greengrass."), False, "interface/icons/head/astoria.webp", False], + "unlockton": ["Characters", _("Nymphadoreador"), _("Awarded for unlocking Nymphadora Tonks."), False, "interface/icons/head/tonks.webp", False], + "overwhored": ["Characters", _("Overwhored"), _("Awarded for fully corrupting Hermione."), False, "interface/icons/head/hermione.webp", False], + "unlocksus": ["Characters", _("Boner"), _("Awarded for unlocking Susan Bones."), False, "interface/icons/head/susan.webp", False], + "unlocksna": ["Characters", _("Strictly colleagues"), _("Awarded for unlocking Severus Snape."), False, "interface/icons/head/snape.webp", False], + "mirror": ["Mirror", _("Mirror, mirror on the wall.."), _("Awarded for unlocking the Room of Requirement."), False, "images/rooms/room_of_requirement/mirror_hover.webp", False], + "gold": ["General", _("Gold Digger"), _("Awarded for having 10,000 gold in total."), False, "interface/icons/gold.webp", False], + "drunkard": ["General", _("Drunken Master"), _("Awarded for collecting 25 bottles of wine."), False, "interface/icons/wine.webp", True], + "workaholic": ["General", _("Workaholic"), _("Awarded for completing five full reports."), False, "interface/icons/generic_scroll.webp", False], + "fireplace": ["General", _("Feel the Heat"), _("Awarded for lighting the fireplace 5 times or more."), False, "images/rooms/objects/fireplace/fireplace_idle.webp", True], + "peta": ["General", _("I think I forgot something..."), _("Awarded for not feeding the bird for 50 days.... \nYou monster.\n{size=-4}Disclaimer: No real nor fictional animals were harmed in the process.{/size}"), False, "images/rooms/objects/phoenix/phoenix_01.webp", True], + "petpal": ["General", _("Regular stroking"), _("Awarded for petting the bird 25 times."), False, "images/rooms/objects/phoenix/phoenix_01.webp", False], + "postman": ["Cardgame", _("Poster Boy"), _("Awarded for buying all posters from the token shop."), False, "interface/icons/agrabah_poster.webp", False], + "hats": ["Cardgame", _("Mad Hatter"), _("Awarded for buying all hat decorations from the token shop."), False, "interface/icons/icon_gambler_hat.webp", False], + "daddy": ["Characters", _("Who's your daddy?"), _("Awarded for letting Hermione call you a {size=-5}(sugar){/size} daddy."), False, "interface/icons/head/hermione.webp", True], + "pantiesfap": ["Characters", _("I sneezed on them..."), _("Awarded for rubbing one out on Hermione's panties."), False, "characters/genie/chibis/jerk_off/02.webp", False], + "pantiesfapcho": ["Characters", _("Exercise is important"), _("Awarded for rubbing one out on Cho's panties."), False, "characters/genie/chibis/jerk_off/02.webp", False], + "bros": ["Characters", _("Bros before hoes"), _("Awarded for becoming best pals with Snape."), False, "interface/icons/head/snape.webp", False], + "knock": ["Characters", _("*Knock* *knock*"), _("Awarded for telling Hermione to go away during her introductory events."), False, "images/rooms/objects/doors/door_idle.webp", True], + "decorator": ["Cardgame", _("Decorator"), _("Awarded for decorating the office for the first time."), False, "interface/icons/stag_trophy.webp", False], + "flashback": ["Cardgame", _("Flashback"), _("Awarded for retelling what actually happened..."), False, "interface/icons/cards.webp", True], + "start": ["General", _("Welcome to Hogwarts!"), _("Awarded for finishing the intro."), False, "interface/icon.webp", False], + "export": ["General", _("Sharing is caring"), _("Awarded for exporting an outfit through the wardrobe menu."), False, "interface/wardrobe/icons/load.webp", False], + "Credits": ["General", _("New game, who this?"), _("Awarded for checking out the Credits Menu."), False, "interface/icons/silver_scroll.webp", False], + "Cardwin": ["Cardgame", _("Time to duel"), _("Awarded for winning your first Card game duel."), False, "interface/icons/cards.webp", False], + "puzzle": ["General", _("Down the hatch!"), _("Awarded for wasting a bottle of unbelievably rare phoenix tears by drinking it."), False, "interface/icons/item_potion.webp", True], + "ending": ["General", _("Bittersweet Farewell"), _("Awarded for reaching the original ending."), False, "interface/icons/silver.webp", True], #1.37 HG achievements - "busted": ["Characters", "BUSTED!", "Awarded for getting busted by Hermione when busting a nut.", False, "interface/icons/head/hermione.webp", False], - "herstrip": ["Characters", "Dance lessons", "Awarded for having Hermione dance naked in front of you... and Snape.", False, "interface/icons/head/hermione.webp", False], - "herkiss": ["Characters", "First Kiss", "Awarded for having Hermione make out with you-- r... cock...", False, "interface/icons/head/hermione.webp", False], - "hertits": ["Characters", "Boobs Lover", "Awarded for sticking it between Hermione's fun bags.", False, "interface/icons/head/hermione.webp", False], - "headlib": ["Characters", "Head Librarian", "Awarded for releasing your seed in Hermione's mouth.", False, "interface/icons/head/hermione.webp", False], - "nerdgasm": ["Characters", "Nerdgasm", "Awarded for doing the deed with Hermione.", False, "interface/icons/head/hermione.webp", False] + "busted": ["Characters", _("BUSTED!"), _("Awarded for getting busted by Hermione when busting a nut."), False, "interface/icons/head/hermione.webp", False], + "herstrip": ["Characters", _("Dance lessons"), _("Awarded for having Hermione dance naked in front of you... and Snape."), False, "interface/icons/head/hermione.webp", False], + "herkiss": ["Characters", _("First Kiss"), _("Awarded for having Hermione make out with you-- r... cock..."), False, "interface/icons/head/hermione.webp", False], + "hertits": ["Characters", _("Boobs Lover"), _("Awarded for sticking it between Hermione's fun bags."), False, "interface/icons/head/hermione.webp", False], + "headlib": ["Characters", _("Head Librarian"), _("Awarded for releasing your seed in Hermione's mouth."), False, "interface/icons/head/hermione.webp", False], + "nerdgasm": ["Characters", _("Nerdgasm"), _("Awarded for doing the deed with Hermione."), False, "interface/icons/head/hermione.webp", False] } init python: @@ -89,7 +89,7 @@ init python: if not silent: renpy.play('sounds/achievement.ogg') - renpy.show_screen("achievement_window", string=persistent.achievements[id][1], title="Achievement unlocked!", icon=persistent.achievements[id][4]) + renpy.show_screen("achievement_window", string=persistent.achievements[id][1], title=_("Achievement unlocked!"), icon=persistent.achievements[id][4]) def lock(self, id): self.achievements[id][3] = False @@ -179,7 +179,7 @@ label achievement: label achievement_menu(xx=150, yy=90): - $ achievement_categories_sorted = ["All", "General", "Characters", "Cardgame", "Mirror"] + $ achievement_categories_sorted = [_("All"), _("General"), _("Characters"), _("Cardgame"), _("Mirror")] $ items_shown = 36 $ current_page = 0 @@ -288,10 +288,10 @@ screen achievement_menu(xx, yy): style_prefix gui.theme('achievements_filters') pos (6, 384) if current_filter == None: - textbutton "Show: All" action Return("filter") + textbutton _("Show: All") action Return("filter") else: - textbutton "Show: [current_filter]" action Return("filter") - textbutton "Sort by: [current_sorting]" action Return("sort") + textbutton _("Show: [current_filter]") action Return("filter") + textbutton _("Sort by: [current_sorting]") action Return("sort") screen achievement_menuitem(xx, yy): window: @@ -304,9 +304,9 @@ screen achievement_menuitem(xx, yy): add "interface/achievements/star.webp" add gui.format("interface/achievements/{}/panel.webp") - text "Achievements" size 22 xalign 0.5 ypos 65 + text _("Achievements") size 22 xalign 0.5 ypos 65 - text "Unlocked: "+str(len(filter(lambda x: x[1][3] is True, menu_items)))+"/[menu_items_length]" size 12 pos (24, 70) + text _("Unlocked: "+str(len(filter(lambda x: x[1][3] is True, menu_items)))+"/[menu_items_length]") size 12 pos (24, 70) # Page counter if menu_items_length > items_shown: diff --git a/game/scripts/interface/brewing.rpy b/game/scripts/interface/brewing.rpy index bb519922..9c82fa1f 100644 --- a/game/scripts/interface/brewing.rpy +++ b/game/scripts/interface/brewing.rpy @@ -137,10 +137,10 @@ screen brewing_menu(xx, yy): pos (6, 384) if current_filter == None: - textbutton "Show: All" action Return("filter") + textbutton _("Show: All") action Return("filter") else: - textbutton "Show: [current_filter]" action Return("filter") - textbutton "Sort by: [current_sorting]" action Return("sort") + textbutton _("Show: [current_filter]") action Return("filter") + textbutton _("Sort by: [current_sorting]") action Return("sort") screen brewing_menuitem(xx, yy): default turned_on = False @@ -160,7 +160,7 @@ screen brewing_menuitem(xx, yy): else: add "interface/brewing/bg_off.webp" align (0.5, 1.0) xsize 548 fit "contain" yoffset -6 - text "Brewing Station" size 22 xalign 0.5 ypos 65 + text _("Brewing Station") size 22 xalign 0.5 ypos 65 if current_item: vbox: @@ -169,7 +169,7 @@ screen brewing_menuitem(xx, yy): spacing 5 text "[current_item.desc]" size 12 - text "Usable on:" size 12 + text _("Usable on:") size 12 hbox: for c in current_item.usable_on: add "interface/icons/head/{}.webp".format(c) size (24, 24) diff --git a/game/scripts/interface/door.rpy b/game/scripts/interface/door.rpy index 9b1c696e..8b6caaa8 100644 --- a/game/scripts/interface/door.rpy +++ b/game/scripts/interface/door.rpy @@ -12,20 +12,35 @@ label summon_menu(xx=723, yy=90): call update_stats - $ map_transcript_loc = {"library": "Library", "room_g": "Gryffindor Dormitory", "room_s": "Slytherin Dormitory", "room_r": "Ravenclaw Dormitory", "room_h": "Hufflepuff Dormitory", "great_hall": "Great Hall", "courtyard": "Courtyard", "forest": "Forest", "greenhouse": "Greenhouse", "defense": "D.A.D.A Classroom", "training_grounds": "Training Grounds", "Lake": "Lake", "randomstudent": renpy.random.choice(["Classroom", "Bathroom", "Hagrid's Hut", "Weasley's Store", "Mafkin's Store", "Broom Cupboard", "Attic"]), "randomsnape": renpy.random.choice(["Classroom", "Boathouse", "Bathroom", "Snape's Office", "Hall", "Slytherin Dormitory", "Library", "Attic", "Forest", "Lake", "Dungeons", "Quidditch Cave", "Staircase", "Behind your door", "Room of Doom"]), "randomtonks": renpy.random.choice(["Classroom", "Bathroom", "Hall", "Gryffindor Dormitory", "Slytherin Dormitory", "Hufflepuff Dormitory", "Ravenclaw Dormitory", "Training Grounds", "Tonks' Room", "Quidditch Pitch", "Infirmary", "Sex Dungeon", "Hospital Wing", "Forest", "Lake", "Greenhouse", "Mafkin's Store"])} + $ map_transcript_loc = { + "library": _("Library"), + "room_g": _("Gryffindor Dormitory"), + "room_s": _("Slytherin Dormitory"), + "room_r": _("Ravenclaw Dormitory"), + "room_h": _("Hufflepuff Dormitory"), + "great_hall": _("Great Hall"), + "courtyard": _("Courtyard"), + "forest": _("Forest"), + "greenhouse": _("Greenhouse"), + "defense": _("D.A.D.A Classroom"), + "training_grounds": _("Training Grounds"), + "Lake": _("Lake"), + "randomstudent": renpy.random.choice([_("Classroom"), _("Bathroom"), _("Hagrid's Hut"), _("Weasley's Store"), _("Mafkin's Store"), _("Broom Cupboard"), _("Attic")]), + "randomsnape": renpy.random.choice([_("Classroom"), _("Boathouse"), _("Bathroom"), _("Snape's Office"), _("Hall"), _("Slytherin Dormitory"), _("Library"), _("Attic"), _("Forest"), _("Lake"), _("Dungeons"), _("Quidditch Cave"), _("Staircase"), _("Behind your door"), _("Room of Doom")]), + "randomtonks": renpy.random.choice([_("Classroom"), _("Bathroom"), _("Hall"), _("Gryffindor Dormitory"), _("Slytherin Dormitory"), _("Hufflepuff Dormitory"), _("Ravenclaw Dormitory"), _("Training Grounds"), _("Tonks' Room"), _("Quidditch Pitch"), _("Infirmary"), _("Sex Dungeon"), _("Hospital Wing"), _("Forest"), _("Lake"), _("Greenhouse"), _("Mafkin's Store")])} # Door dictionary $ summon_dict = { - "Snape": {"ico": "snape", "flag": snape_unlocked, "busy": snape_busy, "loc": "randomsnape"}, - "Tonks": {"ico": "tonks", "flag": tonks_unlocked, "busy": tonks_busy, "loc": "randomtonks"}, - "Hermione": {"ico": "hermione", "flag": hermione_unlocked, "busy": hermione_busy, "loc": her_map_location}, - "Cho": {"ico": "cho", "flag": cho_unlocked, "busy": cho_busy, "loc": cho_map_location}, - "Luna": {"ico": "luna", "flag": luna_unlocked, "busy": luna_busy, "loc": lun_map_location}, - "Astoria": {"ico": "astoria", "flag": astoria_unlocked, "busy": astoria_busy, "loc": ast_map_location}, - "Susan": {"ico": "susan", "flag": susan_unlocked, "busy": susan_busy, "loc": sus_map_location} + _("Snape"): {"ico": "snape", "flag": snape_unlocked, "busy": snape_busy, "loc": "randomsnape"}, + _("Tonks"): {"ico": "tonks", "flag": tonks_unlocked, "busy": tonks_busy, "loc": "randomtonks"}, + _("Hermione"): {"ico": "hermione", "flag": hermione_unlocked, "busy": hermione_busy, "loc": her_map_location}, + _("Cho"): {"ico": "cho", "flag": cho_unlocked, "busy": cho_busy, "loc": cho_map_location}, + _("Luna"): {"ico": "luna", "flag": luna_unlocked, "busy": luna_busy, "loc": lun_map_location}, + _("Astoria"): {"ico": "astoria", "flag": astoria_unlocked, "busy": astoria_busy, "loc": ast_map_location}, + _("Susan"): {"ico": "susan", "flag": susan_unlocked, "busy": susan_busy, "loc": sus_map_location} } - $ summon_categories_sorted = ["Snape", "Tonks", "Hermione", "Cho", "Luna", "Astoria", "Susan"] #"Ginny", "Daphne", "Padma", "Patil", "Myrtle", "Mafkin" + $ summon_categories_sorted = [_("Snape"), _("Tonks"), _("Hermione"), _("Cho"), _("Luna"), _("Astoria"), _("Susan")] #"Ginny", "Daphne", "Padma", "Patil", "Myrtle", "Mafkin" $ summon_categories_sorted_length = len(summon_categories_sorted) $ current_sorting = summon_show_busy @@ -89,7 +104,7 @@ screen summon_menu(xx, yy): null frame: style "empty" - textbutton "Show Busy:": + textbutton _("Show Busy:"): style gui.theme("overlay_button") xsize 195 ysize 32 text_align (0.4, 0.5) @@ -136,7 +151,7 @@ screen summon_menu(xx, yy): text map_transcript_loc[summon_dict[char]["loc"]] size 10 xalign 0.625 yalign 0.9 xanchor 0.5 if not snape_unlocked: - text "You don't know anyone" size 12 at truecenter + text _("You don't know anyone") size 12 at truecenter else: if tmp_x <= 0: - text "All characters are busy" size 12 at truecenter + text _("All characters are busy") size 12 at truecenter diff --git a/game/scripts/interface/inventory.rpy b/game/scripts/interface/inventory.rpy index 916f294b..0a8dbc18 100644 --- a/game/scripts/interface/inventory.rpy +++ b/game/scripts/interface/inventory.rpy @@ -30,19 +30,19 @@ label inventory_menu(xx=150, yy=90): if inventory_mode == 0: $ inventory_dict = { - "Gifts": inventory.get_instances_of_type("gift"), - "Books": inventory.get_instances_of_type("book"), - "Scrolls": inventory.get_instances_of_type("scroll"), - "Ingredients": inventory.get_instances_of_type("ingredient"), - "Potions": inventory.get_instances_of_type("potion"), - "Decorations": inventory.get_instances_of_type("decoration"), - "Quest Items": inventory.get_instances_of_type("quest"), + _("Gifts"): inventory.get_instances_of_type("gift"), + _("Books"): inventory.get_instances_of_type("book"), + _("Scrolls"): inventory.get_instances_of_type("scroll"), + _("Ingredients"): inventory.get_instances_of_type("ingredient"), + _("Potions"): inventory.get_instances_of_type("potion"), + _("Decorations"): inventory.get_instances_of_type("decoration"), + _("Quest Items"): inventory.get_instances_of_type("quest"), } elif inventory_mode == 1: $ inventory_dict = { - "Gifts": inventory.get_instances_of_type("gift"), - "Potions": inventory.get_instances_of_type("potion"), - "Quest Items": inventory.get_instances_of_type("quest"), + _("Gifts"): inventory.get_instances_of_type("gift"), + _("Potions"): inventory.get_instances_of_type("potion"), + _("Quest Items"): inventory.get_instances_of_type("quest"), } $ items_shown = 36 @@ -265,10 +265,10 @@ screen inventory_menu(xx, yy): style_prefix gui.theme('achievements_filters') pos (6, 384) if current_filter == None: - textbutton "Show: All" action Return("filter") + textbutton _("Show: All") action Return("filter") else: - textbutton "Show: [current_filter]" action Return("filter") - textbutton "Sort by: [current_sorting]" action Return("sort") + textbutton _("Show: [current_filter]") action Return("filter") + textbutton _("Sort by: [current_sorting]") action Return("sort") screen inventory_menuitem(xx, yy): window: @@ -285,7 +285,7 @@ screen inventory_menuitem(xx, yy): #Western Egg button xsize 90 ysize 60 action Function(renpy.play, "sounds/plushie.ogg") xalign 0.5 style "empty" - text "Inventory" size 22 xalign 0.5 ypos 65 + text _("Inventory") size 22 xalign 0.5 ypos 65 #text "Unlocked: "+str(len(filter(lambda x: x[1][3] is True, menu_items)))+"/[menu_items_length]" size 12 pos (24, 70) @@ -358,7 +358,7 @@ screen inventory_menuitem(xx, yy): add "#b2000040" if menu_items_length <= 0: - text "Nothing here yet" align (0.5, 0.5) anchor (0.5, 0.5) size 24 + text _("Nothing here yet") align (0.5, 0.5) anchor (0.5, 0.5) size 24 if current_item: frame: diff --git a/game/scripts/interface/letter.rpy b/game/scripts/interface/letter.rpy index 305529df..490c549a 100644 --- a/game/scripts/interface/letter.rpy +++ b/game/scripts/interface/letter.rpy @@ -26,7 +26,7 @@ default letter_work_unlock = Letter( label letter_work_unlock: gen "Payments? *Hmm*..." ("base", xpos="far_left", ypos="head") - call give_reward(">From now on you can do paperwork at your desk in order to earn additional gold...","interface/icons/gold.webp") + call give_reward(_(">From now on you can do paperwork at your desk in order to earn additional gold..."),"interface/icons/gold.webp") call tutorial("workngold") return @@ -106,7 +106,7 @@ label letter_cards_unlock: i.copies = -1 gen "Hell yes I'm playing this..." ("grin", xpos="far_left", ypos="head") - call give_reward(">You've unlocked Wizard cards.\n\nUse the deck builder available on your desk to learn the rules and edit your deck.","interface/icons/cards.webp") + call give_reward(_(">You've unlocked Wizard cards.\n\nUse the deck builder available on your desk to learn the rules and edit your deck."),"interface/icons/cards.webp") return default letter_cards_store = Letter( @@ -120,7 +120,7 @@ label letter_cards_store: $ lootbox_ITEM.unlocked = True gen "Great, let's see how they're doing." ("base", xpos="far_left", ypos="head") - call give_reward(">New items have been unlocked in the store.", "interface/icons/gold.webp") + call give_reward(_(">New items have been unlocked in the store."), "interface/icons/gold.webp") return diff --git a/game/scripts/interface/parcel.rpy b/game/scripts/interface/parcel.rpy index b857b92a..5421e20d 100644 --- a/game/scripts/interface/parcel.rpy +++ b/game/scripts/interface/parcel.rpy @@ -56,13 +56,13 @@ init python: icon = item.get_image() if quantity == 1: - text = "You have received one {}.".format(item.name) + text = _("You have received one {}.".format(item.name)) else: - text = "You have received {} pieces of {}.".format(num_to_word(quantity), item.name) + text = _("You have received {} pieces of {}.".format(num_to_word(quantity), item.name)) else: items = ", ".join( [" ".join( [str(x[1]), x[0].name] ) for x in self.contents] ) icon = "interface/icons/box_brown_"+str(random.randint(1, 4))+".webp" - text = "You have received your ordered items:\n{size=-4}"+items+"{/size}" + text = _("You have received your ordered items:\n{size=-4}"+items+"{/size}") return (text, icon) diff --git a/game/scripts/minigames/cardgame/_hermione_card_game_.rpy b/game/scripts/minigames/cardgame/_hermione_card_game_.rpy index fd40b846..6466c3a8 100644 --- a/game/scripts/minigames/cardgame/_hermione_card_game_.rpy +++ b/game/scripts/minigames/cardgame/_hermione_card_game_.rpy @@ -186,7 +186,7 @@ label hermione_third_duel: her "Fine..." ("angry", "narrow", "base", "mid_soft") 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") $ her_third_win = True $ tokens += 3 else: @@ -276,7 +276,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 "..." ("normal", "happy", "base", "R", cheeks="blush") her "Did you need anything else?" ("open", "base", "base", "mid_soft", cheeks="blush") - 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 for a blowjob instead-": jump hg_wager_bj diff --git a/game/scripts/minigames/cardgame/_snape_card_game_.rpy b/game/scripts/minigames/cardgame/_snape_card_game_.rpy index 235efde1..5a092d77 100644 --- a/game/scripts/minigames/cardgame/_snape_card_game_.rpy +++ b/game/scripts/minigames/cardgame/_snape_card_game_.rpy @@ -295,7 +295,7 @@ label snape_third_duel: sna "(You were a good card my boy. But it's time to grow up.)" ("snape_05") $ snape_third_win = True $ unlocked_cards += [card_snape] - call give_reward("You have received a special card!", "images/cardgame/t1/special/snape_v1.webp") + call give_reward(_("You have received a special card!"), "images/cardgame/t1/special/snape_v1.webp") $ tokens += 3 else: $ tokens += 1 @@ -344,7 +344,7 @@ label snape_random_duel: sna "Ah, yes... something from my collection." ("snape_05") $ item.owned += 1 - call give_reward("You've received [item.name] from Snape!", item) + call give_reward(_("You've received [item.name] from Snape!"), item) gen "What the fuck is this?" ("angry", xpos="far_left", ypos="head") sna "As I said..." ("snape_01") @@ -406,7 +406,7 @@ label snape_random_duel: sna "Well played though." ("snape_04") $ item.owned += 1 - call give_reward("You've received [item.name] from Snape!", item) + call give_reward(_("You've received [item.name] from Snape!"), item) if not snape_office_intro_E2: gen "(I still don't have any use for it, but I won't turn down free shit.)" ("base", xpos="far_left", ypos="head") diff --git a/game/scripts/minigames/cardgame/_twins_card_game_.rpy b/game/scripts/minigames/cardgame/_twins_card_game_.rpy index c43f5b7c..e36786c5 100644 --- a/game/scripts/minigames/cardgame/_twins_card_game_.rpy +++ b/game/scripts/minigames/cardgame/_twins_card_game_.rpy @@ -84,7 +84,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])) $ twins_second_win = True $ tokens += 3 else: @@ -212,7 +212,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") $ twins_profit += 0.05 $ twins_random_win = False $ tokens += 3 diff --git a/game/scripts/minigames/mirror/events/a_christmas_tale.rpy b/game/scripts/minigames/mirror/events/a_christmas_tale.rpy index 65ea68ff..596e062c 100644 --- a/game/scripts/minigames/mirror/events/a_christmas_tale.rpy +++ b/game/scripts/minigames/mirror/events/a_christmas_tale.rpy @@ -1,6 +1,6 @@ label a_christmas_tale_rewards: if not card_exist(unlocked_cards, card_santa): - call give_reward("You have received a special card as a gift!", "images/cardgame/t1/special/santa_v1.webp") + call give_reward(_("You have received a special card as a gift!"), "images/cardgame/t1/special/santa_v1.webp") $ unlocked_cards += [card_santa] if not xmas_phoenix_ITEM.owned: @@ -11,7 +11,7 @@ label a_christmas_tale_rewards: $ xmas_wreaths_ITEM.owned = 1 $ xmas_giftchair_ITEM.owned = 1 - call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp") + call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp") return diff --git a/game/scripts/minigames/mirror/events/a_christmas_tale2.rpy b/game/scripts/minigames/mirror/events/a_christmas_tale2.rpy index fe78eee1..3926c4f4 100644 --- a/game/scripts/minigames/mirror/events/a_christmas_tale2.rpy +++ b/game/scripts/minigames/mirror/events/a_christmas_tale2.rpy @@ -18,7 +18,7 @@ label a_christmas_tale2_rewards: $ xmas_wreaths_ITEM.owned = 1 $ xmas_giftchair_ITEM.owned = 1 - call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp") + call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp") return diff --git a/game/scripts/minigames/mirror/events/a_white_christmas.rpy b/game/scripts/minigames/mirror/events/a_white_christmas.rpy index c03209ef..6ca1c09d 100644 --- a/game/scripts/minigames/mirror/events/a_white_christmas.rpy +++ b/game/scripts/minigames/mirror/events/a_white_christmas.rpy @@ -12,7 +12,7 @@ label a_white_christmas_rewards: $ xmas_wreaths_ITEM.owned = 1 $ xmas_giftchair_ITEM.owned = 1 - call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp") + call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp") return diff --git a/game/scripts/minigames/mirror/events/anal_pirate_event.rpy b/game/scripts/minigames/mirror/events/anal_pirate_event.rpy index 025e2ffc..8a52c978 100644 --- a/game/scripts/minigames/mirror/events/anal_pirate_event.rpy +++ b/game/scripts/minigames/mirror/events/anal_pirate_event.rpy @@ -1,7 +1,7 @@ label anal_pirate_rewards: if not card_exist(unlocked_cards, card_maslab): - call give_reward("Ye plundered a special card from 'er cavern.", "images/cardgame/t1/genie_realm/maslab_v1.webp") + call give_reward(_("Ye plundered a special card from 'er cavern."), "images/cardgame/t1/genie_realm/maslab_v1.webp") $ unlocked_cards += [card_maslab] return diff --git a/game/scripts/minigames/mirror/events/biggus_dickus.rpy b/game/scripts/minigames/mirror/events/biggus_dickus.rpy index b206be2f..7c879c4e 100644 --- a/game/scripts/minigames/mirror/events/biggus_dickus.rpy +++ b/game/scripts/minigames/mirror/events/biggus_dickus.rpy @@ -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") diff --git a/game/scripts/minigames/puzzle.rpy b/game/scripts/minigames/puzzle.rpy index 5f821924..6c6577f7 100644 --- a/game/scripts/minigames/puzzle.rpy +++ b/game/scripts/minigames/puzzle.rpy @@ -143,11 +143,11 @@ label puzzle_minigame: call book_end gen "(I've seen enough magic to know where this is going... I should investigate that corridor on the seventh floor.)" ("base", xpos="far_left", ypos="head") - call give_reward("You've unlocked something on the 7th floor, check your map to get there.","/images/rooms/room_of_requirement/mirror.webp") + call give_reward(_("You've unlocked something on the 7th floor, check your map to get there."),"/images/rooms/room_of_requirement/mirror.webp") if deck_unlocked: gen "What's this?" ("base", xpos="far_left", ypos="head") - call give_reward("You have found a card at the bottom of the box!", "images/cardgame/t1/other/elf_v1.webp") + call give_reward(_("You have found a card at the bottom of the box!"), "images/cardgame/t1/other/elf_v1.webp") $ unlocked_cards += [card_item_elf] $ unlocked_7th = True $ puzzle_box_ITEM.owned = 0 diff --git a/game/scripts/options.rpy b/game/scripts/options.rpy index 8e200000..41b576c0 100644 --- a/game/scripts/options.rpy +++ b/game/scripts/options.rpy @@ -54,6 +54,7 @@ define config.help = None define config.side_image_only_not_showing = True define config.allow_underfull_grids = True define config.crop_relative_default = False +define config.enable_language_autodetect = True # Graphics and cache settings define config.gl2 = True diff --git a/game/scripts/rooms/main_room/init.rpy b/game/scripts/rooms/main_room/init.rpy index c30e5160..87fd4467 100644 --- a/game/scripts/rooms/main_room/init.rpy +++ b/game/scripts/rooms/main_room/init.rpy @@ -1,19 +1,19 @@ 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 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 door_OBJ = RoomObject(main_room, "door", pos=(898, 315), idle="door_idle", focus_mask="door_hover", action=Jump("door"), tooltip="Summon") +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 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 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 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 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_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 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 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 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) diff --git a/game/scripts/rooms/main_room/objects/cupboard.rpy b/game/scripts/rooms/main_room/objects/cupboard.rpy index bb0fc4f4..50308490 100644 --- a/game/scripts/rooms/main_room/objects/cupboard.rpy +++ b/game/scripts/rooms/main_room/objects/cupboard.rpy @@ -46,14 +46,14 @@ label cupboard: # Dueling potion if game.day <= 3 and rum_times in [1,2]: $ 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 deck_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") @@ -62,7 +62,7 @@ label cupboard: # Map if not map_unlocked and hermione_favors: $ 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" @@ -82,7 +82,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": ">You found nothing of value..." @@ -91,11 +91,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") diff --git a/game/scripts/rooms/main_room/objects/fireplace.rpy b/game/scripts/rooms/main_room/objects/fireplace.rpy index 6884ae0a..8c40833e 100644 --- a/game/scripts/rooms/main_room/objects/fireplace.rpy +++ b/game/scripts/rooms/main_room/objects/fireplace.rpy @@ -26,7 +26,7 @@ label fireplace: gen "(A loose brick... If only I could--{nw}{w=1.0})" ("base", xpos="far_left", ypos="head") $ renpy.play('sounds/brick_scrape.ogg') gen "(A loose brick... If only I could--{fast} *Hhng*... There we go.)" ("base", xpos="far_left", ypos="head") - call give_reward("A puzzle box has been added to your inventory!", "interface/icons/puzzle_box.webp") + call give_reward(_("A puzzle box has been added to your inventory!"), "interface/icons/puzzle_box.webp") $ puzzle_box_ITEM.owned = 1 diff --git a/game/scripts/rooms/room_of_requirement/init.rpy b/game/scripts/rooms/room_of_requirement/init.rpy index a2a01b4d..a7a7499d 100644 --- a/game/scripts/rooms/room_of_requirement/init.rpy +++ b/game/scripts/rooms/room_of_requirement/init.rpy @@ -153,7 +153,7 @@ label room_of_requirement: hide snape_main hide screen bld1 - call give_reward("You've unlocked the room of requirement","images/rooms/room_of_requirement/mirror_hover.webp") + call give_reward(_("You've unlocked the room of requirement"),"images/rooms/room_of_requirement/mirror_hover.webp") $ achievements.unlock("mirror") call sna_chibi("hide") call gen_chibi("hide") diff --git a/game/scripts/rooms/snape_office/objects/desk.rpy b/game/scripts/rooms/snape_office/objects/desk.rpy index ae555eb8..54f0856f 100644 --- a/game/scripts/rooms/snape_office/objects/desk.rpy +++ b/game/scripts/rooms/snape_office/objects/desk.rpy @@ -32,7 +32,7 @@ label snape_at_desk: call gen_chibi("stand", xpos="door", ypos="base") with d5 - call give_reward(">You have acquired experimental potion recipes!", experimental_recipes_ITEM) + call give_reward(_(">You have acquired experimental potion recipes!"), experimental_recipes_ITEM) jump quests elif not snape_office_intro_E1: diff --git a/game/scripts/shops/item/room.rpy b/game/scripts/shops/item/room.rpy index af9ce03f..2c1a5c3e 100644 --- a/game/scripts/shops/item/room.rpy +++ b/game/scripts/shops/item/room.rpy @@ -56,7 +56,7 @@ label item_store: $ shop_profit = renpy.random.randint(50+her_help, 300) ger "Here, your weekly cut." - call give_reward("You've received "+str(int(shop_profit*twins_profit))+" gold.", "interface/icons/gold.webp") + call give_reward(_("You've received "+str(int(shop_profit*twins_profit))+" gold."), "interface/icons/gold.webp") $ game.gold += int(shop_profit*twins_profit) ger "..." diff --git a/game/scripts/utility/translation.rpy b/game/scripts/utility/translation.rpy index e2eba6f8..e4f68e41 100644 --- a/game/scripts/utility/translation.rpy +++ b/game/scripts/utility/translation.rpy @@ -191,7 +191,7 @@ init python in cli: if fn == "common.rpy": continue - if fp in tl_file_cache: + if filepath in tl_file_cache: f = tl_file_cache.pop(tl_file_cache) f.close() diff --git a/game/tl/chinese/NotoSansSC-Black.otf b/game/tl/chinese/NotoSansSC-Black.otf new file mode 100644 index 00000000..7529643c Binary files /dev/null and b/game/tl/chinese/NotoSansSC-Black.otf differ diff --git a/game/tl/chinese/NotoSansSC-Bold.otf b/game/tl/chinese/NotoSansSC-Bold.otf new file mode 100644 index 00000000..172eb674 Binary files /dev/null and b/game/tl/chinese/NotoSansSC-Bold.otf differ diff --git a/game/tl/chinese/init.rpy b/game/tl/chinese/init.rpy new file mode 100644 index 00000000..fe8ff0db --- /dev/null +++ b/game/tl/chinese/init.rpy @@ -0,0 +1,6 @@ +translate chinese style default: + font "tl/chinese/NotoSansSC-Bold.otf" + +translate chinese python: + gui.text_font = "tl/chinese/NotoSansSC-Bold.otf" + gui.bold_font = "tl/chinese/NotoSansSC-Black.otf"