remove ERESSEA keyword from "bad password" message.

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

View File

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

View File

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