remove ERESSEA keyword from "bad password" message.

This commit is contained in:
Enno Rehling 2017-01-22 12:43:48 +01:00
parent 1c7f3fab44
commit 2c6ae9baef
2 changed files with 3 additions and 5 deletions

View File

@ -3306,11 +3306,10 @@
</message> </message>
<message name="wrongpasswd" section="events"> <message name="wrongpasswd" section="events">
<type> <type>
<arg name="faction" type="int"/>
<arg name="password" type="string"/> <arg name="password" type="string"/>
</type> </type>
<text locale="de">"ERESSEA $int36($faction) \"${password}\" - Deine Befehle hatten ein falsches Passwort."</text> <text locale="de">"Deine Befehle hatten ein falsches Passwort (${password})."</text>
<text locale="en">"ERESSEA $int36($faction) \"${password}\" - Your orders had the wrong password."</text> <text locale="en">"Your orders had the wrong password (${password})."</text>
</message> </message>
<message name="changepasswd" section="events"> <message name="changepasswd" section="events">
<type> <type>

View File

@ -235,8 +235,7 @@ static faction *factionorders(void)
if (!checkpasswd(f, (const char *)pass)) { if (!checkpasswd(f, (const char *)pass)) {
log_debug("Invalid password for faction %s", itoa36(fid)); log_debug("Invalid password for faction %s", itoa36(fid));
ADDMSG(&f->msgs, msg_message("wrongpasswd", "faction password", ADDMSG(&f->msgs, msg_message("wrongpasswd", "password", pass));
f->no, pass));
return 0; return 0;
} }
/* Die Partei hat sich zumindest gemeldet, so dass sie noch /* Die Partei hat sich zumindest gemeldet, so dass sie noch