mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 15:17:30 +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:
@@ -38,7 +38,6 @@ const files: TranslationStrings = {
|
||||
'files.sourceBooking': '예약',
|
||||
'files.sourceTransport': '교통',
|
||||
'files.attach': '첨부',
|
||||
'files.pasteHint': '클립보드에서 이미지를 붙여넣을 수도 있습니다 (Ctrl+V)',
|
||||
'files.trash': '휴지통',
|
||||
'files.trashEmpty': '휴지통이 비어 있습니다',
|
||||
'files.emptyTrash': '휴지통 비우기',
|
||||
|
||||
@@ -101,6 +101,7 @@ const places: TranslationStrings = {
|
||||
'places.formEmail': '이메일',
|
||||
'places.hoursAdd': '영업시간 추가',
|
||||
'places.hoursClosed': '휴무',
|
||||
'places.hoursAllDay': '24시간 영업',
|
||||
'places.hoursOpens': '오픈',
|
||||
'places.hoursCloses': '마감',
|
||||
'places.hoursCopyFirst': '{day} 시간을 모든 요일에 적용',
|
||||
@@ -113,6 +114,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': '장소 검색...',
|
||||
@@ -154,6 +165,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