forked from github/server
remove ERESSEA keyword from "bad password" message.
This commit is contained in:
parent
1c7f3fab44
commit
2c6ae9baef
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue