forked from github/server
Translating the familiar-description and moving some part to documentation.
This commit is contained in:
parent
81a89b8d47
commit
d57e6724d1
|
@ -2083,7 +2083,7 @@ report_plaintext(const char * filename, report_context * ctx)
|
||||||
}
|
}
|
||||||
if (!fval(r->terrain, SEA_REGION)) {
|
if (!fval(r->terrain, SEA_REGION)) {
|
||||||
if (sh->coast != NODIRECTION) {
|
if (sh->coast != NODIRECTION) {
|
||||||
scat(", ");
|
scat(LOC(f->locale, "list_and"));
|
||||||
scat(LOC(f->locale, coasts[sh->coast]));
|
scat(LOC(f->locale, coasts[sh->coast]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -584,8 +584,6 @@ sp_summon_familiar(castorder *co)
|
||||||
|
|
||||||
dh = 0;
|
dh = 0;
|
||||||
dh1 = 0;
|
dh1 = 0;
|
||||||
sprintf(buf, "%s ruft einen Vertrauten. %s können ",
|
|
||||||
unitname(mage), LOC(mage->faction->locale, rc_name(rc, 1)));
|
|
||||||
for (sk=0;sk<MAXSKILLS;sk++) {
|
for (sk=0;sk<MAXSKILLS;sk++) {
|
||||||
if (rc->bonus[sk] > -5) dh++;
|
if (rc->bonus[sk] > -5) dh++;
|
||||||
}
|
}
|
||||||
|
@ -596,7 +594,7 @@ sp_summon_familiar(castorder *co)
|
||||||
dh1 = 1;
|
dh1 = 1;
|
||||||
} else {
|
} else {
|
||||||
if (dh == 0) {
|
if (dh == 0) {
|
||||||
scat(" und ");
|
scat(LOC(mage->faction->locale, "list_and"));
|
||||||
} else {
|
} else {
|
||||||
scat(", ");
|
scat(", ");
|
||||||
}
|
}
|
||||||
|
@ -604,23 +602,8 @@ sp_summon_familiar(castorder *co)
|
||||||
scat(skillname(sk, mage->faction->locale));
|
scat(skillname(sk, mage->faction->locale));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scat(" lernen.");
|
ADDMSG(&mage->faction->msgs, msg_message("familiar_describe",
|
||||||
scat(" ");
|
"mage race skills", mage, rc, buf));
|
||||||
scat("Der Vertraute verleiht dem Magier einen Bonus auf jedes Talent ");
|
|
||||||
scat("(ausgenommen Magie), welches der Vertraute beherrscht.");
|
|
||||||
scat(" ");
|
|
||||||
scat("Das spezielle Band zu seinem Vertrauten ermöglicht dem Magier ");
|
|
||||||
scat("auch, Sprüche durch diesen zu wirken. So gezauberte Sprüche ");
|
|
||||||
scat("wirken auf die Region des Vertrauten und brauchen keine Fernzauber ");
|
|
||||||
scat("zu sein. Die maximale Entfernung dafür entspricht dem Talent des ");
|
|
||||||
scat("Magiers. Einen Spruch durch das Vertrautenband zu richten ist ");
|
|
||||||
scat("jedoch gewissen Einschränkungen unterworfen. Die Stufe des Zaubers ");
|
|
||||||
scat("kann nicht größer als das Magietalent des Vertrauten oder das halbe ");
|
|
||||||
scat("Talent des Magiers sein. Auch verdoppeln sich die Kosten für den ");
|
|
||||||
scat("Spruch. (Um einen Zauber durch den Vertrauten zu wirken, gibt ");
|
|
||||||
scat("man statt dem Magier dem Vertrauten den Befehl ZAUBERE.)");
|
|
||||||
|
|
||||||
addmessage(r, mage->faction, buf, MSG_MAGIC, ML_INFO);
|
|
||||||
return cast_level;
|
return cast_level;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -214,9 +214,7 @@ parse_symbol(opstack ** stack, const char* in, const void * userdata)
|
||||||
*cp = '\0';
|
*cp = '\0';
|
||||||
/* symbol will now contain the symbol name */
|
/* symbol will now contain the symbol name */
|
||||||
if (*in=='(') {
|
if (*in=='(') {
|
||||||
/* it's a function we need to parse
|
/* it's a function we need to parse, start by reading the parameters */
|
||||||
* start by reading the parameters
|
|
||||||
*/
|
|
||||||
function * foo;
|
function * foo;
|
||||||
while (*in != ')') {
|
while (*in != ')') {
|
||||||
in = parse(stack, ++in, userdata); /* will push the result on the stack */
|
in = parse(stack, ++in, userdata); /* will push the result on the stack */
|
||||||
|
|
|
@ -6837,4 +6837,9 @@
|
||||||
<text locale="de">bewacht die Region</text>
|
<text locale="de">bewacht die Region</text>
|
||||||
<text locale="en">guards the region</text>
|
<text locale="en">guards the region</text>
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
|
<string name="list_and">
|
||||||
|
<text locale="de"> und </text>
|
||||||
|
<text locale="en"> and </text>
|
||||||
|
</string>
|
||||||
</strings>
|
</strings>
|
||||||
|
|
|
@ -1704,6 +1704,15 @@
|
||||||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) kann nicht genug Energie aufbringen, um diesen Spruch durch $unit($unit) zu wirken."</text>
|
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) kann nicht genug Energie aufbringen, um diesen Spruch durch $unit($unit) zu wirken."</text>
|
||||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) cannot raise enough energy to channel the spell through $unit($unit)."</text>
|
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) cannot raise enough energy to channel the spell through $unit($unit)."</text>
|
||||||
</message>
|
</message>
|
||||||
|
<message name="familiar_describe" section="magic">
|
||||||
|
<type>
|
||||||
|
<arg name="mage" type="unit"/>
|
||||||
|
<arg name="skills" type="string"/>
|
||||||
|
<arg name="race" type="race"/>
|
||||||
|
</type>
|
||||||
|
<text locale="de">"$unit($mage) ruft einen Vertrauten. $race($race, 0) können $skills lernen."</text>
|
||||||
|
<text locale="en">"$unit($mage) summons a familiar. $race($race, 0) can learn $skills."</text>
|
||||||
|
</message>
|
||||||
<message name="spell_resist" section="magic">
|
<message name="spell_resist" section="magic">
|
||||||
<type>
|
<type>
|
||||||
<arg name="unit" type="unit"/>
|
<arg name="unit" type="unit"/>
|
||||||
|
|
Loading…
Reference in New Issue