mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +00:00
feat(places): colour tags, tabs for the texts and opening hours on the phone
Tags on the place form are pills in their own colour, with a palette under the dot that recolours a tag for the whole trip (PUT /trips/:id/tags/:id was there already, the client now reaches it through repo and store) and a custom colour field of its own instead of the system picker. A new tag is made in a colour picked the same way. Description, notes and the note for one day's visit sit in one card under a switch, each with a line on where the text shows up; the day tab is named after its day and is only there with one visit in context. Nothing about the three fields changes underneath. Opening hours get a switch for open around the clock next to closed. Google writes a place open all week as one period on Sunday that never closes; it read as Sunday open and every other day closed, and now opens every day. The phone form follows the desktop: category as one field with a list, tags in one field, the texts switch, and phone, e-mail and opening hours, which it did not have. The hours and the text tabs are shared hooks (usePlaceHours, usePlaceTextTabs). Files and costs on the phone sheets are drawn as fields like the rest, and the paste hint, a keyboard shortcut a phone has no use for, is gone with its key.
This commit is contained in:
@@ -44,7 +44,6 @@ const files: TranslationStrings = {
|
||||
'files.sourceBooking': 'הזמנה',
|
||||
'files.sourceTransport': 'תחבורה',
|
||||
'files.attach': 'צירוף',
|
||||
'files.pasteHint': 'אפשר גם להדביק תמונות מהלוח (Ctrl+V)',
|
||||
'files.trash': 'סל מחזור',
|
||||
'files.trashEmpty': 'סל המחזור ריק',
|
||||
'files.emptyTrash': 'ריקון סל המחזור',
|
||||
|
||||
@@ -117,6 +117,7 @@ const places: TranslationStrings = {
|
||||
'places.formEmail': 'אימייל',
|
||||
'places.hoursAdd': 'הוספת שעות פתיחה',
|
||||
'places.hoursClosed': 'סגור',
|
||||
'places.hoursAllDay': 'פתוח 24 שעות',
|
||||
'places.hoursOpens': 'נפתח',
|
||||
'places.hoursCloses': 'נסגר',
|
||||
'places.hoursCopyFirst': 'להחיל את השעות של {day} על כל הימים',
|
||||
@@ -129,6 +130,16 @@ const places: TranslationStrings = {
|
||||
'places.formNotesPlaceholder': 'הערות אישיות...',
|
||||
'places.assignmentNotes': 'הערות ליום זה',
|
||||
'places.assignmentNotesPlaceholder': 'הערות למקום זה ביום זה בלבד...',
|
||||
'places.textsLabel': 'תיאור והערות',
|
||||
'places.notesKind': 'טקסט לעריכה',
|
||||
'places.notesTabAbout': 'על המקום',
|
||||
'places.notesTabDay': 'רק היום הזה',
|
||||
'places.notesTabDayN': 'רק יום {day}',
|
||||
'places.notesHintDescription':
|
||||
'מוצג מתחת לשם ברשימת המקומות ובתוכנית היום, בראש הפרטים וב-PDF. החיפוש וויקיפדיה ממלאים אותו לעיתים קרובות.',
|
||||
'places.notesHintNotes':
|
||||
'טקסט משלך על המקום, כמו טיפים או פרטי הזמנה. מוצג רק בפרטים וב-PDF, בכל יום. כל המשתתפים בטיול רואים אותו.',
|
||||
'places.notesHintDay': 'רק לביקור הזה. מוצג בשורה שלו בתוכנית היום, ימים אחרים לא מציגים אותו.',
|
||||
'places.formReservation': 'הזמנה',
|
||||
'places.reservationNotesPlaceholder': 'הערות להזמנה, מספר אישור...',
|
||||
'places.mapsSearchPlaceholder': 'חיפוש מקומות...',
|
||||
@@ -170,6 +181,12 @@ const places: TranslationStrings = {
|
||||
'places.newTag': 'תגית חדשה',
|
||||
'places.addTag': 'הוספת תגית',
|
||||
'places.tagCreateError': 'יצירת התגית נכשלה',
|
||||
'places.tagColor': 'הצבע של {name}',
|
||||
'places.newTagColor': 'הצבע של התגית החדשה',
|
||||
'places.tagColorCustom': 'צבע מותאם אישית',
|
||||
'places.tagColorHue': 'גוון',
|
||||
'places.tagColorHex': 'קוד צבע',
|
||||
'places.tagColorError': 'לא ניתן היה לשנות את הצבע',
|
||||
'places.nameRequired': 'הזינו שם',
|
||||
'places.saveError': 'השמירה נכשלה',
|
||||
'places.createExpenseHint': 'שומר את המקום ואז פותח את עורך ההוצאות.',
|
||||
|
||||
Reference in New Issue
Block a user