forked from github/server
Error message when password is wrong.
This commit is contained in:
parent
c95342a88b
commit
a8e543c3f3
|
@ -562,8 +562,8 @@ factionorders(void)
|
||||||
|
|
||||||
if (checkpasswd(f, pass, true) == false) {
|
if (checkpasswd(f, pass, true) == false) {
|
||||||
log_warning(("Invalid password for faction %s\n", fid));
|
log_warning(("Invalid password for faction %s\n", fid));
|
||||||
ADDMSG(&f->msgs, msg_message("msg_errors", "string",
|
ADDMSG(&f->msgs, msg_message("wrongpasswd", "faction password",
|
||||||
"Das Passwort wurde falsch eingegeben"));
|
f->no, pass));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* Die Partei hat sich zumindest gemeldet, so daß sie noch
|
/* Die Partei hat sich zumindest gemeldet, so daß sie noch
|
||||||
|
|
|
@ -512,9 +512,9 @@
|
||||||
<arg name="unit" type="unit"/>
|
<arg name="unit" type="unit"/>
|
||||||
<arg name="index" type="int"/>
|
<arg name="index" type="int"/>
|
||||||
</type>
|
</type>
|
||||||
<text locale="de">"$int36(${unit}.id($unit))/$int($index) erzielt einen kritischen Treffer."</text>
|
<text locale="de">"$int36($unit.id($unit))/$int($index) erzielt einen kritischen Treffer."</text>
|
||||||
<text locale="fr">"$int36(${unit}.id($unit))/$int($index) does critical damage."</text>
|
<text locale="fr">"$int36($unit.id($unit))/$int($index) does critical damage."</text>
|
||||||
<text locale="en">"$int36(${unit}.id($unit))/$int($index) does critical damage."</text>
|
<text locale="en">"$int36($unit.id($unit))/$int($index) does critical damage."</text>
|
||||||
</message>
|
</message>
|
||||||
<message name="teach_asgood" section="errors">
|
<message name="teach_asgood" section="errors">
|
||||||
<type>
|
<type>
|
||||||
|
@ -688,8 +688,7 @@
|
||||||
<arg name="ship" type="ship"/>
|
<arg name="ship" type="ship"/>
|
||||||
</type>
|
</type>
|
||||||
<text locale="de">"Die Mannschaft krank vom vergifteten Wasser, Planken, Ruder und Segel zerfressen von den Wassern des verfluchten Meeres, ergibt sich die $ship($ship) in ihr Schicksal und sinkt."</text>
|
<text locale="de">"Die Mannschaft krank vom vergifteten Wasser, Planken, Ruder und Segel zerfressen von den Wassern des verfluchten Meeres, ergibt sich die $ship($ship) in ihr Schicksal und sinkt."</text>
|
||||||
<text locale="fr">"The sailors sick due to the poisened ocean, planks, rudder und sails corroded by the waters of the cursed ocean, the $ship($ship) finally succumbs to her destiny and sinks."</text>
|
<text locale="en">"Her sailors sick from the poisened ocean, planks, rudder und sails corroded by the waters of the cursed ocean, the $ship($ship) finally succumbs to her destiny and sinks."</text>
|
||||||
<text locale="en">"The sailors sick due to the poisened ocean, planks, rudder und sails corroded by the waters of the cursed ocean, the $ship($ship) finally succumbs to her destiny and sinks."</text>
|
|
||||||
</message>
|
</message>
|
||||||
<message name="skillpotion_use" section="events">
|
<message name="skillpotion_use" section="events">
|
||||||
<type>
|
<type>
|
||||||
|
@ -2687,6 +2686,14 @@
|
||||||
<text locale="fr">"$unit($unit) ate $int($amount) peasants."</text>
|
<text locale="fr">"$unit($unit) ate $int($amount) peasants."</text>
|
||||||
<text locale="en">"$unit($unit) ate $int($amount) peasants."</text>
|
<text locale="en">"$unit($unit) ate $int($amount) peasants."</text>
|
||||||
</message>
|
</message>
|
||||||
|
<message name="wrongpasswd" section="events">
|
||||||
|
<type>
|
||||||
|
<arg name="faction" type="int"/>
|
||||||
|
<arg name="password" type="string"/>
|
||||||
|
</type>
|
||||||
|
<text locale="de">"ERESSEA $atoi36($faction) \"${password}\" - Deine Befehle hatten ein falsches Passwort."</text>
|
||||||
|
<text locale="en">"ERESSEA $atoi36($faction) \"${password}\" - Your orders had the wrong password."</text>
|
||||||
|
</message>
|
||||||
<message name="changepasswd" section="events">
|
<message name="changepasswd" section="events">
|
||||||
<type>
|
<type>
|
||||||
<arg name="value" type="string"/>
|
<arg name="value" type="string"/>
|
||||||
|
|
Loading…
Reference in New Issue