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