From 6b8c75ac8240c427526f0db8503f493986545f02 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 22 Apr 2003 09:57:37 +0000 Subject: [PATCH] Fixed missing translation strings SVN revision: 502 --- eloglang.german | 6 ++++++ src/elogd.c | 12 +++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/eloglang.german b/eloglang.german index 15406231..6c31d780 100755 --- a/eloglang.german +++ b/eloglang.german @@ -263,3 +263,9 @@ Please log on by clicking on following link and change your password = Bitte dur A new password has been created for you on host %s = Ein neues Kennwort wurde auf dem Computer %s registriert Enter your user name or email address = Bitte Benutzername oder Email-Adresse eingeben Password recovery for ELOG %s = Kennwort-Wiederherstellung für ELOG %s + +# +# New string for V2.3.6 +Host = Computer +Your ELOG account has been activated = Ihr ELOG Konto wurde aktiviert +Activate = Aktivieren diff --git a/src/elogd.c b/src/elogd.c index 6fdd80b9..eced400c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.88 2003/04/22 09:57:23 midas + Fixed missing translation strings + Revision 1.87 2003/04/22 07:50:05 midas Fixed crashes with user registration and password file in [global] section @@ -6224,7 +6227,8 @@ int i, fh, size, self_register; if (activate) { sprintf(subject, loc("Your ELOG account has been activated")); - sprintf(mail_text, loc("Your ELOG account has been activated on host %s"), host_name); + sprintf(mail_text, loc("Your ELOG account has been activated on host")); + sprintf(mail_text+strlen(mail_text), " %s", host_name); sprintf(mail_text+strlen(mail_text), ".\r\n\r\n"); sprintf(url+strlen(url), "?cmd=Login&unm=%s", getparam("new_user_name")); sprintf(mail_text+strlen(mail_text), "%s %s\r\n", loc("You can access it at"), url); @@ -11000,11 +11004,9 @@ int i; char str[10000]; if (getcfg("global", "Page Title", str)) - { - show_html_header(NULL, FALSE, str); - } + show_html_header(NULL, TRUE, str); else - show_html_header(NULL, FALSE, "ELOG Logbook Selection"); + show_html_header(NULL, TRUE, "ELOG Logbook Selection"); rsprintf("\n\n");