From ac80c6c7d45d88c093c1b7571616081415fd13d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 17 Jul 2017 16:37:31 +0200 Subject: [PATCH] Please cherry-pick: - internationalized "Administration" so it can be translated in many other languages - put ui:insert for "metadata" into f:view, still broken! - no need for "id-ing" h:body/head as they should occur once anyway - moved f:metadata back into ui:component, still broken and expection MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../mxchange/localization/bundle_de_DE.properties | 1 + .../mxchange/localization/bundle_en_US.properties | 1 + web/WEB-INF/templates/admin/admin_base.tpl | 8 ++++++-- web/WEB-INF/templates/base.tpl | 9 ++++----- web/admin/contact/admin_contact_delete.xhtml | 12 +++++++----- web/admin/contact/admin_contact_edit.xhtml | 12 +++++++----- web/admin/contact/admin_contact_show.xhtml | 12 +++++++----- .../contact/unlink/admin_contact_fax_unlink.xhtml | 12 +++++++----- .../unlink/admin_contact_landline_unlink.xhtml | 12 +++++++----- .../contact/unlink/admin_contact_mobile_unlink.xhtml | 12 +++++++----- web/admin/fax/admin_fax_delete.xhtml | 12 +++++++----- web/admin/fax/admin_fax_edit.xhtml | 12 +++++++----- web/admin/fax/admin_fax_show.xhtml | 12 +++++++----- web/admin/landline/admin_landline_delete.xhtml | 12 +++++++----- web/admin/landline/admin_landline_edit.xhtml | 12 +++++++----- web/admin/landline/admin_landline_show.xhtml | 10 ++++++---- web/admin/mobile/admin_contact_mobile_unlink.xhtml | 12 +++++++----- web/admin/mobile/admin_mobile_delete.xhtml | 12 +++++++----- web/admin/mobile/admin_mobile_edit.xhtml | 12 +++++++----- web/admin/mobile/admin_mobile_show.xhtml | 10 ++++++---- web/admin/user/admin_user_activity_log.xhtml | 12 +++++++----- web/admin/user/admin_user_delete.xhtml | 12 +++++++----- web/admin/user/admin_user_edit.xhtml | 12 +++++++----- web/admin/user/admin_user_lock.xhtml | 12 +++++++----- .../user/admin_user_resend_confirmation_link.xhtml | 12 +++++++----- web/admin/user/admin_user_show.xhtml | 12 +++++++----- web/admin/user/admin_user_unlock.xhtml | 12 +++++++----- web/guest/user/user_confirm_account.xhtml | 12 +++++++----- web/guest/user/user_profile.xhtml | 12 +++++++----- 29 files changed, 185 insertions(+), 130 deletions(-) diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index ba8070c6..ebc60506 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -807,3 +807,4 @@ GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED=Sie muessen selbst ein Passw GUEST_REGISTRATION_PASSWORD_NOT_ENTERED=Bitte geben Sie ein Passwort ein. Dies muss den Sicherheitsregeln entsprechen. #@TODO Please fix German umlauts! GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED=Bitte wiederholen Sie das eingegebene Passwort. Dies wird zur Bestaetigung benoetigt. +PAGE_TITLE_ADMIN_AREA=Administration diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 79cc129c..4fa078fd 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -802,3 +802,4 @@ GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED=If you left both password fields GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED=You have to enter an own password. Please enter it twice for confirmation. GUEST_REGISTRATION_PASSWORD_NOT_ENTERED=Please enter a password. This must match with security rules. GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED=Please repeat the entered password. This done to confirm the password. +PAGE_TITLE_ADMIN_AREA=Administration diff --git a/web/WEB-INF/templates/admin/admin_base.tpl b/web/WEB-INF/templates/admin/admin_base.tpl index 92dc3d0a..ed355aec 100644 --- a/web/WEB-INF/templates/admin/admin_base.tpl +++ b/web/WEB-INF/templates/admin/admin_base.tpl @@ -5,9 +5,13 @@ TODO: Add something here that should be displayed on all admin pages + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:h="http://xmlns.jcp.org/jsf/html"> - Administration - Default admin title + + - + Default admin title + diff --git a/web/WEB-INF/templates/base.tpl b/web/WEB-INF/templates/base.tpl index 05de07c6..a0f92b5c 100644 --- a/web/WEB-INF/templates/base.tpl +++ b/web/WEB-INF/templates/base.tpl @@ -5,11 +5,10 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - - - - + + + @@ -20,7 +19,7 @@ JJobs - <ui:insert name="title">Default title</ui:insert> - +