mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +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:
@@ -41,7 +41,6 @@ const files: TranslationStrings = {
|
||||
'files.sourceBooking': 'Rezervasyon',
|
||||
'files.sourceTransport': 'Ulaşım',
|
||||
'files.attach': 'Ekle',
|
||||
'files.pasteHint': 'Panodan görsel de yapıştırabilirsiniz (Ctrl+V)',
|
||||
'files.trash': 'Çöp kutusu',
|
||||
'files.trashEmpty': 'Çöp kutusu boş',
|
||||
'files.emptyTrash': 'Çöp kutusunu boşalt',
|
||||
|
||||
@@ -112,6 +112,7 @@ const places: TranslationStrings = {
|
||||
'places.formEmail': 'E-posta',
|
||||
'places.hoursAdd': 'Çalışma saatleri ekle',
|
||||
'places.hoursClosed': 'Kapalı',
|
||||
'places.hoursAllDay': '24 saat açık',
|
||||
'places.hoursOpens': 'açılış',
|
||||
'places.hoursCloses': 'kapanış',
|
||||
'places.hoursCopyFirst': '{day} saatlerini tüm günlere uygula',
|
||||
@@ -124,6 +125,16 @@ const places: TranslationStrings = {
|
||||
'places.formNotesPlaceholder': 'Kişisel notlar...',
|
||||
'places.assignmentNotes': 'Bu gün için notlar',
|
||||
'places.assignmentNotesPlaceholder': 'Bu yer için yalnızca bu güne özel notlar...',
|
||||
'places.textsLabel': 'Açıklama ve notlar',
|
||||
'places.notesKind': 'Düzenlenecek metin',
|
||||
'places.notesTabAbout': 'Yer hakkında',
|
||||
'places.notesTabDay': 'Yalnızca bu gün',
|
||||
'places.notesTabDayN': 'Yalnızca {day}. gün',
|
||||
'places.notesHintDescription':
|
||||
'Yerler listesinde ve gün planında adın altında, ayrıntıların üstünde ve PDF’te gösterilir. Arama ve Vikipedi çoğu zaman bunu doldurur.',
|
||||
'places.notesHintNotes':
|
||||
'Yer hakkında kendi metniniz, örneğin ipuçları veya rezervasyon ayrıntıları. Yalnızca ayrıntılarda ve PDF’te, her gün gösterilir. Gezideki herkes görür.',
|
||||
'places.notesHintDay': 'Yalnızca bu ziyaret için. Gün planındaki kendi satırında gösterilir, diğer günler göstermez.',
|
||||
'places.formReservation': 'Rezervasyon',
|
||||
'places.reservationNotesPlaceholder': 'Rezervasyon notları, onay numarası...',
|
||||
'places.mapsSearchPlaceholder': 'Yerleri ara...',
|
||||
@@ -165,6 +176,12 @@ const places: TranslationStrings = {
|
||||
'places.newTag': 'Yeni etiket',
|
||||
'places.addTag': 'Etiket ekle',
|
||||
'places.tagCreateError': 'Etiket oluşturulamadı',
|
||||
'places.tagColor': '{name} rengi',
|
||||
'places.newTagColor': 'Yeni etiketin rengi',
|
||||
'places.tagColorCustom': 'Özel renk',
|
||||
'places.tagColorHue': 'Ton',
|
||||
'places.tagColorHex': 'Renk kodu',
|
||||
'places.tagColorError': 'Renk değiştirilemedi',
|
||||
'places.nameRequired': 'Lütfen bir ad girin',
|
||||
'places.saveError': 'Kaydedilemedi',
|
||||
'places.createExpenseHint': 'Yeri kaydeder, sonra masraf düzenleyicisini açar.',
|
||||
|
||||
Reference in New Issue
Block a user