From 6e515702296f60fc13a9888ff92d784ca0d98235 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 bbbd77fd1..84914127a 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