From 2c6ae9baef473bd4f7e08ba00be3a3b16a595e16 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 22 Jan 2017 12:43:48 +0100 Subject: [PATCH] remove ERESSEA keyword from "bad password" message. --- res/core/messages.xml | 5 ++--- src/kernel/save.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/res/core/messages.xml b/res/core/messages.xml index 41569d9f3..130b58d03 100644 --- a/res/core/messages.xml +++ b/res/core/messages.xml @@ -3306,11 +3306,10 @@ - - "ERESSEA $int36($faction) \"${password}\" - Deine Befehle hatten ein falsches Passwort." - "ERESSEA $int36($faction) \"${password}\" - Your orders had the wrong password." + "Deine Befehle hatten ein falsches Passwort (${password})." + "Your orders had the wrong password (${password})." diff --git a/src/kernel/save.c b/src/kernel/save.c index 9825a5b55..5b5a5898f 100644 --- a/src/kernel/save.c +++ b/src/kernel/save.c @@ -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