MiniBasketTag.additional_items=Es befinden sich noch {0} weitere Produkte im Warenkorb.
MiniBasketTag.to_basket=Zum Warenkorb
MiniBasketTag.header=Warenkorb
-CATEGORY_HAS_NO_PARENT=Keine Elternkategorie
+ADMIN_CATEGORY_HAS_NO_PARENT=Keine Elternkategorie
YES=Ja
NO=Nein
-PARENT_CATEGORY_CANNOT_BE_NULL=Elternkategorie darf nicht leer sein.
-CATEGORY_MUST_BE_SELECTED=Es muss eine Kategorie ausgewaehlt werden.
+ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL=Elternkategorie darf nicht leer sein.
+ADMIN_CATEGORY_MUST_BE_SELECTED=Es muss eine Kategorie ausgewaehlt werden.
ERROR_AMOUNT_IS_NULL=Die Bestellmenge ist nicht gesetzt.
BUTTON_TITLE_ADD_ITEM_TO_BASKET=F\u00fcgt das Produkt dem Warenkorb hinzu.
INPUT_TITLE_ENTER_ITEM_AMOUNT=Geben Sie hier die Bestellmenge ein.
ERROR_AMOUNT_IS_NOT_LONG=Die eingegebene Menge ist keine Zahl.
PAGE_TITLE_INDEX_WELCOME=Willkommen!
SUB_TITLE_INDEX_WELCOME=Willkommen zum Pizza-Service
-FOLLOWING_PRODUCT_ARE_AVAILABLE=Folgende Produkte k\u00f6nnen bestellt werden:
-SUBMIT_ADD_ITEM_TO_BASKET=Hinzuf\u00fcgen
-LINK_TITLE_TO_BASKET=Weiter zum Warenkorb.
+FOLLOWING_PRODUCTS_ARE_AVAILABLE=Folgende Produkte k\u00f6nnen bestellt werden:
+ADMIN_ADD_ITEM_TO_BASKET=Hinzuf\u00fcgen
+LINK_TO_BASKET_TITLE=Weiter zum Warenkorb.
LINK_CHANGE_IN_BASKET=Im Warenkorb \u00e4ndern
SINGLE_ITEM_PRICE=Einzelpreis:
CHANGE_ITEM_AMOUNT=Bestellmenge \u00e4ndern:
TOTAL_ORDER_PRICE=Gesamtsumme:
NO_ITEMS_ADDED_TO_BASKET=Es befinden sich derzeit keine Artikel im Warenkorb.
ITEM_NOT_ORDERED=Nicht bestellt.
+PAGE_TITLE_ADMIN_WELCOME=Willkommen zum Administrationsbereich
+SUB_TITLE_ADMIN_WELCOME=Willkommen zur Administration
+PAGE_TITLE_ADMIN_LOGOUT=Ausloggen
+SUB_TITLE_ADMIN_LOGOUT=Aus dem Adminbereich ausloggen
+PAGE_TITLE_ADMIN_CATEGORY=Kategorien
+SUB_TITLE_ADMIN_CATEGORIES=Kategorien administrieren
+SELECT_ENTRY=Ausw\u00e4hlen:
+ADMIN_ENTER_CATEGORY_TITLE=Bezeichnung:
+ADMIN_ENTER_CATEGORY_TITLE_EXAMPLE=z.B. <em>Pizzen</em>
+ADMIN_PARENT_CATEGORY=Elternkategorie:
+SUB_TITLE_ADMIN_PRODUCTS=Diese Produkte sind erstellt worden:
+PAGE_TITLE_ADMIN_PRODUCTS=Produkte
+BUTTON_RESET_FORM=Formular zur\u00fccksetzen
+BUTTON_EDIT_ENTRIES=\u00c4ndern
+BUTTON_DELETE_ENTRIES=L\u00f6schen
+ADMIN_ADD_PRODUCT_TITLE=Neues Produkt hinzuf\u00fcgen:
+ADMIN_ADD_CATEGORY_TITLE=Neue Kategorie hinzuf\u00fcgen:
+CATEGORY=Kategorie:
+PLEASE_FILL_ALL_FIELDS=Bitte alle Felder ausf\u00fcllen:
+BUTTON_ADD_CATEGORY=Kategorie hinzuf\u00fcgen
+ADMIN_ENTER_PRODUCT_TITLE=Produktbezeichnung:
+ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=(z.B. <em>Pizza Italia</em>)
+IS_AVAILABLE=Verf\u00fcgbar:
+BUTTON_ADD_PRODUCT=Produkt hinzuf\u00fcgen
+ADMIN_ADD_PRODUCT_NOTICE_TITLE=Hinweise zum Hinzuf\u00fcgen von Produkten:
+ADMIN_ADD_PRODUCT_NOTICE_LINE1=Beim Preis keine W\u00e4hrungszeichen (wie \u20ac usw.) eingeben.
+ADMIN_ADD_PRODUCT_NOTICE_LINE2=Kommastellen mit Punkt, nicht mit Komma abtrennen.
+ADMIN_ADD_PRODUCT_NOTICE_LINE3=Keine Tausendertrenner verwenden, auch keine Leerschritte.
+GUEST_ENTER_LOGIN_DATA_TITLE=Bitte geben Sie Ihre Kundennummer und Passwort ein:
+GUEST_ENTER_LOGIN_DATA_LEGEND_TITLE=Bitte geben Sie die Ihnen vergebene Kundennummer und das dazugeh\u00f6rige Passwort ein.
+GUEST_ENTER_LOGIN_DATA_LEGEND=Bitte Zugangsdaten eingeben:
+CUSTOMER_NUMBER=Kundennummer:
+PASSWORD=Passwort:
+BUTTON_CUSTOMER_LOGIN=Zum Kundenbereich einloggen
+LINK_HOME_TITLE=Eingangsseite
+LINK_HOME=Home
+LINK_BASKET=Warenkorb
+LINK_CLOSE_SESSION_TITLE=Sitzung beennden
+LINK_CLOSE_SESSION=Sitzung beenden
+MENU_HOME_TITLE=Shop
+MENU_CUSTOMER_TITLE=Kundenbereich
+LINK_CUSTOMER_LOGIN_TITLE=Login f\u00fcr bestehende Kunden
+LINK_CUSTOMER_LOGIN=Einloggen
+LINK_CUSTOMER_REGISTER_TITLE=Anmeldung als neuer Kunde
+LINK_CUSTOMER_REGISTER=Neuer Kunde
+LINK_CUSTOMER_PASSWORD_TITLE=Neues Passwort erstellen
+LINK_CUSTOMER_PASSWORD=Passwort vergessen?
MiniBasketTag.additional_items=There are {0} items in the basketController.
MiniBasketTag.to_basket=To basket
MiniBasketTag.header=Basket
-CATEGORY_HAS_NO_PARENT=No parent category
+ADMIN_CATEGORY_HAS_NO_PARENT=No parent category
YES=Yes
NO=No
-PARENT_CATEGORY_CANNOT_BE_NULL=Parent category cannot be empty.
-CATEGORY_MUST_BE_SELECTED=You have to select a category.
+ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL=Parent category cannot be empty.
+ADMIN_CATEGORY_MUST_BE_SELECTED=You have to select a category.
ERROR_AMOUNT_IS_NULL=Order amount is not set.
BUTTON_TITLE_ADD_ITEM_TO_BASKET=Adds the product to the basket.
INPUT_TITLE_ENTER_ITEM_AMOUNT=Enter order amount here.
ERROR_AMOUNT_IS_NOT_LONG=The entered amount is not a number.
PAGE_TITLE_INDEX_WELCOME=Welcome!
SUB_TITLE_INDEX_WELCOME=Welcome to Pizza-Service
-FOLLOWING_PRODUCT_ARE_AVAILABLE=Following products can be ordered:
-SUBMIT_ADD_ITEM_TO_BASKET=Add
-LINK_TITLE_TO_BASKET=Continued to basket page.
+FOLLOWING_PRODUCTS_ARE_AVAILABLE=Following products can be ordered:
+ADMIN_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:
CHANGE_ITEM_AMOUNT=Change ordered amount:
TOTAL_ORDER_PRICE=Gesamtsumme:
NO_ITEMS_ADDED_TO_BASKET=There are no items in the basket.
ITEM_NOT_ORDERED=Not ordered.
+PAGE_TITLE_ADMIN_WELCOME=Welcome to administration area
+SUB_TITLE_ADMIN_WELCOME=Welcome to website administration
+PAGE_TITLE_ADMIN_LOGOUT=Logout
+SUB_TITLE_ADMIN_LOGOUT=Logout from administration area
+PAGE_TITLE_ADMIN_CATEGORY=Categories
+SUB_TITLE_ADMIN_CATEGORIES=Administrate categories
+SELECT_ENTRY=Select:
+ADMIN_ENTER_CATEGORY_TITLE=Title:
+ADMIN_ENTER_CATEGORY_TITLE_EXAMPLE=e.g. <em>pizza</em>
+ADMIN_PARENT_CATEGORY=Parent category:
+SUB_TITLE_ADMIN_PRODUCTS=These products has been created:
+PAGE_TITLE_ADMIN_PRODUCTS=Products
+BUTTON_RESET_FORM=Reset form
+BUTTON_EDIT_ENTRIES=Edit
+BUTTON_DELETE_ENTRIES=Delete
+ADMIN_ADD_PRODUCT_TITLE=Add a new product:
+ADMIN_ADD_CATEGORY_TITLE=Add a new category:
+CATEGORY=Category:
+PLEASE_FILL_ALL_FIELDS=Please fill out all fields:
+BUTTON_ADD_CATEGORY=Add category
+ADMIN_ENTER_PRODUCT_TITLE=Product title:
+ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=e.g. <em>Pizza Italia</em>
+IS_AVAILABLE=Available:
+BUTTON_ADD_PRODUCT=Add product
+ADMIN_ADD_PRODUCT_NOTICE_TITLE=Notices for adding new product:
+ADMIN_ADD_PRODUCT_NOTICE_LINE1=Please don't use currency symbol, such as \u20ac.
+ADMIN_ADD_PRODUCT_NOTICE_LINE2=Separte with dot, not with comma (usual in Germany).
+ADMIN_ADD_PRODUCT_NOTICE_LINE3=Don't use thousand separators, including spaces.
+GUEST_ENTER_LOGIN_DATA_TITLE=Please enter your customer number and password:
+GUEST_ENTER_LOGIN_DATA_LEGEND_TITLE=Please enter your assigned customer number and password.
+GUEST_ENTER_LOGIN_DATA_LEGEND=Please enter your login data:
+CUSTOMER_NUMBER=Customer number:
+PASSWORD=Password:
+BUTTON_CUSTOMER_LOGIN=Login to customer area
+LINK_HOME_TITLE=Eingangsseite
+LINK_HOME=Home
+LINK_BASKET=Basket
+LINK_CLOSE_SESSION_TITLE=Close session
+LINK_CLOSE_SESSION=Close session
+MENU_HOME_TITLE=Shop
+MENU_CUSTOMER_TITLE=Customer area
+LINK_CUSTOMER_LOGIN_TITLE=Login for existing customers
+LINK_CUSTOMER_LOGIN=Login
+LINK_CUSTOMER_REGISTER_TITLE=Registration for new customer
+LINK_CUSTOMER_REGISTER=Registration
+LINK_CUSTOMER_PASSWORD_TITLE=Create new password
+LINK_CUSTOMER_PASSWORD=Lost password?
Deque<Category> deque = this.getAllCategories();
// Create fake entry
- Category fake = new ProductCategory(0L, this.getMessage("CATEGORY_HAS_NO_PARENT"), 0L); //NOI18N
+ Category fake = new ProductCategory(0L, this.getMessage("ADMIN_CATEGORY_HAS_NO_PARENT"), 0L); //NOI18N
// Add it
deque.addFirst(fake);
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
- <h:selectOneMenu class="select" id="parentId" value="#{admin_product.id}" required="true" requiredMessage="#{msg.CATEGORY_MUST_BE_SELECTED}">
+ <h:selectOneMenu class="select" id="parentId" value="#{admin_product.id}" required="true" requiredMessage="#{msg.ADMIN_CATEGORY_MUST_BE_SELECTED}">
<f:selectItems value="#{controller.allCategories}" var="cat" itemValue="#{cat.id}" itemLabel="#{cat.title}" />
<f:validateLongRange for="parentId" minimum="0" maximum="1000" />
</h:selectOneMenu>
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
- <h:selectOneMenu class="select" id="parentId" value="#{admin_category.parentId}" required="true" requiredMessage="#{msg.PARENT_CATEGORY_CANNOT_BE_NULL}">
+ <h:selectOneMenu class="select" id="parentId" value="#{admin_category.parentId}" required="true" requiredMessage="#{msg.ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL}">
<f:selectItems value="#{controller.allCategoriesParent}" var="parent_category" itemValue="#{parent_category.id}" itemLabel="#{parent_category.title}" />
</h:selectOneMenu>
</ui:composition>
<li class="footer_link"><h:link outcome="imprint" value="Impressum" /></li>
<li class="footer_link"><h:link outcome="terms" value="AGBs" /></li>
<li class="footer_link"><h:link outcome="privacy" value="Datenschutz" /></li>
- <li class="footer_copyright">Copyright (c) 2015 by Roland Haeder</li>
+ <li class="footer_copyright">Copyright (c) 2015 by Roland Häder</li>
</ul>
</div>
<h:form acceptcharset="utf-8" id="login_form">
<div class="table">
<div class="table_header">
- Bitte geben Sie Ihre Kundennummer und Passwort ein:
+ #{msg.GUEST_ENTER_LOGIN_DATA_TITLE}
</div>
<fieldset id="login_data">
- <legend title="Bitte geben Sie die bei der Anmeldung verwendete EMail-Adresse und das dazugehörige Passwort ein.">Bitte Daten eingeben:</legend>
+ <legend title="#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND_TITLE}">#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND}</legend>
<div class="table_row">
<div class="table_left">
- <h:outputLabel for="id" value="Email-Adresse:" />
+ <h:outputLabel for="id" value="#{msg.CUSTOMER_NUMBER}" />
</div>
<div class="table_right">
<div class="table_row">
<div class="table_left">
- <h:outputLabel for="password" value="Passwort:" />
+ <h:outputLabel for="password" value="#{msg.PASSWORD}" />
</div>
<div class="table_right">
</fieldset>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
- <h:commandButton class="submit" type="submit" action="#{controller.doLogin()}" value="Einloggen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" action="#{controller.doLogin()}" value="#{msg.BUTTON_CUSTOMER_LOGIN}" />
</div>
</div>
</h:form>
xmlns:ui="http://java.sun.com/jsf/facelets">
<div class="menu">
<div class="menu_header">
- Home
+ #{msg.MENU_HOME_TITLE}
</div>
<ul>
- <li><h:link title="Eingangsseite" outcome="index" value="Home" /></li>
- <li><h:link title="Zum Warenkorb" outcome="basket" value="Zum Warenkorb" /></li>
- <li><h:link title="Sitzung beennden" outcome="logout" value="Sitzung beenden" /></li>
+ <li><h:link title="#{msg.LINK_HOME_TITLE}" outcome="index" value="#{msg.LINK_HOME}" /></li>
+ <li><h:link title="#{msg.LINK_TO_BASKET_TITLE}" outcome="basket" value="#{msg.LINK_BASKET}" /></li>
+ <li><h:link title="#{msg.LINK_CLOSE_SESSION_TITLE}" outcome="logout" value="#{msg.LINK_CLOSE_SESSION}" /></li>
</ul>
<div class="menu_header">
- Kundenlogin
+ #{msg.MENU_CUSTOMER_TITLE}
</div>
<ul>
- <li><h:link title="Login für bestehende Kunden" outcome="customer_login" value="Einloggen" /></li>
- <li><h:link title="Anmeldung als neuer Kunde" outcome="customer_register" value="Neuer Kunde" /></li>
- <li><h:link title="Neues Passwort erstellen" outcome="customer_lost_passwd" value="Passwort vergessen?" /></li>
+ <li><h:link title="#{msg.LINK_CUSTOMER_LOGIN_TITLE}" outcome="customer_login" value="#{msg.LINK_CUSTOMER_LOGIN}" /></li>
+ <li><h:link title="#{msg.LINK_CUSTOMER_REGISTER_TITLE}" outcome="customer_register" value="#{msg.LINK_CUSTOMER_REGISTER}" /></li>
+ <li><h:link title="#{msg.LINK_CUSTOMER_PASSWORD_TITLE}" outcome="customer_lost_passwd" value="#{msg.LINK_CUSTOMER_PASSWORD}" /></li>
</ul>
</div>
</ui:composition>
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">Ausloggen</ui:define>
+ <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LOGOUT}</ui:define>
<ui:define name="menu">
<ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
</ui:define>
<ui:define name="content_header">
- Aus dem Adminbereich ausloggen
+ #{msg.SUB_TITLE_ADMIN_LOGOUT}
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">Kategorien</ui:define>
+ <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_CATEGORIES}</ui:define>
<ui:define name="menu">
<ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
</ui:define>
<ui:define name="content_header">
- Kategorien administrieren
+ #{msg.SUB_TITLE_ADMIN_CATEGORIES}
</ui:define>
<ui:define name="content">
<h:form acceptcharset="utf-8" id="form">
<h:dataTable headerClass="table_header_column" rowClasses="table_row" styleClass="table" id="categories" value="#{controller.allCategories}" var="cat">
<h:column>
- <f:facet name="header">Auswählen:</f:facet>
+ <f:facet name="header">#{msg.SELECT_ENTRY}</f:facet>
#{cat.id}:
<h:selectBooleanCheckbox class="input" value="true" />
</h:column>
<h:column>
- <f:facet name="header">Bezeichnung:</f:facet>
+ <f:facet name="header">#{msg.ADMIN_ENTER_CATEGORY_TITLE}</f:facet>
#{cat.title}
</h:column>
<h:column>
- <f:facet name="header">Elternkategorie:</f:facet>
+ <f:facet name="header">#{msg.ADMIN_PARENT_CATEGORY}</f:facet>
#{cat.parentId}
</h:column>
</h:dataTable>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
- <h:commandButton class="submit" type="submit" id="edit" action="#{admin_category.editCategory(category)}" value="Ändern" />
- <h:commandButton class="delete" type="submit" id="delete" action="#{admin_category.deleteCategory(category)}" value="Löschen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" id="edit" action="#{admin_category.editCategory(cat)}" value="#{msg.BUTTON_EDIT_ENTRIES}" />
+ <h:commandButton class="delete" type="submit" id="delete" action="#{admin_category.deleteCategory(cat)}" value="#{msg.BUTTON_DELETE_ENTRIES}" />
</div>
</h:form>
</div>
<h:form acceptcharset="utf-8" id="add_category">
<div class="table">
<div class="table_header">
- Neue Kategorie hinzufügen:
+ #{msg.ADMIN_ADD_CATEGORY_TITLE}
</div>
<fieldset id="product_data">
- <legend>Bitte alle Felder ausfüllen:</legend>
+ <legend>#{msg.PLEASE_FILL_ALL_FIELDS}</legend>
<div class="table_row">
<div class="table_left">
- Bezeichnung:
- <div class="tiny">(z.B. <em>Pizzen</em>)</div>
+ #{msg.ADMIN_ENTER_CATEGORY_TITLE}
+ <div class="tiny">(#{msg.ADMIN_ENTER_CATEGORY_TITLE_EXAMPLE})</div>
</div>
<div class="table_right">
<div class="table_row">
<div class="table_left">
- Elternkategorie:
+ #{msg.ADMIN_PARENT_CATEGORY}
</div>
<div class="table_right">
</fieldset>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
- <h:commandButton class="submit" type="submit" action="#{admin_category.addCategory()}" value="Hinzufügen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" action="#{admin_category.addCategory()}" value="#{msg.BUTTON_ADD_CATEGORY}" />
</div>
</div>
</h:form>
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">Willkommen</ui:define>
+ <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_WELCOME}</ui:define>
<ui:define name="menu">
<ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
</ui:define>
<ui:define name="content_header">
- Willkommen zur Administration
+ #{msg.SUB_TITLE_ADMIN_WELCOME}
</ui:define>
<ui:define name="content">
+ <!--
+ TODO: Replace this dummy
+ //-->
Einiges kann hier eingestellt werden.
</ui:define>
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">Produkte</ui:define>
+ <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_PRODUCTS}</ui:define>
<ui:define name="menu">
<ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
</ui:define>
<ui:define name="content_header">
- Diese Produkte sind erstellt worden:
+ #{msg.SUB_TITLE_ADMIN_PRODUCTS}
</ui:define>
<ui:define name="content">
</h:column>
<h:column>
- <f:facet name="header">Produktbezeichnung:</f:facet>
+ <f:facet name="header">#{msg.ADMIN_ENTER_PRODUCT_TITLE}</f:facet>
#{product.title}
</h:column>
</h:column>
<h:column>
- <f:facet name="header">Kategorie:</f:facet>
+ <f:facet name="header">#{msg.CATEGORY}</f:facet>
#{product.categoryId}
</h:column>
<h:column>
- <f:facet name="header">Verfügbar:</f:facet>
+ <f:facet name="header">#{msg.IS_AVAILABLE}</f:facet>
#{product.available}
</h:column>
</h:dataTable>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
- <h:commandButton class="submit" type="submit" id="edit" action="#{admin_product.editProduct(product)}" value="Ändern" />
- <h:commandButton class="delete" type="submit" id="delete" action="#{admin_category.deleteProduct(product)}" value="Löschen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" id="edit" action="#{admin_product.editProduct(product)}" value="#{msg.BUTTON_EDIT_ENTRIES}" />
+ <h:commandButton class="delete" type="submit" id="delete" action="#{admin_category.deleteProduct(product)}" value="#{msg.BUTTON_DELETE_ENTRIES}" />
</div>
</h:form>
</div>
<h:form acceptcharset="utf-8" id="add_category">
<div class="table">
<div class="table_header">
- Neues Produkt hinzufügen:
+ #{msg.ADMIN_ADD_PRODUCT_TITLE}
</div>
<fieldset id="product_data">
- <legend>Bitte alle Felder ausfüllen:</legend>
+ <legend>#{msg.PLEASE_FILL_ALL_FIELDS}</legend>
<div class="table_row">
<div class="table_left">
- Produktbezeichnung:
- <div class="tiny">(z.B. <em>Pizza Italia</em>)</div>
+ #{msg.ADMIN_ENTER_PRODUCT_TITLE}
+ <div class="tiny">(#{msg.ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE})</div>
</div>
<div class="table_right">
<div class="table_row">
<div class="table_left">
- Kategorie:
+ #{msg.CATEGORY}
</div>
<div class="table_right">
<div class="table_row">
<div class="table_left">
- Verfügbar:
+ #{msg.IS_AVAILABLE}
</div>
<div class="table_right">
</fieldset>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
- <h:commandButton class="submit" type="submit" id="add" action="#{admin_product.addProduct()}" value="Hinzufügen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" id="add" action="#{admin_product.addProduct()}" value="#{msg.BUTTON_ADD_PRODUCT}" />
</div>
</div>
</h:form>
</div>
<div class="para">
- Hinweise zum Hinzufügen von Produkten:
+ #{msg.ADMIN_ADD_PRODUCT_NOTICE_TITLE}
<ul>
- <li>Beim Preis keine Währungszeichen (wie EUR usw.) eingeben.</li>
- <li>Kommastellen mit Punkt, nicht mit Komma abtrennen.</li>
- <li>Keine Tausendertrenner verwenden, auch keine Leerschritte.</li>
+ <li>#{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE1}</li>
+ <li>#{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE2}</li>
+ <li>#{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE3}</li>
</ul>
</div>
</ui:define>
<div class="table_row">
<div class="table_left">
- <h:outputLabel for="id" value="Kundennummer:" />
+ <h:outputLabel for="id" value="#{msg.CUSTOMER_NUMBER}" />
</div>
<div class="table_right">
</fieldset>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
<h:commandButton class="submit" type="submit" value="Weiter zu Schritt 2" action="#{controller.doLostPasswordStep2()}" />
</div>
</div>
</div>
<div class="table_footer">
- <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
<h:commandButton class="submit" type="submit" id="register" value="Anmelden" action="#{controller.doRegister()}" />
</div>
</div>
<div class="item_actions">
<ui:fragment rendered="#{!basketController.isProductAdded(product)}">
<h:form acceptcharset="utf-8" id="add_item">
- <h:commandButton class="submit" id="add" value="#{msg.SUBMIT_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
+ <h:commandButton class="submit" id="add" value="#{msg.ADMIN_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
<h:inputText class="input" id="amount" size="3" maxlength="20" value="#{basketController.amount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
<!--
</div>
<div class="item_basket_link">
- <h:link outcome="basket" title="#{msg.LINK_TITLE_TO_BASKET}" value="#{msg.LINK_CHANGE_IN_BASKET}" />
+ <h:link outcome="basket" title="#{msg.LINK_TO_BASKET_TITLE}" value="#{msg.LINK_CHANGE_IN_BASKET}" />
</div>
<div class="clear"></div>