]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Continued a bit:
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 12:16:00 +0000 (14:16 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 12:17:08 +0000 (14:17 +0200)
- more language strings localized
- renamed some language strings
- some fixes

src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/basket/full_basket.tpl
web/admin/admin_product.xhtml
web/basket.xhtml
web/index.xhtml

index 4f9e2a02d99d0ece1ea81ae9211efb5f5128653b..8033ab54563784d03c02be594734742d390d2cb1 100644 (file)
@@ -36,7 +36,7 @@ FOLLOWING_PRODUCTS_ARE_AVAILABLE=Folgende Produkte k\u00f6nnen bestellt werden:
 USER_ADD_ITEM_TO_BASKET=Hinzuf\u00fcgen
 LINK_TO_BASKET_TITLE=Weiter zum Warenkorb.
 LINK_CHANGE_IN_BASKET=Im Warenkorb \u00e4ndern
-SINGLE_ITEM_PRICE=Einzelpreis:
+SINGLE_PRODUCT_PRICE=Einzelpreis:
 CHANGE_ITEM_AMOUNT=Bestellmenge \u00e4ndern:
 TOTAL_ITEM_PRICE=Zwischensumme:
 TOTAL_ORDER_PRICE=Gesamtsumme:
@@ -229,3 +229,7 @@ PAGE_TITLE_ADMIN_ADD_USER=Neues Benutzeraccount hinzufuegen
 CONTENT_TITLE_ADMIN_ADD_USER=Neues Benutzeraccount hinzufuegen:
 TABLE_SUMMARY_ADMIN_LIST_USERS=Administration, alle Benutzer auflisten
 ITEM_ORDER_AMOUNT=Bestellmenge:
+ADMIN_ENTER_PRODUCT_PRICE_EXAMPLE=(z.B. 50.0</em>
+ADMIN_TITLE_PRODUCT_NUMBER=Product number:
+ADMIN_TITLE_PRODUCT_TITLE=Produktbezeichnung:
+ADMIN_ENTER_SINGLE_PRODUCT_PRICE=Einzelpreis:
index 15b087b8012f954ddbcf668bfe63d79ee00903f3..b0c2cf07e640f539dfa96faefb053b37d1739080 100644 (file)
@@ -36,7 +36,7 @@ FOLLOWING_PRODUCTS_ARE_AVAILABLE=Following products can be ordered:
 USER_ADD_ITEM_TO_BASKET=Add to basket
 LINK_TO_BASKET_TITLE=Continued to basket page.
 LINK_CHANGE_IN_BASKET=Change in basket
-SINGLE_ITEM_PRICE=Single price:
+SINGLE_PRODUCT_PRICE=Single price:
 CHANGE_ITEM_AMOUNT=Change ordered amount:
 TOTAL_ITEM_PRICE=Sub total:
 TOTAL_ORDER_PRICE=Total:
@@ -63,7 +63,7 @@ CATEGORY=Category:
 PLEASE_FILL_ALL_FIELDS=Please fill out all fields:
 ADMIN_BUTTON_ADD_CATEGORY=Add category
 ADMIN_ENTER_PRODUCT_TITLE=Product title:
-ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=(example: <em>Pizza Italia)
+ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=(example: Pizza Italia)
 IS_AVAILABLE=Available:
 ADMIN_BUTTON_ADD_PRODUCT=Add product
 ADMIN_ADD_PRODUCT_NOTICE_TITLE=Notices for adding new product:
@@ -220,3 +220,7 @@ PAGE_TITLE_ADMIN_ADD_USER=Add new user account
 CONTENT_TITLE_ADMIN_ADD_USER=Add new user account:
 TABLE_SUMMARY_ADMIN_LIST_USERS=Administration, list all users
 ITEM_ORDER_AMOUNT=Amount:
+ADMIN_ENTER_PRODUCT_PRICE_EXAMPLE=(example: 50.0)
+ADMIN_TITLE_PRODUCT_NUMBER=Produktnummer:
+ADMIN_TITLE_PRODUCT_TITLE=Product title:
+ADMIN_ENTER_SINGLE_PRODUCT_PRICE=Singple product price:
index bd6714de8be5c16718a8ba2f145432170cb8560b..abcc3cd66db3c91bad10ed738b3b92e488dcd718 100644 (file)
@@ -15,7 +15,7 @@
                </h:column>
 
                <h:column>
-                       <f:facet name="header">#{msg.SINGLE_ITEM_PRICE}</f:facet>
+                       <f:facet name="header">#{msg.SINGLE_PRODUCT_PRICE}</f:facet>
 
                        <div class="item_price">
                                <ui:fragment rendered="#{item.isProductType()}">
index 1c1b3899bf429455eccee1fac7169737b83dd4e3..67d1b687b13e5f64d42253e9646878c51cac8b5e 100644 (file)
                                <h:form id="form">
                                        <h:dataTable id="product_table" var="product" value="#{adminProductController.allProducts}" styleClass="table" summary="#{msg.TABLE_SUMMARY_ADMIN_PRODUCTS}">
                                                <h:column>
-                                                       <f:facet name="header">Produktnummer:</f:facet>
+                                                       <f:facet name="header">#{msg.ADMIN_TITLE_PRODUCT_NUMBER}</f:facet>
                                                        #{product.productId}:<h:selectBooleanCheckbox class="input" value="true" />
                                                </h:column>
 
                                                <h:column>
-                                                       <f:facet name="header">#{msg.ADMIN_ENTER_PRODUCT_TITLE}</f:facet>
+                                                       <f:facet name="header">#{msg.ADMIN_TITLE_PRODUCT_TITLE}</f:facet>
                                                                #{product.productTitle}
                                                </h:column>
 
                                                <h:column>
-                                                       <f:facet name="header">#{msg.SINGLE_ITEM_PRICE}</f:facet>
+                                                       <f:facet name="header">#{msg.SINGLE_PRODUCT_PRICE}</f:facet>
                                                                #{product.productPrice}
                                                </h:column>
 
@@ -52,7 +52,7 @@
                        </div>
 
                        <div class="para">
-                               <h:form id="add_category">
+                               <h:form id="add_product">
                                        <div class="table">
                                                <div class="table_header">
                                                        #{msg.ADMIN_ADD_PRODUCT_TITLE}
@@ -68,7 +68,7 @@
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <h:inputText class="input" id="guest_title" size="10" maxlength="255" required="true" value="#{adminProductController.productTitle}" />
+                                                                       <h:inputText class="input" id="product_title" size="10" maxlength="255" required="true" value="#{adminProductController.productTitle}" />
                                                                </div>
 
                                                                <div class="clear"></div>
 
                                                        <div class="table_row">
                                                                <div class="table_left">
-                                                                       #{msg.SINGLE_ITEM_PRICE}
-                                                                       <div class="tiny">(z.B. <em>50.0</em>)</div>
+                                                                       #{msg.ADMIN_ENTER_SINGLE_PRODUCT_PRICE}
+                                                                       <div class="tiny">#{msg.ADMIN_ENTER_PRODUCT_PRICE_EXAMPLE}</div>
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <h:inputText class="input" id="price" size="10" maxlength="255" required="true" value="#{adminProductController.productPrice}" />
+                                                                       <h:inputText class="input" id="product_price" size="10" maxlength="255" required="true" value="#{adminProductController.productPrice}" />
                                                                </div>
 
                                                                <div class="clear"></div>
index 92e49ab8ea07de1d4aaa57e2a998aa4e63e01b66..529270d04bebebb8075e16784f16cb909355f1d9 100644 (file)
@@ -24,7 +24,7 @@
                                </h:column>
 
                                <h:column>
-                                       <f:facet name="header">#{msg.SINGLE_ITEM_PRICE}</f:facet>
+                                       <f:facet name="header">#{msg.SINGLE_PRODUCT_PRICE}</f:facet>
 
                                        <div class="item_price">
                                                <ui:fragment rendered="#{item.isProductType()}">
index 35035d32901011657b4e9919250002aca0227dcb..9b75d18a44e9cd4a08c36e078f6ac28625ba913f 100644 (file)
@@ -65,7 +65,7 @@
 
                                                        <div class="table_right">
                                                                <div class="item_price">
-                                                                       #{msg.SINGLE_ITEM_PRICE}
+                                                                       #{msg.SINGLE_PRODUCT_PRICE}
                                                                        <h:outputText class="price" value="#{product.productPrice}">
                                                                                <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                                                                        </h:outputText>