From: Konrad Rosenbaum Date: Sun, 8 Jan 2012 22:10:10 +0000 (+0100) Subject: add lambda class and draft of label config dialog X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=9757bb04ac3f36e1826d2b368abdd184a9460185;p=web%2Fkonrad%2Fsmoke.git add lambda class and draft of label config dialog --- diff --git a/doc/build.html b/doc/build.html index eb1450e..8f37bb7 100644 --- a/doc/build.html +++ b/doc/build.html @@ -11,7 +11,7 @@ Windows is only supported for building the client. While I'm convinced that the server would be able to work on Windows, there is no automatic support for it - you're on your own here.

-MacOS/X is supported for building the client. You need XCode and Qt.

+MacOS/X is supported for building the client. You need XCode, a custom built GCC and Qt.

Other Unixoid systems are untested, but should work just like Linux if you install the proper tools.

@@ -25,7 +25,7 @@ SSL-support. While the pure web-UI can run without SSL, it is highly recommended SSL for the complete server. The client insists on using SSL - it is not possible to connect the client to the server without it.

-You need a C++ compiler that works with Qt. I usually recommend GCC 4.x for Linux and other Unixoid systems and using the MinGW version that comes with the complete Qt SDK for Windows. XCode will do fine for MacOS.

+You need a C++ compiler that works with Qt and supports at least some features of C++11. I usually recommend GCC 4.5 or newer for Linux and other Unixoid systems and using the MinGW version that comes with the complete Qt SDK for Windows. XCode will do fine for MacOS.

The source documentation needs Doxygen in order to be built. diff --git a/elam b/elam index 9e8411c..8eed1dd 160000 --- a/elam +++ b/elam @@ -1 +1 @@ -Subproject commit 9e8411cf5005c82fe37dd1f543568fe7ed761b8a +Subproject commit 8eed1dd9716f2db330d915bf6f4c5bff52b5069e diff --git a/src/misc/lambda.cpp b/src/misc/lambda.cpp new file mode 100644 index 0000000..2d26b9e --- /dev/null +++ b/src/misc/lambda.cpp @@ -0,0 +1,32 @@ +// +// C++ Implementation: lambda object +// +// Description: +// +// +// Author: Konrad Rosenbaum , (C) 2008-2011 +// +// Copyright: See README/COPYING.GPL files that come with this distribution +// +// + +#include "lambda.h" + +#include +#include + +MLambda::MLambda(std::function< void() > l, QObject* parent): QObject(parent) +{ + m_ptr=l; +} + +MLambda::MLambda(QObject* parent): QObject(parent) +{ + m_ptr=0; +} + +void MLambda::call() +{ + if(m_ptr) + m_ptr(); +} diff --git a/src/misc/lambda.h b/src/misc/lambda.h new file mode 100644 index 0000000..e396125 --- /dev/null +++ b/src/misc/lambda.h @@ -0,0 +1,33 @@ +// +// C++ Interface: misc +// +// Description: miscellaneous helper functions +// +// +// Author: Konrad Rosenbaum , (C) 2008-2011 +// +// Copyright: See README/COPYING.GPL files that come with this distribution +// +// + +#ifndef MAGICSMOKE_LAMBDA_H +#define MAGICSMOKE_LAMBDA_H + +#include + +#include +class QWidget; + +class MLambda:public QObject +{ + Q_OBJECT + public: + MLambda(std::functionl,QObject* parent = 0); + MLambda(QObject* parent = 0); + public slots: + void call(); + private: + std::functionm_ptr; +}; + +#endif diff --git a/src/misc/misc.pri b/src/misc/misc.pri index a1fec82..e321059 100644 --- a/src/misc/misc.pri +++ b/src/misc/misc.pri @@ -3,7 +3,8 @@ HEADERS += \ misc/misc.h \ misc/waitcursor.h \ misc/sclock.h \ - misc/formula.h + misc/formula.h \ + misc/lambda.h SOURCES += \ misc/code39.cpp \ @@ -11,6 +12,8 @@ SOURCES += \ misc/misc.cpp \ misc/waitcursor.cpp \ misc/sclock.cpp \ - misc/formula.cpp + misc/formula.cpp \ + misc/lambda.cpp -INCLUDEPATH += ./misc \ No newline at end of file +INCLUDEPATH += ./misc +QMAKE_CXXFLAGS += -std=gnu++0x \ No newline at end of file diff --git a/src/mwin/overview.cpp b/src/mwin/overview.cpp index 4007e34..a618348 100644 --- a/src/mwin/overview.cpp +++ b/src/mwin/overview.cpp @@ -55,6 +55,7 @@ #include #include #include +#include MOverview::MOverview(QString pk) :MTabWin(pk) @@ -130,6 +131,7 @@ MOverview::MOverview(QString pk) m2->addAction(tr("&Auto-Refresh settings..."),this,SLOT(setRefresh())); m2->addAction(tr("&Server Access settings..."),this,SLOT(webSettings())); m2->addAction(tr("&Display settings..."),this,SLOT(displaySettings())); + m2->addAction(tr("&Label Printing settings..."),this,SLOT(labelSettings())); //make sure webrequest knows its settings webSettings(false); @@ -582,6 +584,11 @@ void MOverview::backupSettings() } } +void MOverview::labelSettings() +{ + MLabelConfig::configDialog(); +} + void MOverview::aclWindow() { MAclWindow::showWindow(this); diff --git a/src/mwin/overview.h b/src/mwin/overview.h index 7b6c623..a76ee50 100644 --- a/src/mwin/overview.h +++ b/src/mwin/overview.h @@ -73,6 +73,8 @@ class MOverview:public MTabWin void displaySettings(); /**settings for backup*/ void backupSettings(); + ///label printing settings + void labelSettings(); ///\internal run init scripts void runStartupScript(); diff --git a/src/smoke_de.ts b/src/smoke_de.ts index 95348bc..74957ed 100644 --- a/src/smoke_de.ts +++ b/src/smoke_de.ts @@ -42,27 +42,27 @@ MAddressChoiceDialog - + Chose an Address Adresse wählen - + Add Address Adresse hinzufügen - + Cancel Abbrechen - + Warning Warnung - + Unable to save changes made to addresses: %1 Änderungen an dieser Adresse können nicht gespeichert werden: %1 @@ -70,107 +70,107 @@ MAddressDialog - + Edit Address Adresse ändern - + Create Address Adresse anlegen - + Last used: Zuletzt benutzt: - + Name: Name: - - + + Address: Adresse: - + City: Stadt: - + State: Bundesland: - + ZIP Code: Postleitzahl: - + Country: Land: - - + + Ok Ok - - + + Cancel Abbrechen - + Create New Country... must contain leading space to distinguish it from genuine countries Neues Land anlegen... - + Select Country Land auswählen - + Please select a country: Bitte wählen Sie ein Land: - + Create New Country Neues Land anlegen - + Country Name: Name des Landes: - + Abbreviation: Abkürzung: - - + + Warning Warnung - + The country name and abbreviation must contain something! Der Landesname und die Abkürzung müssen Daten enthalten! - + Error while creating country: %1 Fehler beim Anlegen des Landes: %1 @@ -246,18 +246,34 @@ MApplication - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%4">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href=" - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>diese Programm unterliegt der GNU GPL Version 3 oder einer neueren Version<p>Siehe auch <a href="%4">MagicSmoke Homepage</a>.<p>Diese Version wurde aus der Quelle '%1' Revision '%2' gebaut. + <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>diese Programm unterliegt der GNU GPL Version 3 oder einer neueren Version<p>Siehe auch <a href="%4">MagicSmoke Homepage</a>.<p>Diese Version wurde aus der Quelle '%1' Revision '%2' gebaut. + + + + <h3>MagicSmoke %1</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%2">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. + <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>diese Programm unterliegt der GNU GPL Version 3 oder einer neueren Version<p>Siehe auch <a href="%4">MagicSmoke Homepage</a>.<p>Diese Version wurde aus der Quelle '%1' Revision '%2' gebaut. {3>?} {1<?} {3>?} {2007-2011<?} {2007-2008<?} {3 ?} {2"?} {1'?} {2'?} + + + + MagicSmoke Version Information + - + + <h3>MagicSmoke Version %3</h3><table><tr><td>Repository:<td>%1</tr><tr><td>Revision:<td>%2</tr><tr><td>Modification&nbsp;State:<td>%4</tr><tr><td>Commit Time:<td>%5</tr><tr><td>Committer:<td>%6</tr></table><p> +<h3>Libraries</h3> +<table><tr><td>WOC:<td>%7<br/>%8</tr><tr><td>PACK&nbsp;Library:<td>%9<br/>%10</tr><tr><td>Qt:<td>%11</tr><tr><td>ELAM:<td>%12</tr><tr><td>Time&nbsp;Zone&nbsp;Default:<td>%13 in %14<br/>version %15</tr><tr><td>Time&nbsp;Zone&nbsp;Built-In:<td>%16</tr></table> + + + + &Help &Hilfe - + About MagicSmoke Über MagicSmoke @@ -424,202 +440,206 @@ (Kein Versand) - + Amount Anzahl - + Title Titel - + Start Time Anfangszeit - + Price Preis - - - - - - - + + + + + + + Warning Warnung - + Please set the customer first. Bitte wählen Sie einen Kunden aus. - + Select Event to order Ticket Bitte wählen Sie eine Verstaltung aus, um zu bestellen - + Select Auswählen - - - + + + Cancel Abbrechen - + Error getting event, please try again. Konnte Veranstalung nicht herunterlden, bitte versuchen Sie es noch einmal. - This event has no prices associated. Cannot sell tickets. - Diese Veranstaltung hat keine Preise assoziiert, daher können keine Eintrittskarten dafür generiert werden. + Diese Veranstaltung hat keine Preise assoziiert, daher können keine Eintrittskarten dafür generiert werden. - + + This event has no prices associated that you can use for sales. Cannot sell tickets. + + + + Select Price Category Preiskategorie wählen - + Please chose a price category: Bitte wählen Sie eine Preiskategorie: - - + + Ok Ok - + Select Voucher Gutschein wählen - + Select voucher price and value: Bitte Gutschein-Preis und -Wert wählen: - + Price: Preis: - + Value: Wert: - + Voucher (value %1) Gutschein (Wert: %1) - + There are problems with the contents of the cart, please check and then try again. Es gibt Probleme mit dem Inhalt des Wahrenkorbs. Bitte prüfen Sie die rot markierten Inhalte und probieren Sie es erneut. - - + + Error Fehler - + There is nothing in the order. Ignoring it. Bestellung ist leer. Vorgang abgebrochen. - + Please chose a customer first! Bitte wählen Sie zunächst einen Kunden aus! - + Shipping Versand - + You have chosen a shipping method, but no address. Are you sure you want to continue? Sie haben eine Versandmethode, aber keine Adresse gewählt. Sind Sie sicher? - + Reservations can only contain tickets. Reservierungen können nur Eintrittskarten enthalten. - + Error while creating reservation: %1 Fehler beim Anlegen der Reservierung: %1 - + Error while creating order: %1 Fehler beim Anlegen der Bestellung: %1 - + The customer is not valid, please chose another one. Der Kunde existiert nicht oder kann nicht benutzt werden, bitte wählen Sie einen anderen Kunden. - + The delivery address is not valid, please chose another one. Die Lieferadresse kann nicht benutzt werden, bitte wählen Sie eine andere Adresse. - + The invoice address is not valid, please chose another one. Die Rechnungsadresse kann nicht benutzt werden, bitte wählen Sie eine andere. - + Shipping Type does not exist or you do not have permission to use it. Die Versandart existiert nicht oder Sie haben nicht das Recht diese Versandart zu verwenden. - + The event is already over, please remove this entry. Diese Veranstaltung ist bereits vorbei. Bitte entfernen Sie diesen Eintrag. - + You cannot order tickets for this event anymore, ask a more privileged user. Sie können keine Entrittskarten mehr für diese Veranstaltung verkaufen, bitte fragen Sie einen höher privilegierten Nutzer. - + The event is (almost) sold out, there are %1 tickets left. Diese Veranstaltung ist (nahezu) ausverkauft. Es gibt nur noch %1 Karten. - + The event does not exist or there is another serious problem, please remove this entry. Diese Veranstaltung existiert nicht oder es gibt ein anderes Problem - bitte entfernen Sie diesen Eintrag. - + You do not have permission to create vouchers with this value, please remove it. Sie haben nicht die Berechtigung Gutscheine mit diesem Wert anzulegen - bitte entfernen Sie ihn. - + The price tag of this voucher is not valid, please remove and recreate it. Der Preis dieses Gutscheins ist nicht gültig. Bitte entfernen Sie ihn und legen Sie ihn neu an. @@ -1280,47 +1300,47 @@ Priorität: Quellen mit dem niedrigsten Wert werden zuerst durchsucht. MEEPriceEdit - + Change Price Preis ändern - + Price category: Preiskategorie: - + Price: Preis: - + Maximum Seats: Maximale Zahl der Plätze: - + Ordering: Reihenfolge: - + Flags: Flags: - + Ok Ok - + Cancel Abbrechen - + Edit flags of price %1: Flags des Preises %1 ändern: @@ -1499,166 +1519,170 @@ Priorität: Quellen mit dem niedrigsten Wert werden zuerst durchsucht.Flags: - + + Edit Flags of Event '%1' + + + + Description Beschreibung - + The description will be displayed on the web site, please use HTML syntax. Diese Beschreibung wird auf der Webseite benutzt, bitte nutzen Sie HTML. - + Comment Kommentar - + The comment is for internal use only, please add any hints relevant for your collegues. Dieser Kommentar ist nur für den internen Gebrauch, bitte fügen Sie für Kollegen relevante Hinweise hinzu. - + Prices Preise - + Change Price Preis ändern - + Add Price Preis hinzufügen - + Remove Price Preis entfernen - + Save Speichern - + Close Schließen - + Error while creating event: %1 Fehler beim anlegen der Veranstaltung: %1 - + Error while changing event: %1 Fehler beim Ändern der Veranstaltung: %1 - Edit flags of event %1: - Flags der Veranstaltung ändern %1: + Flags der Veranstaltung ändern %1: - + Price Category Preiskategorie - + Price Preis - + Ticket Capacity max. Anzahl Karten - + Tickets Karten - + Seats Blocked blockierte Plätze - + Ordering Reihenfolge - + Flags Flags - + Price category already exists in this event. Diese Preiskategorie existiert bereits für diese Veranstaltung. - + Cannot remove price '%1' - it has tickets in the database. Preis '%1' kann nicht entfernt werden - es existieren Karten dafür. - - + + Cancel Abbrechen - + Error while creating new room: %1 Fehler beim Anlegen eines Raumes: %1 - + Select an Artist Künstler auswählen - + New... new artist Neu... - + Select select artist Auswählen - + New Artist Neuer Künstler - + Name of new artist: Name des Künstlers: - + Error while creating new artist: %1 Fehler beim Anlegen des Künstlers: %1 - - - - - - + + + + + + Warning Warnung @@ -1668,29 +1692,29 @@ Priorität: Quellen mit dem niedrigsten Wert werden zuerst durchsucht.Veranstaltung kann nicht vom Server geladen werden. - + Select a Room Raum auswählen - + New... new room Neu... - + Select select room Auswählen - + New Room Neuer Raum - + Name of new room: Name des Raumes: @@ -1952,52 +1976,52 @@ Priorität: Quellen mit dem niedrigsten Wert werden zuerst durchsucht. MFlagEditor - + ignore ignorieren - + must have muss gesetzt sein - + must not have darf nicht gesetzt sein - + Edit Flags Flags ändern - + Reset Zurücksetzen - + Ok Ok - + Cancel Abbrechen - + Mode Modus - + Flag Flag - + Description Beschreibung @@ -2244,607 +2268,657 @@ Priorität: Quellen mit dem niedrigsten Wert werden zuerst durchsucht. MInterface - + Backup Sicherung - + GetLanguage Übersetzung für Servermeldungen holen - + ServerInfo Serverinformationen - + Login Login - + Logout Logout - + GetMyRoles meine Rollen herausfinden - + GetMyRights meine Rechte herausfinden - + ChangeMyPassword Mein Passwort ändern - + GetAllUsers Nutzer abfragen - + CreateUser Nutzer anlegen - + ChangePassword Passwort eines anderen Nutzers ändern - + DeleteUser Nutzer löschen - + SetUserDescription Nutzerkommentar setzen - + GetUserRoles Rollen eines anderen Nutzers herausfinden - + SetUserRoles Rollen eines anderen Nutzers setzen - + GetAllRoles Alle Rollen abfragen - + GetRole spezifische Rolle abfragen - + CreateRole Rolle anlegen - + SetRoleDescription Rollenkommentar setzen - + SetRoleRights Rollenrechte setzen - + DeleteRole Rolle löschen - + GetAllRightNames Namen aller Rechte abfragen - + GetAllHostNames Namen aller Hosts abfragen - + GetAllHosts Alle Hosts (incl. Keys) abfragen - + SetHost Host ändern/anlegen - + DeleteHost Host löschen - + GetUserHosts erlaubte Hosts eines Nutzers abfragen - + GetValidFlags alle gültigen Flags abfragen - + SetFlag Flag anlegen/ändern - + DeleteFlag Flag löschen - + GetUser Nutzerdaten abfragen - + SetUserHosts erlaubte Hosts eines Nutzers abfragen - + SetUserFlags Flags des Nutzers setzen - + SetRoleFlags Flags der Rolle setzen - + GetAllContactTypes Kontaktinformationstypen abfragen - + CreateContactType Kontaktinformationstypen anlegen - + GetCustomer Kunden abfragen - + GetAllCustomerNames Alle Kundennamen abfragen - + CreateCustomer Kunden anlegen - + ChangeCustomer Kunden ändern - + ChangeCustomerMail Kunden-E-Mail-Adresse ändern - + DeleteCustomer Kunden löschen - + GetAddress Addresse abfragen - + GetAllCountries gespeicherte Länder abfragen - + CreateCountry Land anlegen - + ResetCustomerPassword Kundenpasswort zurücksetzen (sendet Mail) - + GetAllArtists Künstler abfragen - + CreateArtist Künstler anlegen - + GetAllPriceCategories Preiskategorien abfragen - + CreatePriceCategory Preiskategorie anlegen - + ChangePriceCategory Preiskategorie anpassen - + GetEvent Veranstaltungsdetails abfragen - + GetAllEvents Liste der Veranstaltungen abfragen - + GetEventList Liste der Veranstaltungen abfragen (spezifische Liste) - + CreateEvent Veranstaltung anlegen - + ChangeEvent Veranstaltung ändern - + CancelEvent Veranstaltung absagen - + GetAllRooms Liste aller Räume abfragen - + CreateRoom Raum anlegen - + GetEventSummary Veranstaltungübersicht - + GetTicket Ticket abrufen - + GetVoucher Gutschein abfragen - + GetVoucherAudit Logdaten zu Gutschein abfragen - + GetOrderAudit Logdaten zu Bestellung abfragen - + GetOrder Bestellung: Details abfragen - + GetOrderList Liste der Bestellungen abfragen - + GetOrdersByEvents Bestellungen finden, die Veranstaltung enthalten - + GetOrdersByCustomer Bestellungen finden, die zu einem Kunden gehören - + + GetMyOrders + + + + + GetOrdersByUser + + + + GetOrderByBarcode Bestellung finden, die Eintrittskarte oder Gutschein enthält - + CreateOrder Bestellung anlegen - + CreateReservation Reservierung anlegen - + ReservationToOrder Reservierung in Bestellung wandeln - + CancelOrder Bestellung stornieren - + OrderPay Bestellung bezahlen - + OrderRefund Bestellung: Geld zurück geben - + UseVoucher Gutschein benutzen (damit bezahlen) - + DeductVoucher Gutschein für Waren außerhalb MagicSmoke benutzen - + EmptyVoucher Gutschein ungültig machen - + OrderChangeShipping Versandoption einer Bestellung ändern - + OrderMarkShipped Bestellung als verschickt markieren - + OrderAddComment Bestellkommentar (in angelegter Bestellung) hinzufügen - + OrderChangeComments Bestellkommentar (in angelegter Bestellung) ändern (Adminfunktion) - + ReturnTicketVoucher Eintrittskarte oder Gutschein zurückgeben - + ChangeTicketPrice Ticketpreis ändern - + ChangeTicketPriceCategory Preiskategorie einer Karte ändern - + + ChangeOrderAddress + + + + GetAllShipping Versandoptionen holen - + ChangeShipping Versandoptionsdaten ändern - + CreateShipping Versandoption anlegen - + DeleteShipping Versandoption löschen - + GetValidVoucherPrices Gutscheinpreise abfragen (zB. für Bestellformular) - + UseTicket Ticket entwerten - + GetEntranceEvents Liste der Veranstaltungen abfragen, die am Einlass relevant sind - + + GetPaymentTypes + + + + + SetPaymentType + + + + + SetDefaultPaymentType + + + + + DeletePaymentType + + + + + GetTicketAudit + + + + + GetUserAudit + + + + WebCartAddTicket Nur Web: Karte zum Warenkorb hinzufügen - + WebCartRemoveTicket Nur Web: Karte aus Warenkorb entfernen - + WebCartAddVoucher Nur Web: Gutschein zum Warenkorb hinzufügen - + WebCartRemoveVoucher Nur Web: Gutschein aus Warenkorb entfernen - + GetTemplateList Vorlagenliste abfragen - + GetTemplate Vorlage abfragen - + SetTemplate Vorlage anlegen oder ändern - + SetTemplateDescription Beschreibung einer Vorlage ändern - + DeleteTemplate Vorlage löschen - + + SetTemplateFlags + + + + ChangeEvent:CancelEvent Veranstaltung absagen - + CreateOrder:AnyVoucherValue Bestellung anlegen: beliebige Gutscheinwerte erlauben - + CreateOrder:DiffVoucherValuePrice Bestellung anlegen: Gutscheinpreis darf von Gutscheinwert abweichen - + CreateOrder:LateSale Bestellung anlegen: bis zu Veranstaltungsbeginn erlauben - + CreateOrder:AfterTheFactSale Bestellung anlegen: auch nach der Veranstaltung erlauben (Adminfunktion) - + CreateOrder:CanOrder Bestellung anlegen: Nutzer darf bestellen - + CreateOrder:CanSell Bestellung anlegen: Nutzer darf verkaufen - + CreateOrder:CanOrderTicket Bestellung anlegen: Nutzer darf Tickets verkaufen - + CreateOrder:CanOrderVoucher Bestellung anlegen: Nutzer darf Gutscheine verkaufen - + CreateOrder:CanOrderItem Bestellung anlegen: Nutzer darf Waren verkaufen - + CreateReservation:LateReserve Reservierung anlegen: bis Veranstaltungsbeginn erlauben - + CancelOrder:CancelSentOrder Bestellung stornieren: auch für bereits versandte Bestellung - + CancelOrder:CancelPastTickets Bestellung stornieren: auch für Bestellung mit Karten vergangener Veranstaltungen - + OrderChangeShipping:ChangePrice Versandoption einer Bestellung ändern: beliebigen Preis erlauben - + OrderMarkShipped:SetTime Bestellung als verschickt markieren: beliebigen Zeitpunkt erlauben - + ReturnTicketVoucher:ReturnPastTicket Eintrittskarte oder Gutschein zurückgeben: auch abgelaufene Karten erlauben - + ChangeTicketPrice:ChangeUsedTicket Ticketpreis ändern: auch bereits genutzte Karten - + ChangeTicketPrice:ChangePastTicket Ticketpreis ändern: auch abgelaufene Karten - + ChangeTicketPriceCategory:ChangeUsedTicket Kartenkategorie ändern: Nutzer darf benutzte Karte ändern - + ChangeTicketPriceCategory:ChangePastTicket Kartenkategorie ändern: Nutzer darf Karte für Veranstaltung ändern, die schon vorbei ist @@ -2884,70 +2958,88 @@ At least %1 Bits of random are required. + MLabelConfig + + + Label Configuration + Etikettenkonfiguration + + + + Ticket Labels: + Eintrittskarten: + + + + Printer: + Drucker: + + + MLabelDialog - + Label Printing Setup Etikettendruck einrichten - + mm defaultmetric: mm, in, cm mm - + Label offset: Seitenrand: - + Label size: Etikettengröße: - + Unit: Einheit: - + Millimeter Millimeter - + Centimeter Zentimeter - + Inch Zoll - + Page usage: Seitennutzung: - + Page %1 Seite %1 - + Ok Ok - + Cancel Abbrechen - + Warning: the label may not fit on the page! Warnung: der Aufkleber könnte größer als die eingestellte Seite sein! @@ -3729,25 +3821,123 @@ At least %1 Bits of random are required. MOrderAuditDialog - + + + + Warning + Warnung + + + + Error while retrieving audit data: %1 + Fehler beim herunterladen der Logdaten: %1 + + + + Sorry, no audit data available. + Es sind leider keine Log-Daten verfügbar. + + + Order Audit [%1] Bestellungslog [%1] + + + + No Data + Keine Daten + + + + No audit data found for this ticket. + + + + + Ticket Audit: %1 + + + + + + Close + Schließen + + + + + Date/Time + Datum/Zeit + + + + + User + Nutzer + + + + + Transaction + Transaktion + + + + + Price + Preis + + + + Event Date + + + + + Event + Veranstaltung + + + + No audit data found for this voucher. + Es existieren keine Log-Daten für diesen Gutschein. + + + + Voucher Audit: %1 + Gutschein-Log: %1 + + + + Value + Wert + + + + Comment + Kommentar + + + + Unable to get user audit data: %1 + + MOrderItemView - + Preview Tickets Karten-Vorschau - + Ticket: Eintrittskarte: - + Voucher: Gutschein: @@ -3755,472 +3945,505 @@ At least %1 Bits of random are required. MOrderWindow - + Order Details Bestelldetails - + &Order &Bestellung - + &Order... &Bestellung... - + C&ancel Order... Bestellung &Stornieren... - + Change Item &Price... Artikelpreis ändern... - + C&hange Ticket Price Category... Preiskategorie der Eintrittskarte ändern... - + &Close S&chließen - + &Payment &Bezahlung - + Receive &Payment... &bezahlen... - + &Refund... &zurückgeben... - + P&rinting &Druck - + Print &Bill... &Rechnung drucken... - + Save Bill &as file... Rechnung &speichern... - + Print &Tickets... &Eintrittskarten drucken... - + Order ID: Bestell-Nr.: - + Order Date: Bestelldatum: - + Shipping Date: Versandtdatum: - + Customer: Kunde: - + Sold by: Verkauft durch: - + Total Price: Gesamtpreis: - + Already Paid: bereits bezahlt: - + Order State: Bestellstatus: - + Start Time Anfangszeit - + Status Status - - + Price Preis - + &Mark Order as Shipped... Bestellung als versandt markieren... - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning Warnung - + Unable to get template file (ticket.xtt). Giving up. Kann Vorlage (ticket.xtt) nicht finden. Gebe auf. - - - + + + Mark as shipped? Als versandt markieren? - - - + + + Mark this order as shipped now? Diese Bestellung jetzt als versandt markieren? - Enter Payment - Zahlbetrag eingeben + Zahlbetrag eingeben - Please enter the amount that has been paid: - Bitte geben Sie den Betrag ein, der bezahlt wurde: + Bitte geben Sie den Betrag ein, der bezahlt wurde: - + Error while trying to pay: %1 Fehler während der Bezahlung: %1 - + Enter Refund Rückgabe eingeben - + Please enter the amount that will be refunded: Bitte geben Sie den Betrag ein, der zurückgegeben wird: - + Cancel Order? Bestellung stornieren? - + Cancel this order now? Diese Bestellung jetzt stornieren? - + Delivery Address: Lieferadresse: - + Change Sh&ipping Method... Change Commen&t... Versandoption ändern... - - + + &Save &Speichern - - + + &Cancel &Abbrechen - + &Return Item... Artikel zurückgeben... - + Add Commen&t... Kommentar hinzufügen... - + Change C&omments... Kommentare ändern... - + + Change Invoice Address... + + + + + Change Delivery Address... + + + + Print V&ouchers... Gutscheine drucken... - + Print &Current Item... Aktuellen Artikel drucken... - + &View Items... Artikel ansehen... - + &Audit Log - + Voucher History... Gutscheinhistorie... - + + Ticket History... + + + + Order History... Bestellhistorie... - + Invoice Address: Rechnungsadresse: - + Shipping Method: Versandoption: - + Shipping Costs: Versandkosten: - + Order Comments: Bestellkommentare: - + Item ID Artikelnummer - + Description Beschreibung - + Voucher (current value: %1) Gutschein (aktueller Wert: %1) - + %1x %2 %1x %2 - + There are no tickets left to print. Es gibt keine Eintrittskarten zu drucken. - + There are no vouchers left to print. Es gibt keine Gutscheine zu drucken. - + Unable to get template file (voucher.xtt). Giving up. Kann Vorlage (voucher) nicht finden. Gebe auf. - - + + Unable to get template file (bill). Giving up. Kann Vorlage (bill) nicht finden. Gebe auf. - + + Payment Info + + + + + Payment successful, but only %1 was required, please hand back the remaining %2. + + + + Error getting event, please try again. Konnte Veranstalung nicht herunterlden, bitte versuchen Sie es noch einmal. - + Cannot select another price category - there are none left. Kann keine weitere Preiskategorie wählen - es sind keine mehr übrig. - + Select Price Category Preiskategorie wählen - + Please chose a price category: Bitte wählen Sie eine Preiskategorie: - + Ok Ok - + Error while marking order as shipped: %1 Fehler während die Bestellung and versandt markiert wurde: %1 - + Change comments: order %1 Bestellkommentare ändern [%1] - - + + There was a problem uploading the new comment: %1 Fehler beim Hochladen des neuen Kommentars: %1 - + Add comment: order %1 Kommentar hinzufügen [%1] - + Error while changing shipping: %1 Fehler beim Ändern der Versandmethode: %1 - + + No Delivery Address + + + + + + Unable to set address, server error: %1 + + + + + No Invoice Address + + + + The selected item is not a voucher. Sie haben keinen Gutschein gewählt. - + + The selected item is not a ticket. + + + No Data - Keine Daten + Keine Daten - No audit data found for this voucher. - Es existieren keine Log-Daten für diesen Gutschein. + Es existieren keine Log-Daten für diesen Gutschein. - Voucher Audit: %1 - Gutschein-Log: %1 + Gutschein-Log: %1 - Close - Schließen + Schließen - Date/Time - Datum/Zeit + Datum/Zeit - User - Nutzer + Nutzer - Transaction - Transaktion + Transaktion - Value - Wert + Wert - Comment - Kommentar + Kommentar - Error while retrieving audit data: %1 - Fehler beim herunterladen der Logdaten: %1 + Fehler beim herunterladen der Logdaten: %1 - Sorry, no audit data available. - Es sind leider keine Log-Daten verfügbar. + Es sind leider keine Log-Daten verfügbar. - + Open Document File (*.%1) ODF Datei (*.%1) - + Error while trying to pay with voucher '%1': %2 Fehler bei der Bezahlung mit Gutschein '%1': %2 - + Successfully paid order %1 with voucher '%2'. Amount deducted: %3 Remaining value of this voucher: %4 @@ -4229,297 +4452,358 @@ Betrag der vom Gutschein abgezogen wurde: %3 Verbleibender Betrag auf dem Gutschein: %4 - + Error while trying to refund: %1 Fehler beim Zurückgeben des Betrags: %1 - + Enter Price Bitte Preis eingeben - + Please enter the new price for the ticket: Bitte neuen Preis für die Eintrittskarte eingeben: - - + + Error while attempting to change ticket price: %1 Fehler beim Ändern des Kartenpreises: %1 - - + + Cannot change this item type. Diese Artikelart kann nicht geändert werden. - + Cannot return this item type. Diese Artikelart kann nicht zurückgegeben werden. - + Return Ticket or Voucher Eintrittskarte oder Gutschein zurückgeben - + Do you really want to return this ticket or voucher? Wollen Sie diese Karten oder diesen Gutschein zurückgeben? - + Error whily trying to return item: %1 Fehler beim Zurückgeben des Artikels: %1 - + Error while cancelling order: %1 Fehler beim Stornieren der Bestellung: %1 - + Error while changing order status: %1 Fehler beim Ändern des Bestellstatus: %1 - + Set shipping time Versandzeit setzen - + Enter the shipping time: Bitte geben Sie die Versandzeit ein: - + OK Ok - - + + Cancel Abbrechen - + Enter Voucher Gutschein eingeben - + Please enter the ID of the voucher you want to use: Bitte geben Sie die Nummer des Gutscheins ein, den Sie verwenden wollen: - + Voucher Info Gutscheininformation - + Pay with &Voucher... Mit Gutschein bezahlen... + MOrdersByUserDlg + + + Select User Criteria + + + + + Ok + Ok + + + + Cancel + Abbrechen + + + + My orders: + + + + + look for my own orders + + + + + User Name: + + + + + Maximum Age (days): + + + + + Limit: + + + + + Include all orders the user touched + + + + MOrdersTab - + -select mode- -Modus auswählen- - + All Orders Alle Bestellungen - + Open Orders Offene Bestellungen - + Open Reservations Reservierungen - + Outstanding Payments Noch nicht bezahlt - + Outstanding Refunds Offene Rückerstattungen - + Undelivered Orders Nicht ausgelieferte Bestellungen - + -search result- -Suchresultat- - + Update Auffrischen - + Details... Details... - + Orders since... Bestellungen seit... - + Find by Ticket... Mit Kartennummer suchen... - + Find by Event... Nach Veranstaltung suchen... - + Find by Customer... Nach Kunde suchen... - + + Find by User... + + + + Find by Order ID... Nach Bestellnummer suchen... - + Status Status - + Total Gesamt - + Paid bezahlt - + Customer Kunde - - - - - - - - - + + + + + + + + + + + Warning Warnung - - - + + + There was a problem retrieving the order list: %1 Fehler beim Herunterladen des Bestellliste: %1 - + Select Date Datum wählen - + Please select the date and time: Bitte wählen Sie ein Datum und eine Zeit: - + ddd MMMM d yyyy, h:mm ap time format ddd, d.M.yyyy hh:mm - - + + Error while retrieving order: %1 Fehler beim Herunterladen der Bestellung: %1 - + Enter Ticket Bitte Ticket eingeben - + Please enter the ID of one of the tickets of the order you seek: Bitte geben Sie die Nr. einer Karte aus der gesuchten Bestellung ein: - + Error while searching for order: %1 Fehler beim Suchen nach der Bestellung: %1 - + Order for barcode '%1' not found. Zu Barcode '%1' wurde keine Bestellung gefunden. - + Select Event Veranstaltung auswählen - - + + + Unable to get user orders, server error: %1 + + + + + Ok Ok - - + + Cancel Abbrechen - + Error while retrieving order list: %1 Fehler beim Herunterladen der Bestellliste: %1 - + Enter Order ID Bestellnummer eingeben - + Please enter the ID of the order you want to display: Bitte geben Sie die Bestellnummer der Bestellung ein, die Sie ansehen wollen: - + This order does not exist. Diese Bestellung existiert nicht. @@ -4527,426 +4811,522 @@ Verbleibender Betrag auf dem Gutschein: %4 MOverview - + &Session &Session - + &Re-Login &Login wiederholen - + Switch to Wizard... Auf Assistent umschalten... - + &Close Session Session &schließen - + Events Veranstaltungen - + Return &ticket or voucher... Eintrittskarte oder Gutschein zurückgeben... - + &Actions &Aktionen - + Tickets and &Vouchers Eintrittskarten und Gutscheine - + &Empty voucher... Gutschein entleeren... - + &Templates Vorlagen - + &Configuration Konfiguration - - - - - - - - - + + + + + + + + + + Warning Warnung - + &Show all customers &Alle Kunden anzeigen - + Shopping Cart Einkaufswagen - + Change my &Password Mein &Passwort ändern - + Error setting password: %1 Passwort kann nicht gesetzt werden: %1 - + Order List Bestellungsliste - + Cancel Abbrechen - + Entrance Einlasskontrolle - + &Backup now... &Jetzt Backup machen... - + &Auto-Refresh settings... Auto-Auffrisch-Einstellungen... - + &Display settings... Anzeigeeinstellungen... - + &Administration &Administration + + &Options + + + + Edit &Payment Options... + + + + + A&udit + + + + + &Order Audit... + + + + + &Ticket Audit... + + + + + &Voucher Audit... + + + + + &User Audit... + + + + &User Administration... Nutzerverwaltung... - + + &Label Printing settings... + + + + Return Ticket/Voucher Eintrittskarte/Gutschein zurückgeben - + Please enter the ticket or voucher ID to return: Bitte geben Sie die Eintrittskarten- oder Gutscheinnummer ein, die zurückgegeben werden soll: - + This ticket/voucher cannot be returned: %1 Diese Karte/dieser Gutschein kann nicht zurückgegeben werden: %1 - + Reason for deducting: Grund für den Abzug: - + Unable to deduct voucher: %1 Kann kein Geld von diesem Gutschein abziehen: %1 - + Voucher does not contain enough money. Money left: %1 Dieser Gutschein hat nicht genug Restwert: %1 - + Invalidate Voucher Ungültiger Gutschein - + Please enter/scan the barcode of the voucher to invalidate/empty - the voucher will no longer be usable afterwards, but still has to be paid for. Bitte scannen Sie den Barcode des Gutscheins der ungültig gemacht werden soll. Der Gutschein wird danach nicht mehr nutzbar sein, aber muss trotzdem bezahlt werden. - + Unable to invalidate voucher: %1 Kann Gutschein nicht ungültig machen: %1 - + Invalidated Voucher Gutschein ungültig - + The voucher '%1'has been invalidated. Der Gutschein '%1' wurde ungültig gemacht. - + Refresh Settings Auffrischeinstellungen - + Refresh Rate (minutes): Auffrischrate (Minuten): - + refresh &event list Veranstaltungsliste auffrischen - + refresh &user list Nutzerliste auffrischen - + refresh &host list Rechnerliste auffrischen - - - + + + &OK &Ok - - - + + + &Cancel &Abbrechen - + No Logging Kein Log - + Medium Logging Mittlere Logdetails - + Display Settings Anzeigeeinstellungen - + Event settings Veranstaltungseinstellungen - + Maximum event age (days, 0=show all): Maximales Veranstaltungsalter (in Tagen, 0=alle anzeigen): - + + Order ID + + + + + Please enter the ID of the order you want to audit: + + + + + Ticket ID + + + + + Please enter the ID of the ticket you want to audit: + + + + + Voucher ID + + + + + Please enter the ID of the voucher you want to audit: + + + + + Audit User + audit dialog + + + + + + User Name: + audit dialog + + + + + Earliest Info + audit dialog + + + + + Cannot query an empty user name. + audit dialog + + + + &Edit Templates... Vorlagen ändern... - + &Update Templates Now Vorlagen jetzt auffrischen - + Edit &Shipping Options... Versandoptionen editieren - + refresh &shipping list Versandoptionen auffrischen - + &Deduct from voucher... Geld von Gutschein abziehen... - + &Server Access settings... Serverzugriffseinstellungen... - + Backup &Settings... Einstellungen Sicherungskopie... - + Deduct from Voucher Von Gutschein abziehen - + Using a voucher to pay outside the system. Einen Gutschein nutzen um außerhalb des Systems zu bezahlen. - + Amount to deduct: Abzuziehender Betrag: - + Voucher ID: Gutscheinnummer: - + OK Ok - + Deducted from Voucher Von Gutschein abziehen - + Value taken from voucher: %1 Value remaining on voucher: %2 Vom Gutschein abgezogener Betrag: %1 Verbleibender Betrag: %2 - + Server Access Settings Serverzugriffseinstellungen - + Request Timeout (seconds): max. Anfragezeit (Sekunden): - + Log Level: Logstufe: - + Minimal Logging Minimales Log - + Log Details on Error Bei Fehlern Details - + Always Log Details Immer Details - + Backup Sicherung - + The backup was successful. Die Sicherung war erfolgreich. - + Cannot create backup file. Kann Sicherungsdatei nicht anlegen. - + I was unable to renew the login at the server. Der Login am Server konnte nicht erneuert werden. - + Maximum order list age Maximales Alter von Bestellungen in der Liste - + Age in days, 0=show all. Alter in Tagen, 0=alle zeigen. - + When showing all orders: Wenn alle Bestellungen angezeigt werden: - + When showing open orders: Wenn offene Bestellungen angezeigt werden: - + When searching by event: Wenn nach Veranstaltung gesucht wird: - + When searching by customer: Wenn nach Kunde gesucht wird: - + Default age when searching by date: Standardalter wenn nach Datum gesucht wird: - + Script settings Scripteinstellungen - + Show script debugger: Script-Debugger zeigen: - + Backup failed with error (%2): %1 Das Backup ist mit Fehler (%2) fehlgeschlagen: %1 - + Backup returned empty. Das Backup ist leer. @@ -5043,6 +5423,257 @@ Verbleibender Betrag: %2 + MPaymentDialog + + + Payment + + + + + Please enter the payment data below. + + + + + Amount paid: + + + + + Payment Type: + + + + + Data?: + + + + + Ok + Ok + + + + Cancel + Abbrechen + + + + MPaymentEditor + + + Edit Payment Options + + + + + Default Payment Type: + + + + + Change Description + Beschreibung ändern + + + + Change Data + + + + + Change Flags + Flags ändern + + + + Change Default + + + + + Add Option + Option hinzufügen + + + + Delete Option + Option löschen + + + + Close + Schließen + + + + ID + ID + + + + Description + Beschreibung + + + + Data Name + + + + + Data Default + + + + + Flags + Flags + + + + Payment Option Description + + + + + Please select a new description for this payment option: + + + + + + + + + + + Warning + Warnung + + + + + + Could not store the changes: %1 + Änderungen können nicht gespeichert werden: %1 + + + + Change Payment Data + + + + + + Data Name (human readable): + + + + + + Data Default (pattern): + + + + + Hint: %Y=year, %M=month, %D=day, %%=%-sign, %O=order ID, %U=user + + + + + + + Ok + Ok + + + + + + Cancel + Abbrechen + + + + Edit Flags of payment option '%1'. + + + + + Could not store the changes. + Konnte Änderungen nicht speichern. + + + + Set Default Payment Type + + + + + The payment type '%1' has flags set, it may not be usable for every user, please consider removing those flags. + + + + + Unable to set the new default: %1 + + + + + Create new Payment Option + + + + + Payment Type Name: + + + + + [a-zA-Z-/_\(\),\.]{1,63} + payment type pattern - allow national chars! + + + + + Description: + + + + + Hint: %Y=year, %M=month, %D=day, %H=hour(0..23), %h=hour(1..12), %m=minute, %a=AM/PM, %%=%-sign + + + + + Flags: + Flags: + + + + Edit flags of the new payment option: + + + + + Really Delete? + Wirklich löschen? + + + + Really delete payment option '%1'? + + + + + Unable to delete this option: %1 + Option kann nicht gelöscht werden: %1 + + + MPriceCategoryDialog @@ -5257,12 +5888,12 @@ Verbleibender Betrag: %2 Dieser Client ist zu alt für den Server. - + Connection Error Verbindungsfehler - + There were problems while authenticating the server. Aborting. Check your configuration. Es gab Probelme bei der Authentifikation. Abbruch. Bitte prüfen Sie Ihre Konfiguration. @@ -5474,32 +6105,32 @@ Offset von UTC: %2 Minuten %3 MShippingChange - + Change Shipping Method Versandoption ändern - + Method: Option: - + Price: Preis: - + Ok Ok - + Cancel Abbrechen - + (None) shipping method (Keine) @@ -5648,12 +6279,12 @@ Offset von UTC: %2 Minuten %3 MTELabelDelegate - + edged eckig - + smooth glatt @@ -5661,23 +6292,23 @@ Offset von UTC: %2 Minuten %3 MTemplateChoice - + Chose Template Vorlage auswählen - + Please chose a variant of template %1: Bitte wählen Sie eine Variante für die Vorlage %1: - + (default) default template pseudo-variant (Standard) - + Ok Ok @@ -5685,120 +6316,151 @@ Offset von UTC: %2 Minuten %3 MTemplateEditor - + Edit Template Directory Vorlagenverzeichnis editieren - + Update Now Jetzt auffrischen - + Add Variant Variante hinzufügen - + Delete Variant Variante löschen - Save Template - Vorlage speichern + Vorlage speichern + Change Flags + Flags ändern + + + + Save Template... + + + + Edit Template Vorlage ändern - + Close Schließen - + Template/Variant Vorlage/Variante - + Description Beschreibung - + Checksum Checksumme - - - - - - + + Flags + Flags + + + + + + + + + + Warning Warnung - + Unable to delete this template. Kann diese Vorlage nicht löschen. - + Select Template File Vorlagendatei wählen - + Files with this extension (%1) are not legal for this template. Dateien mit der Erweiterung %1 sind für diese Vorlage nicht erlaubt. - + Unable to upload file. Kann Datei nicht hochladen. - + Unable to send new description to server. Kann die neue Beschreibung nicht speichern. - + Unknown template type, cannot edit it. Unbekannter Vorlagentyp. Kann Editor nicht starten. - + Ooops. Lost the template file, cannot store it. Ups. Vorlagendatei verloren, kann sie nicht speichern. - + Save template as... Vorlage speichern unter... - + Error Fehler - + Unable to save the template file. Kann Vorlage nicht speichern. + + + Ooops. Lost the template file, cannot alter it. + + + + + Edit flags of template '%1' + + + + + Unable to send updated flags to server. + + MTemplateStore - + Retrieving templates from server. Hole Vorlagen vom Server. @@ -5806,331 +6468,424 @@ Offset von UTC: %2 Minuten %3 MTicketEditor - + &File &Datei - + &Open File... Datei öffnen... - + &Save &Speichern - + Save &as... Speichern unter... - + &Close S&chließen - + &Edit Ändern - - + + Add Item Zeile hinzufügen - - + + Remove Item Entfernen - - + + Add File Datei hinzufügen - - + + Remove File Datei entfernen - + Add Text Item Textzeile hinzufügen - + Add Picture Item Bild hinzufügen - + Add Barcode Item Barcode hinzufügen - + Add Load Font Item Schriftladezeile hinzufügen - + Label Size: Aufklebergröße: - + Millimeter Millimeter - + Inch Zoll - + Move up Nach oben - + Move down Nach unten - + As Label Als Aufkleber - + Zoom: Zoom: - + Refresh Auffrischen - + Example Data Beispieldaten - + Variable Variable - + Content Inhalt - - + + Error Fehler - + Unable to open file '%1' for reading. Kann Datei '%1' nicht zum lesen öffnen. - + Unable to interpret file '%1'. Kann Datei '%1' nicht interpretieren. - + top oben - + bottom unten - + center zentriert - + left links - + right rechts - + align (%1) Ausrichtung (%1) - - - + + + Warning Warnung - + Unable to interpret template data. Kann Vorlagendaten nicht interpretieren. - + Open Ticket Template Eintrittskartenvorlage öffnen - + Unable to write to file %1 Kann Datei %1 nicht schreiben - + Save Ticket Template Eintrittskartenvorlage speichern - + Label Template Editor Aufklebervorlageneditor - + Label Template Editor [%1] Aufklebervorlageneditor [%1] - - + + File Name Dateiname - - + + Size Größe - + Type Typ - + Offset Abstand - + File/Font Datei/Schrift - + Font Size Schriftgröße - + Scaling Skalierung - + Horiz. Alignment horiz. Ausrichtung - + Vert. Alignment vert. Ausrichtung - + Text Data Textdaten - + Load Font File Schriftdatei laden - + Show Picture Bild anzeigen - + Show Text Line Textzeile anzeigen - + Show Barcode Barcode anzeigen - + Unknown Unbekannt - + smooth glatt - + edged eckig - + Add File to Label Datei zu Aufkleber hinzufügen - + Unable to read file %1 Kann Datei %1 nicht lesen - + Please enter the internal file name: Bitte geben Sie den internen Dateinamen ein: - + Really delete? Wirklich löschen? - + Really remove file '%1' from the label? Wirklich Datei '%1' aus dem Aufkleber löschen? + MUserAuditDialog + + + User Audit: %1 + + + + + Close + Schließen + + + + Orders + + + + + + + Order ID + + + + + + + Action + + + + + + + Time + + + + + + + Show Order + + + + + + + Audit Order + + + + + Tickets + Karten + + + + Ticket + Eintrittskarte + + + + Audit Ticket + + + + + Vouchers + + + + + Voucher + Gutschein + + + + Audit Voucher + + + + + Warning + Warnung + + + + Unable to retrieve order: %1 + + + + MUserTab @@ -6353,6 +7108,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6374,6 +7130,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6399,6 +7156,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6407,11 +7165,15 @@ Offset von UTC: %2 Minuten %3 + + + + @@ -6424,19 +7186,22 @@ Offset von UTC: %2 Minuten %3 - + + + + @@ -6458,6 +7223,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6479,6 +7245,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6504,6 +7271,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6512,11 +7280,15 @@ Offset von UTC: %2 Minuten %3 + + + + @@ -6529,19 +7301,22 @@ Offset von UTC: %2 Minuten %3 - + + + + @@ -6598,6 +7373,7 @@ Offset von UTC: %2 Minuten %3 + @@ -6642,7 +7418,8 @@ Offset von UTC: %2 Minuten %3 - + + @@ -6678,12 +7455,12 @@ Offset von UTC: %2 Minuten %3 initprofile - + Initial Profile Warning Warnung: initiales Profil - + You need a profile to work with Magic Smoke. Please create one now. Sie brauchen ein Profil, um mit Magic Smoke arbeiten zu können. Bitte legen Sie eines an. @@ -6691,22 +7468,22 @@ Offset von UTC: %2 Minuten %3 lang - + Information Information - + The changed language setting will only be active after restarting the application. Die Änderung der Sprachkonfiguration wird es nach dem nächsten Neustart des Programms wirksam. - + Chose Language Sprache auswählen - + Language: Sprache: diff --git a/src/smoke_de_SAX.ts b/src/smoke_de_SAX.ts index 9a37b1c..fd0694b 100644 --- a/src/smoke_de_SAX.ts +++ b/src/smoke_de_SAX.ts @@ -42,27 +42,27 @@ MAddressChoiceDialog - + Chose an Address - + Add Address - + Cancel - + Warning Dumm gelaufen - + Unable to save changes made to addresses: %1 @@ -70,107 +70,107 @@ MAddressDialog - + Edit Address - + Create Address - + Last used: - + Name: Dor Name: - - + + Address: De Adresse: - + City: - + State: - + ZIP Code: - + Country: - - + + Ok Is gud so. - - + + Cancel - + Create New Country... must contain leading space to distinguish it from genuine countries - + Select Country - + Please select a country: - + Create New Country - + Country Name: - + Abbreviation: - - + + Warning Dumm gelaufen - + The country name and abbreviation must contain something! - + Error while creating country: %1 @@ -245,18 +245,29 @@ MApplication - - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%4">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href=" + + <h3>MagicSmoke %1</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%2">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. + + + + + MagicSmoke Version Information + + + + + <h3>MagicSmoke Version %3</h3><table><tr><td>Repository:<td>%1</tr><tr><td>Revision:<td>%2</tr><tr><td>Modification&nbsp;State:<td>%4</tr><tr><td>Commit Time:<td>%5</tr><tr><td>Committer:<td>%6</tr></table><p> +<h3>Libraries</h3> +<table><tr><td>WOC:<td>%7<br/>%8</tr><tr><td>PACK&nbsp;Library:<td>%9<br/>%10</tr><tr><td>Qt:<td>%11</tr><tr><td>ELAM:<td>%12</tr><tr><td>Time&nbsp;Zone&nbsp;Default:<td>%13 in %14<br/>version %15</tr><tr><td>Time&nbsp;Zone&nbsp;Built-In:<td>%16</tr></table> - + &Help - + About MagicSmoke @@ -423,202 +434,202 @@ (gar gee Vorsand) - + Amount Anzahl - + Title Diddel - + Start Time Anfangszeit - + Price Breis - - - - - - - + + + + + + + Warning Dumm gelaufen - + Please set the customer first. - + Select Event to order Ticket Wähl ma ne Voranschdaldung aus um ne Garde zu beschdelln - + Select - - - + + + Cancel - + Error getting event, please try again. - - This event has no prices associated. Cannot sell tickets. + + This event has no prices associated that you can use for sales. Cannot sell tickets. - + Select Price Category - + Please chose a price category: - - + + Ok Is gud so. - + Select Voucher Gudschein auswähln - + Select voucher price and value: Beschdimm mal 'n Gudscheinpreis und -werd: - + Price: Breis: - + Value: Werd: - + Voucher (value %1) - + There are problems with the contents of the cart, please check and then try again. - - + + Error Gans doller falschor Fehler - + There is nothing in the order. Ignoring it. Da is doch gar nischd drin. Isch mach das jedsd ni! - + Please chose a customer first! Du mussd schon nen Gunden auswähln, sonsd wees isch doch ni wer's griechen soll! - + Shipping - + You have chosen a shipping method, but no address. Are you sure you want to continue? - + Reservations can only contain tickets. - + Error while creating reservation: %1 - + Error while creating order: %1 - + The customer is not valid, please chose another one. - + The delivery address is not valid, please chose another one. - + The invoice address is not valid, please chose another one. - + Shipping Type does not exist or you do not have permission to use it. - + The event is already over, please remove this entry. - + You cannot order tickets for this event anymore, ask a more privileged user. - + The event is (almost) sold out, there are %1 tickets left. - + The event does not exist or there is another serious problem, please remove this entry. - + You do not have permission to create vouchers with this value, please remove it. - + The price tag of this voucher is not valid, please remove and recreate it. @@ -1285,47 +1296,47 @@ Priority: locations with the lowest value are searched first, when a script it f MEEPriceEdit - + Change Price Breis ändorn - + Price category: - + Price: Breis: - + Maximum Seats: - + Ordering: - + Flags: - + Ok Is gud so. - + Cancel - + Edit flags of price %1: @@ -1539,166 +1550,166 @@ Priority: locations with the lowest value are searched first, when a script it f - + + Edit Flags of Event '%1' + + + + Description Beschreibung - + The description will be displayed on the web site, please use HTML syntax. - + Comment - + The comment is for internal use only, please add any hints relevant for your collegues. - + Prices - + Change Price Breis ändorn - + Add Price - + Remove Price - + Save Schbeichorn - + Close Zumachn - + Error while creating event: %1 - + Error while changing event: %1 - - Edit flags of event %1: - - - - + Price Category - + Price Breis - + Ticket Capacity - + Tickets Garden - + Seats Blocked - + Ordering - + Flags - + Price category already exists in this event. - + Cannot remove price '%1' - it has tickets in the database. - - + + Cancel Ne' schbeichorn - + Error while creating new room: %1 - + Select an Artist - + New... new artist Neier Raum... - + Select select artist - + New Artist - + Name of new artist: - + Error while creating new artist: %1 - - - - - - + + + + + + Warning Dumm gelaufen @@ -1712,29 +1723,29 @@ Priority: locations with the lowest value are searched first, when a script it f Isch gann de Voranschdaldung ni hochladen: %s - + Select a Room Raum anlechen - + New... new room Neier Raum... - + Select select room Auswählen - + New Room Neier Raum - + Name of new room: Name vom dem Raum: @@ -2015,52 +2026,52 @@ Priority: locations with the lowest value are searched first, when a script it f MFlagEditor - + ignore - + must have - + must not have - + Edit Flags - + Reset - + Ok Is gud so. - + Cancel - + Mode - + Flag - + Description Beschreibung @@ -2068,79 +2079,79 @@ Priority: locations with the lowest value are searched first, when a script it f MFlagTab - + New Flag... - + Delete Flag... - + Change Description... - + Flag - + Description Beschreibung - + Create New Flag - + Please enter a name for the flag, it must contain only letters and digits. - - - + + + Warning Dumm gelaufen - + Error while creating flag: %1 - + Really Delete? - + Really delete the flag '%1'? Doing so may make some entities visible or invisible unexpectedly. - + Error while attempting to delete flag: %1 - + Change Flag - + Please enter a new description for flag '%1': - + Error while attempting to alter flag: %1 @@ -2148,7 +2159,7 @@ Priority: locations with the lowest value are searched first, when a script it f MHostTab - + New Host... Neier Reschnor... @@ -2157,140 +2168,153 @@ Priority: locations with the lowest value are searched first, when a script it f Die Gisde hier hinzufüchen... - + Delete Host... Reschnor löschen... - + Generate New Key... Neien Schlüssel erzeuchen... - + Import... Imbordieren... - + Export... Eggsbordieren... - + Host Name Reschnorname - + Host Key Reschnorschlüssel - + Create New Host Neien Reschnor anlechen - + Please enter a host name: Gib ma nen Nam' für de Gisde ein: - - - - - - - + + + + - - - - + + + + + + + + + Warning Dumm gelaufen - + Error while creating new host: %1 - + Delete this Host? De Gisdge löschen? - + Really delete host '%1'? De Gisde '%1' wirklisch löschen? Bissde da och sischor? - + Error while deleting host: %1 - + Change Host Key? Den Schlüssel von dem Reschnor ändorn? - + Really change the key of host '%1'? It will lock users from thist host out until you install the key at it. - - + + Error while changing host: %1 - + Import Key from File Schlüssel aus nor Dadai holen - + Unable to open file %1 for reading: %2 Gann de Dadai %1 nisch lesen. Des iss jedsd geene Ordografieschwäche, sondern: %2 - - + This is not a host key file. Das is abor doch gar ge Schlüssel! Willsde misch verarschen? - + + This is not a host key/hash file. + + + + This host key file does not contain a valid host name. De Schlüsseldadai had nen gans seldsamen Reschnornamen da drin. Desdorweschen gannsch die ni nehm. - + + This host hash file does not contain a valid key hash. + + + + This host key file does not contain a valid key. De Dadai is a bissl gabudd. Die mussde nochmal holen, ich gann die so ned lesen. - + The key check sum did not match. Please get a clean copy of the host key file. Isch hab da ma nachgereschned. De Scheggsumme vom Schlüssel is falsch. Das gannsch Dir so ni abnehm. - + This host cannot be exported. Den Reschnor gannsch ni schbeichorn. - + + Export Key to File Schlüssel als Dadei ablechen - + + Unable to open file %1 for writing: %2 Gann de Dadai %1 nicht zum Schreiben offmachen weil: %2 @@ -2298,602 +2322,657 @@ Priority: locations with the lowest value are searched first, when a script it f MInterface - + Backup - + GetLanguage - + ServerInfo - + Login Droff offn' Reschnor - + Logout - + GetMyRoles - + GetMyRights - + ChangeMyPassword - + GetAllUsers - + CreateUser - + ChangePassword - + DeleteUser - + SetUserDescription - + GetUserRoles - + SetUserRoles - + GetAllRoles - + GetRole - + CreateRole - + SetRoleDescription - + SetRoleRights - + DeleteRole - + GetAllRightNames - + GetAllHostNames - + GetAllHosts - + SetHost - + DeleteHost - + GetUserHosts - + GetValidFlags - + SetFlag - + DeleteFlag - + GetUser - + SetUserHosts - + SetUserFlags - + SetRoleFlags - + GetAllContactTypes - + CreateContactType - + GetCustomer - + GetAllCustomerNames - + CreateCustomer - + ChangeCustomer - + DeleteCustomer - + GetAddress - + GetAllCountries - + CreateCountry - + ResetCustomerPassword - + GetAllArtists - + CreateArtist - + GetAllPriceCategories - + CreatePriceCategory - + ChangePriceCategory - + GetEvent - + GetAllEvents - + GetEventList - + CreateEvent - + ChangeEvent - + CancelEvent - + GetAllRooms - + CreateRoom - + GetEventSummary - + GetTicket - + GetVoucher - + GetVoucherAudit - + GetOrderAudit - + GetOrder - + + ChangeCustomerMail + + + + GetOrderList - + GetOrdersByEvents - + GetOrdersByCustomer - + + GetMyOrders + + + + + GetOrdersByUser + + + + GetOrderByBarcode - + CreateOrder - + CreateReservation - + ReservationToOrder - + CancelOrder - + OrderPay - + OrderRefund - + UseVoucher - + DeductVoucher - + EmptyVoucher - + OrderChangeShipping - + OrderMarkShipped - + OrderAddComment - + OrderChangeComments - + ReturnTicketVoucher - + ChangeTicketPrice - + ChangeTicketPriceCategory - + + ChangeOrderAddress + + + + GetAllShipping - + ChangeShipping - + CreateShipping - + DeleteShipping - + GetValidVoucherPrices - + UseTicket - + GetEntranceEvents - - WebCartAddTicket + + GetPaymentTypes - - WebCartRemoveTicket + + SetPaymentType - - WebCartAddVoucher + + SetDefaultPaymentType - - WebCartRemoveVoucher + + DeletePaymentType - - GetTemplateList + + GetTicketAudit - - GetTemplate + + GetUserAudit - - SetTemplate + + WebCartAddTicket - - SetTemplateDescription + + WebCartRemoveTicket - - DeleteTemplate + + WebCartAddVoucher - + + WebCartRemoveVoucher + + + + + GetTemplateList + + + + + GetTemplate + + + + + SetTemplate + + + + + SetTemplateDescription + + + + + DeleteTemplate + + + + + SetTemplateFlags + + + + ChangeEvent:CancelEvent - + CreateOrder:AnyVoucherValue - + CreateOrder:DiffVoucherValuePrice - + CreateOrder:LateSale - + CreateOrder:AfterTheFactSale - + CreateOrder:CanOrder - + CreateOrder:CanSell - + CreateOrder:CanOrderTicket - + CreateOrder:CanOrderVoucher - + CreateOrder:CanOrderItem - + CreateReservation:LateReserve - + CancelOrder:CancelSentOrder - + CancelOrder:CancelPastTickets - + OrderChangeShipping:ChangePrice - + OrderMarkShipped:SetTime - + ReturnTicketVoucher:ReturnPastTicket - + ChangeTicketPrice:ChangeUsedTicket - + ChangeTicketPrice:ChangePastTicket - + ChangeTicketPriceCategory:ChangeUsedTicket - + ChangeTicketPriceCategory:ChangePastTicket @@ -2933,70 +3012,88 @@ At least %1 Bits of random are required. + MLabelConfig + + + Label Configuration + + + + + Ticket Labels: + + + + + Printer: + + + + MLabelDialog - + Label Printing Setup Aufglebordruggeinschdellung - + mm defaultmetric: mm, in, cm mm - + Label offset: Aufgleborabschdand: - + Label size: Aufgleborgröße: - + Unit: Einheid: - + Millimeter Millimedor - + Centimeter Sendimedor - + Inch Zoll (Insch) - + Page usage: Seidennudsung: - + Page %1 Seide %1 - + Ok Is gud so. - + Cancel Abbreschn - + Warning: the label may not fit on the page! Warnung: es gann undor Umschdänd'n bassiern dass dor Aufglebor ni gans off de Seide bassd! @@ -4056,25 +4153,123 @@ At least %1 Bits of random are required. MOrderAuditDialog - + + + + Warning + Dumm gelaufen + + + + Error while retrieving audit data: %1 + + + + + Sorry, no audit data available. + + + + Order Audit [%1] + + + + No Data + + + + + No audit data found for this ticket. + + + + + Ticket Audit: %1 + + + + + + Close + Zumachn + + + + + Date/Time + + + + + + User + + + + + + Transaction + + + + + + Price + Breis + + + + Event Date + + + + + Event + Veranschdaldung + + + + No audit data found for this voucher. + + + + + Voucher Audit: %1 + + + + + Value + + + + + Comment + + + + + Unable to get user audit data: %1 + + MOrderItemView - + Preview Tickets Garden anguggn. - + Ticket: Garde: - + Voucher: Gudschein: @@ -4082,17 +4277,17 @@ At least %1 Bits of random are required. MOrderWindow - + Order Details Beschdelldedails - + &Order &Beschdellen - + &Order... &Beschdellen... @@ -4101,57 +4296,57 @@ At least %1 Bits of random are required. &Vorgofen... - + C&ancel Order... Beschdellung &abbreschn... - + Change Item &Price... - + C&hange Ticket Price Category... - + &Close &Schließen - + &Payment Bed&sahlung - + Receive &Payment... &Bedsahln... - + &Refund... &Zurüggeben... - + P&rinting &Druggn - + Print &Bill... &Reschnung druggn... - + Save Bill &as file... Reschnung als Dadai &schbeichorn... - + Print &Tickets... &Garden druggn... @@ -4164,42 +4359,42 @@ At least %1 Bits of random are required. Gar&den anguggn... - + Order ID: Beschdellnummer: - + Order Date: Beschdelldadum: - + Shipping Date: Versanddadum: - + Customer: Gunde: - + Sold by: Vergaufd von: - + Total Price: Endvorbraucherbreis: - + Already Paid: Schon bedsahld: - + Order State: Beschdellschdadus: @@ -4212,23 +4407,22 @@ At least %1 Bits of random are required. Veranschdaldung - + Start Time Anfangszeit - + Status Schdadus - - + Price Breis - + &Mark Order as Shipped... Beschdellung is weschgeschiggd... @@ -4241,37 +4435,38 @@ At least %1 Bits of random are required. Garde zurüggeben... - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning Dumm gelaufen - + Unable to get template file (ticket.xtt). Giving up. Gann de Vorlache (ticket.xtt) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. @@ -4280,16 +4475,16 @@ At least %1 Bits of random are required. Gann de Vorlache (bill.xtt) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. - - - + + + Mark as shipped? Als wechgeschiggd margieren? - - - + + + Mark this order as shipped now? Als wechgeschiggd margieren? Also jedsd. Rischdisch weg? Beim Gunden? @@ -4298,31 +4493,29 @@ At least %1 Bits of random are required. Gann de Vorlache (eventsummary.odtt) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. - Enter Payment - Geldbedrach eingeben + Geldbedrach eingeben - Please enter the amount that has been paid: - Bidde den Bedrach eingebn der bedsahld wurde: + Bidde den Bedrach eingebn der bedsahld wurde: Unable to submit payment request. Gann de Bedsahlung nisch schbeischorn. De Gommunisdn wolln das Neds vom Geld frei haldn. - + Error while trying to pay: %1 'S is bleede, abor da war'n Fehlor beim bedsahln: %1 - + Enter Refund Rügggabe eingäben - + Please enter the amount that will be refunded: Bidde den Bedrach eingebn der zurüggegebn wurde: @@ -4347,12 +4540,12 @@ At least %1 Bits of random are required. Wolln'se de Garde wirschlisch zurüggeben? S'wär schade drum. - + Cancel Order? Beschdellung abbreschn? - + Cancel this order now? De Beschdellung jedsd wirschlich abbreschn? S'gibd dann kee zurüg mehr - also ni rumheuln! @@ -4365,7 +4558,7 @@ At least %1 Bits of random are required. Gann de Beschdellung ni abbreschn. - + Delivery Address: Adresse wo's Zeuch hin soll: @@ -4374,7 +4567,7 @@ At least %1 Bits of random are required. Beschdellgommendar: - + Change Sh&ipping Method... Change Commen&t... Gommendar ändorn... @@ -4384,14 +4577,14 @@ At least %1 Bits of random are required. Gommendar ändorn: Beschdellung %1 - - + + &Save &Schbeichorn - - + + &Cancel &Nee lass mal. @@ -4408,265 +4601,260 @@ At least %1 Bits of random are required. Vom margierden den Breis ändorn... - + &Return Item... Das margierde Ding zurüggeben... - + Add Commen&t... - + Change C&omments... - + + Change Invoice Address... + + + + + Change Delivery Address... + + + + Print V&ouchers... Gudscheine Druggn... - + Print &Current Item... Margierdes druggen... - + &View Items... Alles ma genau anguggn... - + &Audit - + Voucher History... - + + Ticket History... + + + + Order History... - + Invoice Address: - + Shipping Method: Versandmedode: - + Shipping Costs: Versandgosden: - + Order Comments: - + Item ID De Nummor - + Description Beschreibung - + Voucher (current value: %1) Gudschein (agduell issor %1 werd) - + %1x %2 - + There are no tickets left to print. Eivorbübbschd, da ist gehne Garde, die mor druggn gönn'. - + There are no vouchers left to print. Eivorbübbschd, da ist gehn Gudschein, den mor druggn gönn'. - + Unable to get template file (voucher.xtt). Giving up. Gann de Vorlache (voucher) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. - - + + Unable to get template file (bill). Giving up. Gann de Vorlache (bill) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. - + + Payment Info + + + + + Payment successful, but only %1 was required, please hand back the remaining %2. + + + + Error getting event, please try again. - + Cannot select another price category - there are none left. - + Select Price Category - + Please chose a price category: - + Ok Is gud so. - + Return Ticket or Voucher - + Do you really want to return this ticket or voucher? - + Error whily trying to return item: %1 - + Error while cancelling order: %1 - + Error while changing order status: %1 - + Set shipping time - + Enter the shipping time: - + OK - - The selected item is not a voucher. - - - - - No Data - - - - - No audit data found for this voucher. - - - - - Voucher Audit: %1 - - - - - Close - Zumachn - - - - Date/Time - - - - - User + + No Delivery Address - - Transaction + + + Unable to set address, server error: %1 - - Value + + No Invoice Address - - Comment + + The selected item is not a voucher. - - Error while retrieving audit data: %1 + + The selected item is not a ticket. - - Sorry, no audit data available. - + Close + Zumachn - - + + Cancel - + Error while marking order as shipped: %1 - + Change comments: order %1 - - + + There was a problem uploading the new comment: %1 - + Add comment: order %1 - + Error while changing shipping: %1 @@ -4675,61 +4863,61 @@ At least %1 Bits of random are required. Gann de Vorlache (eventsummary) ni findn'. Isch hab mor Mühe gegebn. Abor jedsd gebsch off. - + Open Document File (*.%1) ODF Dadai (*.%1) - + Enter Voucher - + Please enter the ID of the voucher you want to use: - + Error while trying to pay with voucher '%1': %2 - + Voucher Info - + Successfully paid order %1 with voucher '%2'. Amount deducted: %3 Remaining value of this voucher: %4 - + Error while trying to refund: %1 - + Enter Price Breis eingäbn - + Please enter the new price for the ticket: Gib ma een Breis ein, und machn hübsch rund: - - + + Error while attempting to change ticket price: %1 - - + + Cannot change this item type. Die Ard von Ardiggel gansch' ni ändorn. @@ -4746,209 +4934,270 @@ Remaining value of this voucher: %4 Wolln'se den Gudschein wirschlisch zurüggeben? S'wär schade drum. - + Cannot return this item type. Die Ard von Ardiggel gansch' ni zurüggnehm. S'duhd mir leid. - + Pay with &Voucher... - MOrdersTab + MOrdersByUserDlg - - -select mode- - -wähl ma was aus- + + Select User Criteria + - - All Orders - Alle Beschdellungen + + Ok + Is gud so. - - Open Orders - Offene Beschdellungen + + Cancel + - - Open Reservations - Offene Resorvierungen + + My orders: + - - Outstanding Payments - Wo noch ni bezahld is + + look for my own orders + - - Outstanding Refunds - Wo was zurügerschdadded werden muss + + User Name: + + + + + Maximum Age (days): + + + + + Limit: + + + + + Include all orders the user touched + + + + + MOrdersTab + + + -select mode- + -wähl ma was aus- + + + + All Orders + Alle Beschdellungen + Open Orders + Offene Beschdellungen + + + + Open Reservations + Offene Resorvierungen + + + + Outstanding Payments + Wo noch ni bezahld is + + + + Outstanding Refunds + Wo was zurügerschdadded werden muss + + + Undelivered Orders Beschdellungen die noch ni ausgelieford sind - + -search result- -Suchräsuldahd- - + Update Auffrischn - + Details... Dedails anzeichen... - + Orders since... - + Find by Ticket... Mit Garde finden... - + Find by Event... Nach Veranschdaldung suchn... - + Find by Customer... Nach Gunde suchn... - + + Find by User... + + + + Find by Order ID... - + Status Schdadus - + Total Summe - + Paid Bedsahld - + Customer Gunde - - - - - - - - - + + + + + + + + + + + Warning Dumm gelaufen - - - + + + There was a problem retrieving the order list: %1 - + Select Date - + Please select the date and time: - + ddd MMMM d yyyy, h:mm ap time format ddd, d.M.yyyy hh:mm - - + + Error while retrieving order: %1 - + Enter Ticket Garde eingebn - + Please enter the ID of one of the tickets of the order you seek: Bidde gib de Gennung von nor Garde ein, die Du suchsd: - + Error while searching for order: %1 - + Order for barcode '%1' not found. - + Select Event Veranschdaldung auswähln - - + + + Unable to get user orders, server error: %1 + + + + + Ok Is gud so. - - + + Cancel - + Error while retrieving order list: %1 - + Enter Order ID - + Please enter the ID of the order you want to display: - + This order does not exist. @@ -4956,17 +5205,17 @@ Remaining value of this voucher: %4 MOverview - + &Session &Sidsung - + &Re-Login &Noch'ma einloggn - + &Close Session Sidsung &Zumachn @@ -4979,20 +5228,21 @@ Remaining value of this voucher: %4 &Gunde - + Events Veranschdaldungen - - - - - - - - - + + + + + + + + + + Warning Dumm gelaufen @@ -5009,7 +5259,7 @@ Remaining value of this voucher: %4 Veranschdaldung &absach'n... - + &Show all customers &Alle Gunden anzeigen @@ -5046,7 +5296,7 @@ Remaining value of this voucher: %4 Eindriddsgarde beschdellen... - + Shopping Cart Eingaufswagen @@ -5156,7 +5406,7 @@ Remaining value of this voucher: %4 Beschreibung vom Nudsor %1: - + Change my &Password Mei eechnes &Bassword ändorn @@ -5205,7 +5455,7 @@ Remaining value of this voucher: %4 Nudsor '%1' wirklich löschen? Bissde Dir da och gans sischor? - + Error setting password: %1 Gann Bassword ni sedsen: %1 @@ -5300,7 +5550,7 @@ Remaining value of this voucher: %4 Ne Beschdellung anlegn. - + Order List Beschdelllisde @@ -5337,7 +5587,7 @@ Remaining value of this voucher: %4 Auswähln - + Cancel Ni machen @@ -5358,7 +5608,7 @@ Remaining value of this voucher: %4 Isch hadde nen Broblem mit dor Beschdellung: %1 - + Entrance Einlassgondrolle @@ -5527,7 +5777,7 @@ Remaining value of this voucher: %4 &Zeit für Sischerungsgobie fesdlechn... - + &Backup now... Jedsd &Sischorungsgobie anleschn... @@ -5601,61 +5851,61 @@ Remaining value of this voucher: %4 Gonfiguriern - + &Auto-Refresh settings... Schdändisch-Nachgugg-Einschdellungen... - + &Display settings... - + Refresh Settings Schdändisch-Nachgugg-Einschdellungen - + Refresh Rate (minutes): Nachguggfregwens (Minuden) - + refresh &event list Veranschdaldungslisde nachguggn - + refresh &user list Nudsorlisde nachguggn - + refresh &host list Reschnorlisde nachguggn - - - + + + &OK Nu &glar! Nehm'sch. - - - + + + &Cancel &Nee lass mal. - + &Edit Templates... Vorlachen bearbeeden... - + &Update Templates Now Jedsd soford nochmal nachguggen was es neues gibd @@ -5672,7 +5922,7 @@ Remaining value of this voucher: %4 Gudschein zurüggeben... - + Edit &Shipping Options... Versandmedoden bearbeeden... @@ -5725,381 +5975,727 @@ Remaining value of this voucher: %4 Den Gudschein gannsch ni zurügnehm. Der wurde schonma benudsd, der iss ja schon angebissn. - + refresh &shipping list Versandmedoden offfrischen - + &Deduct from voucher... - + Switch to Wizard... - + &Actions - + Tickets and &Vouchers - + Return &ticket or voucher... - + &Empty voucher... - + &Templates - + &Configuration - + &Server Access settings... - + &Administration + + &Options + + + + Edit &Payment Options... + + + + + A&udit + + + + + &Order Audit... + + + + + &Ticket Audit... + + + + + &Voucher Audit... + + + + + &User Audit... + + + + &User Administration... - + Backup &Settings... - + + &Label Printing settings... + + + + Return Ticket/Voucher - + Please enter the ticket or voucher ID to return: - + This ticket/voucher cannot be returned: %1 - + Deduct from Voucher - + Using a voucher to pay outside the system. - + Amount to deduct: - + Reason for deducting: - + Voucher ID: - + OK - + Unable to deduct voucher: %1 - + Voucher does not contain enough money. Money left: %1 - + Deducted from Voucher - + Value taken from voucher: %1 Value remaining on voucher: %2 - + Invalidate Voucher - + Please enter/scan the barcode of the voucher to invalidate/empty - the voucher will no longer be usable afterwards, but still has to be paid for. - - Unable to invalidate voucher: %1 + + Unable to invalidate voucher: %1 + + + + + Invalidated Voucher + + + + + The voucher '%1'has been invalidated. + + + + + Server Access Settings + + + + + Request Timeout (seconds): + + + + + Log Level: + + + + + No Logging + + + + + Minimal Logging + + + + + Medium Logging + + + + + Log Details on Error + + + + + Always Log Details + + + + + Display Settings + + + + + Event settings + + + + + Maximum event age (days, 0=show all): + + + + + Backup + + + + + The backup was successful. + + + + + Cannot create backup file. + + + + + Order ID + + + + + Please enter the ID of the order you want to audit: + + + + + Ticket ID + Gardennummer + + + + Please enter the ID of the ticket you want to audit: + + + + + Voucher ID + + + + + Please enter the ID of the voucher you want to audit: + + + + + Audit User + audit dialog + + + + + + User Name: + audit dialog + + + + + Earliest Info + audit dialog + + + + + Cannot query an empty user name. + audit dialog + + + + + I was unable to renew the login at the server. + + + + + Maximum order list age + + + + + Age in days, 0=show all. + + + + + When showing all orders: + + + + + When showing open orders: + + + + + When searching by event: + + + + + When searching by customer: + + + + + Default age when searching by date: + + + + + Script settings + + + + + Show script debugger: + + + + + Backup failed with error (%2): %1 + + + + + Backup returned empty. + + + + + MPCDEdit + + + New Price Category + + + + + Change Price Category + + + + + Category Name: + + + + + Category Abbreviation: + + + + + Formula: + + + + + Flags: + + + + + Create + + + + + Save + Schbeichorn + + + + Cancel + + + + + Flags of price category '%1': + + + + + MPasswordChange + + + Change my password + Mei eechnes Bassword ändorn + + + + Old Password: + Aldes Bassword: + + + + New Password: + Neies Bassword: + + + + Repeat Password: + Nochma neies Bassword: + + + + Set Password + Bassword sedsen + + + + Cancel + Vorgisses, ni sedsen + + + + Reset password of user "%1" + Bassword von Nudsor "%1" zurügsedsen + + + + MPaymentDialog + + + Payment - - Invalidated Voucher + + Please enter the payment data below. - - The voucher '%1'has been invalidated. + + Amount paid: - - Server Access Settings + + Payment Type: - - Request Timeout (seconds): + + Data?: - - Log Level: - + + Ok + Is gud so. - - No Logging + + Cancel + + + MPaymentEditor - - Minimal Logging + + Edit Payment Options - - Medium Logging + + Default Payment Type: - - Log Details on Error - + + Change Description + Beschreibung ändorn - - Always Log Details + + Change Data - - Display Settings + + Change Flags - - Event settings + + Change Default - - Maximum event age (days, 0=show all): - + + Add Option + Medode hinzufüschn - - Backup - + + Delete Option + Medode löschn - - The backup was successful. - + + Close + Zumachn - - Cannot create backup file. - + + ID + Nummor - - I was unable to renew the login at the server. - + + Description + Beschreibung - - Maximum order list age + + Data Name - - Age in days, 0=show all. + + Data Default - - When showing all orders: + + Flags - - When showing open orders: + + Payment Option Description - - When searching by event: + + Please select a new description for this payment option: - - When searching by customer: - + + + + + + + + Warning + Dumm gelaufen - - Default age when searching by date: + + + + Could not store the changes: %1 - - Script settings + + Change Payment Data - - Show script debugger: + + + Data Name (human readable): - - Backup failed with error (%2): %1 + + + Data Default (pattern): - - Backup returned empty. + + Hint: %Y=year, %M=month, %D=day, %%=%-sign, %O=order ID, %U=user - - - MPCDEdit - - New Price Category - + + + + Ok + Is gud so. - - Change Price Category + + + + Cancel - - Category Name: + + Edit Flags of payment option '%1'. - - Category Abbreviation: - + + Could not store the changes. + Gann de Ändorung ni schbeichorn. S' muss was schiefgelofen sein. - - Formula: + + Set Default Payment Type - - Flags: + + The payment type '%1' has flags set, it may not be usable for every user, please consider removing those flags. - - Create + + Unable to set the new default: %1 - - Save - Schbeichorn + + Create new Payment Option + - - Cancel + + Payment Type Name: - - Flags of price category '%1': + + [a-zA-Z-/_\(\),\.]{1,63} + payment type pattern - allow national chars! - - - MPasswordChange - - Change my password - Mei eechnes Bassword ändorn + + Description: + Beschreibung: - - Old Password: - Aldes Bassword: + + Hint: %Y=year, %M=month, %D=day, %H=hour(0..23), %h=hour(1..12), %m=minute, %a=AM/PM, %%=%-sign + - - New Password: - Neies Bassword: + + Flags: + - - Repeat Password: - Nochma neies Bassword: + + Edit flags of the new payment option: + - - Set Password - Bassword sedsen + + Really Delete? + - - Cancel - Vorgisses, ni sedsen + + Really delete payment option '%1'? + - - Reset password of user "%1" - Bassword von Nudsor "%1" zurügsedsen + + Unable to delete this option: %1 + @@ -6153,125 +6749,125 @@ Value remaining on voucher: %2 MRoleTab - + New Role... - + Delete Role... - + Change Description... - + Edit Flags... - + Edit Rights... - + Role Name - + Description Beschreibung - + Create New Role - + Please enter a role name: - - - - - - - - + + + + + + + + Warning Dumm gelaufen - + Error while trying to create role: %1 - + Delete this Role? - + Really delete role '%1'? - + Error while trying to delete role: %1 - + Edit Description Beschreibung ändorn - + Description of role %1: - - + + Cannot retrieve role: %1 - + Cannot retrieve flag list: %1 - + Edit flags of role %1 - + Error while setting flags: %1 - + Cannot retrieve right list: %1 - + Edit rights of role %1 - + Error while setting rights: %1 @@ -6317,12 +6913,12 @@ Value remaining on voucher: %2 - + Connection Error - + There were problems while authenticating the server. Aborting. Check your configuration. @@ -6541,32 +7137,32 @@ Offset from UTC: %2 minutes %3 MShippingChange - + Change Shipping Method Versandmedode ändorn - + Method: Medode: - + Price: Breis: - + Ok Is gud so. - + Cancel Abbreschen - + (None) shipping method (Gar Geene) @@ -6763,12 +7359,12 @@ Offset from UTC: %2 minutes %3 MTELabelDelegate - + edged - + smooth @@ -6776,23 +7372,23 @@ Offset from UTC: %2 minutes %3 MTemplateChoice - + Chose Template Vorlache auswähln - + Please chose a variant of template %1: Such Dir ma' ne Variande von dor Vorlache %1 raus: - + (default) default template pseudo-variant (Schdandard) - + Ok Is gud so. @@ -6800,120 +7396,147 @@ Offset from UTC: %2 minutes %3 MTemplateEditor - + Edit Template Directory Vorlachenverzeischnis bearbeeden - + Update Now Jedsd neu holn - + Add Variant Variande hinzufüschn - + Delete Variant Variante löschn - - Save Template + + Change Flags - + + Save Template... + + + + Edit Template - + Close Zumachn - + Template/Variant Vorlache/Variande - + Description Beschreibung - + Checksum Scheggsumme - - - - - - + + Flags + + + + + + + + + + + Warning Dumm gelaufen - + Unable to delete this template. Gann de Vorlache ni löschn. Da gann mor nüschd machn. - + Select Template File Vorlachendadei auswähln - + Files with this extension (%1) are not legal for this template. Gugge ma: Dadein mir dor Erweederung %1 sind hier nisch erloobd. Und Du Droddel mussd genau so eene nehm! - + Unable to upload file. Gann de Dadei nisch hochladn. - + Unable to send new description to server. Isch gann und gann den Sörvor nisch überzeuschn dass Deine Beschreibung besser iss. S' iss hald n' aldor Esel! - + Unknown template type, cannot edit it. - + Ooops. Lost the template file, cannot store it. - + Save template as... - + Error Gans doller falschor Fehler - + Unable to save the template file. + + + Ooops. Lost the template file, cannot alter it. + + + + + Edit flags of template '%1' + + + + + Unable to send updated flags to server. + + MTemplateStore - + Retrieving templates from server. Hole Vorlachn vom Sörvor. S' gann ä bissl dauern. @@ -7001,326 +7624,326 @@ Offset from UTC: %2 minutes %3 MTicketEditor - + &File &Dadai - + &Open File... - + &Save &Schbeichorn - + Save &as... - + &Close &Schließen - + &Edit - - + + Add Item - - + + Remove Item Doch ni' nehm' - - + + Add File - - + + Remove File - + Add Text Item - + Add Picture Item - + Add Barcode Item - + Add Load Font Item - + Label Size: - + Millimeter Millimedor - + Inch Zoll (Insch) - + Move up - + Move down - + As Label - + Zoom: - + Refresh - + Example Data - + Variable - + Content - - + + Error Gans doller falschor Fehler - + Unable to open file '%1' for reading. - + Unable to interpret file '%1'. - + top - + bottom - + center - + left - + right - + align (%1) - - - + + + Warning Dumm gelaufen - + Unable to interpret template data. - + Open Ticket Template - + Unable to write to file %1 - + Save Ticket Template - + Label Template Editor - + Label Template Editor [%1] - - + + File Name - - + + Size - + Type - + Offset - + File/Font - + Font Size - + Scaling - + Horiz. Alignment - + Vert. Alignment - + Text Data - + Load Font File - + Show Picture - + Show Text Line - + Show Barcode - + Unknown - + smooth - + edged - + Add File to Label - + Unable to read file %1 - + Please enter the internal file name: - + Really delete? - + Really remove file '%1' from the label? @@ -7340,206 +7963,299 @@ Offset from UTC: %2 minutes %3 + MUserAuditDialog + + + User Audit: %1 + + + + + Close + Zumachn + + + + Orders + + + + + + + Order ID + + + + + + + Action + + + + + + + Time + + + + + + + Show Order + + + + + + + Audit Order + + + + + Tickets + Garden + + + + Ticket + + + + + Audit Ticket + + + + + Vouchers + + + + + Voucher + + + + + Audit Voucher + + + + + Warning + Dumm gelaufen + + + + Unable to retrieve order: %1 + + + + MUserTab - + New User... Neier Nudsor... - + Delete User... Nudsor löschen... - + Description... Beschreibung... - + Hosts... Reschnor... - + Roles... Rollen... - + Flags... - + Set Password... Bassword sedsen... - + Login Name Name zum Anmelden - + Description Beschreibung - + New User Neier Nudsor - + Please enter new user name (only letters, digits, and underscore allowed): Bidde gib ma nen neien Nudsornam' ein (nur Buchschdaben, Ziffern und "_"): - - + + Error Gans doller falschor Fehler - + The user name must contain only letters, digits, dots and underscores and must be at least one character long! Nee. So ned. Du darfsd nur Buchschdaben, Zifforn, Bungde und "_" verwenden. Umlaude sind och nisch gud. Und es muss mid nem Buchschdaben anfangen. Is a bissl gomblizierd, aber Du schaffsd das schon! - + Password Bassword - + Please enter an initial password for the user: Bidde gib ma een Bassword für den Nudsor ein: - + Delete User? Nudsor löschen? - + Really delete user '%1'? Nudsor '%1' wirklich löschen? Bissde Dir da och gans sischor? - + (Nobody) this is a username for no user, the string must contain '(' to distinguish it from the others (Gar Geener) - + Delete User Nudsor Löschn - + Select which user will inherit this users database objects: Such ma raus wer de Beschdellung'n und so von dem Nudsor erbd: - + Cannot delete user: %1 Gann den Nudsor ni löschn: %1 - + Edit Description Beschreibung ändorn - + Description of user %1: - - - - - - - - - - - + + + + + + + + + + + Warning Dumm gelaufen - + Cannot retrieve user roles: %1 - + Cannot retrieve role descriptions: %1 - + Edit Roles of user %1 - + Error while setting users roles: %1 - + Cannot retrieve users hosts: %1 - + Cannot retrieve host descriptions: %1 - + Edit hosts of user %1 - + Error while setting users hosts: %1 - + The password must be non-empty and both lines must match Das Bassword darf nisch leer sein und beide Basswordzeilen müssen gleisch sein. - + Error while setting password: %1 - + Cannot retrieve user data: %1 - + Cannot retrieve flag list: %1 - + Edit flags of user %1 - + Error while setting users flags: %1 @@ -8037,6 +8753,7 @@ Offset from UTC: %2 minutes %3 + @@ -8058,6 +8775,7 @@ Offset from UTC: %2 minutes %3 + @@ -8083,6 +8801,7 @@ Offset from UTC: %2 minutes %3 + @@ -8091,11 +8810,15 @@ Offset from UTC: %2 minutes %3 + + + + @@ -8108,19 +8831,22 @@ Offset from UTC: %2 minutes %3 - + + + + @@ -8142,6 +8868,7 @@ Offset from UTC: %2 minutes %3 + @@ -8163,6 +8890,7 @@ Offset from UTC: %2 minutes %3 + @@ -8188,6 +8916,7 @@ Offset from UTC: %2 minutes %3 + @@ -8196,11 +8925,15 @@ Offset from UTC: %2 minutes %3 + + + + @@ -8213,19 +8946,22 @@ Offset from UTC: %2 minutes %3 - + + + + @@ -8282,6 +9018,7 @@ Offset from UTC: %2 minutes %3 + @@ -8326,7 +9063,8 @@ Offset from UTC: %2 minutes %3 - + + @@ -8398,12 +9136,12 @@ Offset from UTC: %2 minutes %3 Gugge, Du brauchsd sowas wie'n Brofiel. Mädschig Schmohg iss nedd und machd eens für Disch. Desderweschen brauchsde jedsd nur noch n Namen dafür eindibben. - + Initial Profile Warning - + You need a profile to work with Magic Smoke. Please create one now. @@ -8411,22 +9149,22 @@ Offset from UTC: %2 minutes %3 lang - + Information Informadschion - + The changed language setting will only be active after restarting the application. De Ändorung von dor Schbrache wird ersd wirgsam, wenn'de das Brogramm neu geschdarded hasd. S' is draurisch, aber wahr. - + Chose Language Schbrache Aussuch'n - + Language: Schbrache: diff --git a/src/smoke_en.ts b/src/smoke_en.ts index c009426..1dda353 100644 --- a/src/smoke_en.ts +++ b/src/smoke_en.ts @@ -42,27 +42,27 @@ MAddressChoiceDialog - + Chose an Address - + Add Address - + Cancel - + Warning - + Unable to save changes made to addresses: %1 @@ -70,107 +70,107 @@ MAddressDialog - + Edit Address - + Create Address - + Last used: - + Name: - - + + Address: - + City: - + State: - + ZIP Code: - + Country: - - + + Ok - - + + Cancel - + Create New Country... must contain leading space to distinguish it from genuine countries - + Select Country - + Please select a country: - + Create New Country - + Country Name: - + Abbreviation: - - + + Warning - + The country name and abbreviation must contain something! - + Error while creating country: %1 @@ -245,18 +245,29 @@ MApplication - - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%4">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. - <h3>MagicSmoke %3</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href=" + + <h3>MagicSmoke %1</h3>&copy; Konrad Rosenbaum, 2007-2011<br>&copy; Peter Keller, 2007-2008<br>protected under the GNU GPL v.3 or at your option any newer<p>See also the <a href="%2">MagicSmoke Homepage</a>.<p>This version was compiled from repository '%1' revision '%2'. + + + + + MagicSmoke Version Information + + + + + <h3>MagicSmoke Version %3</h3><table><tr><td>Repository:<td>%1</tr><tr><td>Revision:<td>%2</tr><tr><td>Modification&nbsp;State:<td>%4</tr><tr><td>Commit Time:<td>%5</tr><tr><td>Committer:<td>%6</tr></table><p> +<h3>Libraries</h3> +<table><tr><td>WOC:<td>%7<br/>%8</tr><tr><td>PACK&nbsp;Library:<td>%9<br/>%10</tr><tr><td>Qt:<td>%11</tr><tr><td>ELAM:<td>%12</tr><tr><td>Time&nbsp;Zone&nbsp;Default:<td>%13 in %14<br/>version %15</tr><tr><td>Time&nbsp;Zone&nbsp;Built-In:<td>%16</tr></table> - + &Help - + About MagicSmoke @@ -423,202 +434,202 @@ - + Amount - + Title - + Start Time - + Price - - - - - - - + + + + + + + Warning - + Please set the customer first. - + Select Event to order Ticket - + Select - - - + + + Cancel - + Error getting event, please try again. - - This event has no prices associated. Cannot sell tickets. + + This event has no prices associated that you can use for sales. Cannot sell tickets. - + Select Price Category - + Please chose a price category: - - + + Ok - + Select Voucher - + Select voucher price and value: - + Price: - + Value: - + Voucher (value %1) - + There are problems with the contents of the cart, please check and then try again. - - + + Error - + There is nothing in the order. Ignoring it. - + Please chose a customer first! - + Shipping - + You have chosen a shipping method, but no address. Are you sure you want to continue? - + Reservations can only contain tickets. - + Error while creating reservation: %1 - + Error while creating order: %1 - + The customer is not valid, please chose another one. - + The delivery address is not valid, please chose another one. - + The invoice address is not valid, please chose another one. - + Shipping Type does not exist or you do not have permission to use it. - + The event is already over, please remove this entry. - + You cannot order tickets for this event anymore, ask a more privileged user. - + The event is (almost) sold out, there are %1 tickets left. - + The event does not exist or there is another serious problem, please remove this entry. - + You do not have permission to create vouchers with this value, please remove it. - + The price tag of this voucher is not valid, please remove and recreate it. @@ -1273,47 +1284,47 @@ Priority: locations with the lowest value are searched first, when a script it f MEEPriceEdit - + Change Price - + Price category: - + Price: - + Maximum Seats: - + Ordering: - + Flags: - + Ok - + Cancel - + Edit flags of price %1: @@ -1436,12 +1447,12 @@ Priority: locations with the lowest value are searched first, when a script it f MEventEditor - - - - - - + + + + + + Warning @@ -1513,181 +1524,181 @@ Priority: locations with the lowest value are searched first, when a script it f - + + Edit Flags of Event '%1' + + + + Description - + The description will be displayed on the web site, please use HTML syntax. - + Comment - + The comment is for internal use only, please add any hints relevant for your collegues. - + Prices - + Change Price - + Add Price - + Remove Price - + Save - + Close - + Error while creating event: %1 - + Error while changing event: %1 - - Edit flags of event %1: - - - - + Price Category - + Price - + Ticket Capacity - + Tickets - + Seats Blocked - + Ordering - + Flags - + Price category already exists in this event. - + Cannot remove price '%1' - it has tickets in the database. - - + + Cancel - + New Room - + Name of new room: - + Error while creating new room: %1 - + Select an Artist - + New... new artist - + Select select artist - + New Artist - + Name of new artist: - + Error while creating new artist: %1 - + Select a Room - + New... new room - + Select select room @@ -1945,52 +1956,52 @@ Priority: locations with the lowest value are searched first, when a script it f MFlagEditor - + ignore - + must have - + must not have - + Edit Flags - + Reset - + Ok - + Cancel - + Mode - + Flag - + Description @@ -1998,79 +2009,79 @@ Priority: locations with the lowest value are searched first, when a script it f MFlagTab - + New Flag... - + Delete Flag... - + Change Description... - + Flag - + Description - + Create New Flag - + Please enter a name for the flag, it must contain only letters and digits. - - - + + + Warning - + Error while creating flag: %1 - + Really Delete? - + Really delete the flag '%1'? Doing so may make some entities visible or invisible unexpectedly. - + Error while attempting to delete flag: %1 - + Change Flag - + Please enter a new description for flag '%1': - + Error while attempting to alter flag: %1 @@ -2078,145 +2089,158 @@ Priority: locations with the lowest value are searched first, when a script it f MHostTab - + New Host... - + Delete Host... - + Generate New Key... - + Import... - + Export... - + Host Name - + Host Key - + Create New Host - + Please enter a host name: - - - - - - - + + + + - - - - + + + + + + + + + Warning - + Error while creating new host: %1 - + Delete this Host? - + Really delete host '%1'? - + Error while deleting host: %1 - + Change Host Key? - + Really change the key of host '%1'? It will lock users from thist host out until you install the key at it. - - + + Error while changing host: %1 - + Import Key from File - + Unable to open file %1 for reading: %2 - - + This is not a host key file. - + + This is not a host key/hash file. + + + + This host key file does not contain a valid host name. - + + This host hash file does not contain a valid key hash. + + + + This host key file does not contain a valid key. - + The key check sum did not match. Please get a clean copy of the host key file. - + This host cannot be exported. - + + Export Key to File - + + Unable to open file %1 for writing: %2 @@ -2224,602 +2248,657 @@ Priority: locations with the lowest value are searched first, when a script it f MInterface - + Backup - + GetLanguage - + ServerInfo - + Login - + Logout - + GetMyRoles - + GetMyRights - + ChangeMyPassword - + GetAllUsers - + CreateUser - + ChangePassword - + DeleteUser - + SetUserDescription - + GetUserRoles - + SetUserRoles - + GetAllRoles - + GetRole - + CreateRole - + SetRoleDescription - + SetRoleRights - + DeleteRole - + GetAllRightNames - + GetAllHostNames - + GetAllHosts - + SetHost - + DeleteHost - + GetUserHosts - + GetValidFlags - + SetFlag - + DeleteFlag - + GetUser - + SetUserHosts - + SetUserFlags - + SetRoleFlags - + GetAllContactTypes - + CreateContactType - + GetCustomer - + GetAllCustomerNames - + CreateCustomer - + ChangeCustomer - + DeleteCustomer - + GetAddress - + GetAllCountries - + CreateCountry - + ResetCustomerPassword - + GetAllArtists - + CreateArtist - + GetAllPriceCategories - + CreatePriceCategory - + ChangePriceCategory - + GetEvent - + GetAllEvents - + GetEventList - + CreateEvent - + ChangeEvent - + CancelEvent - + GetAllRooms - + CreateRoom - + GetEventSummary - + GetTicket - + GetVoucher - + GetVoucherAudit - + GetOrderAudit - + GetOrder - + + ChangeCustomerMail + + + + GetOrderList - + GetOrdersByEvents - + GetOrdersByCustomer - + + GetMyOrders + + + + + GetOrdersByUser + + + + GetOrderByBarcode - + CreateOrder - + CreateReservation - + ReservationToOrder - + CancelOrder - + OrderPay - + OrderRefund - + UseVoucher - + DeductVoucher - + EmptyVoucher - + OrderChangeShipping - + OrderMarkShipped - + OrderAddComment - + OrderChangeComments - + ReturnTicketVoucher - + ChangeTicketPrice - + ChangeTicketPriceCategory - + + ChangeOrderAddress + + + + GetAllShipping - + ChangeShipping - + CreateShipping - + DeleteShipping - + GetValidVoucherPrices - + UseTicket - + GetEntranceEvents - - WebCartAddTicket + + GetPaymentTypes - - WebCartRemoveTicket + + SetPaymentType - - WebCartAddVoucher + + SetDefaultPaymentType - - WebCartRemoveVoucher + + DeletePaymentType - - GetTemplateList + + GetTicketAudit - - GetTemplate + + GetUserAudit - - SetTemplate + + WebCartAddTicket - - SetTemplateDescription + + WebCartRemoveTicket - - DeleteTemplate + + WebCartAddVoucher - + + WebCartRemoveVoucher + + + + + GetTemplateList + + + + + GetTemplate + + + + + SetTemplate + + + + + SetTemplateDescription + + + + + DeleteTemplate + + + + + SetTemplateFlags + + + + ChangeEvent:CancelEvent - + CreateOrder:AnyVoucherValue - + CreateOrder:DiffVoucherValuePrice - + CreateOrder:LateSale - + CreateOrder:AfterTheFactSale - + CreateOrder:CanOrder - + CreateOrder:CanSell - + CreateOrder:CanOrderTicket - + CreateOrder:CanOrderVoucher - + CreateOrder:CanOrderItem - + CreateReservation:LateReserve - + CancelOrder:CancelSentOrder - + CancelOrder:CancelPastTickets - + OrderChangeShipping:ChangePrice - + OrderMarkShipped:SetTime - + ReturnTicketVoucher:ReturnPastTicket - + ChangeTicketPrice:ChangeUsedTicket - + ChangeTicketPrice:ChangePastTicket - + ChangeTicketPriceCategory:ChangeUsedTicket - + ChangeTicketPriceCategory:ChangePastTicket @@ -2859,70 +2938,88 @@ At least %1 Bits of random are required. + MLabelConfig + + + Label Configuration + + + + + Ticket Labels: + + + + + Printer: + + + + MLabelDialog - + Label Printing Setup - + mm defaultmetric: mm, in, cm - + Label offset: - + Label size: - + Unit: - + Millimeter - + Centimeter - + Inch - + Page usage: - + Page %1 - + Ok - + Cancel - + Warning: the label may not fit on the page! @@ -3704,25 +3801,123 @@ At least %1 Bits of random are required. MOrderAuditDialog - + + + + Warning + + + + + Error while retrieving audit data: %1 + + + + + Sorry, no audit data available. + + + + Order Audit [%1] + + + + No Data + + + + + No audit data found for this ticket. + + + + + Ticket Audit: %1 + + + + + + Close + + + + + + Date/Time + + + + + + User + + + + + + Transaction + + + + + + Price + + + + + Event Date + + + + + Event + + + + + No audit data found for this voucher. + + + + + Voucher Audit: %1 + + + + + Value + + + + + Comment + + + + + Unable to get user audit data: %1 + + MOrderItemView - + Preview Tickets - + Ticket: - + Voucher: @@ -3730,769 +3925,811 @@ At least %1 Bits of random are required. MOrderWindow - + Order Details - + &Order - + &Order... - + C&ancel Order... - + &Mark Order as Shipped... - + Change Item &Price... - + C&hange Ticket Price Category... - + Add Commen&t... - + Change C&omments... - + Change Sh&ipping Method... Change Commen&t... - + + Change Invoice Address... + + + + + Change Delivery Address... + + + + &Close - + &Payment - + Receive &Payment... - + &Refund... - + P&rinting - + Print &Bill... - + Save Bill &as file... - + Print &Tickets... - + + Ticket History... + + + + Order ID: - + Order Date: - + Shipping Date: - + Customer: - + Delivery Address: - + Invoice Address: - + &Audit - + Voucher History... - + Order History... - + Sold by: - + Order Comments: - + Item ID - + Description - + Start Time - + Status - - + Price - + Voucher (current value: %1) - + %1x %2 - + There are no tickets left to print. - + Unable to get template file (ticket.xtt). Giving up. - + There are no vouchers left to print. - + Unable to get template file (voucher.xtt). Giving up. - - + + Unable to get template file (bill). Giving up. - - - + + + Mark as shipped? - - - + + + Mark this order as shipped now? - + Open Document File (*.%1) - - Enter Payment + + Error while trying to pay: %1 - - Please enter the amount that has been paid: + + Payment Info - - Error while trying to pay: %1 + + Payment successful, but only %1 was required, please hand back the remaining %2. - + Enter Voucher - + Please enter the ID of the voucher you want to use: - + Error while trying to pay with voucher '%1': %2 - + Voucher Info - + Successfully paid order %1 with voucher '%2'. Amount deducted: %3 Remaining value of this voucher: %4 - + Enter Refund - + Please enter the amount that will be refunded: - + Error while trying to refund: %1 - + Enter Price - + Please enter the new price for the ticket: - - + + Error while attempting to change ticket price: %1 - - + + Cannot change this item type. - + Error getting event, please try again. - + Cannot select another price category - there are none left. - + Select Price Category - + Please chose a price category: - + Ok - + Cannot return this item type. - + Return Ticket or Voucher - + Do you really want to return this ticket or voucher? - + Error whily trying to return item: %1 - + Cancel Order? - + Cancel this order now? - + Error while cancelling order: %1 - + Error while changing order status: %1 - + Set shipping time - + Enter the shipping time: - + OK - - The selected item is not a voucher. - - - - - No Data - - - - - No audit data found for this voucher. - - - - - Voucher Audit: %1 - - - - - Close - - - - - Date/Time - - - - - User - - - - - Transaction + + No Delivery Address + - Value + Unable to set address, server error: %1 - - Comment + + No Invoice Address - - Error while retrieving audit data: %1 + + The selected item is not a voucher. - - Sorry, no audit data available. + + The selected item is not a ticket. - - + + Cancel - + Error while marking order as shipped: %1 - + Change comments: order %1 - - + + &Save - - + + &Cancel - - + + There was a problem uploading the new comment: %1 - + Add comment: order %1 - + Error while changing shipping: %1 - + Total Price: - + Already Paid: - + Order State: - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning - + &Return Item... - + Print V&ouchers... - + Print &Current Item... - + &View Items... - + Shipping Method: - + Shipping Costs: - + Pay with &Voucher... - MOrdersTab + MOrdersByUserDlg - - -select mode- + + Select User Criteria - - All Orders + + Ok - - Open Orders + + Cancel - - Open Reservations + + My orders: - - Outstanding Payments + + look for my own orders - - Outstanding Refunds + + User Name: - - Undelivered Orders + + Maximum Age (days): - - -search result- + + Limit: - - Update + + Include all orders the user touched + + + MOrdersTab - - Details... + + -select mode- - - Orders since... + + All Orders - - Find by Ticket... + + Open Orders + + + + + Open Reservations + + + + + Outstanding Payments + + + + + Outstanding Refunds + + + + + Undelivered Orders + + + + + -search result- + + + + + Update + + + + + Details... - + + Orders since... + + + + + Find by Ticket... + + + + Find by Event... - + Find by Customer... - + + Find by User... + + + + Find by Order ID... - + Status - + Total - + Paid - + Customer - - - - - - - - - + + + + + + + + + + + Warning - - - + + + There was a problem retrieving the order list: %1 - + Select Date - + Please select the date and time: - + ddd MMMM d yyyy, h:mm ap time format - - + + Error while retrieving order: %1 - + Enter Ticket - + Please enter the ID of one of the tickets of the order you seek: - + Error while searching for order: %1 - + Order for barcode '%1' not found. - + Select Event - - + + + Unable to get user orders, server error: %1 + + + + + Ok - - + + Cancel - + Error while retrieving order list: %1 - + Enter Order ID - + Please enter the ID of the order you want to display: - + This order does not exist. @@ -4500,80 +4737,81 @@ Remaining value of this voucher: %4 MOverview - + &Session - + &Re-Login - + Change my &Password - + &Close Session - + &Show all customers - + &Auto-Refresh settings... - + &Display settings... - + &Backup now... - + Events - + Shopping Cart - + Order List - + Entrance - - - - - - - - - + + + + + + + + + + Warning - + Error setting password: %1 @@ -4592,439 +4830,785 @@ Remaining value of this voucher: %4 - + Refresh Settings - + Refresh Rate (minutes): - + refresh &event list - + refresh &user list - + refresh &host list - - - + + + &OK - - - + + + &Cancel - + &Edit Templates... - + &Update Templates Now - + Edit &Shipping Options... - + refresh &shipping list - + &Deduct from voucher... - + Switch to Wizard... - + &Actions - + Tickets and &Vouchers - + Return &ticket or voucher... - + &Empty voucher... - + &Templates - + &Configuration - + &Server Access settings... - + &Administration + + &Options + + + + Edit &Payment Options... + + + + + A&udit + + + + + &Order Audit... + + + + + &Ticket Audit... + + + + + &Voucher Audit... + + + + + &User Audit... + + + + &User Administration... - + Backup &Settings... - + + &Label Printing settings... + + + + Return Ticket/Voucher - + Please enter the ticket or voucher ID to return: - + This ticket/voucher cannot be returned: %1 - + Deduct from Voucher - + Using a voucher to pay outside the system. - + Amount to deduct: - + Reason for deducting: - + Voucher ID: - - OK + + OK + + + + + Cancel + + + + + Unable to deduct voucher: %1 + + + + + Voucher does not contain enough money. Money left: %1 + + + + + Deducted from Voucher + + + + + Value taken from voucher: %1 +Value remaining on voucher: %2 + + + + + Invalidate Voucher + + + + + Please enter/scan the barcode of the voucher to invalidate/empty - the voucher will no longer be usable afterwards, but still has to be paid for. + + + + + Unable to invalidate voucher: %1 + + + + + Invalidated Voucher + + + + + The voucher '%1'has been invalidated. + + + + + Server Access Settings + + + + + Request Timeout (seconds): + + + + + Log Level: + + + + + No Logging + + + + + Minimal Logging + + + + + Medium Logging + + + + + Log Details on Error + + + + + Always Log Details + + + + + Display Settings + + + + + Event settings + + + + + Maximum event age (days, 0=show all): + + + + + Backup + + + + + The backup was successful. + + + + + Cannot create backup file. + + + + + Order ID + + + + + Please enter the ID of the order you want to audit: + + + + + Ticket ID + + + + + Please enter the ID of the ticket you want to audit: + + + + + Voucher ID + + + + + Please enter the ID of the voucher you want to audit: + + + + + Audit User + audit dialog + + + + + + User Name: + audit dialog + + + + + Earliest Info + audit dialog + + + + + Cannot query an empty user name. + audit dialog + + + + + I was unable to renew the login at the server. + + + + + Maximum order list age + + + + + Age in days, 0=show all. + + + + + When showing all orders: + + + + + When showing open orders: + + + + + When searching by event: + + + + + When searching by customer: + + + + + Default age when searching by date: + + + + + Script settings + + + + + Show script debugger: + + + + + Backup failed with error (%2): %1 + + + + + Backup returned empty. + + + + + MPCDEdit + + + New Price Category + + + + + Change Price Category + + + + + Category Name: + + + + + Category Abbreviation: + + + + + Formula: + + + + + Flags: + + + + + Create + + + + + Save + + + + + Cancel + + + + + Flags of price category '%1': + + + MPasswordChange - - Cancel + + Change my password - - Unable to deduct voucher: %1 + + Reset password of user "%1" - - Voucher does not contain enough money. Money left: %1 + + Old Password: - - Deducted from Voucher + + New Password: - - Value taken from voucher: %1 -Value remaining on voucher: %2 + + Repeat Password: - - Invalidate Voucher + + Set Password - - Please enter/scan the barcode of the voucher to invalidate/empty - the voucher will no longer be usable afterwards, but still has to be paid for. + + Cancel + + + MPaymentDialog - - Unable to invalidate voucher: %1 + + Payment - - Invalidated Voucher + + Please enter the payment data below. - - The voucher '%1'has been invalidated. + + Amount paid: - - Server Access Settings + + Payment Type: - - Request Timeout (seconds): + + Data?: - - Log Level: + + Ok - - No Logging + + Cancel + + + MPaymentEditor - - Minimal Logging + + Edit Payment Options - - Medium Logging + + Default Payment Type: - - Log Details on Error + + Change Description - - Always Log Details + + Change Data - - Display Settings + + Change Flags - - Event settings + + Change Default - - Maximum event age (days, 0=show all): + + Add Option - - Backup + + Delete Option - - The backup was successful. + + Close - - Cannot create backup file. + + ID - - I was unable to renew the login at the server. + + Description - - Maximum order list age + + Data Name - - Age in days, 0=show all. + + Data Default - - When showing all orders: + + Flags - - When showing open orders: + + Payment Option Description - - When searching by event: + + Please select a new description for this payment option: - - When searching by customer: + + + + + + + + Warning - - Default age when searching by date: + + + + Could not store the changes: %1 - - Script settings + + Change Payment Data - - Show script debugger: + + + Data Name (human readable): - - Backup failed with error (%2): %1 + + + Data Default (pattern): - - Backup returned empty. + + Hint: %Y=year, %M=month, %D=day, %%=%-sign, %O=order ID, %U=user - - - MPCDEdit - - New Price Category + + + + Ok - - Change Price Category + + + + Cancel - - Category Name: + + Edit Flags of payment option '%1'. - - Category Abbreviation: + + Could not store the changes. - - Formula: + + Set Default Payment Type - - Flags: + + The payment type '%1' has flags set, it may not be usable for every user, please consider removing those flags. - - Create + + Unable to set the new default: %1 - - Save + + Create new Payment Option - - Cancel + + Payment Type Name: - - Flags of price category '%1': + + [a-zA-Z-/_\(\),\.]{1,63} + payment type pattern - allow national chars! - - - MPasswordChange - - Change my password + + Description: - - Reset password of user "%1" + + Hint: %Y=year, %M=month, %D=day, %H=hour(0..23), %h=hour(1..12), %m=minute, %a=AM/PM, %%=%-sign - - Old Password: + + Flags: - - New Password: + + Edit flags of the new payment option: - - Repeat Password: + + Really Delete? - - Set Password + + Really delete payment option '%1'? - - Cancel + + Unable to delete this option: %1 @@ -5079,125 +5663,125 @@ Value remaining on voucher: %2 MRoleTab - + New Role... - + Delete Role... - + Change Description... - + Edit Flags... - + Edit Rights... - + Role Name - + Description - + Create New Role - + Please enter a role name: - - - - - - - - + + + + + + + + Warning - + Error while trying to create role: %1 - + Delete this Role? - + Really delete role '%1'? - + Error while trying to delete role: %1 - + Edit Description - + Description of role %1: - - + + Cannot retrieve role: %1 - + Cannot retrieve flag list: %1 - + Edit flags of role %1 - + Error while setting flags: %1 - + Cannot retrieve right list: %1 - + Edit rights of role %1 - + Error while setting rights: %1 @@ -5243,12 +5827,12 @@ Value remaining on voucher: %2 - + Connection Error - + There were problems while authenticating the server. Aborting. Check your configuration. @@ -5459,32 +6043,32 @@ Offset from UTC: %2 minutes %3 MShippingChange - + Change Shipping Method - + Method: - + Price: - + Ok - + Cancel - + (None) shipping method @@ -5633,12 +6217,12 @@ Offset from UTC: %2 minutes %3 MTELabelDelegate - + edged - + smooth @@ -5646,23 +6230,23 @@ Offset from UTC: %2 minutes %3 MTemplateChoice - + Chose Template - + Please chose a variant of template %1: - + (default) default template pseudo-variant - + Ok @@ -5670,120 +6254,147 @@ Offset from UTC: %2 minutes %3 MTemplateEditor - + Edit Template Directory - + Update Now - + Add Variant - + Delete Variant - - Save Template + + Change Flags - + + Save Template... + + + + Edit Template - + Close - + Template/Variant - + Description - + Checksum - - - - - - + + Flags + + + + + + + + + + + Warning - + Unable to delete this template. - + Select Template File - + Files with this extension (%1) are not legal for this template. - + Unable to upload file. - + Unable to send new description to server. - + Unknown template type, cannot edit it. - + Ooops. Lost the template file, cannot store it. - + Save template as... - + Error - + Unable to save the template file. + + + Ooops. Lost the template file, cannot alter it. + + + + + Edit flags of template '%1' + + + + + Unable to send updated flags to server. + + MTemplateStore - + Retrieving templates from server. @@ -5791,531 +6402,624 @@ Offset from UTC: %2 minutes %3 MTicketEditor - + &File - + &Open File... - + &Save - + Save &as... - + &Close - + &Edit - - + + Add Item - - + + Remove Item - - + + Add File - - + + Remove File - + Add Text Item - + Add Picture Item - + Add Barcode Item - + Add Load Font Item - + Label Size: - + Millimeter - + Inch - + Move up - + Move down - + As Label - + Zoom: - + Refresh - + Example Data - + Variable - + Content - - + + Error - + Unable to open file '%1' for reading. - + Unable to interpret file '%1'. - + top - + bottom - + center - + left - + right - + align (%1) - - - + + + Warning - + Unable to interpret template data. - + Open Ticket Template - + Unable to write to file %1 - + Save Ticket Template - + Label Template Editor - + Label Template Editor [%1] - - + + File Name - - + + Size - + Type - + Offset - + File/Font - + Font Size - + Scaling - + Horiz. Alignment - + Vert. Alignment - + Text Data - + Load Font File - + Show Picture - + Show Text Line - + Show Barcode - + Unknown - + smooth - + edged - + Add File to Label - + Unable to read file %1 - + Please enter the internal file name: - + Really delete? - + Really remove file '%1' from the label? + MUserAuditDialog + + + User Audit: %1 + + + + + Close + + + + + Orders + + + + + + + Order ID + + + + + + + Action + + + + + + + Time + + + + + + + Show Order + + + + + + + Audit Order + + + + + Tickets + + + + + Ticket + + + + + Audit Ticket + + + + + Vouchers + + + + + Voucher + + + + + Audit Voucher + + + + + Warning + + + + + Unable to retrieve order: %1 + + + + MUserTab - + New User... - + Delete User... - + Description... - + Hosts... - + Roles... - + Flags... - + Set Password... - + Login Name - + Description - + New User - + Please enter new user name (only letters, digits, and underscore allowed): - - + + Error - + The user name must contain only letters, digits, dots and underscores and must be at least one character long! - + Password - + Please enter an initial password for the user: - + Delete User? - + Really delete user '%1'? - + (Nobody) this is a username for no user, the string must contain '(' to distinguish it from the others - + Delete User - + Select which user will inherit this users database objects: - + Cannot delete user: %1 - + Edit Description - + Description of user %1: - - - - - - - - - - - + + + + + + + + + + + Warning - + Cannot retrieve user roles: %1 - + Cannot retrieve role descriptions: %1 - + Edit Roles of user %1 - + Error while setting users roles: %1 - + Cannot retrieve users hosts: %1 - + Cannot retrieve host descriptions: %1 - + Edit hosts of user %1 - + Error while setting users hosts: %1 - + The password must be non-empty and both lines must match - + Error while setting password: %1 - + Cannot retrieve user data: %1 - + Cannot retrieve flag list: %1 - + Edit flags of user %1 - + Error while setting users flags: %1 @@ -6632,6 +7336,7 @@ Offset from UTC: %2 minutes %3 + @@ -6653,6 +7358,7 @@ Offset from UTC: %2 minutes %3 + @@ -6678,6 +7384,7 @@ Offset from UTC: %2 minutes %3 + @@ -6686,11 +7393,15 @@ Offset from UTC: %2 minutes %3 + + + + @@ -6703,19 +7414,22 @@ Offset from UTC: %2 minutes %3 - + + + + @@ -6737,6 +7451,7 @@ Offset from UTC: %2 minutes %3 + @@ -6758,6 +7473,7 @@ Offset from UTC: %2 minutes %3 + @@ -6783,6 +7499,7 @@ Offset from UTC: %2 minutes %3 + @@ -6791,11 +7508,15 @@ Offset from UTC: %2 minutes %3 + + + + @@ -6808,19 +7529,22 @@ Offset from UTC: %2 minutes %3 - + + + + @@ -6877,6 +7601,7 @@ Offset from UTC: %2 minutes %3 + @@ -6921,7 +7646,8 @@ Offset from UTC: %2 minutes %3 - + + @@ -6957,12 +7683,12 @@ Offset from UTC: %2 minutes %3 initprofile - + Initial Profile Warning - + You need a profile to work with Magic Smoke. Please create one now. @@ -6970,22 +7696,22 @@ Offset from UTC: %2 minutes %3 lang - + Chose Language - + Language: - + Information - + The changed language setting will only be active after restarting the application. diff --git a/src/templates/labeldlg.cpp b/src/templates/labeldlg.cpp index 2e858f8..80f10f2 100644 --- a/src/templates/labeldlg.cpp +++ b/src/templates/labeldlg.cpp @@ -11,13 +11,18 @@ // #include "labeldlg.h" +#include "lambda.h" #include #include #include +#include +#include +#include #include #include #include +#include #include #include #include @@ -159,7 +164,7 @@ MLabelDialog::MLabelDialog(QWidget*par,QPrinter* pn,int nl,QSizeF ls) MLabelDialog::~MLabelDialog(){} -int MLabelDialog::findLabel(int n,int&row,int&col) +int MLabelDialog::findLabel(int n,int&row,int&col)const { //search allowed labels int ctr=-1; @@ -177,7 +182,7 @@ int MLabelDialog::findLabel(int n,int&row,int&col) return -1; } -QPointF MLabelDialog::labelOffset(int n) +QPointF MLabelDialog::labelOffset(int n)const { //find it int row=0,col=0; @@ -205,7 +210,7 @@ QPointF MLabelDialog::labelOffset(int n) return QPointF(px,py); } -bool MLabelDialog::labelNeedsPageTurn(int n) +bool MLabelDialog::labelNeedsPageTurn(int n)const { //find it int pg,row=0,col=0; @@ -223,6 +228,18 @@ bool MLabelDialog::labelNeedsPageTurn(int n) return true; } +bool MLabelDialog::oneLabelPerPage() const +{ + return maxrows<=1 && maxcols<=1; +} + +bool MLabelDialog::conditionalExec(MLabelConfig::LabelType) +{ + //TODO: check config + if(oneLabelPerPage())return true; + return exec()==Accepted; +} + void MLabelDialog::toggleRow(int r) { for(int i=r*COLS;i<(r*COLS+COLS);i++){ @@ -315,3 +332,81 @@ void MLabelDialog::saveSettings() set.setValue("sizey",sizey->text().toDouble()); set.setValue("metric",metric->itemData(metric->currentIndex()).toString()); } + + +//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +void MLabelConfig::configDialog(QWidget* parent) +{ + QDialog d(parent); + d.setWindowTitle(tr("Label Configuration")); + QFormLayout*fl; + d.setLayout(fl=new QFormLayout); + fl->addRow(new QLabel(tr("Ticket Labels:"))); + //each one: ask printer mode, ask label-page mode, printer/settings + QComboBox*t_prnmode,*t_pagmode; + fl->addRow(tr("Print Dialog:"),t_prnmode=new QComboBox); + t_prnmode->addItem(tr("Always ask for printer"),PrintAskAlways); + t_prnmode->addItem(tr("Ask if unknown or not present"),PrintAskIfUnknown); + t_prnmode->addItem(tr("Never ask for printer"),PrintAskNever); + fl->addRow(tr("Page Dialog:"),t_pagmode=new QComboBox); + t_pagmode->addItem(tr("Always ask for page layout"),PageAskAlways); + t_pagmode->addItem(tr("Ask if more than one label per page"),PageAskIfNeeded); + t_pagmode->addItem(tr("Never ask for page layout"),PageAskNever); + QHBoxLayout*hl; + QLabel*t_prn;QMapt_prnset; + QToolButton*p; + fl->addRow(tr("Printer:"),hl=new QHBoxLayout); + hl->addWidget(t_prn=new QLabel("printer"),1); + hl->addWidget(p=new QToolButton); + p->setText("..."); + MLambda settprn([&]{ + QPrintDialog pd(&d); + if(pd.exec()!=QDialog::Accepted)return; + t_prn->setText(pd.printer()->printerName()); + }); + d.connect(p,SIGNAL(clicked()),&settprn,SLOT(call())); + QFrame*frm; + fl->addRow(frm=new QFrame); + frm->setFrameStyle(QFrame::HLine|QFrame::Sunken); + //Vouchers... + fl->addRow(new QLabel(tr("Voucher Labels:"))); + //each one: ask printer mode, ask label-page mode, printer/settings + QComboBox*v_prnmode,*v_pagmode; + fl->addRow(tr("Print Dialog:"),v_prnmode=new QComboBox); + v_prnmode->addItem(tr("Always ask for printer"),PrintAskAlways); + v_prnmode->addItem(tr("Ask if unknown or not present"),PrintAskIfUnknown); + v_prnmode->addItem(tr("Never ask for printer"),PrintAskNever); + fl->addRow(tr("Page Dialog:"),v_pagmode=new QComboBox); + v_pagmode->addItem(tr("Always ask for page layout"),PageAskAlways); + v_pagmode->addItem(tr("Ask if more than one label per page"),PageAskIfNeeded); + v_pagmode->addItem(tr("Never ask for page layout"),PageAskNever); + QLabel*v_prn;QMapv_prnset; + fl->addRow(tr("Printer:"),hl=new QHBoxLayout); + hl->addWidget(t_prn=new QLabel("printer"),1); + hl->addWidget(p=new QToolButton); + p->setText("..."); + MLambda setvprn([&]{ + QPrintDialog pd(&d); + if(pd.exec()!=QDialog::Accepted)return; + v_prn->setText(pd.printer()->printerName()); + }); + d.connect(p,SIGNAL(clicked()),&setvprn,SLOT(call())); + //button... + fl->addRow(new QLabel(" ")); + fl->addRow(hl=new QHBoxLayout); + hl->addStretch(1); + QPushButton*b; + hl->addWidget(b=new QPushButton(tr("Ok"))); + d.connect(b,SIGNAL(clicked()),&d,SLOT(accept())); + hl->addWidget(b=new QPushButton(tr("Cancel"))); + d.connect(b,SIGNAL(clicked()),&d,SLOT(reject())); + //show dialog + d.exec(); + //TODO: save settings +} + +QString MLabelConfig::tr(const char* s, const char* c) +{ + return QCoreApplication::translate("MLabelConfig",s,c); +} diff --git a/src/templates/labeldlg.h b/src/templates/labeldlg.h index 776eea0..322e64c 100644 --- a/src/templates/labeldlg.h +++ b/src/templates/labeldlg.h @@ -24,6 +24,71 @@ class QLineEdit; class QPrinter; class QLabel; +///access to the label specific configuration +class MLabelConfig +{ + public: + ///shows the configuration dialog + static void configDialog(QWidget*parent=0); + + ///the type of label whose configuration is being queried + enum LabelType { + ///ticket label + Ticket, + ///voucher label + Voucher + }; + ///instantiates a configuration object for the given label type + MLabelConfig(LabelType lt):m_type(lt){} + ///copies the config object + MLabelConfig(const MLabelConfig&lc):m_type(lc.m_type){} + ///copies the config object + MLabelConfig& operator=(const MLabelConfig&lc){m_type=lc.m_type;return *this;} + + ///returns the type represented by this config object + LabelType labelType()const{return m_type;} + + ///returns the configured printer name (even if not available on the local system) + QString printerName()const; + + ///configures the QPrinter object to the printer set for this label type; + ///use selectPrinter if you want to fall back to a selection dialog + /// \returns true if the printer was successfully configured + bool configurePrinter(QPrinter*)const; + + ///configures the printer for this particular label type; + ///whether the dialog is shown depends on settings and printer availability; + ///if the dialog is shown the function remembers the new printer settings + /// \param printer pointer to the QPrinter object to be configured + /// \param force if true: force showing the printer dialog + /// \returns true if the selection was successful + bool selectPrinter(QPrinter*printer,bool force=false); + + ///whether to ask for a printer when printing labels + enum PrintAskMode{ + ///always ask for a printer + PrintAskAlways=0, + ///only ask if the currently set printer is not known/connected + PrintAskIfUnknown=1, + ///never ask for a printer, just fail if the printer is unavailable + PrintAskNever=2 + }; + ///whether to ask for the page layout when printing labels + enum PageAskMode{ + ///always ask + PageAskAlways=0, + ///only ask if there are more than 1 labels on the page + PageAskIfNeeded=1, + ///never ask, just assume the whole page is available + PageAskNever=2, + }; + + private: + LabelType m_type; + static QString tr(const char*,const char*c=0); +}; + +///dialog that allows to select which labels on a sheet of paper are used class MLabelDialog:public QDialog { Q_OBJECT @@ -34,9 +99,27 @@ class MLabelDialog:public QDialog ~MLabelDialog(); /**returns the offset of label number n; relative to the coordinate system of the given paint device; starts at the bottom left of the page*/ - QPointF labelOffset(int n); + QPointF labelOffset(int n)const; /**returns whether this label is on a new page*/ - bool labelNeedsPageTurn(int n); + bool labelNeedsPageTurn(int n)const; + ///returns whether there is only one label per page + bool oneLabelPerPage()const; + + ///configures the printer for this particular label type + ///whether the dialog is shown depends on settings and printer availability + /// \param type type of label + /// \param printer pointer to the QPrinter object to be configured + /// \param force if true: force showing the printer dialog + /// \returns true if the selection was successful + static inline bool selectPrinter(MLabelConfig::LabelType type, QPrinter*printer, bool force=false) + {return MLabelConfig(type).selectPrinter(printer,force);} + + public slots: + ///shows the dialog if necessary - this depends on the local configuration for + ///this label type + ///if not shown it returns true (presuming the user would have wanted to print) + ///if shown it returns true if the user clicked "Ok" and false otherwise + bool conditionalExec(MLabelConfig::LabelType); private slots: /**internal: toggle Row button clicked*/ @@ -64,7 +147,7 @@ class MLabelDialog:public QDialog int numlabels,oldpage,maxrows,maxcols; /**internal helper: find coordinates of label n; returns page id; returns -1 on failure*/ - int findLabel(int n,int&row,int&col); + int findLabel(int n,int&row,int&col)const; }; #endif diff --git a/src/templates/ticketedit.cpp b/src/templates/ticketedit.cpp index bb655f3..6cc2844 100644 --- a/src/templates/ticketedit.cpp +++ b/src/templates/ticketedit.cpp @@ -104,21 +104,6 @@ class MTEExampleDelegate:public QItemDelegate {editor->setGeometry(option.rect);} }; -class MTELabelDelegate:public QItemDelegate -{ - MTicketEditor*mParent; - public: - MTELabelDelegate(MTicketEditor *parent):QItemDelegate(parent) - {mParent=parent;} - QWidget *createEditor(QWidget *, const QStyleOptionViewItem &, - const QModelIndex &) const; - void setEditorData(QWidget *, const QModelIndex &) const; - void setModelData(QWidget *, QAbstractItemModel *, - const QModelIndex &) const ; - void updateEditorGeometry(QWidget *editor,const QStyleOptionViewItem &option, - const QModelIndex &) const {editor->setGeometry(option.rect);} -}; - class DPTR_CLASS_NAME(MTicketEditor) { public: diff --git a/src/templates/ticketedit.h b/src/templates/ticketedit.h index 72385dc..ac2af43 100644 --- a/src/templates/ticketedit.h +++ b/src/templates/ticketedit.h @@ -15,6 +15,7 @@ #include #include +#include #include @@ -68,4 +69,21 @@ class MTicketEditor:public QMainWindow void saveXmlPart(QIODevice&); }; +/// \internal helper for the ticket editor +class MTELabelDelegate:public QItemDelegate +{ + Q_OBJECT + MTicketEditor*mParent; + public: + MTELabelDelegate(MTicketEditor *parent):QItemDelegate(parent) + {mParent=parent;} + QWidget *createEditor(QWidget *, const QStyleOptionViewItem &, + const QModelIndex &) const; + void setEditorData(QWidget *, const QModelIndex &) const; + void setModelData(QWidget *, QAbstractItemModel *, + const QModelIndex &) const ; + void updateEditorGeometry(QWidget *editor,const QStyleOptionViewItem &option, + const QModelIndex &) const {editor->setGeometry(option.rect);} +}; + #endif diff --git a/tzone b/tzone index 658457d..9cd542d 160000 --- a/tzone +++ b/tzone @@ -1 +1 @@ -Subproject commit 658457d56ee98a048b195b5bb5e525c88d368a55 +Subproject commit 9cd542db167347480c55e0bc9e16ba818b762d74