Tutorial: Female variants of most student messages and some generic

This is because, in some languages, the first-person pronoun depends on the speaker of the gender.
Thus, in any case where the gender of the speaker can vary, two versions of the message need to be supplied.
This commit is contained in:
Celtic Minstrel 2016-03-20 00:39:24 -04:00
parent ad01dfc6bf
commit 9d3ea7ad94
2 changed files with 72 additions and 2 deletions

View File

@ -234,6 +234,7 @@
[message]
speaker=student
message= _ "Good morning, Delfador! Is it time to attack things?"
female_message= _ "female^Good morning, Delfador! Is it time to attack things?"
[/message]
[message]
@ -244,6 +245,7 @@
[message]
speaker=student
message= _ "Have you found an orc for me to fight, huh? A troll?"
female_message= _ "female^Have you found an orc for me to fight, huh? A troll?"
[/message]
[message]
@ -301,6 +303,7 @@
[message]
speaker=student
message= _ "A quintain? You want me to fight a dummy?"
female_message= _ "female^A quintain? You want me to fight a dummy?"
[/message]
{GENDER (
@ -354,6 +357,7 @@
[message]
speaker=student
message= _ "Should I retreat?"
female_message= _ "female^Should I retreat?"
[/message]
[message]
@ -421,6 +425,7 @@
[message]
speaker=student
message= _ "Ouch! I need to heal! Only $student_hp hitpoints left!"
female_message= _ "female^Ouch! I need to heal! Only $student_hp hitpoints left!"
[/message]
[message]
@ -477,6 +482,7 @@
[message]
speaker=student
message= _ "Ill recruit some elves!"
female_message= _ "female^Ill recruit some elves!"
[/message]
[message]
@ -566,6 +572,7 @@
[message]
speaker=student
message= _ "Hey, the quintain just healed 2 hitpoints! Id better attack it at once!"
female_message= _ "female^Hey, the quintain just healed 2 hitpoints! Id better attack it at once!"
[/message]
[message]
@ -581,6 +588,7 @@
[message]
speaker=student
message= _ "Ill tell them to use the one that does the most damage!"
female_message= _ "female^Ill tell them to use the one that does the most damage!"
[/message]
[message]
@ -761,6 +769,7 @@
[message]
speaker=unit
message= _ "Agh! This training is too much for me..."
female_message= _ "female^Agh! This training is too much for me..."
[/message]
[/event]
@ -907,10 +916,48 @@
image=wesnoth-icon.png
message= _ "Do you want to keep practicing? You can end this scenario at any time by using the <b>End Scenario</b> item in the context menu to move on to the next phase of your training."
[option]
message= _ "Yes, Im still figuring it out."
[show_if]
[have_unit]
id=student
gender=male
[/have_unit]
[/show_if]
label= _ "Yes, Im still figuring it out."
[/option]
[option]
message= _ "No, I think Ive got it."
[show_if]
[have_unit]
id=student
gender=female
[/have_unit]
[/show_if]
label= _ "female^Yes, Im still figuring it out."
[/option]
[option]
[show_if]
[have_unit]
id=student
gender=male
[/have_unit]
[/show_if]
label= _ "No, I think Ive got it."
[command]
[endlevel]
result=victory
carryover_report=no
carryover_add=yes
carryover_percentage=0
[/endlevel]
[/command]
[/option]
[option]
[show_if]
[have_unit]
id=student
gender=female
[/have_unit]
[/show_if]
label= _ "female^No, I think Ive got it."
[command]
[endlevel]
result=victory
@ -930,6 +977,7 @@
[message]
speaker=student
message= _ "Well, I think I know the basics. Onwards! Maybe I can fight in a real battle next?"
female_message= _ "female^Well, I think I know the basics. Onwards! Maybe I can fight in a real battle next?"
[/message]
[endlevel]

View File

@ -95,6 +95,10 @@
{VARIABLE low_hp_unit_message[1].value ( _ "One lucky attack by an Orcish Grunt, and Im done for!")}
{VARIABLE low_hp_unit_message[2].value ( _ "Ouch! I could make use of some healing in a village.")}
{VARIABLE low_hp_unit_message[3].value ( _ "I had better retreat, before I get caught out with such low health!")}
{VARIABLE low_hp_unit_message_female[0].value ( _ "female^I hope I have a chance to retreat after this!")}
{VARIABLE low_hp_unit_message_female[1].value ( _ "female^One lucky attack by an Orcish Grunt, and Im done for!")}
{VARIABLE low_hp_unit_message_female[2].value ( _ "female^Ouch! I could make use of some healing in a village.")}
{VARIABLE low_hp_unit_message_female[3].value ( _ "female^I had better retreat, before I get caught out with such low health!")}
[objectives]
side=1
@ -142,6 +146,7 @@
[message]
speaker=student
message= _ "Ho, Galdrad! Has Delfador conjured something else to beat me with? A flock of scarecrows, perhaps?"
female_message= _ "female^Ho, Galdrad! Has Delfador conjured something else to beat me with? A flock of scarecrows, perhaps?"
[/message]
{GENDER (
@ -159,6 +164,7 @@
[message]
speaker=student
message= _ "What should I do?"
female_message= _ "female^What should I do?"
[/message]
{TALK_ABOUT Dumbo ( _ "First, we will have to deal with the Orcish Grunt stationed in the middle of the river. He should be little trouble.")}
@ -172,6 +178,8 @@
[message]
speaker=student
message= _ "Lets go! Attack!"
# po: The "us" in "let's" refers to Galdrad and Li'sar.
female_message= _ "female^Lets go! Attack!"
[/message]
[message]
@ -356,6 +364,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=student
message= _ "Galdrad, if I go by the ford, I could sneak up near his keep and dispatch him quickly."
female_message= _ "female^Galdrad, if I go by the ford, I could sneak up near his keep and dispatch him quickly."
[/message]
[message]
@ -371,6 +380,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=student
message= _ "Alright. The bridge it is, then, but Ill be careful about the crossing."
female_message= _ "female^Alright. The bridge it is, then, but Ill be careful about the crossing."
[/message]
{TALK_ABOUT Dumbo ( _ "That Orcish Grunt is still blocking our path. He has no ranged attacks, so your archers should be able to engage him with little risk. Unfortunately, your units cannot reach him this turn, but you should not let them languish! Move them into position so they can attack next turn. There are also other villages on this side of the river. You should secure them for income and healing.")}
@ -385,6 +395,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=student
message= _ "I think Ill stick around the keep for now, in order to recruit more units."
female_message= _ "female^I think Ill stick around the keep for now, in order to recruit more units."
[/message]
{GENDER (
@ -416,6 +427,8 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=student
message= _ "Cant we just move around the orcs?"
# po: "we" refers to Li'sar, Galdrad, and the mixed-gender troops
female_message= _ "female^Cant we just move around the orcs?"
[/message]
# All around Dumbo
@ -468,6 +481,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=second_unit
message= _ "One fewer orc to deal with, and our way across the bridge is clear! I also gained experience from striking the killing blow!"
female_message= _ "female^One fewer orc to deal with, and our way across the bridge is clear! I also gained experience from striking the killing blow!"
[/message]
[/event]
@ -654,6 +668,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=student
message= _ "I have enough gold to recruit more units!"
female_message= _ "female^I have enough gold to recruit more units!"
[/message]
[message]
@ -701,6 +716,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
message="$low_hp_unit_message[$lhpu_msg_i].value"
female_message="$low_hp_unit_message_female[$lhpu_msg_i].value"
[/message]
{VARIABLE_OP lhpu_msg_i add 1}
@ -752,6 +768,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
# po: The speaker is female
message= _ "Using me to attack is risky! I can slow the opponent with my ranged attack, but I hope you have a plan if I miss!"
[/message]
[/event]
@ -893,6 +910,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
# po: The speaker is female
message= _ "Advancing a level has fully healed me! I am able to heal units 8 hitpoints per turn, instead of just 4, and may also cure them of poison if they cannot reach a village! I also have gained a new <i>magical</i> attack, meaning it always has a 70% chance to hit, but it is not as powerful as the similar attack wielded by the Elvish Sorceress."
[/message]
[/event]
@ -906,6 +924,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
# po: The speaker is female
message= _ "Advancing a level has fully healed me! I cannot heal adjacent units anymore, but to compensate, I have a new, powerful faerie fire attack that deals 7 damage each for 4 strikes. It also has the <i>magical</i> weapon special, meaning it always has a 70% chance to hit."
[/message]
[/event]
@ -921,6 +940,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
message= _ "Advancing a level has fully healed me! I always have a 60% chance of hitting with my <i>Marksman</i> ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
female_message= _ "female^Advancing a level has fully healed me! I always have a 60% chance of hitting with my <i>Marksman</i> ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
[/message]
[/event]
@ -934,6 +954,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
message= _ "Advancing a level has fully healed me! I am good with both bow and sword, and I have a special ability: <i>Ambush</i>. I can hide in forests where enemies can only see me if they are right next to me."
female_message= _ "female^Advancing a level has fully healed me! I am good with both bow and sword, and I have a special ability: <i>Ambush</i>. I can hide in forests where enemies can only see me if they are right next to me."
[/message]
[/event]
@ -986,6 +1007,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
[message]
speaker=unit
message= _ "That... was foolish. Next time I should be more careful."
female_message= _ "female^That... was foolish. Next time I should be more careful."
[/message]
[/event]