diff --git a/src/elogd.c b/src/elogd.c index b6ffcc8c..9e63a37c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -11533,8 +11533,8 @@ int save_user_config(LOGBOOK * lbs, char *user, BOOL new_user, BOOL activate) url_encode(enc_pwd, sizeof(enc_pwd)); if (isparam("new_user_name")) sprintf(mail_text + strlen(mail_text), - "?cmd=Activate&new_user_name=%s&new_full_name=%s", getparam("new_user_name"), - str); + "?cmd=%s&new_user_name=%s&new_full_name=%s", loc("Activate"), + getparam("new_user_name"), str); if (isparam("new_user_email")) sprintf(mail_text + strlen(mail_text), "&new_user_email=%s", getparam("new_user_email")); @@ -11678,7 +11678,7 @@ void show_config_page(LOGBOOK * lbs) show_standard_title(logbook, "", 0); /*---- activation notice ----*/ - if (isparam("cmd") && strieq(getparam("cmd"), "Activate")) { + if (isparam("cmd") && strieq(getparam("cmd"), loc("Activate"))) { rsprintf("
| \n"); - rsprintf(loc - ("Your request has been forwarded to the administrator. You will be notified by email upon activation of your new account.")); + rsprintf("%s.", loc("Your request has been forwarded to the administrator")); + rsprintf("%s.", loc("You will be notified by email upon activation of your new account")); rsprintf(" |