- introduced AbstractWebBean which currently only initializes the resource bundle (i18n)
- fixed all (?) attributes as the libs has changed a lot
- renamed bundle back to de_DE
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
+++ /dev/null
-# Copyright (C) 2015 Roland Haeder
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# Unknown gender
-GENDER_UNKNOWN=Unbekannt
-GENDER_MALE=Herr
-GENDER_FEMALE=Frau
-GENDER_COMPANY=Firma
-MINI_BASKET_IS_EMPTY=Der Warenkorb ist leer.
-MINI_BASKET_LAST_ITEM=Zuletzt hinzugefuegt: {0}
-MINI_BASKET_ADDITIONAL_ITEMS=Es befinden sich noch {0} weitere Produkte im Warenkorb.
-MINI_BASKET_TITLE=Warenkorb
-ADMIN_CATEGORY_HAS_NO_PARENT=Keine Elternkategorie
-YES=Ja
-NO=Nein
-ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL=Elternkategorie darf nicht leer sein.
-ADMIN_CATEGORY_MUST_BE_SELECTED=Es muss eine Kategorie ausgew\u00e4hlt werden.
-BUTTON_TITLE_ADD_ITEM_TO_BASKET=F\u00fcgt das Produkt dem Warenkorb hinzu.
-INPUT_TITLE_ENTER_ITEM_AMOUNT=Geben Sie hier die Bestellmenge ein.
-LOGIN_NO_CUSTOMER_NUMBER_MESSAGE=Sie haben keine EMail-Adresse eingegeben.
-LOGIN_NO_PASSWORD_MESSAGE=Sie haben kein Passwort eingegeben.
-PAGE_TITLE_INDEX_WELCOME=Willkommen!
-SUB_TITLE_INDEX_WELCOME=Willkommen zum Pizza-Service:
-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_ITEM_PRICE=Zwischensumme:
-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. Pizzen)
-ADMIN_PARENT_CATEGORY=Elternkategorie:
-SUB_TITLE_ADMIN_PRODUCTS=Diese Produkte sind erstellt worden:
-PAGE_TITLE_ADMIN_PRODUCTS=Produkte
-BUTTON_RESET_FORM=Formular zur\u00fccksetzen
-ADMIN_BUTTON_EDIT_ENTRIES=\u00c4ndern
-ADMIN_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:
-ADMIN_BUTTON_ADD_CATEGORY=Kategorie hinzuf\u00fcgen
-ADMIN_ENTER_PRODUCT_TITLE=Produktbezeichnung:
-ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=(z.B. Pizza Italia)
-IS_AVAILABLE=Verf\u00fcgbar:
-ADMIN_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:
-ENTER_CUSTOMER_NUMBER=Kundennummer:
-ENTER_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?
-LINK_TO_BASKET=Zum Warenkorb
-LINK_CONTINUE_SHOPPING=Weiter einkaufen
-LINK_CONTINUE_SHOPPING_TITLE=Klicken zum Fortfahren mit dem Einkauf.
-PAGE_TITLE_INDEX_SHOW_BASKET=Warenkorb anzeigen
-SUB_TITLE_INDEX_SHOW_BASKET=Alle im Warenkorb befindlichen Artikel:
-GUEST_ITEM_TITLE=Artikel:
-BUTTON_CHANGE_ITEM_AMOUNT=\u00c4ndern
-PAGE_TITLE_INDEX_IMPRINT=Impressum
-SUB_TITLE_INDEX_IMPRINT=Impressum:
-PAGE_TITLE_INDEX_ITEM_ADDED=Produkt zum Warenkorb hinzugef\u00fcgt
-SUB_TITLE_INDEX_ITEM_ADDED=Produkt zum Warenkorb hinzugef\u00fcgt:
-GUEST_ITEM_ADDED_TO_BASKET=Der Artikel {0} wurde zum Warenkorb hinzugef\u00fcgt.
-LINK_CONTINUE_TO_CHECKOUT=Weiter zur Bezahlung
-PAGE_TITLE_CUSTOMER_CHECKOUT=Weiter zur Bezahlung
-PAGE_TITLE_INDEX_CHECKOUT2=Ohne Anmeldung bezahlen
-SUB_TITLE_INDEX_CHECKOUT2=Ohne Anmeldung bezahlen:
-GUEST_CHECKOUT_WITHOUT_REGISTRATION_TITLE=Sie k\u00f6nnen hier ohne Anmeldung bezahlen:
-SUB_TITLE_CUSTOMER_CHECKOUT=Bezahlungsm\u00f6glichkeit ausw\u00e4hlen:
-LINK_CHECKOUT_OPTION_LOGIN=Weiter zum Kundenlogin
-LINK_CHECKOUT_OPTION_REGISTRATION=Weiter zum neuen Kundenkonto anmelden
-LINK_CHECKOUT_OPTION_GUEST=Ohne Anmeldung bezahlen
-BUTTON_COMPLETE_ORDER=Bestellung verbindlich abschicken
-GUEST_REGISTRATION_TITLE=Anmelden als Neukunde
-GUEST_REGISTRATION_EMAIL_LEGEND_TITLE=Zum Best\u00e4tigen wird Ihre Email-Adresse ben\u00f6tigt, f\u00fcr den Login Kundennummer und Passwort.
-GUEST_REGISTRATION_EMAIL_LEGEND=Email-Adresse und Passwort:
-GUEST_REGISTRATION_ENTER_EMAIL1=Email-Adresse eingeben:
-GUEST_REGISTRATION_ENTER_EMAIL2=Email-Adresse wiederholen:
-GUEST_REGISTRATION_ENTER_PASSWORD1=Passwort eingeben:
-GUEST_REGISTRATION_ENTER_PASSWORD2=Passwort wiederholen:
-GUEST_REGISTRATION_CUSTOMER_NUMBER_NOTICE=Die Kundennummer wird Ihnen sp\u00e4ter vergeben.
-BUTTON_FINISH_REGISTRATION=Anmelden
-PRIVACY_TERMS_LEGEND_TITLE=Bitte die AGBs und Datenschutzbestimmungen lesen und akzeptieren.
-PRIVACY_TERMS_LEGEND=Rechtliches:
-PRIVACY_POLICY_NOT_ACCEPTED_MESSAGE=Bitte den Datenschutzbestimmungen zustimmen.
-TERMS_NOT_ACCEPTED_MESSAGE=Bitte den AGBs zustimmen.
-PERSONAL_DATA_MINIMUM_NOTICE=Bitte geben Sie mindestens Name, Anschrift und Telefonnummer an.
-PERSONAL_DATA_GENDER=Anrede:
-PERSONAL_DATA_COMPANY_NAME=Firmenname:
-PERSONAL_DATA_FIRST_NAME=Vorname:
-PERSONAL_DATA_FAMILY_NAME=Nachname:
-PERSONAL_DATA_STREET=Stra\u00dfe:
-PERSONAL_DATA_HOUSE_NUMBER=Hausnummer:
-PERSONAL_DATA_ZIP_CODE=Postleitzahl:
-PERSONAL_DATA_PHONE_NUMBER=Telefon:
-PERSONAL_DATA_FAX_NUMBER=Faxnummer:
-PERSONAL_DATA_CELLPHONE_NUMBER=Mobil:
-PERSONAL_DATA_CITY=Ort:
-PERSONAL_DATA_LEGEND_TITLE=Bitte geben Sie Ihre Daten ein.
-PERSONAL_DATA_LEGEND=Bitte Ihre Daten eingeben:
-GUEST_PAYMENT_WITHOUT_REGISTRATION_TITLE=Bezahlung ohne Anmeldung
-PAGE_TITLE_CUSTOMER_LOGIN=Einloggen
-SUB_TITLE_CUSTOMER_LOGIN=Zum Kundenbereich einloggen:
-PAGE_TITLE_CUSTOMER_LOST_PASSWORD=Passwort vergessen
-SUB_TITLE_CUSTOMER_LOST_PASSWORD=Stellen Sie Ihr Passwort wieder her:
-GUEST_LOST_PASSWORD_TITLE=Sie haben Ihr Passwort vergessen?
-GUEST_LOST_PASSWORD_LEGEND_TITLE=Bitte Daten eingeben:
-GUEST_LOST_PASSWORD_LEGEND=Bitte Daten eingeben:
-ENTER_EMAIL_ADDRESS=Email-Adresse:
-GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL=... oder ...
-BUTTON_CONTINUE_STEP_2=Weiter zu Schritt 2
-PAGE_TITLE_CUSTOMER_REGISTER=Neukunde
-SUB_TITLE_CUSTOMER_REGISTER=Anmelden zum Pizza-Service:
-PAGE_TITLE_INDEX_TERMS=Allgemeine Gesch\u00e4ftsbedingungen
-SUB_TITLE_INDEX_TERMS=Allgemeine Gesch\u00e4ftsbedingungen
-PAGE_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen
-SUB_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen:
-ADMIN_MENU_MAIN_TITLE=Hauptauswahl
-ADMIN_MENU_LOGOUT_TITLE=Ausloggen
-PAGE_TITLE_CUSTOMER_CHECKOUT_DONE=Bestellvorgang abgeschlossen
-SUB_TITLE_CUSTOMER_CHECKOUT_DONE=Der Bestellvorgang ist abgeschlossen:
-PAGE_TITLE_CUSTOMER_EMPTY_BASKET=Leerer Warenkorb!
-SUB_TITLE_CUSTOMER_EMPTY_BASKET=Sie haben keine Artikel zum Warenkorb hinzugef\u00fcgt:
-LINK_OPEN_RECEIPT=Rechnung ansehen
-
-ERROR_AMOUNT_IS_NULL=Die Bestellmenge ist nicht gesetzt.
-ERROR_AMOUNT_IS_NOT_LONG=Die eingegebene Menge ist keine Zahl.
--- /dev/null
+# Copyright (C) 2015 Roland Haeder
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Unknown gender
+GENDER_UNKNOWN=Unbekannt
+GENDER_MALE=Herr
+GENDER_FEMALE=Frau
+GENDER_COMPANY=Firma
+MINI_BASKET_IS_EMPTY=Der Warenkorb ist leer.
+MINI_BASKET_LAST_ITEM=Zuletzt hinzugefuegt: {0}
+MINI_BASKET_ADDITIONAL_ITEMS=Es befinden sich noch {0} weitere Produkte im Warenkorb.
+MINI_BASKET_TITLE=Warenkorb
+ADMIN_CATEGORY_HAS_NO_PARENT=Keine Elternkategorie
+YES=Ja
+NO=Nein
+ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL=Elternkategorie darf nicht leer sein.
+ADMIN_CATEGORY_MUST_BE_SELECTED=Es muss eine Kategorie ausgew\u00e4hlt werden.
+BUTTON_TITLE_ADD_ITEM_TO_BASKET=F\u00fcgt das Produkt dem Warenkorb hinzu.
+INPUT_TITLE_ENTER_ITEM_AMOUNT=Geben Sie hier die Bestellmenge ein.
+LOGIN_NO_CUSTOMER_NUMBER_MESSAGE=Sie haben keine EMail-Adresse eingegeben.
+LOGIN_NO_PASSWORD_MESSAGE=Sie haben kein Passwort eingegeben.
+PAGE_TITLE_INDEX_WELCOME=Willkommen!
+SUB_TITLE_INDEX_WELCOME=Willkommen zum Pizza-Service:
+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_ITEM_PRICE=Zwischensumme:
+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. Pizzen)
+ADMIN_PARENT_CATEGORY=Elternkategorie:
+SUB_TITLE_ADMIN_PRODUCTS=Diese Produkte sind erstellt worden:
+PAGE_TITLE_ADMIN_PRODUCTS=Produkte
+BUTTON_RESET_FORM=Formular zur\u00fccksetzen
+ADMIN_BUTTON_EDIT_ENTRIES=\u00c4ndern
+ADMIN_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:
+ADMIN_BUTTON_ADD_CATEGORY=Kategorie hinzuf\u00fcgen
+ADMIN_ENTER_PRODUCT_TITLE=Produktbezeichnung:
+ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE=(z.B. Pizza Italia)
+IS_AVAILABLE=Verf\u00fcgbar:
+ADMIN_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:
+ENTER_CUSTOMER_NUMBER=Kundennummer:
+ENTER_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?
+LINK_TO_BASKET=Zum Warenkorb
+LINK_CONTINUE_SHOPPING=Weiter einkaufen
+LINK_CONTINUE_SHOPPING_TITLE=Klicken zum Fortfahren mit dem Einkauf.
+PAGE_TITLE_INDEX_SHOW_BASKET=Warenkorb anzeigen
+SUB_TITLE_INDEX_SHOW_BASKET=Alle im Warenkorb befindlichen Artikel:
+GUEST_ITEM_TITLE=Artikel:
+BUTTON_CHANGE_ITEM_AMOUNT=\u00c4ndern
+PAGE_TITLE_INDEX_IMPRINT=Impressum
+SUB_TITLE_INDEX_IMPRINT=Impressum:
+PAGE_TITLE_INDEX_ITEM_ADDED=Produkt zum Warenkorb hinzugef\u00fcgt
+SUB_TITLE_INDEX_ITEM_ADDED=Produkt zum Warenkorb hinzugef\u00fcgt:
+GUEST_ITEM_ADDED_TO_BASKET=Der Artikel {0} wurde zum Warenkorb hinzugef\u00fcgt.
+LINK_CONTINUE_TO_CHECKOUT=Weiter zur Bezahlung
+PAGE_TITLE_CUSTOMER_CHECKOUT=Weiter zur Bezahlung
+PAGE_TITLE_INDEX_CHECKOUT2=Ohne Anmeldung bezahlen
+SUB_TITLE_INDEX_CHECKOUT2=Ohne Anmeldung bezahlen:
+GUEST_CHECKOUT_WITHOUT_REGISTRATION_TITLE=Sie k\u00f6nnen hier ohne Anmeldung bezahlen:
+SUB_TITLE_CUSTOMER_CHECKOUT=Bezahlungsm\u00f6glichkeit ausw\u00e4hlen:
+LINK_CHECKOUT_OPTION_LOGIN=Weiter zum Kundenlogin
+LINK_CHECKOUT_OPTION_REGISTRATION=Weiter zum neuen Kundenkonto anmelden
+LINK_CHECKOUT_OPTION_GUEST=Ohne Anmeldung bezahlen
+BUTTON_COMPLETE_ORDER=Bestellung verbindlich abschicken
+GUEST_REGISTRATION_TITLE=Anmelden als Neukunde
+GUEST_REGISTRATION_EMAIL_LEGEND_TITLE=Zum Best\u00e4tigen wird Ihre Email-Adresse ben\u00f6tigt, f\u00fcr den Login Kundennummer und Passwort.
+GUEST_REGISTRATION_EMAIL_LEGEND=Email-Adresse und Passwort:
+GUEST_REGISTRATION_ENTER_EMAIL1=Email-Adresse eingeben:
+GUEST_REGISTRATION_ENTER_EMAIL2=Email-Adresse wiederholen:
+GUEST_REGISTRATION_ENTER_PASSWORD1=Passwort eingeben:
+GUEST_REGISTRATION_ENTER_PASSWORD2=Passwort wiederholen:
+GUEST_REGISTRATION_CUSTOMER_NUMBER_NOTICE=Die Kundennummer wird Ihnen sp\u00e4ter vergeben.
+BUTTON_FINISH_REGISTRATION=Anmelden
+PRIVACY_TERMS_LEGEND_TITLE=Bitte die AGBs und Datenschutzbestimmungen lesen und akzeptieren.
+PRIVACY_TERMS_LEGEND=Rechtliches:
+PRIVACY_POLICY_NOT_ACCEPTED_MESSAGE=Bitte den Datenschutzbestimmungen zustimmen.
+TERMS_NOT_ACCEPTED_MESSAGE=Bitte den AGBs zustimmen.
+PERSONAL_DATA_MINIMUM_NOTICE=Bitte geben Sie mindestens Name, Anschrift und Telefonnummer an.
+PERSONAL_DATA_GENDER=Anrede:
+PERSONAL_DATA_COMPANY_NAME=Firmenname:
+PERSONAL_DATA_FIRST_NAME=Vorname:
+PERSONAL_DATA_FAMILY_NAME=Nachname:
+PERSONAL_DATA_STREET=Stra\u00dfe:
+PERSONAL_DATA_HOUSE_NUMBER=Hausnummer:
+PERSONAL_DATA_ZIP_CODE=Postleitzahl:
+PERSONAL_DATA_PHONE_NUMBER=Telefon:
+PERSONAL_DATA_FAX_NUMBER=Faxnummer:
+PERSONAL_DATA_CELLPHONE_NUMBER=Mobil:
+PERSONAL_DATA_CITY=Ort:
+PERSONAL_DATA_LEGEND_TITLE=Bitte geben Sie Ihre Daten ein.
+PERSONAL_DATA_LEGEND=Bitte Ihre Daten eingeben:
+GUEST_PAYMENT_WITHOUT_REGISTRATION_TITLE=Bezahlung ohne Anmeldung
+PAGE_TITLE_CUSTOMER_LOGIN=Einloggen
+SUB_TITLE_CUSTOMER_LOGIN=Zum Kundenbereich einloggen:
+PAGE_TITLE_CUSTOMER_LOST_PASSWORD=Passwort vergessen
+SUB_TITLE_CUSTOMER_LOST_PASSWORD=Stellen Sie Ihr Passwort wieder her:
+GUEST_LOST_PASSWORD_TITLE=Sie haben Ihr Passwort vergessen?
+GUEST_LOST_PASSWORD_LEGEND_TITLE=Bitte Daten eingeben:
+GUEST_LOST_PASSWORD_LEGEND=Bitte Daten eingeben:
+ENTER_EMAIL_ADDRESS=Email-Adresse:
+GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL=... oder ...
+BUTTON_CONTINUE_STEP_2=Weiter zu Schritt 2
+PAGE_TITLE_CUSTOMER_REGISTER=Neukunde
+SUB_TITLE_CUSTOMER_REGISTER=Anmelden zum Pizza-Service:
+PAGE_TITLE_INDEX_TERMS=Allgemeine Gesch\u00e4ftsbedingungen
+SUB_TITLE_INDEX_TERMS=Allgemeine Gesch\u00e4ftsbedingungen
+PAGE_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen
+SUB_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen:
+ADMIN_MENU_MAIN_TITLE=Hauptauswahl
+ADMIN_MENU_LOGOUT_TITLE=Ausloggen
+PAGE_TITLE_CUSTOMER_CHECKOUT_DONE=Bestellvorgang abgeschlossen
+SUB_TITLE_CUSTOMER_CHECKOUT_DONE=Der Bestellvorgang ist abgeschlossen:
+PAGE_TITLE_CUSTOMER_EMPTY_BASKET=Leerer Warenkorb!
+SUB_TITLE_CUSTOMER_EMPTY_BASKET=Sie haben keine Artikel zum Warenkorb hinzugef\u00fcgt:
+LINK_OPEN_RECEIPT=Rechnung ansehen
+
+ERROR_AMOUNT_IS_NULL=Die Bestellmenge ist nicht gesetzt.
+ERROR_AMOUNT_IS_NOT_LONG=Die eingegebene Menge ist keine Zahl.
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.pizzaapplication.beans;
+
+import java.io.Serializable;
+import java.util.ResourceBundle;
+
+/**
+ * An abstract web web bean for web applications. This class currently only
+ * handles loading the resource bundle (i18n).
+ *
+ * @author Roland Haeder
+ */
+public abstract class AbstractWebBean implements Serializable {
+
+ /**
+ * Serial number
+ */
+ private static final long serialVersionUID = 48_475_834_783_473_187L;
+
+ /**
+ * Bundle instance
+ */
+ private final ResourceBundle bundle;
+
+ /**
+ * Protectd constructor
+ */
+ protected AbstractWebBean () {
+ // Load resource bundle
+ this.bundle = ResourceBundle.getBundle("org/mxchange/localization/bundle");
+ }
+
+ /**
+ * Getter for bundle instance
+ *
+ * @return Bundle instance
+ */
+ protected ResourceBundle getBundle () {
+ return this.bundle;
+ }
+
+ /**
+ * Getter for message from given key
+ *
+ * @param key Key to get message from
+ * @return Message
+ */
+ protected String getMessageStringFromKey (final String key) {
+ // Is the bundle loaded?
+ if (this.getBundle() == null) {
+ // Abort here
+ throw new NullPointerException("bundle is null"); //NOI18N
+ }
+
+ // Return message
+ return this.getBundle().getString(key);
+ }
+}
*/
@Named ("basketController")
@SessionScoped
-public class BasketWebBean implements BasketWebController {
+public class BasketWebBean implements BasketWebController {
/**
* Serial number
/////////////////////// Properties /////////////////////
/**
- * Ordered amount
+ * Ordered orderedAmount
*/
- private Long amount;
+ private Long orderedAmount;
/**
* Current item
}
// Generate item instance
- AddableBasketItem item = new BasketItem(product, this.getAmount());
+ AddableBasketItem item = new BasketItem(product, this.getOrderedAmount());
- // Is amount set?
- if (this.getAmount() == null) {
+ // Is orderedAmount set?
+ if (this.getOrderedAmount() == null) {
// Trace message
- //this.getLogger().logTrace("addItem: amount not specified, returning null ... - EXIT!");
+ //this.getLogger().logTrace("addItem: orderedAmount not specified, returning null ... - EXIT!");
- // No amount specified?!
+ // No orderedAmount specified?!
return null;
}
// Deligate to model
this.basket.addItem(item);
- // Remove amount
- this.setAmount(null);
+ // Remove orderedAmount
+ this.setOrderedAmount(null);
// Trace message
//this.getLogger().logTrace(MessageFormat.format("addItem: item {0} - has been added to basket. - EXIT!", item));
if (this.getCurrentItem() == null) {
// Current item is null
throw new NullPointerException("currentItem is null"); //NOI18N
- } else if (this.getCurrentItem().getProduct() == null) {
+ } else if (this.getCurrentItem().getItemProduct() == null) {
// Product is null
throw new NullPointerException("currentItem.product is null"); //NOI18N
- } else if (this.getCurrentItem().getAmount() == null) {
+ } else if (this.getCurrentItem().getOrderedAmount() == null) {
// Amount is null
throw new NullPointerException("currentItem.amount is null"); //NOI18N
}
// Caculate item's price
- Float totalPrice = (this.getCurrentItem().getProduct().getPrice() * this.getCurrentItem().getAmount());
+ Float totalPrice = (this.getCurrentItem().getItemProduct().getProductPrice() * this.getCurrentItem().getOrderedAmount());
// Trace message
//this.getLogger().logTrace(MessageFormat.format("calculateCurrentItemPrice: totalPrice={0} - EXIT!", totalPrice));
// Is it a product?
if (item.isProductType()) {
// Caculate item's price
- totalPrice = (item.getProduct().getPrice() * item.getAmount());
+ totalPrice = (item.getItemProduct().getProductPrice() * item.getOrderedAmount());
}
// Trace message
}
@Override
- public Long getAmount () {
- return this.amount;
+ public Long getOrderedAmount () {
+ return this.orderedAmount;
}
@Override
- public void setAmount (final Long amount) {
- this.amount = amount;
+ public void setOrderedAmount (final Long orderedAmount) {
+ this.orderedAmount = orderedAmount;
}
@Override
if (null == item) {
// item is null
throw new NullPointerException("item is null");
- } else if ((item.isProductType()) && (item.getProduct().equals(product))) {
+ } else if ((item.isProductType()) && (item.getItemProduct().equals(product))) {
// Found it
- itemAmount = item.getAmount();
+ itemAmount = item.getOrderedAmount();
break;
}
}
// Get type
switch (item.getItemType()) {
case "product": // Sellable product //NOI18N
- assert (item.getProduct() instanceof Product) : MessageFormat.format("item {0} has no product instance set.", item); //NOI18N
+ assert (item.getItemProduct() instanceof Product) : MessageFormat.format("item {0} has no product instance set.", item); //NOI18N
// Get title
- lastItem = item.getProduct().getTitle();
+ lastItem = item.getItemProduct().getProductTitle();
break;
default: // Not supported
*
* @return Item amount property
*/
- public Long getAmount ();
+ public Long getOrderedAmount ();
/**
* Setter for item amount property
*
* @param amount Item amount property
*/
- public void setAmount (final Long amount);
+ public void setOrderedAmount (final Long amount);
/**
* Getter for current item
/////////////////////// Properties /////////////////////
/**
- * Category title
+ * Category categoryTitle
*/
- private String title;
+ private String categoryTitle;
/**
* Parent category
// Create category
Category category = new ProductCategory();
category.setParentCategory(this.getParentCategory());
- category.setTitle(this.getTitle());
+ category.setCategoryTitle(this.getCategoryTitle());
// Deligate to remote bean
this.categoryBean.doAdminAddCategory(category);
}
@Override
- public String getTitle () {
- return this.title;
+ public String getCategoryTitle () {
+ return this.categoryTitle;
}
@Override
- public void setTitle (final String title) {
- this.title = title;
+ public void setCategoryTitle (final String categoryTitle) {
+ this.categoryTitle = categoryTitle;
}
@Override
public void setParentCategory (final Category parentCategory);
/**
- * Getter for title
+ * Getter for category title
*
* @return the title
*/
- public String getTitle ();
+ public String getCategoryTitle ();
/**
- * Setter for title
+ * Setter for category title
*
- * @param title the title to set
+ * @param categoryTitle the title to set
*/
- public void setTitle (final String title);
+ public void setCategoryTitle (final String categoryTitle);
}
import javax.naming.NamingException;
import org.mxchange.jshopcore.exceptions.CannotAddProductException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
+import org.mxchange.jshopcore.model.category.Category;
import org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote;
import org.mxchange.jshopcore.model.product.GenericProduct;
import org.mxchange.jshopcore.model.product.Product;
/**
* Available
*/
- private Boolean available;
+ private Boolean productAvailability;
/**
- * Category id
+ * Category instance
*/
- private Long id;
+ private Category productCategory;
/**
- * Property price
+ * Property productPrice
*/
- private Float price;
+ private Float productPrice;
/**
- * Property title
+ * Property productTitle
*/
- private String title;
+ private String productTitle;
/**
* Default constructor
Product product = new GenericProduct();
// Add all
- product.setAvailable(this.getAvailable());
- product.setId(this.getId());
- product.setPrice(this.getPrice());
- product.setTitle(this.getTitle());
+ product.setProductAvailability(this.getProductAvailability());
+ product.setProductCategory(this.getProductCategory());
+ product.setProductPrice(this.getProductPrice());
+ product.setProductTitle(this.getProductTitle());
// Call bean
this.productBean.doAdminAddProduct(product);
this.controller.addProduct(product);
// Set all to null
- this.setAvailable(Boolean.FALSE);
- this.setId(null);
- this.setPrice(null);
- this.setTitle(null);
+ this.setProductAvailability(Boolean.FALSE);
+ this.setProductCategory(null);
+ this.setProductPrice(null);
+ this.setProductTitle(null);
} catch (final ProductTitleAlreadyUsedException | CannotAddProductException ex) {
// Continue to throw
throw new FaceletException(ex);
}
@Override
- public void setAvailable (final Boolean available) {
- this.available = available;
+ public void setProductAvailability (final Boolean productAvailability) {
+ this.productAvailability = productAvailability;
}
@Override
- public Long getId () {
- return id;
+ public Category getProductCategory () {
+ return productCategory;
}
@Override
- public void setId (final Long id) {
- this.id = id;
+ public void setProductCategory (final Category productCategory) {
+ this.productCategory = productCategory;
}
@Override
- public Float getPrice () {
- return this.price;
+ public Float getProductPrice () {
+ return this.productPrice;
}
@Override
- public void setPrice (final Float price) {
- this.price = price;
+ public void setProductPrice (final Float productPrice) {
+ this.productPrice = productPrice;
}
@Override
- public String getTitle () {
- return this.title;
+ public String getProductTitle () {
+ return this.productTitle;
}
@Override
- public void setTitle (final String title) {
- this.title = title;
+ public void setProductTitle (final String productTitle) {
+ this.productTitle = productTitle;
}
@Override
- public Boolean getAvailable () {
- return this.available;
+ public Boolean getProductAvailability () {
+ return this.productAvailability;
}
}
import java.util.List;
import javax.faces.view.facelets.FaceletException;
+import org.mxchange.jshopcore.model.category.Category;
import org.mxchange.jshopcore.model.product.Product;
/**
*
* @return Product's available property
*/
- public Boolean getAvailable ();
+ public Boolean getProductAvailability ();
/**
* Setter for product's available property
*
* @param available Product's available property
*/
- public void setAvailable (final Boolean available);
+ public void setProductAvailability (final Boolean available);
/**
- * Getter for product's category id
+ * Getter for product's category
*
- * @return Product's category id
+ * @return Product's category
*/
- public Long getId ();
+ public Category getProductCategory ();
/**
- * Setter for product's category id
+ * Setter for product's category instance
*
- * @param id Product's category id
+ * @param productCategory Product's category instance
*/
- public void setId (final Long id);
+ public void setProductCategory (final Category productCategory);
/**
* Getter for product's price property
*
* @return Product's price property
*/
- public Float getPrice ();
+ public Float getProductPrice ();
/**
* Setter for product's price property
*
* @param price Product's price property
*/
- public void setPrice (final Float price);
+ public void setProductPrice (final Float price);
/**
* Getter for product's title property
*
* @return Product's title
*/
- public String getTitle ();
+ public String getProductTitle ();
/**
* Setter for product's title property
*
* @param title Product's title
*/
- public void setTitle (final String title);
+ public void setProductTitle (final String title);
}
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
-import org.mxchange.jcoreee.BaseEeSystem;
import org.mxchange.jshopcore.model.category.Category;
import org.mxchange.jshopcore.model.category.CategorySessionBeanRemote;
import org.mxchange.jshopcore.model.category.ProductCategory;
import org.mxchange.jshopcore.model.product.Product;
import org.mxchange.jshopcore.model.product.ProductSessionBeanRemote;
+import org.mxchange.pizzaapplication.beans.AbstractWebBean;
/**
* General shop controller
*/
@Named ("controller")
@ApplicationScoped
-public class ShopWebBean extends BaseEeSystem implements ShopWebController {
+public class ShopWebBean extends AbstractWebBean implements ShopWebController {
/**
* Serial number
@Override
public void addProduct (final Product product) {
// Is the product available?
- if (product.getAvailable()) {
+ if (product.getProductAvailability()) {
// Add it
this.availableProducts.add(product);
}
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.ADMIN_CATEGORY_MUST_BE_SELECTED}">
- <f:selectItems value="#{controller.allCategories}" var="cat" itemValue="#{cat.categoryId}" itemLabel="#{cat.title}" />
+ <h:selectOneMenu class="select" id="parentId" value="#{admin_product.productCategory}" required="true" requiredMessage="#{msg.ADMIN_CATEGORY_MUST_BE_SELECTED}">
+ <f:selectItems value="#{controller.allCategories}" var="cat" itemValue="#{cat.categoryId}" itemLabel="#{cat.categoryTitle}" />
<f:validateLongRange for="parentId" minimum="0" maximum="1000" />
</h:selectOneMenu>
</ui:composition>
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:selectOneMenu class="select" id="parentId" value="#{admin_category.parentCategory}" required="true" requiredMessage="#{msg.ADMIN_PARENT_CATEGORY_CANNOT_BE_NULL}">
- <f:selectItems value="#{controller.allCategoriesParent}" var="parent_category" itemValue="#{parent_category.categoryId}" itemLabel="#{parent_category.title}" />
+ <f:selectItems value="#{controller.allCategoriesParent}" var="parent_category" itemValue="#{parent_category.categoryId}" itemLabel="#{parent_category.categoryTitle}" />
</h:selectOneMenu>
</ui:composition>
<f:facet name="header">#{msg.GUEST_ITEM_TITLE}</f:facet>
<ui:fragment rendered="#{item.isProductType()}">
- #{item.product.title}
+ #{item.itemProduct.productTitle}
</ui:fragment>
</h:column>
<div class="item_price">
<ui:fragment rendered="#{item.isProductType()}">
- <h:outputText class="price" value="#{item.product.price}">
+ <h:outputText class="price" value="#{item.itemProduct.productPrice}">
<f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
</h:outputText>
</ui:fragment>
<f:facet name="header">#{msg.CHANGE_ITEM_AMOUNT}</f:facet>
<h:form acceptcharset="utf-8" id="add_item">
- <h:outputText id="amount" value="#{item.amount}">
+ <h:outputText id="amount" value="#{item.orderedAmount}">
</h:outputText>
</h:form>
</h:column>
<h:dataTable headerClass="table_header_column" rowClasses="table_row" styleClass="table" id="categories" value="#{controller.allCategories}" var="cat">
<h:column>
<f:facet name="header">#{msg.SELECT_ENTRY}</f:facet>
- #{cat.id}:
+ #{cat.categoryId}:
<h:selectBooleanCheckbox class="input" value="true" />
</h:column>
<h:column>
<f:facet name="header">#{msg.ADMIN_ENTER_CATEGORY_TITLE}</f:facet>
- #{cat.title}
+ #{cat.categoryTitle}
</h:column>
<h:column>
</div>
<div class="table_right">
- <h:inputText class="input" id="title" value="#{admin_category.title}" size="10" maxlength="255" required="true" />
+ <h:inputText class="input" id="title" value="#{admin_category.categoryTitle}" size="10" maxlength="255" required="true" />
</div>
<div class="clear"></div>
<h:dataTable headerClass="table_header_column" id="product_table" var="product" value="#{admin_product.allProducts}">
<h:column>
<f:facet name="header">Produktnummer:</f:facet>
- #{product.id}:<h:selectBooleanCheckbox class="input" value="true" />
+ #{product.productId}:<h:selectBooleanCheckbox class="input" value="true" />
</h:column>
<h:column>
<f:facet name="header">#{msg.ADMIN_ENTER_PRODUCT_TITLE}</f:facet>
- #{product.title}
+ #{product.productTitle}
</h:column>
<h:column>
<f:facet name="header">#{msg.SINGLE_ITEM_PRICE}</f:facet>
- #{product.price}
+ #{product.productPrice}
</h:column>
<h:column>
<f:facet name="header">#{msg.CATEGORY}</f:facet>
- #{product.categoryId}
+ #{product.productCategory.categoryId}
</h:column>
<h:column>
<f:facet name="header">#{msg.IS_AVAILABLE}</f:facet>
- #{product.available}
+ #{product.productAvailability}
</h:column>
</h:dataTable>
</div>
<div class="table_right">
- <h:inputText class="input" id="title" size="10" maxlength="255" required="true" value="#{admin_product.title}" />
+ <h:inputText class="input" id="title" size="10" maxlength="255" required="true" value="#{admin_product.productTitle}" />
</div>
<div class="clear"></div>
</div>
<div class="table_right">
- <h:inputText class="input" id="price" size="10" maxlength="255" required="true" value="#{admin_product.price}" />
+ <h:inputText class="input" id="price" size="10" maxlength="255" required="true" value="#{admin_product.productPrice}" />
</div>
<div class="clear"></div>
</div>
<div class="table_right">
- <h:selectOneListbox required="true" id="available" value="#{admin_product.available}" size="1" class="select">
+ <h:selectOneListbox required="true" id="available" value="#{admin_product.productAvailability}" size="1" class="select">
<f:selectItem itemValue="true" itemLabel="#{msg.YES}" />
<f:selectItem itemValue="false" itemLabel="#{msg.NO}" />
</h:selectOneListbox>
<f:facet name="header">#{msg.GUEST_ITEM_TITLE}</f:facet>
<ui:fragment rendered="#{item.isProductType()}">
- #{item.product.title}
+ #{item.itemProduct.productTitle}
</ui:fragment>
</h:column>
<div class="item_price">
<ui:fragment rendered="#{item.isProductType()}">
- <h:outputText class="price" value="#{item.product.price}">
+ <h:outputText class="price" value="#{item.itemProduct.productPrice}">
<f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
</h:outputText>
</ui:fragment>
<h:form acceptcharset="utf-8" id="add_item">
<h:commandButton class="submit" id="add" value="#{msg.BUTTON_CHANGE_ITEM_AMOUNT}" action="#{basketController.changeItem(item)}" title="#{msg.BUTTON_TITLE_CHANGE_ITEM_AMOUNT}" />
- <h:inputText class="input" id="amount" size="3" maxlength="20" value="#{item.amount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
+ <h:inputText class="input" id="amount" size="3" maxlength="20" value="#{item.orderedAmount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
<!--
If the customer wants to order more, he need to call in.
//-->
<ui:define name="content">
Rechnung abrufen:
<h:link class="receipt_link" id="receipt" outcome="pdf" value="#{msg.LINK_OPEN_RECEIPT}" target="_blank">
- <f:param name="customer" value="#{checkoutController.customer.id}" />
+ <f:param name="customer" value="#{checkoutController.customer.customerId}" />
<f:param name="key" value="#{receiptController.fetchAccessKey()}" />
</h:link>
</ui:define>
<h:column>
<div id="main_item_container">
<div class="item_title">
- #{product.title}
+ #{product.productTitle}
</div>
<div class="item_content">
<h:form acceptcharset="utf-8" id="add_item">
<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}">
+ <h:inputText class="input" id="amount" size="3" maxlength="20" value="#{basketController.orderedAmount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
<!--
If the customer wants to order more, he need to call in.
//-->