From bcf0ff836e5867fe1b9fcde56a7b28f56dddb30e 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 a526f560..d972721f 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -811,3 +811,4 @@ LOGIN_FINANCIAL_ENTER_RECEIPT_ISSUED_TITLE=Geben oder suchen Sie hier das genaue 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 b0f4860f..82e61db8 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -793,3 +793,4 @@ GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED=You have to enter an own pas LOGIN_FINANCIAL_ENTER_RECEIPT_ISSUED_TITLE=Please enter or select here the exact date when the receipt has been issue. Then an exact time-line can be generated. 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 cc84a604..cfa0128b 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 @@ JFinancials - <ui:insert name="title">Default title</ui:insert> - +