]> git.mxchange.org Git - addressbook-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:46:04 +0000 (21:46 +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 91cd4de0af83ea2e126ce20915c1bb1b6c04b1f0..4b40140e4dd195588e3892d7cc5a3bad82b9da40 100644 (file)
@@ -880,6 +880,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 12700dff00a90f1920a7aaf813a05af5d8cba3a7..9ab2cf4087a6b032b1e836b4537badbaa5df41b6 100644 (file)
@@ -861,3 +861,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>