mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 23:27:31 +00:00
feat(mobile): move a stop to another day from its day in the place sheet
On the phone a stop could only be removed from a day and added to another, which lost its time and notes. A tap on the day in the place sheet now opens the same short day list as adding, headed 'Move to another day', and moves the stop there through the planner's move, so its time, notes and road trip waypoints come along and a timed stop lands where its time belongs. No new control in the plan's rows. Addresses discussion #2583.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useMemo, useRef, useState, type KeyboardEvent } from 'react'
|
||||
import DawarichIcon from '../../../../components/shared/DawarichIcon'
|
||||
import {
|
||||
Bookmark, ChevronRight, ExternalLink, Map as MapIcon, MapPinOff, Navigation, Paperclip,
|
||||
ArrowLeftRight, Bookmark, ChevronRight, ExternalLink, Map as MapIcon, MapPinOff, Navigation, Paperclip,
|
||||
Pencil, Phone, Plus, Route, RouteOff, Sparkles, Trash2, Upload, X,
|
||||
} from 'lucide-react'
|
||||
import MSheet from '../../../components/MSheet'
|
||||
@@ -26,7 +26,7 @@ import { filesForPlace } from '../../../../utils/placeFiles'
|
||||
import { navigationTargetLabel, getNavigationTargets, openNavigationTarget } from '../../../../components/Planner/placeNavigation'
|
||||
import { addressWithoutCoordinates } from '../../../../components/Planner/placeCoordinates'
|
||||
import { NavigationMenu } from '../../../../components/shared/NavigationMenu'
|
||||
import { getPlaceBookings } from '../../../../utils/dayMerge'
|
||||
import { getPlaceBookings, timedSlot } from '../../../../utils/dayMerge'
|
||||
import type { Assignment, Day, Reservation, TripMember } from '../../../../types'
|
||||
import PlacePhotoGallery from '../../../../components/Planner/PlacePhotoGallery'
|
||||
import { ActionCircle, Eyebrow, INNER_CLS } from './MTripSheetUi'
|
||||
@@ -61,6 +61,8 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
uploading, filesExpanded, setFilesExpanded, fileInputRef, handleUpload,
|
||||
} = usePlaceFileUpload(place && !isTourPlace ? place.id : null, fd => planner.tripActions.addFile(planner.tripId, fd), planner.toast)
|
||||
const [dayPickerOpen, setDayPickerOpen] = useState(false)
|
||||
// A day of this place picked to move from (#2583): the day list then moves it there instead of adding it.
|
||||
const [moving, setMoving] = useState<{ assignment: Assignment; fromDayId: number } | null>(null)
|
||||
const [participantPickerOpen, setParticipantPickerOpen] = useState(false)
|
||||
const [navOpen, setNavOpen] = useState(false)
|
||||
const navBtnRef = useRef<HTMLButtonElement>(null)
|
||||
@@ -70,6 +72,7 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
planner.setSelectedPlaceId(null)
|
||||
setFilesExpanded(false)
|
||||
setDayPickerOpen(false)
|
||||
setMoving(null)
|
||||
setParticipantPickerOpen(false)
|
||||
setColorPickerOpen(false)
|
||||
}
|
||||
@@ -92,6 +95,14 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
}, [place, planner.days, planner.assignments])
|
||||
|
||||
const unassignedDays = planner.days.filter(d => !placeAssignments.some(r => r.day.id === d.id))
|
||||
const dayLabel = (d: Day) => d.title || t('planner.dayN', { n: (d.day_number ?? planner.days.indexOf(d) + 1) || '?' })
|
||||
// Lands where its time belongs on the new day, as a move on the desktop does;
|
||||
// without a time it goes to the end.
|
||||
const moveToDay = ({ assignment, fromDayId }: { assignment: Assignment; fromDayId: number }, toDayId: number) => {
|
||||
const slot = timedSlot(planner.assignments[String(toDayId)] || [], planner.tripAccommodations, assignment.place?.place_time) ?? undefined
|
||||
planner.handleMoveToDay(assignment.id, fromDayId, toDayId, slot)
|
||||
.catch((err: unknown) => planner.toast.error(err instanceof Error ? err.message : t('common.unknownError')))
|
||||
}
|
||||
|
||||
// Participants belong to the assignment in the selected day (desktop parity).
|
||||
const dayAssignments = planner.selectedDayId ? (planner.assignments[String(planner.selectedDayId)] || []) : []
|
||||
@@ -348,7 +359,20 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
key={assignment.id}
|
||||
className={`flex items-center gap-1 rounded-full py-1 ps-[10px] text-[0.75rem] font-semibold ${INNER_CLS} ${canEditDays ? 'pe-1' : 'pe-[10px]'}`}
|
||||
>
|
||||
{day.title || t('planner.dayN', { n: (day.day_number ?? planner.days.indexOf(day) + 1) || '?' })}
|
||||
{canEditDays && unassignedDays.length > 0 ? (
|
||||
// The day itself moves the stop to another one, keeping its time
|
||||
// and notes, where removing and adding it again would lose them.
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => { setDayPickerOpen(false); setMoving(m => (m?.assignment.id === assignment.id ? null : { assignment, fromDayId: day.id })) }}
|
||||
aria-label={t('mobileTrip.moveToDay')}
|
||||
aria-expanded={moving?.assignment.id === assignment.id}
|
||||
className="flex items-center gap-1"
|
||||
>
|
||||
{dayLabel(day)}
|
||||
<ArrowLeftRight size={10} strokeWidth={2.4} aria-hidden="true" className="text-m-muted" />
|
||||
</button>
|
||||
) : dayLabel(day)}
|
||||
{canEditDays && !isTourPlace && place.lat != null && place.lng != null && (
|
||||
// In or out of that day's route (#2532); the icon says which it is.
|
||||
<button
|
||||
@@ -376,7 +400,7 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
{canEditDays && unassignedDays.length > 0 && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setDayPickerOpen(v => !v)}
|
||||
onClick={() => { setMoving(null); setDayPickerOpen(v => !v) }}
|
||||
aria-label={t('inspector.addToDay')}
|
||||
aria-expanded={dayPickerOpen}
|
||||
className="flex h-[26px] w-[26px] items-center justify-center rounded-full border-[1.5px] border-dashed border-[color:var(--m-faint)] text-m-muted"
|
||||
@@ -385,18 +409,22 @@ export default function MPlaceSheet({ planner, shell }: MTripSheetsProps) {
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
{dayPickerOpen && (
|
||||
{(dayPickerOpen || moving) && (
|
||||
<div className="mt-[6px] max-h-[180px] overflow-y-auto rounded-[14px] border border-[color:var(--m-rowbr)] bg-[color:var(--m-sheetop)] p-[6px]">
|
||||
{moving && <Eyebrow className="px-[10px] pb-1 pt-[6px] uppercase">{t('mobileTrip.moveToDay')}</Eyebrow>}
|
||||
{unassignedDays.map(d => (
|
||||
<button
|
||||
key={d.id}
|
||||
type="button"
|
||||
onClick={() => { planner.handleAssignToDay(place.id, d.id); setDayPickerOpen(false) }}
|
||||
onClick={() => {
|
||||
if (moving) moveToDay(moving, d.id)
|
||||
else planner.handleAssignToDay(place.id, d.id)
|
||||
setDayPickerOpen(false)
|
||||
setMoving(null)
|
||||
}}
|
||||
className="flex w-full items-center gap-2 rounded-[10px] px-[10px] py-[9px] text-start text-[0.78125rem] font-semibold"
|
||||
>
|
||||
<span className="min-w-0 flex-1 truncate">
|
||||
{d.title || t('planner.dayN', { n: (d.day_number ?? planner.days.indexOf(d) + 1) || '?' })}
|
||||
</span>
|
||||
<span className="min-w-0 flex-1 truncate">{dayLabel(d)}</span>
|
||||
{d.date && (
|
||||
<span className="flex-none font-geist text-[0.65625rem] text-m-faint">
|
||||
{new Date(`${d.date.slice(0, 10)}T00:00:00Z`).toLocaleDateString(planner.language, { day: 'numeric', month: 'short', timeZone: 'UTC' })}
|
||||
|
||||
@@ -257,6 +257,19 @@ describe('MPlaceSheet', () => {
|
||||
expect(screen.queryByText('May 1')).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('FE-MOB-PLSH-035: moves the stop to another day from its day chip instead of adding it there (#2583)', () => {
|
||||
const handleMoveToDay = vi.fn().mockResolvedValue(undefined)
|
||||
const { planner } = renderSheet(makePlanner({ handleMoveToDay, tripAccommodations: [] }))
|
||||
const move = screen.getByRole('button', { name: 'Move to another day' })
|
||||
fireEvent.click(move)
|
||||
expect(move).toHaveAttribute('aria-expanded', 'true')
|
||||
fireEvent.click(screen.getByText('Day 3'))
|
||||
// From day 2 to day 3; without a time the stop goes to the end of the new day.
|
||||
expect(handleMoveToDay).toHaveBeenCalledWith(11, 2, 3, undefined)
|
||||
expect(planner.handleAssignToDay).not.toHaveBeenCalled()
|
||||
expect(screen.queryByText('May 1')).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('FE-MOB-PLSH-011: treats an assignment without participants as everyone joined', async () => {
|
||||
vi.spyOn(assignmentsApi, 'setParticipants').mockResolvedValue({ participants: [{ user_id: 2, username: 'bob' }] })
|
||||
renderSheet()
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'كل الأيام',
|
||||
'mobileTrip.today': 'اليوم',
|
||||
'mobileTrip.assignedDays': 'الأيام المخصصة',
|
||||
'mobileTrip.moveToDay': 'نقل إلى يوم آخر',
|
||||
'mobileTrip.assignmentNotes': 'ملاحظات خاصة باليوم',
|
||||
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
|
||||
'mobileTrip.collabFeatureDisabled': 'هذه الميزة معطّلة لهذه الرحلة',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Bütün günlər',
|
||||
'mobileTrip.today': 'Bu gün',
|
||||
'mobileTrip.assignedDays': 'Təyin edilmiş günlər',
|
||||
'mobileTrip.moveToDay': 'Başqa günə köçür',
|
||||
'mobileTrip.assignmentNotes': 'Günə aid qeydlər',
|
||||
'mobileTrip.bookingsEmpty': 'Hələ rezervasiya yoxdur',
|
||||
'mobileTrip.collabFeatureDisabled': 'Bu funksiya həmin səyahət üçün deaktiv edilib',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Todos os dias',
|
||||
'mobileTrip.today': 'Hoje',
|
||||
'mobileTrip.assignedDays': 'Dias atribuídos',
|
||||
'mobileTrip.moveToDay': 'Mover para outro dia',
|
||||
'mobileTrip.assignmentNotes': 'Notas específicas do dia',
|
||||
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
|
||||
'mobileTrip.collabFeatureDisabled': 'Esse recurso está desativado para esta viagem',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Tots els dies',
|
||||
'mobileTrip.today': 'Avui',
|
||||
'mobileTrip.assignedDays': 'Dies assignats',
|
||||
'mobileTrip.moveToDay': 'Mou a un altre dia',
|
||||
'mobileTrip.assignmentNotes': 'Notes específiques del dia',
|
||||
'mobileTrip.bookingsEmpty': 'Encara no hi ha reserves',
|
||||
'mobileTrip.collabFeatureDisabled': 'Aquesta funció està desactivada per a aquest viatge',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Všechny dny',
|
||||
'mobileTrip.today': 'Dnes',
|
||||
'mobileTrip.assignedDays': 'Přiřazené dny',
|
||||
'mobileTrip.moveToDay': 'Přesunout na jiný den',
|
||||
'mobileTrip.assignmentNotes': 'Poznámky ke dni',
|
||||
'mobileTrip.bookingsEmpty': 'Zatím žádné rezervace',
|
||||
'mobileTrip.collabFeatureDisabled': 'Tato funkce je pro tento výlet vypnuta',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Alle Tage',
|
||||
'mobileTrip.today': 'Heute',
|
||||
'mobileTrip.assignedDays': 'Zugewiesene Tage',
|
||||
'mobileTrip.moveToDay': 'Auf anderen Tag verschieben',
|
||||
'mobileTrip.assignmentNotes': 'Tagesspezifische Notizen',
|
||||
'mobileTrip.bookingsEmpty': 'Noch keine Buchungen',
|
||||
'mobileTrip.collabFeatureDisabled': 'Diese Funktion ist für diese Reise deaktiviert',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'All Days',
|
||||
'mobileTrip.today': 'Today',
|
||||
'mobileTrip.assignedDays': 'Assigned Days',
|
||||
'mobileTrip.moveToDay': 'Move to another day',
|
||||
'mobileTrip.assignmentNotes': 'Day-specific notes',
|
||||
'mobileTrip.bookingsEmpty': 'No bookings yet',
|
||||
'mobileTrip.collabFeatureDisabled': 'This feature is disabled for this trip',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Todos los días',
|
||||
'mobileTrip.today': 'Hoy',
|
||||
'mobileTrip.assignedDays': 'Días asignados',
|
||||
'mobileTrip.moveToDay': 'Mover a otro día',
|
||||
'mobileTrip.assignmentNotes': 'Notas específicas del día',
|
||||
'mobileTrip.bookingsEmpty': 'Aún no hay reservas',
|
||||
'mobileTrip.collabFeatureDisabled': 'Esta función está desactivada para este viaje',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Kõik päevad',
|
||||
'mobileTrip.today': 'Täna',
|
||||
'mobileTrip.assignedDays': 'Määratud päevad',
|
||||
'mobileTrip.moveToDay': 'Teisele päevale',
|
||||
'mobileTrip.assignmentNotes': 'Päevapõhised märkmed',
|
||||
'mobileTrip.bookingsEmpty': 'Broneeringuid veel pole',
|
||||
'mobileTrip.collabFeatureDisabled': 'See funktsioon on selle reisi jaoks keelatud',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Tous les jours',
|
||||
'mobileTrip.today': "Aujourd'hui",
|
||||
'mobileTrip.assignedDays': 'Jours assignés',
|
||||
'mobileTrip.moveToDay': 'Déplacer vers un autre jour',
|
||||
'mobileTrip.assignmentNotes': 'Notes propres au jour',
|
||||
'mobileTrip.bookingsEmpty': 'Aucune réservation',
|
||||
'mobileTrip.collabFeatureDisabled': 'Cette fonctionnalité est désactivée pour ce voyage',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Όλες οι Ημέρες',
|
||||
'mobileTrip.today': 'Σήμερα',
|
||||
'mobileTrip.assignedDays': 'Ανατεθειμένες ημέρες',
|
||||
'mobileTrip.moveToDay': 'Μετακίνηση σε άλλη ημέρα',
|
||||
'mobileTrip.assignmentNotes': 'Σημειώσεις ημέρας',
|
||||
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
|
||||
'mobileTrip.collabFeatureDisabled': 'Αυτή η λειτουργία είναι απενεργοποιημένη για αυτό το ταξίδι',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'כל הימים',
|
||||
'mobileTrip.today': 'היום',
|
||||
'mobileTrip.assignedDays': 'ימים משויכים',
|
||||
'mobileTrip.moveToDay': 'העברה ליום אחר',
|
||||
'mobileTrip.assignmentNotes': 'הערות ליום ספציפי',
|
||||
'mobileTrip.bookingsEmpty': 'עדיין אין הזמנות',
|
||||
'mobileTrip.collabFeatureDisabled': 'תכונה זו מושבתת בטיול הזה',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Minden nap',
|
||||
'mobileTrip.today': 'Ma',
|
||||
'mobileTrip.assignedDays': 'Hozzárendelt napok',
|
||||
'mobileTrip.moveToDay': 'Áthelyezés másik napra',
|
||||
'mobileTrip.assignmentNotes': 'Napra szóló jegyzetek',
|
||||
'mobileTrip.bookingsEmpty': 'Még nincsenek foglalások',
|
||||
'mobileTrip.collabFeatureDisabled': 'Ez a funkció ki van kapcsolva ennél az utazásnál',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Semua Hari',
|
||||
'mobileTrip.today': 'Hari ini',
|
||||
'mobileTrip.assignedDays': 'Hari yang ditetapkan',
|
||||
'mobileTrip.moveToDay': 'Pindahkan ke hari lain',
|
||||
'mobileTrip.assignmentNotes': 'Catatan khusus hari',
|
||||
'mobileTrip.bookingsEmpty': 'Belum ada reservasi',
|
||||
'mobileTrip.collabFeatureDisabled': 'Fitur ini dinonaktifkan untuk perjalanan ini',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Tutti i giorni',
|
||||
'mobileTrip.today': 'Oggi',
|
||||
'mobileTrip.assignedDays': 'Giorni assegnati',
|
||||
'mobileTrip.moveToDay': 'Sposta in un altro giorno',
|
||||
'mobileTrip.assignmentNotes': 'Note specifiche del giorno',
|
||||
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
|
||||
'mobileTrip.collabFeatureDisabled': 'Questa funzione è disattivata per questo viaggio',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'すべての日',
|
||||
'mobileTrip.today': '今日',
|
||||
'mobileTrip.assignedDays': '割り当てられた日',
|
||||
'mobileTrip.moveToDay': '別の日に移動',
|
||||
'mobileTrip.assignmentNotes': '日別メモ',
|
||||
'mobileTrip.bookingsEmpty': '予約はまだありません',
|
||||
'mobileTrip.collabFeatureDisabled': 'この機能はこの旅行では無効になっています',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': '모든 날',
|
||||
'mobileTrip.today': '오늘',
|
||||
'mobileTrip.assignedDays': '배정된 날짜',
|
||||
'mobileTrip.moveToDay': '다른 날로 이동',
|
||||
'mobileTrip.assignmentNotes': '날짜별 메모',
|
||||
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
|
||||
'mobileTrip.collabFeatureDisabled': '이 여행에서는 이 기능이 비활성화되어 있습니다',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Alle dagen',
|
||||
'mobileTrip.today': 'Vandaag',
|
||||
'mobileTrip.assignedDays': 'Toegewezen dagen',
|
||||
'mobileTrip.moveToDay': 'Naar een andere dag',
|
||||
'mobileTrip.assignmentNotes': 'Dagspecifieke notities',
|
||||
'mobileTrip.bookingsEmpty': 'Nog geen boekingen',
|
||||
'mobileTrip.collabFeatureDisabled': 'Deze functie is uitgeschakeld voor deze reis',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Wszystkie dni',
|
||||
'mobileTrip.today': 'Dziś',
|
||||
'mobileTrip.assignedDays': 'Przypisane dni',
|
||||
'mobileTrip.moveToDay': 'Przenieś na inny dzień',
|
||||
'mobileTrip.assignmentNotes': 'Notatki dla dnia',
|
||||
'mobileTrip.bookingsEmpty': 'Brak rezerwacji',
|
||||
'mobileTrip.collabFeatureDisabled': 'Ta funkcja jest wyłączona dla tej podróży',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Все дни',
|
||||
'mobileTrip.today': 'Сегодня',
|
||||
'mobileTrip.assignedDays': 'Назначенные дни',
|
||||
'mobileTrip.moveToDay': 'Перенести на другой день',
|
||||
'mobileTrip.assignmentNotes': 'Заметки на день',
|
||||
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
|
||||
'mobileTrip.collabFeatureDisabled': 'Эта функция отключена для этой поездки',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Všetky dni',
|
||||
'mobileTrip.today': 'Dnes',
|
||||
'mobileTrip.assignedDays': 'Priradené dni',
|
||||
'mobileTrip.moveToDay': 'Presunúť na iný deň',
|
||||
'mobileTrip.assignmentNotes': 'Poznámky ku konkrétnemu dňu',
|
||||
'mobileTrip.bookingsEmpty': 'Zatiaľ žiadne rezervácie',
|
||||
'mobileTrip.collabFeatureDisabled': 'Táto funkcia je pre túto cestu vypnutá',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Alla dagar',
|
||||
'mobileTrip.today': 'Idag',
|
||||
'mobileTrip.assignedDays': 'Tilldelade dagar',
|
||||
'mobileTrip.moveToDay': 'Flytta till en annan dag',
|
||||
'mobileTrip.assignmentNotes': 'Dagsspecifika anteckningar',
|
||||
'mobileTrip.bookingsEmpty': 'Inga bokningar än',
|
||||
'mobileTrip.collabFeatureDisabled': 'Den här funktionen är inaktiverad för den här resan',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'ทุกวัน',
|
||||
'mobileTrip.today': 'วันนี้',
|
||||
'mobileTrip.assignedDays': 'วันที่ได้รับมอบหมาย',
|
||||
'mobileTrip.moveToDay': 'ย้ายไปวันอื่น',
|
||||
'mobileTrip.assignmentNotes': 'บันทึกเฉพาะวัน',
|
||||
'mobileTrip.bookingsEmpty': 'ยังไม่มีการจอง',
|
||||
'mobileTrip.collabFeatureDisabled': 'คุณลักษณะนี้ถูกปิดใช้งานสำหรับการเดินทางครั้งนี้',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Tüm Günler',
|
||||
'mobileTrip.today': 'Bugün',
|
||||
'mobileTrip.assignedDays': 'Atanan Günler',
|
||||
'mobileTrip.moveToDay': 'Başka güne taşı',
|
||||
'mobileTrip.assignmentNotes': 'Güne özel notlar',
|
||||
'mobileTrip.bookingsEmpty': 'Henüz rezervasyon yok',
|
||||
'mobileTrip.collabFeatureDisabled': 'Bu özellik bu seyahat için devre dışı',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Усі дні',
|
||||
'mobileTrip.today': 'Сьогодні',
|
||||
'mobileTrip.assignedDays': 'Призначені дні',
|
||||
'mobileTrip.moveToDay': 'Перенести на інший день',
|
||||
'mobileTrip.assignmentNotes': 'Нотатки на день',
|
||||
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
|
||||
'mobileTrip.collabFeatureDisabled': 'Цю функцію вимкнено для цієї подорожі',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': 'Tất cả các ngày',
|
||||
'mobileTrip.today': 'Hôm nay',
|
||||
'mobileTrip.assignedDays': 'Ngày được gán',
|
||||
'mobileTrip.moveToDay': 'Chuyển sang ngày khác',
|
||||
'mobileTrip.assignmentNotes': 'Ghi chú theo ngày',
|
||||
'mobileTrip.bookingsEmpty': 'Chưa có đặt chỗ nào',
|
||||
'mobileTrip.collabFeatureDisabled': 'Tính năng này bị tắt cho chuyến đi này',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': '所有天',
|
||||
'mobileTrip.today': '今天',
|
||||
'mobileTrip.assignedDays': '已分配的天數',
|
||||
'mobileTrip.moveToDay': '移到另一天',
|
||||
'mobileTrip.assignmentNotes': '按天備註',
|
||||
'mobileTrip.bookingsEmpty': '暫無預訂',
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已針對本次行程停用',
|
||||
|
||||
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.allDays': '所有天',
|
||||
'mobileTrip.today': '今天',
|
||||
'mobileTrip.assignedDays': '已分配的天数',
|
||||
'mobileTrip.moveToDay': '移到另一天',
|
||||
'mobileTrip.assignmentNotes': '按天备注',
|
||||
'mobileTrip.bookingsEmpty': '暂无预订',
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已针对本次行程停用',
|
||||
|
||||
Reference in New Issue
Block a user