diff --git a/commonsbooking.php b/commonsbooking.php
index ceaed4c28..86240ff57 100644
--- a/commonsbooking.php
+++ b/commonsbooking.php
@@ -2,11 +2,11 @@
/**
* Plugin Name: Commons Booking
- * Version: 2.9.2
+ * Version: 2.9.3
* Requires at least: 5.2
* Requires PHP: 7.4
* Plugin URI: https://commonsbooking.org
- * Description: A wordpress plugin for management and booking of common goods.
+ * Description: A WordPress plugin for the management and booking of common goods.
* Author: wielebenwir e.V.
* Author URI: https://wielebenwir.de/
* Domain Path: /languages
@@ -18,8 +18,8 @@
use CommonsBooking\Plugin;
defined('ABSPATH') or die("Thanks for visiting");
-define('COMMONSBOOKING_VERSION', '2.9.2');
-define('COMMONSBOOKING_VERSION_COMMENT', 'master'); // Empty for release - Used to mark development versions
+define('COMMONSBOOKING_VERSION', '2.9.3');
+define('COMMONSBOOKING_VERSION_COMMENT', ''); // Empty for release - Used to mark development versions
define('COMMONSBOOKING_PLUGIN_SLUG', 'commonsbooking');
define('COMMONSBOOKING_MENU_SLUG', COMMONSBOOKING_PLUGIN_SLUG . '-menu');
define('COMMONSBOOKING_PLUGIN_DIR', wp_normalize_path( plugin_dir_path(__FILE__)));
diff --git a/languages/commonsbooking-de_DE.mo b/languages/commonsbooking-de_DE.mo
index 68dfd358f..786983711 100644
Binary files a/languages/commonsbooking-de_DE.mo and b/languages/commonsbooking-de_DE.mo differ
diff --git a/languages/commonsbooking-de_DE.po b/languages/commonsbooking-de_DE.po
index 934b8b4ba..db152c1f8 100644
--- a/languages/commonsbooking-de_DE.po
+++ b/languages/commonsbooking-de_DE.po
@@ -8,7 +8,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-09-15T04:04:14+02:00\n"
-"PO-Revision-Date: 2024-05-22 19:33+0200\n"
+"PO-Revision-Date: 2024-05-22 20:11+0200\n"
"Language: de_DE\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n"
@@ -23,11 +23,6 @@ msgstr "Commons Booking"
msgid "https://commonsbooking.org"
msgstr "https://commonsbooking.org"
-#. Description of the plugin
-#: commonsbooking.php
-msgid "A wordpress plugin for management and booking of common goods."
-msgstr "Ein WordPress-Plugin für die Verwaltung und Buchung von Gemeingütern."
-
#. Author of the plugin
#: commonsbooking.php
msgid "wielebenwir e.V."
@@ -1447,14 +1442,14 @@ msgid "Directory %s could not be written to."
msgstr "Der Ordner %s ist nicht beschreibbar."
#: src/View/Admin/Filter.php:58
-#: src/Wordpress/CustomPostType/Booking.php:864
+#: src/Wordpress/CustomPostType/Booking.php:865
#: src/Wordpress/CustomPostType/Restriction.php:448
#: src/Wordpress/CustomPostType/Timeframe.php:689
msgid "Start date"
msgstr "Startdatum"
#: src/View/Admin/Filter.php:62
-#: src/Wordpress/CustomPostType/Booking.php:881
+#: src/Wordpress/CustomPostType/Booking.php:882
#: src/Wordpress/CustomPostType/Restriction.php:458
#: src/Wordpress/CustomPostType/Timeframe.php:713
msgid "End date"
@@ -1478,14 +1473,14 @@ msgid "Not available"
msgstr "Nicht verfügbar"
#: src/View/Booking.php:163
-#: src/Wordpress/CustomPostType/Booking.php:532
+#: src/Wordpress/CustomPostType/Booking.php:533
#: src/Wordpress/CustomPostType/Timeframe.php:99
#: templates/shortcode-bookings.php:73
msgid "User"
msgstr "Nutzende*r"
#: src/View/Booking.php:167
-#: src/Wordpress/CustomPostType/Booking.php:1034
+#: src/Wordpress/CustomPostType/Booking.php:1035
#: src/Wordpress/CustomPostType/Restriction.php:474
msgid "Status"
msgstr "Status"
@@ -1503,9 +1498,9 @@ msgid "Booking codes list"
msgstr "Liste der Buchungscodes"
#: src/View/Calendar.php:223
-#: src/Wordpress/CustomPostType/Booking.php:533
-#: src/Wordpress/CustomPostType/Booking.php:858
-#: src/Wordpress/CustomPostType/Booking.php:1050
+#: src/Wordpress/CustomPostType/Booking.php:534
+#: src/Wordpress/CustomPostType/Booking.php:859
+#: src/Wordpress/CustomPostType/Booking.php:1051
#: src/Wordpress/CustomPostType/Item.php:115
#: src/Wordpress/CustomPostType/Restriction.php:54
#: src/Wordpress/CustomPostType/Restriction.php:435
@@ -1519,9 +1514,9 @@ msgid "No items found."
msgstr "Keine Artikel gefunden."
#: src/View/Calendar.php:224
-#: src/Wordpress/CustomPostType/Booking.php:534
-#: src/Wordpress/CustomPostType/Booking.php:852
-#: src/Wordpress/CustomPostType/Booking.php:1046
+#: src/Wordpress/CustomPostType/Booking.php:535
+#: src/Wordpress/CustomPostType/Booking.php:853
+#: src/Wordpress/CustomPostType/Booking.php:1047
#: src/Wordpress/CustomPostType/Location.php:122
#: src/Wordpress/CustomPostType/Restriction.php:55
#: src/Wordpress/CustomPostType/Restriction.php:428
@@ -1650,64 +1645,64 @@ msgstr "Download Export"
msgid "Unknown"
msgstr "Unbekannt"
-#: src/Wordpress/CustomPostType/Booking.php:108
+#: src/Wordpress/CustomPostType/Booking.php:109
msgid "Admin-Booking"
msgstr "Admin-Buchung"
#. translators: $s = id of the item
-#: src/Wordpress/CustomPostType/Booking.php:232
+#: src/Wordpress/CustomPostType/Booking.php:233
msgid "Item does not exist. (%s)"
msgstr "Artikel existiert nicht. (%s)"
#. translators: $s = id of the location
-#: src/Wordpress/CustomPostType/Booking.php:236
+#: src/Wordpress/CustomPostType/Booking.php:237
msgid "Location does not exist. (%s)"
msgstr "Standort existiert nicht. (%s)"
-#: src/Wordpress/CustomPostType/Booking.php:240
+#: src/Wordpress/CustomPostType/Booking.php:241
msgid "Start- and/or end-date is missing."
msgstr "Das Start- und/oder Enddatum fehlt."
-#: src/Wordpress/CustomPostType/Booking.php:271
+#: src/Wordpress/CustomPostType/Booking.php:272
msgid "Booking canceled."
msgstr "Buchung storniert."
-#: src/Wordpress/CustomPostType/Booking.php:287
+#: src/Wordpress/CustomPostType/Booking.php:288
msgid "There is already a booking in this time-range. This notice may also appear if there is an unconfirmed booking in the requested period. Unconfirmed bookings are deleted after about 10 minutes. Please try again in a few minutes."
msgstr "Es gibt bereits eine Buchung in diesem Zeitraum. Dieser Hinweis kann auch erscheinen, wenn es eine unbestätigte Buchung in dem gewünschten Zeitraum gibt. Unbestätigte Buchungen werden nach etwa 10 Minuten gelöscht. Bitte versuche es in ein paar Minuten erneut."
-#: src/Wordpress/CustomPostType/Booking.php:295
+#: src/Wordpress/CustomPostType/Booking.php:296
msgid "status changed by admin user via frontend. New status: "
msgstr "Status wurde vom Administrierenden über das Frontend geändert. Neuer Status: "
-#: src/Wordpress/CustomPostType/Booking.php:302
-#: src/Wordpress/CustomPostType/Booking.php:609
-#: src/Wordpress/CustomPostType/Booking.php:788
+#: src/Wordpress/CustomPostType/Booking.php:303
+#: src/Wordpress/CustomPostType/Booking.php:610
+#: src/Wordpress/CustomPostType/Booking.php:789
#: src/Wordpress/CustomPostType/Timeframe.php:126
msgid "Booking"
msgstr "Buchung"
-#: src/Wordpress/CustomPostType/Booking.php:346
+#: src/Wordpress/CustomPostType/Booking.php:347
msgid "There was an error while saving the booking. Please try again. Thrown error:"
msgstr "Es gab einen Fehler während der Buchung. Geworfener Fehler:"
-#: src/Wordpress/CustomPostType/Booking.php:363
+#: src/Wordpress/CustomPostType/Booking.php:364
msgid "There was an error while saving the booking. Please try again. Resulting WP_ERROR: "
msgstr "Es gab einen Fehler während der Buchung. WP_ERROR: "
-#: src/Wordpress/CustomPostType/Booking.php:445
+#: src/Wordpress/CustomPostType/Booking.php:446
msgid "End date is before start date"
msgstr "Enddatum liegt vor dem Startdatum"
-#: src/Wordpress/CustomPostType/Booking.php:452
+#: src/Wordpress/CustomPostType/Booking.php:453
msgid "Please adjust the start date or end date.
Changes on this booking have not been saved.
"
msgstr "Bitte passe das Start- oder Enddatum an.
Änderungen an dieser Buchung wurden nicht gespeichert.
"
-#: src/Wordpress/CustomPostType/Booking.php:485
+#: src/Wordpress/CustomPostType/Booking.php:486
msgid "Warning: There are one ore more overlapping bookings within the choosen timerange"
msgstr "Achtung: Es gibt eine oder mehrere sich überschneidende Buchungen innerhalb des gewählten Zeitraums"
-#: src/Wordpress/CustomPostType/Booking.php:492
+#: src/Wordpress/CustomPostType/Booking.php:493
msgid ""
"Please adjust the startdate or enddate.
The booking status has been set to unconfirmed.
\n"
" Affected Bookings:
\n"
@@ -1717,39 +1712,39 @@ msgstr ""
" Betroffene Buchungen:
\n"
" %1$s"
-#: src/Wordpress/CustomPostType/Booking.php:535
+#: src/Wordpress/CustomPostType/Booking.php:536
msgid "Bookingdate"
msgstr "Buchungsdatum"
-#: src/Wordpress/CustomPostType/Booking.php:536
+#: src/Wordpress/CustomPostType/Booking.php:537
#: src/Wordpress/CustomPostType/Restriction.php:56
#: src/Wordpress/CustomPostType/Timeframe.php:103
#: src/Wordpress/CustomPostType/Timeframe.php:755
msgid "Start Date"
msgstr "Startdatum"
-#: src/Wordpress/CustomPostType/Booking.php:537
+#: src/Wordpress/CustomPostType/Booking.php:538
#: src/Wordpress/CustomPostType/Restriction.php:57
#: src/Wordpress/CustomPostType/Timeframe.php:104
msgid "End Date"
msgstr "Enddatum"
-#: src/Wordpress/CustomPostType/Booking.php:538
+#: src/Wordpress/CustomPostType/Booking.php:539
msgid "Booking Status"
msgstr "Buchungsstatus"
-#: src/Wordpress/CustomPostType/Booking.php:539
-#: src/Wordpress/CustomPostType/Booking.php:1042
+#: src/Wordpress/CustomPostType/Booking.php:540
+#: src/Wordpress/CustomPostType/Booking.php:1043
#: src/Wordpress/CustomPostType/Timeframe.php:468
msgid "Comment"
msgstr "Kommentar"
-#: src/Wordpress/CustomPostType/Booking.php:608
+#: src/Wordpress/CustomPostType/Booking.php:609
#: templates/dashboard-index.php:45
msgid "Bookings"
msgstr "Buchungen"
-#: src/Wordpress/CustomPostType/Booking.php:610
+#: src/Wordpress/CustomPostType/Booking.php:611
#: src/Wordpress/CustomPostType/Item.php:116
#: src/Wordpress/CustomPostType/Location.php:123
#: src/Wordpress/CustomPostType/Restriction.php:310
@@ -1757,25 +1752,25 @@ msgstr "Buchungen"
msgid "Add new"
msgstr "Neu hinzufügen"
-#: src/Wordpress/CustomPostType/Booking.php:611
-#: src/Wordpress/CustomPostType/Booking.php:613
+#: src/Wordpress/CustomPostType/Booking.php:612
+#: src/Wordpress/CustomPostType/Booking.php:614
msgid "Add new booking"
msgstr "Neue Buchung hinzufügen"
-#: src/Wordpress/CustomPostType/Booking.php:612
-#: src/Wordpress/CustomPostType/Booking.php:819
+#: src/Wordpress/CustomPostType/Booking.php:613
+#: src/Wordpress/CustomPostType/Booking.php:820
msgid "Edit booking"
msgstr "Buchung bearbeiten"
-#: src/Wordpress/CustomPostType/Booking.php:614
+#: src/Wordpress/CustomPostType/Booking.php:615
msgid "Show booking"
msgstr "Buchung anzeigen"
-#: src/Wordpress/CustomPostType/Booking.php:615
+#: src/Wordpress/CustomPostType/Booking.php:616
msgid "Show bookings"
msgstr "Buchungen anzeigen"
-#: src/Wordpress/CustomPostType/Booking.php:616
+#: src/Wordpress/CustomPostType/Booking.php:617
msgid "Search bookings"
msgstr "Buchungen suchen"
@@ -1783,61 +1778,61 @@ msgstr "Buchungen suchen"
msgid "Timeframes not found"
msgstr "Zeitrahmen wurden nicht gefunden"
-#: src/Wordpress/CustomPostType/Booking.php:618
+#: src/Wordpress/CustomPostType/Booking.php:619
msgid "No bookings found in trash"
msgstr "Keine Buchungen im Papierkorb gefunden"
-#: src/Wordpress/CustomPostType/Booking.php:619
+#: src/Wordpress/CustomPostType/Booking.php:620
msgid "Parent bookings:"
msgstr "Übergeordnete Buchungen:"
-#: src/Wordpress/CustomPostType/Booking.php:620
+#: src/Wordpress/CustomPostType/Booking.php:621
msgid "All bookings"
msgstr "Alle Buchungen"
-#: src/Wordpress/CustomPostType/Booking.php:621
+#: src/Wordpress/CustomPostType/Booking.php:622
#: src/Wordpress/CustomPostType/Timeframe.php:1116
msgid "Timeframe archive"
msgstr "Zeitrahmenarchiv"
-#: src/Wordpress/CustomPostType/Booking.php:622
+#: src/Wordpress/CustomPostType/Booking.php:623
#: src/Wordpress/CustomPostType/Timeframe.php:1117
msgid "Timeframe attributes"
msgstr "Zeitrahmenattribute"
-#: src/Wordpress/CustomPostType/Booking.php:623
+#: src/Wordpress/CustomPostType/Booking.php:624
msgid "Add to booking"
msgstr "Der Buchung hinzufügen"
-#: src/Wordpress/CustomPostType/Booking.php:624
+#: src/Wordpress/CustomPostType/Booking.php:625
msgid "Added to booking"
msgstr "Zur Buchung hinzugefügt"
-#: src/Wordpress/CustomPostType/Booking.php:625
+#: src/Wordpress/CustomPostType/Booking.php:626
#: src/Wordpress/CustomPostType/Timeframe.php:1120
msgid "Timeframe image"
msgstr "Zeitrahmenbild"
-#: src/Wordpress/CustomPostType/Booking.php:626
+#: src/Wordpress/CustomPostType/Booking.php:627
msgid "set booking image"
msgstr "Buchungsbild festlegen"
-#: src/Wordpress/CustomPostType/Booking.php:627
+#: src/Wordpress/CustomPostType/Booking.php:628
msgid "remove booking image"
msgstr "Buchungsbild entfernen"
-#: src/Wordpress/CustomPostType/Booking.php:628
+#: src/Wordpress/CustomPostType/Booking.php:629
msgid "use as booking image"
msgstr "als Buchungsbild verwenden"
-#: src/Wordpress/CustomPostType/Booking.php:629
+#: src/Wordpress/CustomPostType/Booking.php:630
#: src/Wordpress/CustomPostType/Timeframe.php:1103
#: src/Wordpress/CustomPostType/Timeframe.php:1124
#: templates/dashboard-index.php:37
msgid "Timeframes"
msgstr "Zeitrahmen"
-#: src/Wordpress/CustomPostType/Booking.php:821
+#: src/Wordpress/CustomPostType/Booking.php:822
msgid ""
"
Notice
In this view, you as an admin can create or modify existing bookings. Please use it with caution.
\n"
"\t\t\t\t
\n"
@@ -1861,41 +1856,41 @@ msgstr ""
" \n"
"\t\t\t\t"
-#: src/Wordpress/CustomPostType/Booking.php:839
+#: src/Wordpress/CustomPostType/Booking.php:840
msgid "External comment"
msgstr "Öffentlicher Kommentar"
-#: src/Wordpress/CustomPostType/Booking.php:840
+#: src/Wordpress/CustomPostType/Booking.php:841
msgid "This comment can be seen by users in booking details. It can be set by users during the booking confirmation process if comments are enabled in settings."
msgstr "Dieser Kommentar ist intern für Zeitrahmen wie buchbar, Reparatur, Urlaub. Wenn es sich um eine Buchung handelt, kann dieser Kommentar von den Benutzenden während des Buchungsbestätigungsprozesses eingegeben werden."
-#: src/Wordpress/CustomPostType/Booking.php:845
+#: src/Wordpress/CustomPostType/Booking.php:846
#: templates/booking-single.php:130
msgid "Internal comment"
msgstr "Interner Kommentar"
-#: src/Wordpress/CustomPostType/Booking.php:846
+#: src/Wordpress/CustomPostType/Booking.php:847
msgid "This internal comment can only be seen in the backend by privileged users like admins or cb-managers"
msgstr "Dieser interne Kommentar kann im Backend nur von autorisierten Nutzenden wie Admins oder CB-Managern gesehen werden"
-#: src/Wordpress/CustomPostType/Booking.php:865
+#: src/Wordpress/CustomPostType/Booking.php:866
msgid "Set the start date. You must set the time to 00:00 if you want to book the full day "
msgstr "Lege das Startdatum fest. Setze die Uhrzeit auf 00:00, wenn du den ganzen Tag buchen willst "
-#: src/Wordpress/CustomPostType/Booking.php:882
+#: src/Wordpress/CustomPostType/Booking.php:883
msgid "Set the end date. You must set time to 23:59 if you want to book the full day"
msgstr "Lege das Enddatum fest. Setze die Zeit auf 23:59 Uhr, wenn du den ganzen Tag buchen willst"
-#: src/Wordpress/CustomPostType/Booking.php:898
+#: src/Wordpress/CustomPostType/Booking.php:899
#: templates/booking-single.php:59
msgid "Booking Code"
msgstr "Buchungscode"
-#: src/Wordpress/CustomPostType/Booking.php:903
+#: src/Wordpress/CustomPostType/Booking.php:904
msgid "Booking User"
msgstr "Buchende Person"
-#: src/Wordpress/CustomPostType/Booking.php:909
+#: src/Wordpress/CustomPostType/Booking.php:910
msgid ""
"Here you must select the user for whom the booking is made.
\n"
" If the booking was was made by a user via frontend booking process, the user will be shown in this field.\n"
@@ -1905,15 +1900,15 @@ msgstr ""
" Wenn die Buchung von einem/einer Nutzenden über den Frontend-Buchungsprozess vorgenommen wurde, wird der/die Nutzende in diesem Feld angezeigt.\n"
"
Hinweis: Der/die Nutzende erhält eine Buchungsbestätigung, sobald die Buchung mit dem Status „bestätigt“ gespeichert wurde."
-#: src/Wordpress/CustomPostType/Booking.php:918
+#: src/Wordpress/CustomPostType/Booking.php:919
msgid "Admin Booking User"
msgstr "Admin Booking Konto"
-#: src/Wordpress/CustomPostType/Booking.php:929
+#: src/Wordpress/CustomPostType/Booking.php:930
msgid "This is the admin user who created or modified this booking."
msgstr "Dies ist der/die Admin-Nutzende, der diese Buchung erstellt oder geändert hat."
-#: src/Wordpress/CustomPostType/Booking.php:952
+#: src/Wordpress/CustomPostType/Booking.php:953
msgid ""
"Bookings should be created via frontend booking calendar.
\n"
"\t\tAs an admin you can create bookings via this admin interface. Please be aware that admin bookings are not validated\n"
@@ -3439,35 +3434,35 @@ msgstr "Die Start- und Endzeit des Zeitrahmens dürfen nicht gleich sein. Wenn d
#: src/Plugin.php:655
#: src/Plugin.php:670
-#: src/Wordpress/CustomPostType/Booking.php:997
+#: src/Wordpress/CustomPostType/Booking.php:998
msgid "CommonsBooking Bookings"
msgstr "CommonsBooking Buchungen"
-#: src/Wordpress/CustomPostType/Booking.php:617
+#: src/Wordpress/CustomPostType/Booking.php:618
msgid "Bookings not found"
msgstr "Keine Buchungen gefunden"
-#: src/Wordpress/CustomPostType/Booking.php:1022
+#: src/Wordpress/CustomPostType/Booking.php:1023
msgid "Booking start"
msgstr "Buchungsbeginn"
-#: src/Wordpress/CustomPostType/Booking.php:1026
+#: src/Wordpress/CustomPostType/Booking.php:1027
msgid "Booking end"
msgstr "Buchungsende"
-#: src/Wordpress/CustomPostType/Booking.php:1030
+#: src/Wordpress/CustomPostType/Booking.php:1031
msgid "Time of booking"
msgstr "Buchungszeit"
-#: src/Wordpress/CustomPostType/Booking.php:1038
+#: src/Wordpress/CustomPostType/Booking.php:1039
msgid "Booking code"
msgstr "Buchungscode"
-#: src/Wordpress/CustomPostType/Booking.php:1054
+#: src/Wordpress/CustomPostType/Booking.php:1055
msgid "Time of cancellation"
msgstr "Storniert am"
-#: src/Wordpress/CustomPostType/Booking.php:1058
+#: src/Wordpress/CustomPostType/Booking.php:1059
msgid "Admin booking by"
msgstr "Adminbuchung von"
@@ -4203,6 +4198,15 @@ msgstr "Wenn die Option aktiviert ist, erhält der Standort eine Blindkopie alle
msgid "Add to Calendar"
msgstr "Zum Kalender hinzufügen"
+#: templates/shortcode-bookings.php:16
+msgid "Please login to see your bookings."
+msgstr "Bitte melde dich an , um deine Buchungen zu sehen."
+
+#. Description of the plugin
+#: commonsbooking.php
+msgid "A WordPress plugin for the management and booking of common goods."
+msgstr "Ein WordPress-Plugin für die Verwaltung und Buchung von Gemeingütern."
+
#: src/Model/Booking.php:882
#~ msgid "Unconfirmed"
#~ msgstr "Unbestätigt"
@@ -4211,10 +4215,6 @@ msgstr "Zum Kalender hinzufügen"
#~ msgid "Confirmed"
#~ msgstr "Bestätigt"
-#: templates/shortcode-bookings.php:16
-msgid "Please login to see your bookings."
-msgstr ""
-
-#: src/Wordpress/CustomPostType/Booking.php:245
+#: src/Wordpress/CustomPostType/Booking.php:246
msgid "Your reservation has expired, please try to book again"
msgstr ""
diff --git a/languages/commonsbooking.pot b/languages/commonsbooking.pot
index 2ff8ffa56..2726b843a 100644
--- a/languages/commonsbooking.pot
+++ b/languages/commonsbooking.pot
@@ -2,14 +2,14 @@
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
-"Project-Id-Version: Commons Booking 2.9.2\n"
+"Project-Id-Version: Commons Booking 2.9.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/commonsbooking\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2024-05-29T13:44:50+00:00\n"
+"POT-Creation-Date: 2024-05-29T13:47:37+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: commonsbooking\n"
@@ -26,7 +26,7 @@ msgstr ""
#. Description of the plugin
#: commonsbooking.php
-msgid "A wordpress plugin for management and booking of common goods."
+msgid "A WordPress plugin for the management and booking of common goods."
msgstr ""
#. Author of the plugin
@@ -1587,7 +1587,7 @@ msgstr ""
#: src/Plugin.php:655
#: src/Plugin.php:670
-#: src/Wordpress/CustomPostType/Booking.php:997
+#: src/Wordpress/CustomPostType/Booking.php:998
msgid "CommonsBooking Bookings"
msgstr ""
@@ -1819,14 +1819,14 @@ msgid ""
msgstr ""
#: src/View/Admin/Filter.php:58
-#: src/Wordpress/CustomPostType/Booking.php:864
+#: src/Wordpress/CustomPostType/Booking.php:865
#: src/Wordpress/CustomPostType/Restriction.php:448
#: src/Wordpress/CustomPostType/Timeframe.php:689
msgid "Start date"
msgstr ""
#: src/View/Admin/Filter.php:62
-#: src/Wordpress/CustomPostType/Booking.php:881
+#: src/Wordpress/CustomPostType/Booking.php:882
#: src/Wordpress/CustomPostType/Restriction.php:458
#: src/Wordpress/CustomPostType/Timeframe.php:713
msgid "End date"
@@ -1850,14 +1850,14 @@ msgid "Not available"
msgstr ""
#: src/View/Booking.php:163
-#: src/Wordpress/CustomPostType/Booking.php:532
+#: src/Wordpress/CustomPostType/Booking.php:533
#: src/Wordpress/CustomPostType/Timeframe.php:99
#: templates/shortcode-bookings.php:73
msgid "User"
msgstr ""
#: src/View/Booking.php:167
-#: src/Wordpress/CustomPostType/Booking.php:1034
+#: src/Wordpress/CustomPostType/Booking.php:1035
#: src/Wordpress/CustomPostType/Restriction.php:474
msgid "Status"
msgstr ""
@@ -1971,9 +1971,9 @@ msgid "No items found."
msgstr ""
#: src/View/Calendar.php:223
-#: src/Wordpress/CustomPostType/Booking.php:533
-#: src/Wordpress/CustomPostType/Booking.php:858
-#: src/Wordpress/CustomPostType/Booking.php:1050
+#: src/Wordpress/CustomPostType/Booking.php:534
+#: src/Wordpress/CustomPostType/Booking.php:859
+#: src/Wordpress/CustomPostType/Booking.php:1051
#: src/Wordpress/CustomPostType/Item.php:115
#: src/Wordpress/CustomPostType/Restriction.php:54
#: src/Wordpress/CustomPostType/Restriction.php:435
@@ -1983,9 +1983,9 @@ msgid "Item"
msgstr ""
#: src/View/Calendar.php:224
-#: src/Wordpress/CustomPostType/Booking.php:534
-#: src/Wordpress/CustomPostType/Booking.php:852
-#: src/Wordpress/CustomPostType/Booking.php:1046
+#: src/Wordpress/CustomPostType/Booking.php:535
+#: src/Wordpress/CustomPostType/Booking.php:853
+#: src/Wordpress/CustomPostType/Booking.php:1047
#: src/Wordpress/CustomPostType/Location.php:122
#: src/Wordpress/CustomPostType/Restriction.php:55
#: src/Wordpress/CustomPostType/Restriction.php:428
@@ -2105,107 +2105,107 @@ msgstr ""
msgid "Download Export"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:108
+#: src/Wordpress/CustomPostType/Booking.php:109
msgid "Admin-Booking"
msgstr ""
#. translators: $s = id of the item
-#: src/Wordpress/CustomPostType/Booking.php:232
+#: src/Wordpress/CustomPostType/Booking.php:233
msgid "Item does not exist. (%s)"
msgstr ""
#. translators: $s = id of the location
-#: src/Wordpress/CustomPostType/Booking.php:236
+#: src/Wordpress/CustomPostType/Booking.php:237
msgid "Location does not exist. (%s)"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:240
+#: src/Wordpress/CustomPostType/Booking.php:241
msgid "Start- and/or end-date is missing."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:245
+#: src/Wordpress/CustomPostType/Booking.php:246
msgid "Your reservation has expired, please try to book again"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:271
+#: src/Wordpress/CustomPostType/Booking.php:272
msgid "Booking canceled."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:287
+#: src/Wordpress/CustomPostType/Booking.php:288
msgid "There is already a booking in this time-range. This notice may also appear if there is an unconfirmed booking in the requested period. Unconfirmed bookings are deleted after about 10 minutes. Please try again in a few minutes."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:295
+#: src/Wordpress/CustomPostType/Booking.php:296
msgid "status changed by admin user via frontend. New status: "
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:302
-#: src/Wordpress/CustomPostType/Booking.php:609
-#: src/Wordpress/CustomPostType/Booking.php:788
+#: src/Wordpress/CustomPostType/Booking.php:303
+#: src/Wordpress/CustomPostType/Booking.php:610
+#: src/Wordpress/CustomPostType/Booking.php:789
#: src/Wordpress/CustomPostType/Timeframe.php:126
msgid "Booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:346
+#: src/Wordpress/CustomPostType/Booking.php:347
msgid "There was an error while saving the booking. Please try again. Thrown error:"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:363
+#: src/Wordpress/CustomPostType/Booking.php:364
msgid "There was an error while saving the booking. Please try again. Resulting WP_ERROR: "
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:445
+#: src/Wordpress/CustomPostType/Booking.php:446
msgid "End date is before start date"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:452
+#: src/Wordpress/CustomPostType/Booking.php:453
msgid "Please adjust the start date or end date.
Changes on this booking have not been saved.
"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:485
+#: src/Wordpress/CustomPostType/Booking.php:486
msgid "Warning: There are one ore more overlapping bookings within the choosen timerange"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:492
+#: src/Wordpress/CustomPostType/Booking.php:493
msgid ""
"Please adjust the startdate or enddate.
The booking status has been set to unconfirmed.
\n"
" Affected Bookings:
\n"
" %1$s"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:535
+#: src/Wordpress/CustomPostType/Booking.php:536
msgid "Bookingdate"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:536
+#: src/Wordpress/CustomPostType/Booking.php:537
#: src/Wordpress/CustomPostType/Restriction.php:56
#: src/Wordpress/CustomPostType/Timeframe.php:103
#: src/Wordpress/CustomPostType/Timeframe.php:755
msgid "Start Date"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:537
+#: src/Wordpress/CustomPostType/Booking.php:538
#: src/Wordpress/CustomPostType/Restriction.php:57
#: src/Wordpress/CustomPostType/Timeframe.php:104
msgid "End Date"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:538
+#: src/Wordpress/CustomPostType/Booking.php:539
msgid "Booking Status"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:539
-#: src/Wordpress/CustomPostType/Booking.php:1042
+#: src/Wordpress/CustomPostType/Booking.php:540
+#: src/Wordpress/CustomPostType/Booking.php:1043
#: src/Wordpress/CustomPostType/Timeframe.php:468
msgid "Comment"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:608
+#: src/Wordpress/CustomPostType/Booking.php:609
#: templates/dashboard-index.php:45
msgid "Bookings"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:610
+#: src/Wordpress/CustomPostType/Booking.php:611
#: src/Wordpress/CustomPostType/Item.php:116
#: src/Wordpress/CustomPostType/Location.php:123
#: src/Wordpress/CustomPostType/Restriction.php:310
@@ -2213,87 +2213,87 @@ msgstr ""
msgid "Add new"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:611
-#: src/Wordpress/CustomPostType/Booking.php:613
+#: src/Wordpress/CustomPostType/Booking.php:612
+#: src/Wordpress/CustomPostType/Booking.php:614
msgid "Add new booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:612
-#: src/Wordpress/CustomPostType/Booking.php:819
+#: src/Wordpress/CustomPostType/Booking.php:613
+#: src/Wordpress/CustomPostType/Booking.php:820
msgid "Edit booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:614
+#: src/Wordpress/CustomPostType/Booking.php:615
msgid "Show booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:615
+#: src/Wordpress/CustomPostType/Booking.php:616
msgid "Show bookings"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:616
+#: src/Wordpress/CustomPostType/Booking.php:617
msgid "Search bookings"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:617
+#: src/Wordpress/CustomPostType/Booking.php:618
msgid "Bookings not found"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:618
+#: src/Wordpress/CustomPostType/Booking.php:619
msgid "No bookings found in trash"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:619
+#: src/Wordpress/CustomPostType/Booking.php:620
msgid "Parent bookings:"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:620
+#: src/Wordpress/CustomPostType/Booking.php:621
msgid "All bookings"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:621
+#: src/Wordpress/CustomPostType/Booking.php:622
#: src/Wordpress/CustomPostType/Timeframe.php:1116
msgid "Timeframe archive"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:622
+#: src/Wordpress/CustomPostType/Booking.php:623
#: src/Wordpress/CustomPostType/Timeframe.php:1117
msgid "Timeframe attributes"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:623
+#: src/Wordpress/CustomPostType/Booking.php:624
msgid "Add to booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:624
+#: src/Wordpress/CustomPostType/Booking.php:625
msgid "Added to booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:625
+#: src/Wordpress/CustomPostType/Booking.php:626
#: src/Wordpress/CustomPostType/Timeframe.php:1120
msgid "Timeframe image"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:626
+#: src/Wordpress/CustomPostType/Booking.php:627
msgid "set booking image"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:627
+#: src/Wordpress/CustomPostType/Booking.php:628
msgid "remove booking image"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:628
+#: src/Wordpress/CustomPostType/Booking.php:629
msgid "use as booking image"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:629
+#: src/Wordpress/CustomPostType/Booking.php:630
#: src/Wordpress/CustomPostType/Timeframe.php:1103
#: src/Wordpress/CustomPostType/Timeframe.php:1124
#: templates/dashboard-index.php:37
msgid "Timeframes"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:821
+#: src/Wordpress/CustomPostType/Booking.php:822
msgid ""
"Notice
In this view, you as an admin can create or modify existing bookings. Please use it with caution.
\n"
"\t\t\t\t
\n"
@@ -2307,56 +2307,56 @@ msgid ""
"\t\t\t\t"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:839
+#: src/Wordpress/CustomPostType/Booking.php:840
msgid "External comment"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:840
+#: src/Wordpress/CustomPostType/Booking.php:841
msgid "This comment can be seen by users in booking details. It can be set by users during the booking confirmation process if comments are enabled in settings."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:845
+#: src/Wordpress/CustomPostType/Booking.php:846
#: templates/booking-single.php:130
msgid "Internal comment"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:846
+#: src/Wordpress/CustomPostType/Booking.php:847
msgid "This internal comment can only be seen in the backend by privileged users like admins or cb-managers"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:865
+#: src/Wordpress/CustomPostType/Booking.php:866
msgid "Set the start date. You must set the time to 00:00 if you want to book the full day "
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:882
+#: src/Wordpress/CustomPostType/Booking.php:883
msgid "Set the end date. You must set time to 23:59 if you want to book the full day"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:898
+#: src/Wordpress/CustomPostType/Booking.php:899
#: templates/booking-single.php:59
msgid "Booking Code"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:903
+#: src/Wordpress/CustomPostType/Booking.php:904
msgid "Booking User"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:909
+#: src/Wordpress/CustomPostType/Booking.php:910
msgid ""
"Here you must select the user for whom the booking is made.
\n"
" If the booking was was made by a user via frontend booking process, the user will be shown in this field.\n"
"
Notice:The user will receive a booking confirmation as soon as the booking has been saved with the status confirmed."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:918
+#: src/Wordpress/CustomPostType/Booking.php:919
msgid "Admin Booking User"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:929
+#: src/Wordpress/CustomPostType/Booking.php:930
msgid "This is the admin user who created or modified this booking."
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:952
+#: src/Wordpress/CustomPostType/Booking.php:953
msgid ""
"Bookings should be created via frontend booking calendar.
\n"
"\t\tAs an admin you can create bookings via this admin interface. Please be aware that admin bookings are not validated\n"
@@ -2366,27 +2366,27 @@ msgid ""
"\t\tSee here How to display the booking list"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1022
+#: src/Wordpress/CustomPostType/Booking.php:1023
msgid "Booking start"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1026
+#: src/Wordpress/CustomPostType/Booking.php:1027
msgid "Booking end"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1030
+#: src/Wordpress/CustomPostType/Booking.php:1031
msgid "Time of booking"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1038
+#: src/Wordpress/CustomPostType/Booking.php:1039
msgid "Booking code"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1054
+#: src/Wordpress/CustomPostType/Booking.php:1055
msgid "Time of cancellation"
msgstr ""
-#: src/Wordpress/CustomPostType/Booking.php:1058
+#: src/Wordpress/CustomPostType/Booking.php:1059
msgid "Admin booking by"
msgstr ""
diff --git a/readme.txt b/readme.txt
index dced0129b..38e7949dc 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,12 +4,12 @@ Donate link: https://www.wielebenwir.de/verein/unterstutzen
Tags: booking, calendar, sharing, commoning, open-source
Requires at least: 5.9
Tested up to: 6.5
-Stable Tag: 2.9.2
+Stable Tag: 2.9.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
-CommonsBooking is a plugin for management and booking of common goods.
+CommonsBooking is a plugin for the management and booking of common goods.
## Description
@@ -79,6 +79,14 @@ CommonsBooking was developed for the ["Commons Cargobike" movement](http://commo
## Changelog
+### 2.9.3 (31.05.2024)
+ADDED: Download ics file directly from booking details page
+ENHANCED: Taxonomies will now be shown in item / location overview in the backend
+ENHANCE: If iCalendar attachments are enabled: The cancellation email will now contain a calendar event that will cancel the booking in the user's calendar
+FIXED: Restriction emails button not working in some instances
+FIXED: Unexpected behavior when booking expires before confirmation
+FIXED: German translation and typos
+
### 2.9.2 (26.04.2024)
ADDED: You can now configure reminder emails that are sent to the location before the start and before the end of a booking. (thanks @poilu)
ENHANCED: You can now disable sending a copy of the booking confirmation email to the location.
diff --git a/src/Wordpress/CustomPostType/Booking.php b/src/Wordpress/CustomPostType/Booking.php
index 5698eef08..ae3e2363f 100644
--- a/src/Wordpress/CustomPostType/Booking.php
+++ b/src/Wordpress/CustomPostType/Booking.php
@@ -7,6 +7,7 @@
use CommonsBooking\Helper\Helper;
use CommonsBooking\Messages\BookingMessage;
use CommonsBooking\Service\BookingRuleApplied;
+use CommonsBooking\Service\iCalendar;
use CommonsBooking\Settings\Settings;
use Exception;
use function wp_verify_nonce;