Gendrified some parts of the tutorial...

...for internationalization purposes. (Patch by stikonas.)
This commit is contained in:
Guillaume Melquiond 2009-08-17 17:34:16 +00:00
parent 02c931ab63
commit f1eaea9bd9
2 changed files with 84 additions and 20 deletions

View file

@ -438,10 +438,19 @@ You moved to the wrong place! After this message, you can press 'u' to undo, the
{VARIABLE future_hp $student_hp}
{VARIABLE_OP future_hp add -15}
[message]
id=Delfador
message=_ "Unfortunately, you've used up your turn attacking the quintain. The quintain will now get a turn."
[/message]
#wmlindent: start ignoring
{GENDER (
[message]
id=Delfador
message=_ "Unfortunately, you've used up your turn attacking the quintain. The quintain will now get a turn."
[/message]
) (
[message]
id=Delfador
message=_ "female^Unfortunately, you've used up your turn attacking the quintain. The quintain will now get a turn."
[/message]
)}
#wmlindent: stop ignoring
[message]
id=student
message=_ "The DUMMY gets a turn?"
@ -477,11 +486,18 @@ Now, this quintain gets 5 chances to hit you for 3 damage each. If it hits every
message=_ "Ouch! I need to heal! Only $student_hp hitpoints left!"
[/message]
{LABEL (_"Village") {VILLAGE_LOC}}
[message]
id=Delfador
message=_ "There is a village on the other side of the river. Visiting villages is a good idea, and ending your turn in one will heal you. To the village!"
[/message]
#wmlindent: start ignoring
{GENDER (
[message]
id=Delfador
message=_ "There is a village on the other side of the river. Visiting villages is a good idea, and ending your turn in one will heal you. To the village!"
[/message]
) (
[message]
id=Delfador
message=_ "female^There is a village on the other side of the river. Visiting villages is a good idea, and ending your turn in one will heal you. To the village!"
[/message]
)}
{GENDER ({PRINT (_"Left click on Konrad")})
({PRINT (_"Left click on Li'sar")})}
#wmlindent: stop ignoring
@ -565,10 +581,19 @@ Now, this quintain gets 5 chances to hit you for 3 damage each. If it hits every
message=_ "I'll recruit some elves!"
[/message]
{LABEL (_"Keep") {KEEP_LOC}}
[message]
id=Delfador
message=_ "A splendid idea. You can recruit two units if you return to the keep. You have plenty of gold for that."
[/message]
#wmlindent: start ignoring
{GENDER (
[message]
id=Delfador
message=_ "A splendid idea. You can recruit two units if you return to the keep. You have plenty of gold for that."
[/message]
) (
[message]
id=Delfador
message=_ "female^A splendid idea. You can recruit two units if you return to the keep. You have plenty of gold for that."
[/message]
)}
#wmlindent: stop ignoring
{TARGET_HEX 9 6}
#wmlindent: start ignoring
{GENDER ({PRINT (_"Move Konrad to the keep")})

View file

@ -521,7 +521,18 @@ One Elvish Shaman")}
[then]
{VARIABLE_OP recall_name2 format $recall[$recall_i2].name}
# We have two worth recalling.
{TEACHER (_"During your tutorial, $recall_name1 gained $recall_xp1 experience points, and $recall_name2 gained $recall_xp2. You should recall them now so they can gain more experience, rather than recruiting new ones.")}
[if]
[variable]
name=recall_xp1
equals=$recall_xp2
[/variable]
[then]
{TEACHER (_"During your tutorial, both $recall_name1 and $recall_name2 gained $recall_xp1 experience points. You should recall them now so they can gain more experience, rather than recruiting new ones.")}
[/then]
[else]
{TEACHER (_"During your tutorial, $recall_name1 gained $recall_xp1 experience points, and $recall_name2 gained $recall_xp2. You should recall them now so they can gain more experience, rather than recruiting new ones.")}
[/else]
[/if]
[/then]
[else]
# We have one worth recalling.
@ -1334,7 +1345,18 @@ When 'n' no longer selects a new unit, you can end your turn.")}
greater_than=20
[/variable]
[then]
{TEACHER (_"We will miss $deadguy.name| because he had $deadguy.experience experience points, meaning he would have advanced to level 2 soon.")}
[if]
[variable]
name=deadguy.gender
equals=male
[/variable]
[then]
{TEACHER (_"We will miss $deadguy.name| because he had $deadguy.experience experience points, meaning he would have advanced to level 2 soon.")}
[/then]
[else]
{TEACHER (_"We will miss $deadguy.name| because she had $deadguy.experience experience points, meaning she would have advanced to level 2 soon.")}
[/else]
[/if]
[/then]
[else]
[if]
@ -1386,13 +1408,30 @@ When 'n' no longer selects a new unit, you can end your turn.")}
type=Elvish Marksman
[/filter]
# FIXME: Abilities.
[message]
speaker=unit
#wmllint: display on
message=_ "Advancing a level has fully healed me!
[if]
[variable]
name=unit.gender
equals=male
[/variable]
[then]
[message]
speaker=unit
#wmllint: display on
message=_ "Advancing a level has fully healed me!
I always have a 60% chance of hitting with my Marksman ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
#wmllint: display off
[/message]
#wmllint: display off
[/message]
[/then]
[else]
[message]
speaker=unit
#wmllint: display on
message=_ "female^Advancing a level has fully healed me!
I always have a 60% chance of hitting with my Marksman ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
#wmllint: display off
[/message]
[/else]
[/if]
[/event]
[event]
name=post_advance