]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2017 19:11:05 +0000 (21:11 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2017 19:11:05 +0000 (21:11 +0200)
- fixed id, should be form-specific
- added more missing i18n strings
- legal status can be now optional for supporting single-person
  companies (how do you call this in English?)

src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/admin/contact_business/admin_form_contact_business_data.tpl
web/admin/contact_business/admin_contact_business_list.xhtml

index 056d5a38519c7f8b5c97e44ecaca83b5644cb756..511da64410c0469ab4a765d3f393936ed7a042dc 100644 (file)
@@ -850,6 +850,16 @@ ADMIN_BUSINESS_DATA_PHONE_NUMBER=Haupttelefonnummer:
 ADMIN_BUSINESS_DATA_FAX_NUMBER=Hauptfaxnummer:
 #@TODO Please fix German umlauts!
 ADMIN_ADD_CONTACT_BUSINESS_TITLE=Neuen geschaeftlichen Kontakt hinzufuegen
-ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Bitte mindestens Firmennamen mit Rechtsstand ein.
+ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Bitte mindestens Firmennamen mit Rechtsform ein.
 #@TODO Please fix German umlauts!
 ENTERED_EMAIL_ADDRESS_IS_INVALID=Die eingegebene Email-Addresse entspricht nicht dem gueltigen Format.
+#@TODO Please fix German umlauts!
+ADMIN_CONTACT_BUSINESS_DATA_LEGEND=Basisdaten fuer geschaeftlichen Kontakt:
+#@TODO Please fix German umlauts!
+ADMIN_CONTACT_BUSINESS_DATA_LEGEND_TITLE=Geben Sie die Basisdaten fuer einen geschaeftlichen Kontakt ein.
+ADMIN_BUSINESS_DATA_COMPANY_NAME=Firmenname:
+ADMIN_BUSINESS_DATA_COMPANY_NAME_REQUIRED=Bitte geben Sie den Firmennamen ohne Rechtsform ein.
+ADMIN_BUSINESS_DATA_COMPANY_LEGAL_STATUS=Rechtsform (z.B. GmbH):
+ADMIN_BUSINESS_DATA_COMPANY_EMAIL_ADDRESS=Haupt-Email-Adresse:
+#@TODO Please fix German umlauts!
+BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON=Basisdaten hinzufuegen
index beb16f4290a12fd77801a3baacddf08b8f3fbced..96f2fdb17b25491950e6edff54941987cf645a58 100644 (file)
@@ -821,3 +821,11 @@ ADMIN_BUSINESS_DATA_FAX_NUMBER=Main fax number:
 ADMIN_ADD_CONTACT_BUSINESS_TITLE=Add new business contact
 ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Please enter at least company name and legal status.
 ENTERED_EMAIL_ADDRESS_IS_INVALID=Your entered email address is not valid.
+ADMIN_CONTACT_BUSINESS_DATA_LEGEND=Basic data for business contact:
+#Geben Sie die Basisdaten fuer einen geschaeftlichen Kontakt ein.
+ADMIN_CONTACT_BUSINESS_DATA_LEGEND_TITLE=Enter basic data for a business contact.
+ADMIN_BUSINESS_DATA_COMPANY_NAME=Company name:
+ADMIN_BUSINESS_DATA_COMPANY_NAME_REQUIRED=Please enter the company's name without legal status.
+ADMIN_BUSINESS_DATA_COMPANY_LEGAL_STATUS=Legal status (e.g. Inc.):
+ADMIN_BUSINESS_DATA_COMPANY_EMAIL_ADDRESS=Main email address:
+BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON=Add basic data
index 869370278c7479ae2c85d1da1ea81be1c25dbab6..f4111648b0cf98a6fc41ee96b0e55fb3fb067b58 100644 (file)
@@ -33,7 +33,7 @@
                                </div>
 
                                <div class="table_right_medium">
-                                       <h:inputText styleClass="input" id="companyLegalStatus" size="5" maxlength="10" required="true" requiredMessage="#{msg.ADMIN_BUSINESS_DATA_COMPANY_LEGAL_STATUS_REQUIRED}" value="#{adminBusinessDataController.companyLegalStatus}" />
+                                       <h:inputText styleClass="input" id="companyLegalStatus" size="5" maxlength="10" value="#{adminBusinessDataController.companyLegalStatus}" />
                                </div>
 
                                <div class="clear"></div>
@@ -76,7 +76,7 @@
 
                        <h:panelGroup styleClass="table_row" layout="block">
                                <div class="table_left_medium">
-                                       <h:outputLabel value="#{msg.ADMIN_BUSINESS_DATA_PHONE_NUMBER}" />
+                                       <h:outputLabel for="landLineCountryCode" value="#{msg.ADMIN_BUSINESS_DATA_PHONE_NUMBER}" />
                                </div>
 
                                <div class="table_right_medium">
index 8bfc600b4fe8637703eb5375d5475cf6cfbb4f6b..7619af6018ffbf90810ee80097051a34bd656712 100644 (file)
@@ -88,7 +88,7 @@
 
                                        <div class="table_footer">
                                                <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                               <h:commandButton styleClass="submit" type="submit" id="add_contact" value="#{msg.BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON}" action="#{adminBusinessDataController.addBusinessBasicData()}" />
+                                               <h:commandButton styleClass="submit" type="submit" id="add_business_basic_data" value="#{msg.BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON}" action="#{adminBusinessDataController.addBusinessBasicData()}" />
                                        </div>
                                </h:panelGroup>
                        </h:form>