]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 24 Mar 2018 21:58:23 +0000 (22:58 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 21 Jul 2019 06:01:46 +0000 (08:01 +0200)
- added more i18n strings
- used own validator:emailAddressValidator as this allows empty values to be
  ignored

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/generic_de_DE.properties
src/java/org/mxchange/localization/generic_en_US.properties
web/WEB-INF/templates/contact/form_contact_data.tpl
web/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl
web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl

index ebad34de14267854cc487afb58ccc32a8b33361e..c43b9d6ccdaebafefbae46af4992d8a26f6ae6f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016, 2017 Roland H\u00e4der
+# Copyright (C) 2016 - 2018 Free Software Foundation
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as
@@ -1148,3 +1148,20 @@ ADMIN_ADD_HEADQUARTER_OPENING_TIME_TITLE=Oeffnungszeit zur Hauptstelle hinzufueg
 BUTTON_ADMIN_ADD_HEADQUARTER_OPENING_TIME=Oeffnungszeit zur Hauptstelle hinzufuegen
 ADMIN_LINK_ASSIGN_EMPLOYEE_BRANCH_OFFICE_TITLE=Diesem Mitarbeiter eine Abteilung zuweisen.
 ADMIN_LINK_ASSIGN_EMPLOYEES_OWNER_USER_TITLE=Diesem Mitarbeiter einen besitzenden Benutzer zuweisen.
+PAYMENT_TYPE=Bezahlungsmethode:
+ADMIN_DATA_LAST_HOUSE_NUMBER=Letzte Hausnummer:
+NUMBER=Nummer:
+#@TODO Please fix German umlauts!
+ADMIN_EMPLOYEE_ALREADY_CREATED=Ein Mitarbeiter mit den selben Daten wurde bereits hinzugefuegt.
+#@TODO Please fix German umlauts!
+ADMIN_HEADQUARTER_ALREADY_CREATED=Eine Hauptstelle mit den selben Daten wurde bereits hinzugefuegt.
+ADMIN_CONTACT_DATA_FIRST_NAME_REQUIRED=Bitte geben Sie den Vornamen ein. Falls nicht bekannt, geben Sie X einfach ein.
+ADMIN_CONTACT_DATA_FAMILY_NAME_REQUIRED=Bitte geben Sie den Familiennamen ein. Falls nicht bekannt, geben Sie X einfach ein.
+ADMIN_HEADQUARTER_COMPANY_NAME=Firmenname der Hauptstelle:
+ADMIN_HEADQUARTER_COMPANY_NAME_REQUIRED=Bitte geben Sie den Firmennamen der Hauptstelle ein.
+#@TODO Please fix German umlauts!
+ADMIN_SELECT_CONTACT_COUNTRY_REQUIRED=Bitte waehlen Sie das Land fuer diesen Kontakt aus.
+COUNTRY_ITALIA=Italien
+ADMIN_PERSONAL_DATA_BIRTHDAY_TITLE=Bitte geben Sie das Geburtsdatum des Kontaktes ein.
+ADMIN_SELECT_USER_PROFILE_MODE=Profilmodus ausw\u00e4hlen:
+ADMIN_ASSIGN_BRANCH_OFFICE_OWNER=Filialbesitzer/-leiter
index 35e70381b50bd35364bae2f52fad7da8e9a6ebd7..7d578183d562378bde842afc576bf607d167d6df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016, 2017 Roland H\u00e4der
+# Copyright (C) 2016 - 2018 Free Software Foundation
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as
@@ -955,7 +955,7 @@ ADMIN_EMPTY_LIST_DEPARTMENTS=There are no departments in database. Or your searc
 ADMIN_LINK_SHOW_DEPARTMENT_TITLE=Shpws details of a department.
 ADMIN_LINK_EDIT_DEPARTMENT_TITLE=Edit of a department
 ADMIN_LINK_DELETE_DEPARTMENT_TITLE=Deletes a department.
-ADMIN_DEPARTMENT_ALREADY_CREATED=The department already exists in selected company.
+ADMIN_DEPARTMENT_ALREADY_CREATED=A department already exists in selected company.
 ADMIN_LIST_DEPARTMENTS_HEADER=List all departments
 ADMIN_HEADER_I18N_KEY=I18n key:
 ADMIN_ENTER_DEPARTMENT_I18N_KEY=I18n key for department:
@@ -1045,3 +1045,17 @@ ADMIN_ADD_HEADQUARTER_OPENING_TIME_TITLE=Add opening time to headquarter
 BUTTON_ADMIN_ADD_HEADQUARTER_OPENING_TIME=Add opening time to headquarter
 ADMIN_LINK_ASSIGN_EMPLOYEE_BRANCH_OFFICE_TITLE=Assign a branch office to this employee.
 ADMIN_LINK_ASSIGN_EMPLOYEES_OWNER_USER_TITLE=Assign an owning user to this employee.
+PAYMENT_TYPE=Payment type:
+ADMIN_DATA_LAST_HOUSE_NUMBER=Last house number:
+NUMBER=Number:
+ADMIN_EMPLOYEE_ALREADY_CREATED=An employee with same data has already been added.
+ADMIN_HEADQUARTER_ALREADY_CREATED=A headquarter with same data has already been added.
+ADMIN_CONTACT_DATA_FIRST_NAME_REQUIRED=Please enter first name. If unknown, just enter X.
+ADMIN_CONTACT_DATA_FAMILY_NAME_REQUIRED=Please enter family name. If unknown, just enter X.
+ADMIN_HEADQUARTER_COMPANY_NAME=Headquarter's company name:
+ADMIN_HEADQUARTER_COMPANY_NAME_REQUIRED=Please enter headquarter's company name.
+ADMIN_SELECT_CONTACT_COUNTRY_REQUIRED=Please select a country for this contact.
+COUNTRY_ITALIA=Italia
+ADMIN_PERSONAL_DATA_BIRTHDAY_TITLE=Please enter birthday of contact.
+ADMIN_SELECT_USER_PROFILE_MODE=Select profile mode:
+ADMIN_ASSIGN_BRANCH_OFFICE_OWNER=Branch office owner/leader
index 34dbce394763779c40d5602f17cf36f9b2b18a06..f0b6dced394dce4a8b190da4437b210d10791f49 100644 (file)
                                        <p:calendar
                                                id="birthday"
                                                value="#{contactController.birthday}"
+                                               pattern="#{msg.DATE_PATTERN}"
+                                               navigator="true"
                                                required="true"
                                                requiredMessage="#{msg.GUEST_CONTACT_DATA_BIRTHDAY_REQUIRED}"
                                                />
                </fieldset>
        </h:panelGroup>
 
-       <h:panelGroup styleClass="para" layout="block" rendered="#{userController.isPublicUserProfileEnabled()}">
+       <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('public_user_profile')}">
                <fieldset class="fieldset">
                        <legend title="#{msg.USER_PROFILE_LEGEND_TITLE}">
                                <h:outputText value="#{msg.USER_PROFILE_LEGEND}" />
index 15d237764ecbe2c52fdb40487555c00f3432a663..733c9191abae5371a0a9dc85eb457a3dba9854fe 100644 (file)
@@ -2,6 +2,7 @@
 <ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:validator="http://mxchange.org/jsf/core/validators"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:f="http://xmlns.jcp.org/jsf/core"
        xmlns:p="http://primefaces.org/ui">
@@ -13,7 +14,7 @@
 
                <div class="table-right-medium">
                        <p:inputText id="emailAddress" size="20" maxlength="255" value="#{contactController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}" validatorMessage="#{msg.ENTERED_EMAIL_ADDRESS_IS_INVALID}">
-                               <f:validator validatorId="EmailAddressValidator" />
+                               <validator:emailAddressValidator />
                        </p:inputText>
                </div>
        </h:panelGroup>
index 1ba2c6ea6ffb0b21946bd680244372faf716cdc4..071dca02cf51c3ec9a18f22a23a1a568dda18c05 100644 (file)
@@ -2,9 +2,9 @@
 <ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:validator="http://mxchange.org/jsf/core/validators"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:f="http://xmlns.jcp.org/jsf/core"
-
        xmlns:p="http://primefaces.org/ui">
 
        <h:panelGroup styleClass="table-row" layout="block">
@@ -14,7 +14,7 @@
 
                <div class="table-right">
                        <p:inputText class="input" id="emailAddress" size="20" maxlength="255" value="#{userEmailChangeController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}" validatorMessage="#{msg.ENTERED_EMAIL_ADDRESS_IS_INVALID}">
-                               <f:validator validatorId="EmailAddressValidator" />
+                               <validator:emailAddressValidator />
                        </p:inputText>
                </div>
        </h:panelGroup>