From: Roland Haeder Date: Tue, 1 Sep 2015 06:42:23 +0000 (+0200) Subject: Added title for mini basket X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c006b337ad5e4c4a10501eed479839975c89638a;p=pizzaservice-war.git Added title for mini basket Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 35d75a9f..f13ba238 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -20,3 +20,4 @@ MiniBasketTag.basket_is_empty=Der Warenkorb ist leer. MiniBasketTag.last_item=Zuletzt hinzugefügt: {0} MiniBasketTag.additional_items=Es befinden sich noch {0} weitere Produkte im Warenkorb. MiniBasketTag.to_basket=Zum Warenkorb +MiniBasketTag.header=Warenkorb diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 646cd4e4..1dc42122 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -20,3 +20,4 @@ MiniBasketTag.basket_is_empty=The basket is empty. MiniBasketTag.last_item=Last added item: {0} MiniBasketTag.additional_items=There are {0} items in the basket. MiniBasketTag.to_basket=To basket +MiniBasketTag.header=Basket diff --git a/src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java b/src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java index f487690e..9cdd3cd2 100644 --- a/src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java +++ b/src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java @@ -124,6 +124,9 @@ public class MiniBasketTag extends BodyTagSupport implements BasketTag { // Output all out.append("
\n"); //NOI18N + out.append("
\n"); //NOI18N + out.append(" ").append(this.getBasket().getMessageStringFromKey("MiniBasketTag.header")).append("\n"); //NOI18N + out.append("
\n"); //NOI18N out.append("
\n"); //NOI18N out.append(" ").append(MessageFormat.format(this.getBasket().getMessageStringFromKey("MiniBasketTag.last_item"), product.getTitle())); //NOI18N out.append("
\n"); //NOI18N