@semics-tech/emdash-events 1.0.0-rc.0 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.mjs +25 -1
- package/dist/manifest.json +25 -1
- package/dist/plugin.mjs +6 -6
- package/emdash-plugin.jsonc +16 -0
- package/package.json +3 -2
- package/src/astro/AttendeeList.astro +157 -0
- package/src/astro/BookingPage.astro +42 -4
- package/src/astro/BookingStatus.astro +8 -2
- package/src/astro/BookingWidget.astro +199 -4
- package/src/astro/lib/attendees.ts +170 -0
- package/src/astro/lib/picker.ts +245 -0
- package/src/astro/lib/widget.ts +28 -2
- package/src/client/booking.ts +3 -1
- package/src/client/picker.ts +143 -0
- package/src/i18n/ar.ts +38 -0
- package/src/i18n/en.ts +36 -0
package/src/i18n/ar.ts
CHANGED
|
@@ -20,6 +20,17 @@ export const ar: Messages = {
|
|
|
20
20
|
"widget.date": "التاريخ",
|
|
21
21
|
"widget.chooseDate": "اختر تاريخًا",
|
|
22
22
|
"widget.dateSoldOut": "{date} (نفدت التذاكر)",
|
|
23
|
+
"widget.picker.earlier": "تواريخ سابقة",
|
|
24
|
+
"widget.picker.later": "تواريخ لاحقة",
|
|
25
|
+
"widget.picker.hint": "اختر يومًا لعرض مواعيده.",
|
|
26
|
+
"widget.picker.none": "لا توجد تواريخ متاحة للحجز هذا الشهر.",
|
|
27
|
+
"widget.picker.times": "المواعيد يوم {date}",
|
|
28
|
+
"widget.picker.full": "مكتمل",
|
|
29
|
+
"widget.picker.dayFull": "{date}، محجوز بالكامل",
|
|
30
|
+
"widget.picker.left.one": "بقي مكان واحد",
|
|
31
|
+
"widget.picker.left.two": "بقي مكانان",
|
|
32
|
+
"widget.picker.left.few": "بقيت {count} أماكن",
|
|
33
|
+
"widget.picker.left.other": "بقي {count} مكان",
|
|
23
34
|
"widget.promo.label": "رمز الخصم",
|
|
24
35
|
"widget.promo.apply": "تطبيق الرمز",
|
|
25
36
|
"widget.promo.update": "تحديث الرمز",
|
|
@@ -78,16 +89,19 @@ export const ar: Messages = {
|
|
|
78
89
|
"status.held": "محجوزة لك",
|
|
79
90
|
"status.awaiting_signature": "بانتظار التوقيعات",
|
|
80
91
|
"status.awaiting_payment": "بانتظار الدفع",
|
|
92
|
+
"status.awaiting_approval": "بانتظار الموافقة",
|
|
81
93
|
"status.confirmed": "مؤكد",
|
|
82
94
|
"status.expired": "منتهي",
|
|
83
95
|
"status.cancelled": "ملغى",
|
|
84
96
|
"status.refunded": "مُسترد",
|
|
85
97
|
"status.refunded_unavailable": "مُسترد",
|
|
98
|
+
"status.declined": "مرفوض",
|
|
86
99
|
|
|
87
100
|
"booking.title": "حجزك",
|
|
88
101
|
"booking.status": "حالة الحجز",
|
|
89
102
|
"booking.reference": "الرقم المرجعي",
|
|
90
103
|
"booking.heldUntil": "تذاكرك محجوزة حتى {time}.",
|
|
104
|
+
"booking.decideBy": "سيوافق المنظّم على طلبك أو يرفضه بحلول {time}، وسنراسلك بالبريد الإلكتروني.",
|
|
91
105
|
"booking.line": "{qty} × {name}",
|
|
92
106
|
"booking.total": "المجموع",
|
|
93
107
|
"booking.cancelUntil": "يمكنك الإلغاء حتى {time}.",
|
|
@@ -115,6 +129,30 @@ export const ar: Messages = {
|
|
|
115
129
|
"booking.waiver.voided": "سُحب إقرار التنازل هذا. يُرجى توقيعه مرة أخرى من الحجز.",
|
|
116
130
|
"booking.waiver.expired": "انتهت صلاحية رابط التوقيع. يُرجى توقيع إقرار التنازل مرة أخرى من الحجز.",
|
|
117
131
|
"booking.waiver.failed": "تعذّر علينا تسجيل هذا التوقيع. يُرجى المحاولة مرة أخرى من الحجز.",
|
|
132
|
+
"booking.attendees.title": "الحضور وإقرارات التنازل",
|
|
133
|
+
"booking.attendees.signed": "موقَّع",
|
|
134
|
+
"booking.attendees.waiting": "بانتظار التوقيع",
|
|
135
|
+
"booking.attendees.minor": "دون 18 عامًا: توقّع أنت بصفتك وليّ الأمر.",
|
|
136
|
+
"booking.attendees.emailed": "أُرسلت دعوة بالبريد الإلكتروني إلى {email}.",
|
|
137
|
+
"booking.attendees.signNow": "وقّع الآن على هذا الجهاز",
|
|
138
|
+
"booking.attendees.resend": "أعد إرسال الدعوة",
|
|
139
|
+
"booking.attendees.edit": "تغيير بيانات الحضور",
|
|
140
|
+
"booking.attendees.editUntil": "يمكنك تغيير أسماء الحضور الذين لم يوقّعوا وعناوين بريدهم الإلكتروني حتى {time}.",
|
|
141
|
+
"booking.attendees.name": "الاسم",
|
|
142
|
+
"booking.attendees.email": "البريد الإلكتروني",
|
|
143
|
+
"booking.attendees.save": "حفظ التغييرات",
|
|
144
|
+
"booking.attendees.saved": "حُفظت بيانات الحضور. كل من تغيّرت بياناته سيصله طلب توقيع جديد.",
|
|
145
|
+
"booking.attendees.resent": "أعدنا إرسال دعوة التوقيع.",
|
|
146
|
+
"booking.error.ATTENDEE_SIGNED": "لا يمكن تغيير بيانات شخص وقّع إقرار التنازل.",
|
|
147
|
+
"booking.error.ATTENDEES_LOCKED": "لم يعد بالإمكان تغيير بيانات الحضور عبر الإنترنت.",
|
|
148
|
+
"booking.error.ATTENDEE_INVALID": "تحقّق من اسم كل شخص وعنوان بريده الإلكتروني.",
|
|
149
|
+
"booking.error.ATTENDEES_UNSENT":
|
|
150
|
+
"حُفظت تغييراتك، لكن تعذّر إرسال طلب التوقيع الجديد. يُرجى الضغط على حفظ التغييرات مرة أخرى.",
|
|
151
|
+
"booking.error.WAIVER_EMAIL_REQUIRED": "يحتاج كل شخص بالغ غيرك إلى عنوان بريد إلكتروني خاص به.",
|
|
152
|
+
"booking.error.WAIVER_TOO_MANY_EMAILS": "يمكن للحجز الواحد دعوة 10 بالغين آخرين على الأكثر بالبريد الإلكتروني.",
|
|
153
|
+
"booking.error.RATE_LIMITED": "تم ذلك قبل لحظات. يُرجى الانتظار بضع دقائق ثم المحاولة مرة أخرى.",
|
|
154
|
+
"booking.error.SIGNING_UNAVAILABLE": "التوقيع غير متاح الآن. يُرجى المحاولة مرة أخرى بعد قليل.",
|
|
155
|
+
"booking.error.ESIGN_NOT_CONFIGURED": "التوقيع غير مُعدّ على هذا الموقع.",
|
|
118
156
|
|
|
119
157
|
"pass.qr": "رمز QR لرمز تسجيل الحضور",
|
|
120
158
|
"pass.code": "رمز تسجيل الحضور",
|
package/src/i18n/en.ts
CHANGED
|
@@ -23,6 +23,15 @@ export const en = {
|
|
|
23
23
|
"widget.date": "Date",
|
|
24
24
|
"widget.chooseDate": "Choose a date",
|
|
25
25
|
"widget.dateSoldOut": "{date} (sold out)",
|
|
26
|
+
"widget.picker.earlier": "Earlier dates",
|
|
27
|
+
"widget.picker.later": "Later dates",
|
|
28
|
+
"widget.picker.hint": "Choose a day to see its times.",
|
|
29
|
+
"widget.picker.none": "No dates to book this month.",
|
|
30
|
+
"widget.picker.times": "Times on {date}",
|
|
31
|
+
"widget.picker.full": "Full",
|
|
32
|
+
"widget.picker.dayFull": "{date}, fully booked",
|
|
33
|
+
"widget.picker.left.one": "{count} place left",
|
|
34
|
+
"widget.picker.left.other": "{count} places left",
|
|
26
35
|
"widget.promo.label": "Promo code",
|
|
27
36
|
"widget.promo.apply": "Apply code",
|
|
28
37
|
"widget.promo.update": "Update code",
|
|
@@ -82,16 +91,19 @@ export const en = {
|
|
|
82
91
|
"status.held": "Held for you",
|
|
83
92
|
"status.awaiting_signature": "Waiting for signatures",
|
|
84
93
|
"status.awaiting_payment": "Waiting for payment",
|
|
94
|
+
"status.awaiting_approval": "Awaiting approval",
|
|
85
95
|
"status.confirmed": "Confirmed",
|
|
86
96
|
"status.expired": "Expired",
|
|
87
97
|
"status.cancelled": "Cancelled",
|
|
88
98
|
"status.refunded": "Refunded",
|
|
89
99
|
"status.refunded_unavailable": "Refunded",
|
|
100
|
+
"status.declined": "Declined",
|
|
90
101
|
|
|
91
102
|
"booking.title": "Your booking",
|
|
92
103
|
"booking.status": "Booking status",
|
|
93
104
|
"booking.reference": "Reference",
|
|
94
105
|
"booking.heldUntil": "Your tickets are held until {time}.",
|
|
106
|
+
"booking.decideBy": "The organiser will approve or decline your request by {time}; we will email you.",
|
|
95
107
|
"booking.line": "{qty} × {name}",
|
|
96
108
|
"booking.total": "Total",
|
|
97
109
|
"booking.cancelUntil": "You can cancel until {time}.",
|
|
@@ -121,6 +133,30 @@ export const en = {
|
|
|
121
133
|
"booking.waiver.voided": "This waiver was withdrawn. Please sign it again from the booking.",
|
|
122
134
|
"booking.waiver.expired": "The signing link expired. Please sign the waiver again from the booking.",
|
|
123
135
|
"booking.waiver.failed": "We could not record that signature. Please try again from the booking.",
|
|
136
|
+
"booking.attendees.title": "Attendees and waivers",
|
|
137
|
+
"booking.attendees.signed": "Signed",
|
|
138
|
+
"booking.attendees.waiting": "Waiting",
|
|
139
|
+
"booking.attendees.minor": "Under 18: you sign as their guardian.",
|
|
140
|
+
"booking.attendees.emailed": "Invited by email to {email}.",
|
|
141
|
+
"booking.attendees.signNow": "Sign now on this device",
|
|
142
|
+
"booking.attendees.resend": "Resend invitation",
|
|
143
|
+
"booking.attendees.edit": "Change attendee details",
|
|
144
|
+
"booking.attendees.editUntil": "You can change the names and emails of attendees who have not signed until {time}.",
|
|
145
|
+
"booking.attendees.name": "Name",
|
|
146
|
+
"booking.attendees.email": "Email",
|
|
147
|
+
"booking.attendees.save": "Save changes",
|
|
148
|
+
"booking.attendees.saved": "Attendee details saved. Anyone whose details changed gets a new signing request.",
|
|
149
|
+
"booking.attendees.resent": "We have sent the signing invitation again.",
|
|
150
|
+
"booking.error.ATTENDEE_SIGNED": "An attendee who has signed their waiver cannot be changed.",
|
|
151
|
+
"booking.error.ATTENDEES_LOCKED": "Attendee details can no longer be changed online.",
|
|
152
|
+
"booking.error.ATTENDEE_INVALID": "Check each attendee's name and email address.",
|
|
153
|
+
"booking.error.ATTENDEES_UNSENT":
|
|
154
|
+
"Your changes are saved, but the new signing request could not be sent. Please press Save changes again.",
|
|
155
|
+
"booking.error.WAIVER_EMAIL_REQUIRED": "Each adult attendee other than you needs their own email address.",
|
|
156
|
+
"booking.error.WAIVER_TOO_MANY_EMAILS": "One booking can invite at most 10 other adults by email.",
|
|
157
|
+
"booking.error.RATE_LIMITED": "That was done a moment ago. Please wait a few minutes and try again.",
|
|
158
|
+
"booking.error.SIGNING_UNAVAILABLE": "Signing is not available right now. Please try again shortly.",
|
|
159
|
+
"booking.error.ESIGN_NOT_CONFIGURED": "Signing is not set up on this site.",
|
|
124
160
|
|
|
125
161
|
"pass.qr": "QR code of the check-in code",
|
|
126
162
|
"pass.code": "Check-in code",
|