From 19c01cd2b74ad5976669164b972ab925976f9598 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Apr 2017 21:58:46 +0200 Subject: [PATCH] Please cherry-pick: - passwords for account creation are now optional as random passwords can be generated - added required-message for email-address and user name to not have such "strange" messages for the user MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../org/mxchange/localization/bundle_de_DE.properties | 2 ++ .../org/mxchange/localization/bundle_en_US.properties | 1 + .../templates/guest/user/guest_registration_form.tpl | 10 +++++----- .../guest/user/register/guest_form_register_page1.tpl | 2 +- .../guest/user/register/guest_form_register_single.tpl | 6 +++--- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 48f350f3..772af2af 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -777,3 +777,5 @@ USER_ENTER_NEW_PASSWORD_REPEAT=Wiederholen: BUTTON_USER_CHANGE_PASSWORD=Passwort \u00e4ndern ADMIN_LINK_SHOW_CONTACT_DATA=Kontaktdaten anzeigen ERROR_USER_PASSWORD_TO_WEAK=Das eingegebene Passwort ist zu schwach. Bitte geben Sie Bustaben, Zahlen und Sonderzeichen ein, um ein sicheres Passwort zu erstellen. +#@TODO Please fix German umlauts! +GUEST_REGISTRATION_USER_NAME_NOT_ENTERED=Bitte geben Sie einen Benutzernamen ein. Dieser wird auf Verfuegbarkeit hin getestet. diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 99e8ca5f..5695abbc 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -777,3 +777,4 @@ USER_ENTER_NEW_PASSWORD_REPEAT=Repeat: BUTTON_USER_CHANGE_PASSWORD=Change password ADMIN_LINK_SHOW_CONTACT_DATA=Show contact data ERROR_USER_PASSWORD_TO_WEAK=Your entered password is to weak. Please enter letters, numbers and special characters to create a secure password. +GUEST_REGISTRATION_USER_NAME_NOT_ENTERED=Please enter a user name. The entered name is being checked for availability. diff --git a/web/WEB-INF/templates/guest/user/guest_registration_form.tpl b/web/WEB-INF/templates/guest/user/guest_registration_form.tpl index 7ff19cc0..7c46749d 100644 --- a/web/WEB-INF/templates/guest/user/guest_registration_form.tpl +++ b/web/WEB-INF/templates/guest/user/guest_registration_form.tpl @@ -23,7 +23,7 @@
- +
@@ -39,7 +39,7 @@
- +
@@ -55,7 +55,7 @@
- +
@@ -73,7 +73,7 @@
- +
@@ -85,7 +85,7 @@
- +
diff --git a/web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl b/web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl index 48fa8bcb..aba8452c 100644 --- a/web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl +++ b/web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl @@ -24,7 +24,7 @@
- +
diff --git a/web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl b/web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl index 8771db23..9a1dd99a 100644 --- a/web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl +++ b/web/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl @@ -26,7 +26,7 @@
- +
@@ -48,7 +48,7 @@
- +
@@ -64,7 +64,7 @@
- +
-- 2.39.5