Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

feat(mobile): move a stop to another day from its day in the place sheet

Maurice9ea489ac970d
diff --git a/client/src/mobile/screens/trip/sheets/MPlaceSheet.tsx b/client/src/mobile/screens/trip/sheets/MPlaceSheet.tsx
index 91417db58..a7cf1ed2e 100644
--- a/client/src/mobile/screens/trip/sheets/MPlaceSheet.tsx
+++ b/client/src/mobile/screens/trip/sheets/MPlaceSheet.tsx
@@ -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' })}
diff --git a/client/tests/unit/mobile/trip/MPlaceSheet.test.tsx b/client/tests/unit/mobile/trip/MPlaceSheet.test.tsx
index 9a58cbc98..8fc28f228 100644
--- a/client/tests/unit/mobile/trip/MPlaceSheet.test.tsx
+++ b/client/tests/unit/mobile/trip/MPlaceSheet.test.tsx
@@ -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()
diff --git a/shared/src/i18n/ar/mobileTrip.ts b/shared/src/i18n/ar/mobileTrip.ts
index 2ce06b17d..b0401f95b 100644
--- a/shared/src/i18n/ar/mobileTrip.ts
+++ b/shared/src/i18n/ar/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'كل الأيام',
'mobileTrip.today': 'اليوم',
'mobileTrip.assignedDays': 'الأيام المخصصة',
+ 'mobileTrip.moveToDay': 'نقل إلى يوم آخر',
'mobileTrip.assignmentNotes': 'ملاحظات خاصة باليوم',
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
'mobileTrip.collabFeatureDisabled': 'هذه الميزة معطّلة لهذه الرحلة',
diff --git a/shared/src/i18n/az/mobileTrip.ts b/shared/src/i18n/az/mobileTrip.ts
index 93e29f61f..86b346287 100644
--- a/shared/src/i18n/az/mobileTrip.ts
+++ b/shared/src/i18n/az/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/br/mobileTrip.ts b/shared/src/i18n/br/mobileTrip.ts
index e2a8b68a7..1cb1c0c6e 100644
--- a/shared/src/i18n/br/mobileTrip.ts
+++ b/shared/src/i18n/br/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/ca/mobileTrip.ts b/shared/src/i18n/ca/mobileTrip.ts
index 289c4bd53..3e912062e 100644
--- a/shared/src/i18n/ca/mobileTrip.ts
+++ b/shared/src/i18n/ca/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/cs/mobileTrip.ts b/shared/src/i18n/cs/mobileTrip.ts
index 1cbb38264..415dcda8b 100644
--- a/shared/src/i18n/cs/mobileTrip.ts
+++ b/shared/src/i18n/cs/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/de/mobileTrip.ts b/shared/src/i18n/de/mobileTrip.ts
index 56e56b712..927621ef3 100644
--- a/shared/src/i18n/de/mobileTrip.ts
+++ b/shared/src/i18n/de/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/en/mobileTrip.ts b/shared/src/i18n/en/mobileTrip.ts
index fd158a0cf..3b6ab0a84 100644
--- a/shared/src/i18n/en/mobileTrip.ts
+++ b/shared/src/i18n/en/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/es/mobileTrip.ts b/shared/src/i18n/es/mobileTrip.ts
index f1a3e1038..4d72f0596 100644
--- a/shared/src/i18n/es/mobileTrip.ts
+++ b/shared/src/i18n/es/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/et/mobileTrip.ts b/shared/src/i18n/et/mobileTrip.ts
index ce923e630..c5def3218 100644
--- a/shared/src/i18n/et/mobileTrip.ts
+++ b/shared/src/i18n/et/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/fr/mobileTrip.ts b/shared/src/i18n/fr/mobileTrip.ts
index b168f5eb4..dac0cee7b 100644
--- a/shared/src/i18n/fr/mobileTrip.ts
+++ b/shared/src/i18n/fr/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/gr/mobileTrip.ts b/shared/src/i18n/gr/mobileTrip.ts
index f5d1f5462..45eaf54dd 100644
--- a/shared/src/i18n/gr/mobileTrip.ts
+++ b/shared/src/i18n/gr/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'Όλες οι Ημέρες',
'mobileTrip.today': 'Σήμερα',
'mobileTrip.assignedDays': 'Ανατεθειμένες ημέρες',
+ 'mobileTrip.moveToDay': 'Μετακίνηση σε άλλη ημέρα',
'mobileTrip.assignmentNotes': 'Σημειώσεις ημέρας',
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
'mobileTrip.collabFeatureDisabled': 'Αυτή η λειτουργία είναι απενεργοποιημένη για αυτό το ταξίδι',
diff --git a/shared/src/i18n/he/mobileTrip.ts b/shared/src/i18n/he/mobileTrip.ts
index d34dd5fc5..7b95cc98f 100644
--- a/shared/src/i18n/he/mobileTrip.ts
+++ b/shared/src/i18n/he/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'כל הימים',
'mobileTrip.today': 'היום',
'mobileTrip.assignedDays': 'ימים משויכים',
+ 'mobileTrip.moveToDay': 'העברה ליום אחר',
'mobileTrip.assignmentNotes': 'הערות ליום ספציפי',
'mobileTrip.bookingsEmpty': 'עדיין אין הזמנות',
'mobileTrip.collabFeatureDisabled': 'תכונה זו מושבתת בטיול הזה',
diff --git a/shared/src/i18n/hu/mobileTrip.ts b/shared/src/i18n/hu/mobileTrip.ts
index 37923aecf..cd94a4977 100644
--- a/shared/src/i18n/hu/mobileTrip.ts
+++ b/shared/src/i18n/hu/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/id/mobileTrip.ts b/shared/src/i18n/id/mobileTrip.ts
index a28f23d57..ef9660e86 100644
--- a/shared/src/i18n/id/mobileTrip.ts
+++ b/shared/src/i18n/id/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/it/mobileTrip.ts b/shared/src/i18n/it/mobileTrip.ts
index 9c1754c1e..03882ea57 100644
--- a/shared/src/i18n/it/mobileTrip.ts
+++ b/shared/src/i18n/it/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/ja/mobileTrip.ts b/shared/src/i18n/ja/mobileTrip.ts
index 720d4f33b..72a862168 100644
--- a/shared/src/i18n/ja/mobileTrip.ts
+++ b/shared/src/i18n/ja/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'すべての日',
'mobileTrip.today': '今日',
'mobileTrip.assignedDays': '割り当てられた日',
+ 'mobileTrip.moveToDay': '別の日に移動',
'mobileTrip.assignmentNotes': '日別メモ',
'mobileTrip.bookingsEmpty': '予約はまだありません',
'mobileTrip.collabFeatureDisabled': 'この機能はこの旅行では無効になっています',
diff --git a/shared/src/i18n/ko/mobileTrip.ts b/shared/src/i18n/ko/mobileTrip.ts
index 395afb8b9..df0ceb435 100644
--- a/shared/src/i18n/ko/mobileTrip.ts
+++ b/shared/src/i18n/ko/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': '모든 날',
'mobileTrip.today': '오늘',
'mobileTrip.assignedDays': '배정된 날짜',
+ 'mobileTrip.moveToDay': '다른 날로 이동',
'mobileTrip.assignmentNotes': '날짜별 메모',
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
'mobileTrip.collabFeatureDisabled': '이 여행에서는 이 기능이 비활성화되어 있습니다',
diff --git a/shared/src/i18n/nl/mobileTrip.ts b/shared/src/i18n/nl/mobileTrip.ts
index 5c35cab4e..9cf656b60 100644
--- a/shared/src/i18n/nl/mobileTrip.ts
+++ b/shared/src/i18n/nl/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/pl/mobileTrip.ts b/shared/src/i18n/pl/mobileTrip.ts
index 058e163b5..d900bcb5f 100644
--- a/shared/src/i18n/pl/mobileTrip.ts
+++ b/shared/src/i18n/pl/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/ru/mobileTrip.ts b/shared/src/i18n/ru/mobileTrip.ts
index d3d0fd15d..d6a73cf50 100644
--- a/shared/src/i18n/ru/mobileTrip.ts
+++ b/shared/src/i18n/ru/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'Все дни',
'mobileTrip.today': 'Сегодня',
'mobileTrip.assignedDays': 'Назначенные дни',
+ 'mobileTrip.moveToDay': 'Перенести на другой день',
'mobileTrip.assignmentNotes': 'Заметки на день',
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
'mobileTrip.collabFeatureDisabled': 'Эта функция отключена для этой поездки',
diff --git a/shared/src/i18n/sk/mobileTrip.ts b/shared/src/i18n/sk/mobileTrip.ts
index d6c285565..350832635 100644
--- a/shared/src/i18n/sk/mobileTrip.ts
+++ b/shared/src/i18n/sk/mobileTrip.ts
@@ -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á',
diff --git a/shared/src/i18n/sv/mobileTrip.ts b/shared/src/i18n/sv/mobileTrip.ts
index 49a6a1d25..de7de44bf 100644
--- a/shared/src/i18n/sv/mobileTrip.ts
+++ b/shared/src/i18n/sv/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/th/mobileTrip.ts b/shared/src/i18n/th/mobileTrip.ts
index 6fc99476e..3db5a6ae2 100644
--- a/shared/src/i18n/th/mobileTrip.ts
+++ b/shared/src/i18n/th/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'ทุกวัน',
'mobileTrip.today': 'วันนี้',
'mobileTrip.assignedDays': 'วันที่ได้รับมอบหมาย',
+ 'mobileTrip.moveToDay': 'ย้ายไปวันอื่น',
'mobileTrip.assignmentNotes': 'บันทึกเฉพาะวัน',
'mobileTrip.bookingsEmpty': 'ยังไม่มีการจอง',
'mobileTrip.collabFeatureDisabled': 'คุณลักษณะนี้ถูกปิดใช้งานสำหรับการเดินทางครั้งนี้',
diff --git a/shared/src/i18n/tr/mobileTrip.ts b/shared/src/i18n/tr/mobileTrip.ts
index 89e445bcb..858880e97 100644
--- a/shared/src/i18n/tr/mobileTrip.ts
+++ b/shared/src/i18n/tr/mobileTrip.ts
@@ -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ışı',
diff --git a/shared/src/i18n/uk/mobileTrip.ts b/shared/src/i18n/uk/mobileTrip.ts
index aa176448a..3cac719ec 100644
--- a/shared/src/i18n/uk/mobileTrip.ts
+++ b/shared/src/i18n/uk/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': 'Усі дні',
'mobileTrip.today': 'Сьогодні',
'mobileTrip.assignedDays': 'Призначені дні',
+ 'mobileTrip.moveToDay': 'Перенести на інший день',
'mobileTrip.assignmentNotes': 'Нотатки на день',
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
'mobileTrip.collabFeatureDisabled': 'Цю функцію вимкнено для цієї подорожі',
diff --git a/shared/src/i18n/vi/mobileTrip.ts b/shared/src/i18n/vi/mobileTrip.ts
index f2d6dd749..dac8bb05d 100644
--- a/shared/src/i18n/vi/mobileTrip.ts
+++ b/shared/src/i18n/vi/mobileTrip.ts
@@ -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',
diff --git a/shared/src/i18n/zh-TW/mobileTrip.ts b/shared/src/i18n/zh-TW/mobileTrip.ts
index d6e4198b4..6de9c7ebc 100644
--- a/shared/src/i18n/zh-TW/mobileTrip.ts
+++ b/shared/src/i18n/zh-TW/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': '所有天',
'mobileTrip.today': '今天',
'mobileTrip.assignedDays': '已分配的天數',
+ 'mobileTrip.moveToDay': '移到另一天',
'mobileTrip.assignmentNotes': '按天備註',
'mobileTrip.bookingsEmpty': '暫無預訂',
'mobileTrip.collabFeatureDisabled': '此功能已針對本次行程停用',
diff --git a/shared/src/i18n/zh/mobileTrip.ts b/shared/src/i18n/zh/mobileTrip.ts
index 738717a5c..4eb9549e8 100644
--- a/shared/src/i18n/zh/mobileTrip.ts
+++ b/shared/src/i18n/zh/mobileTrip.ts
@@ -9,6 +9,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.allDays': '所有天',
'mobileTrip.today': '今天',
'mobileTrip.assignedDays': '已分配的天数',
+ 'mobileTrip.moveToDay': '移到另一天',
'mobileTrip.assignmentNotes': '按天备注',
'mobileTrip.bookingsEmpty': '暂无预订',
'mobileTrip.collabFeatureDisabled': '此功能已针对本次行程停用',