feat(mobile): fold transports and bookings that are over into a Past section

Mid-trip the transports and bookings tabs kept every flight already landed
and every check-in already done above what is still ahead. What is over (its
end, or its start where it has none, before the moment the tab opened, in
local wall-clock time) now stands in a Past section at the end, latest first.
It starts folded while something is still ahead and open once the whole trip
is over, to look back on. The desktop list is unchanged.

Addresses discussion #3156.
This commit is contained in:
Maurice
2026-11-27 23:00:05 +01:00
parent f3bdcf7ffb
commit 17c56326e9
36 changed files with 137 additions and 14 deletions
@@ -15,6 +15,7 @@ import {
displayTitle,
groupReservations,
groupTransports,
hasPassed,
onTravelers,
parseMeta,
phaseOf,
@@ -394,4 +395,31 @@ describe('onTravelers and the shared type colours', () => {
expect(groups.transit.map(r => r.id)).toEqual([1]);
expect(sortReservations([later, transit, open, sooner], days, 'date', 'asc', label).map(r => r.id)).toEqual([1, 3, 2, 4]);
});
it('FE-PLANNER-BKMODEL-044: hasPassed reads the end, else the start, in local wall-clock time', () => {
const now = new Date(2025, 5, 2, 12, 0);
expect(hasPassed(buildReservation({ reservation_time: '2025-06-02T11:00' }), now)).toBe(true);
expect(hasPassed(buildReservation({ reservation_time: '2025-06-02T13:00' }), now)).toBe(false);
// The end counts: a flight that left in the morning and lands this afternoon is not over.
expect(hasPassed(buildReservation({ reservation_time: '2025-06-02T08:00', reservation_end_time: '2025-06-02T15:00' }), now)).toBe(false);
// An end time without a date is on the start's day.
expect(hasPassed(buildReservation({ reservation_time: '2025-06-02T08:00', reservation_end_time: '11:30' }), now)).toBe(true);
// A date without a time lasts until the day is over.
expect(hasPassed(buildReservation({ reservation_time: '2025-06-02' }), now)).toBe(false);
expect(hasPassed(buildReservation({ reservation_time: '2025-06-01' }), now)).toBe(true);
// Without any date nothing says it is over.
expect(hasPassed(buildReservation({ reservation_time: null, day_id: null }), now)).toBe(false);
});
it('FE-PLANNER-BKMODEL-045: groupTransports moves what is over into past, latest first, only when given the time', () => {
const early = buildReservation({ id: 1, type: 'train', status: 'confirmed', reservation_time: '2025-06-01T09:00' });
const lastNight = buildReservation({ id: 2, type: 'transit', status: 'pending', reservation_time: '2025-06-01T21:00' });
const ahead = buildReservation({ id: 3, type: 'bus', status: 'confirmed', reservation_time: '2025-06-03T09:00' });
const now = new Date(2025, 5, 2, 12, 0);
const groups = groupTransports([ahead, early, lastNight], days, now);
expect(groups.confirmed.map(r => r.id)).toEqual([3]);
expect(groups.transit).toEqual([]);
expect(groups.past.map(r => r.id)).toEqual([2, 1]);
expect(groupTransports([ahead, early, lastNight], days).past).toEqual([]);
});
});
@@ -252,21 +252,45 @@ export interface StatusGroups {
confirmed: Reservation[]
pending: Reservation[]
transit: Reservation[]
/** What is over already (#3156), latest first; empty unless the caller passes the time. */
past: Reservation[]
}
/**
* The phone tabs' three sections, each in date order: confirmed and pending, and
* Whether a booking is over: its end, or its start where it has none, lies
* before `now`. The times are local wall-clock values, as everywhere a booking
* is read. An end time without a date is on the start's day, and a date
* without a time counts until that day is over. A booking without any date
* (one only placed on a day) is never treated as over.
*/
export function hasPassed(r: Reservation, now: Date): boolean {
const start = splitReservationDateTime(r.reservation_time)
const end = r.reservation_end_time ? splitReservationDateTime(r.reservation_end_time) : null
const date = end?.date ?? start.date
if (!date) return false
const time = end && (end.date || end.time) ? end.time : start.time
const [y, m, d] = date.split('-').map(Number)
const [hh, mm] = time ? time.split(':').map(Number) : [23, 59]
return new Date(y, m - 1, d, hh, mm) < now
}
/**
* The phone tabs' sections, each in date order: confirmed and pending, and
* transit (automated public transport, #1065) on its own whatever its status.
* A booking type never matches `transit`, so the split fits the bookings tab too.
* Given the time, what is over leaves those and stands in `past` (#3156).
*/
export function groupTransports(list: Reservation[], days: Day[]): StatusGroups {
export function groupTransports(list: Reservation[], days: Day[], now?: Date): StatusGroups {
const sorted = sortReservations(list, days, 'date', 'asc', () => '')
const transit = sorted.filter(r => r.type === 'transit')
const nonTransit = sorted.filter(r => r.type !== 'transit')
const isPast = (r: Reservation) => !!now && hasPassed(r, now)
const current = sorted.filter(r => !isPast(r))
const transit = current.filter(r => r.type === 'transit')
const nonTransit = current.filter(r => r.type !== 'transit')
return {
confirmed: nonTransit.filter(r => r.status === 'confirmed'),
pending: nonTransit.filter(r => r.status !== 'confirmed'),
transit,
past: sorted.filter(isPast).reverse(),
}
}
@@ -1,7 +1,7 @@
// FE-PLANNER-RESLISTFILTER-001 to -004: the traveller filter and folded sections
// FE-PLANNER-RESLISTFILTER-001 to -005: the traveller filter and folded sections
// of the phone's bookings and transports tabs.
import { act, renderHook } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { buildDay, buildReservation } from '../../../../tests/helpers/factories';
import type { Reservation } from '../../../types';
@@ -24,6 +24,14 @@ const bob = buildReservation({
const ride = buildReservation({ id: 12, type: 'transit', status: 'confirmed', reservation_time: '2026-03-01T07:00' });
const ALL = [ann, bob, ride];
// The day before the trip: every booking above is still ahead.
beforeEach(() => {
vi.useFakeTimers({ toFake: ['Date'], now: new Date(2026, 1, 28, 12, 0) });
});
afterEach(() => {
vi.useRealTimers();
});
describe('useReservationListFilter', () => {
it('FE-PLANNER-RESLISTFILTER-001: without a filter every booking lands in its status section', () => {
const { result } = renderHook(() => useReservationListFilter(ALL, days, 2));
@@ -37,7 +45,7 @@ describe('useReservationListFilter', () => {
const { result } = renderHook(() => useReservationListFilter(ALL, days, 2));
act(() => result.current.toggleTravelerFilter(2));
expect([...result.current.travelerFilter]).toEqual([2]);
expect(result.current.groups).toEqual({ confirmed: [], pending: [bob], transit: [] });
expect(result.current.groups).toEqual({ confirmed: [], pending: [bob], transit: [], past: [] });
act(() => result.current.toggleTravelerFilter(1));
expect(result.current.groups.confirmed.map((r) => r.id)).toEqual([10]);
@@ -58,9 +66,24 @@ describe('useReservationListFilter', () => {
it('FE-PLANNER-RESLISTFILTER-004: a section folds and unfolds on its own', () => {
const { result } = renderHook(() => useReservationListFilter(ALL, days, 2));
act(() => result.current.toggleSection('pending'));
expect(result.current.collapsed).toEqual({ pending: true });
expect(result.current.collapsed).toEqual({ pending: true, past: true });
act(() => result.current.toggleSection('confirmed'));
act(() => result.current.toggleSection('pending'));
expect(result.current.collapsed).toEqual({ pending: false, confirmed: true });
expect(result.current.collapsed).toEqual({ pending: false, confirmed: true, past: true });
});
it('FE-PLANNER-RESLISTFILTER-005: what is over goes to Past, folded while something is ahead and open once all is over', () => {
vi.setSystemTime(new Date(2026, 2, 1, 12, 0));
const midTrip = renderHook(() => useReservationListFilter(ALL, days, 2)).result;
expect(midTrip.current.groups.past.map((r) => r.id)).toEqual([11, 12]);
expect(midTrip.current.groups.confirmed.map((r) => r.id)).toEqual([10]);
expect(midTrip.current.collapsed.past).toBe(true);
act(() => midTrip.current.toggleSection('past'));
expect(midTrip.current.collapsed.past).toBe(false);
vi.setSystemTime(new Date(2026, 2, 3, 12, 0));
const afterTrip = renderHook(() => useReservationListFilter(ALL, days, 2)).result;
expect(afterTrip.current.groups.past.map((r) => r.id)).toEqual([10, 11, 12]);
expect(afterTrip.current.collapsed.past).toBe(false);
});
});
@@ -15,9 +15,13 @@ import { groupTransports, onTravelers } from './bookingsModel';
*/
export function useReservationListFilter(all: Reservation[], days: Day[], memberCount: number) {
const [travelerFilter, setTravelerFilter] = useState<Set<number>>(new Set());
// The moment the tab opened: what was over by then moves into the folded Past
// section (#3156). Taken once, so a list does not reshuffle while it is read.
const [now] = useState(() => new Date());
const groups = groupTransports(
all.filter((r) => onTravelers(r, travelerFilter)),
days
days,
now
);
const showTravelerFilter = memberCount > 1 && all.some((r) => (r.travelers || []).length > 0);
const toggleTravelerFilter = (id: number) =>
@@ -29,8 +33,12 @@ export function useReservationListFilter(all: Reservation[], days: Day[], member
});
const clearTravelerFilter = () => setTravelerFilter(new Set());
const [collapsed, setCollapsed] = useState<Record<string, boolean>>({});
const toggleSection = (id: string) => setCollapsed((c) => ({ ...c, [id]: !c[id] }));
const [folded, setFolded] = useState<Record<string, boolean>>({});
// Past starts folded while something is still ahead, since mid-trip that is
// what counts; once the whole trip is over it opens, to look back on.
const ahead = groups.confirmed.length + groups.pending.length + groups.transit.length > 0;
const collapsed: Record<string, boolean> = { ...folded, past: folded.past ?? ahead };
const toggleSection = (id: string) => setFolded((c) => ({ ...c, [id]: !collapsed[id] }));
return {
travelerFilter,
@@ -36,6 +36,7 @@ export default function MBookingsTab({ planner, shell }: MTabScreenProps) {
const sections = [
{ id: 'confirmed', label: t('reservations.confirmed'), rows: groups.confirmed },
{ id: 'pending', label: t('reservations.pending'), rows: groups.pending },
{ id: 'past', label: t('reservations.past'), rows: groups.past },
].filter(s => s.rows.length > 0)
return (
@@ -34,6 +34,7 @@ export default function MTransportsTab({ planner, shell }: MTabScreenProps) {
{ id: 'confirmed', label: t('reservations.confirmed'), rows: groups.confirmed },
{ id: 'pending', label: t('reservations.pending'), rows: groups.pending },
{ id: 'transit', label: t('reservations.type.transit'), rows: groups.transit },
{ id: 'past', label: t('reservations.past'), rows: groups.past },
].filter(s => s.rows.length > 0)
return (
@@ -1,4 +1,4 @@
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import MBookingsTab from '../../../../src/mobile/screens/trip/tabs/MBookingsTab'
import type { MTripShellApi, TripPlanner } from '../../../../src/mobile/screens/trip/MTripShell'
import { openFile } from '../../../../src/utils/fileDownload'
@@ -109,6 +109,11 @@ describe('MBookingsTab', () => {
beforeEach(() => {
vi.mocked(openFile).mockClear()
seedStore(usePluginStore, { plugins: [] })
// The day before the trip, so no booking here counts as past (#3156).
vi.useFakeTimers({ toFake: ['Date'], now: new Date(2026, 3, 30, 12, 0) })
})
afterEach(() => {
vi.useRealTimers()
})
it('FE-MOB-BKTAB-001: keeps only the non-transport reservations, split by status', () => {
@@ -1,4 +1,4 @@
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import MTransportsTab from '../../../../src/mobile/screens/trip/tabs/MTransportsTab'
import type { MTripShellApi, TripPlanner } from '../../../../src/mobile/screens/trip/MTripShell'
import { openFile } from '../../../../src/utils/fileDownload'
@@ -117,6 +117,11 @@ describe('MTransportsTab', () => {
beforeEach(() => {
vi.mocked(openFile).mockClear()
seedStore(usePluginStore, { plugins: [] })
// The day before the trip, so no booking here counts as past (#3156).
vi.useFakeTimers({ toFake: ['Date'], now: new Date(2026, 3, 30, 12, 0) })
})
afterEach(() => {
vi.useRealTimers()
})
it('FE-MOB-TRTAB-001: groups the transport reservations and leaves bookings out', () => {
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'نصيحة: يُفضل إنشاء الحجوزات مباشرة من مكان لربطها بخطة اليوم.',
'reservations.confirmed': 'مؤكد',
'reservations.pending': 'قيد الانتظار',
'reservations.past': 'السابقة',
'reservations.summary': '{confirmed} مؤكدة، {pending} قيد الانتظار',
'reservations.showFiles': 'عرض الملفات',
'reservations.editTitle': 'تعديل الحجز',
+1
View File
@@ -11,6 +11,7 @@ const reservations: TranslationStrings = {
'reservations.confirmed': 'Təsdiqlənib',
'reservations.pending': 'Gözləyir',
'reservations.past': 'Keçmiş',
'reservations.summary': '{confirmed} təsdiqlənib, {pending} gözləyir',
'reservations.showFiles': 'Faylları göstər',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Dica: o ideal é criar reservas a partir de um lugar para vinculá-las ao plano do dia.',
'reservations.confirmed': 'Confirmada',
'reservations.pending': 'Pendente',
'reservations.past': 'Anteriores',
'reservations.summary': '{confirmed} confirmada(s), {pending} pendente(s)',
'reservations.showFiles': 'Mostrar arquivos',
'reservations.editTitle': 'Editar reserva',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
"Consell: és millor crear les reserves directament des d'un lloc per vincular-les amb el pla del dia.",
'reservations.confirmed': 'Confirmada',
'reservations.pending': 'Pendent',
'reservations.past': 'Passades',
'reservations.summary': '{confirmed} confirmades, {pending} pendents',
'reservations.showFiles': 'Mostra els fitxers',
'reservations.editTitle': 'Edita la reserva',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Tip: Rezervace je nejlepší vytvářet přímo z místa – propojí se tak s denním plánem.',
'reservations.confirmed': 'Potvrzeno',
'reservations.pending': 'Čeká na potvrzení',
'reservations.past': 'Proběhlé',
'reservations.summary': '{confirmed} potvrzených, {pending} čekajících',
'reservations.showFiles': 'Zobrazit soubory',
'reservations.editTitle': 'Upravit rezervaci',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tipp: Buchungen werden am besten direkt über einen angelegten Ort erstellt, um sie mit dem Tagesplan zu verknüpfen.',
'reservations.confirmed': 'Bestätigt',
'reservations.pending': 'Ausstehend',
'reservations.past': 'Vergangen',
'reservations.summary': '{confirmed} bestätigt, {pending} ausstehend',
'reservations.showFiles': 'Dateien anzeigen',
'reservations.editTitle': 'Reservierung bearbeiten',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Tip: Reservations are best created directly from a place to link them with your day plan.',
'reservations.confirmed': 'Confirmed',
'reservations.pending': 'Pending',
'reservations.past': 'Past',
'reservations.summary': '{confirmed} confirmed, {pending} pending',
'reservations.showFiles': 'Show Files',
'reservations.editTitle': 'Edit Reservation',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Consejo: es mejor crear las reservas directamente desde un lugar para vincularlas con el plan del día.',
'reservations.confirmed': 'Confirmada',
'reservations.pending': 'Pendiente',
'reservations.past': 'Pasadas',
'reservations.summary': '{confirmed} confirmadas, {pending} pendientes',
'reservations.showFiles': 'Mostrar archivos',
'reservations.editTitle': 'Editar reserva',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Vihje: broneeringuid on kõige parem luua otse koha juurest, et siduda need päevaplaaniga.',
'reservations.confirmed': 'Kinnitatud',
'reservations.pending': 'Ootel',
'reservations.past': 'Möödunud',
'reservations.summary': '{confirmed} kinnitatud, {pending} ootel',
'reservations.showFiles': 'Näita faile',
'reservations.editTitle': 'Muuda broneeringut',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Conseil : les réservations sont mieux créées directement depuis un lieu pour les lier à votre plan du jour.',
'reservations.confirmed': 'Confirmée',
'reservations.pending': 'En attente',
'reservations.past': 'Passées',
'reservations.summary': '{confirmed} confirmées, {pending} en attente',
'reservations.showFiles': 'Afficher les fichiers',
'reservations.editTitle': 'Modifier la réservation',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Συμβουλή: Οι κρατήσεις δημιουργούνται καλύτερα απευθείας από ένα μέρος για να συνδεθούν με το ημερήσιο πλάνο σας.',
'reservations.confirmed': 'Επιβεβαιωμένο',
'reservations.pending': 'Εκκρεμές',
'reservations.past': 'Παρελθόν',
'reservations.summary': '{confirmed} επιβεβαιωμένες, {pending} εκκρεμείς',
'reservations.showFiles': 'Εμφάνιση Αρχείων',
'reservations.editTitle': 'Επεξεργασία Κράτησης',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'טיפ: עדיף ליצור הזמנות ישירות ממקום כדי לקשר אותן לתוכנית היומית.',
'reservations.confirmed': 'מאושר',
'reservations.pending': 'ממתין',
'reservations.past': 'שעברו',
'reservations.summary': '{confirmed} מאושרות, {pending} ממתינות',
'reservations.showFiles': 'הצגת קבצים',
'reservations.editTitle': 'עריכת הזמנה',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tipp: A foglalásokat legjobb közvetlenül egy helyről létrehozni, hogy összekapcsolódjon a napi tervvel.',
'reservations.confirmed': 'Megerősítve',
'reservations.pending': 'Függőben',
'reservations.past': 'Korábbiak',
'reservations.summary': '{confirmed} megerősítve, {pending} függőben',
'reservations.showFiles': 'Fájlok megjelenítése',
'reservations.editTitle': 'Foglalás szerkesztése',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tips: Reservasi paling baik dibuat langsung dari sebuah tempat agar terhubung dengan rencana harianmu.',
'reservations.confirmed': 'Dikonfirmasi',
'reservations.pending': 'Tertunda',
'reservations.past': 'Sudah lewat',
'reservations.summary': '{confirmed} dikonfirmasi, {pending} tertunda',
'reservations.showFiles': 'Tampilkan File',
'reservations.editTitle': 'Edit Reservasi',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Suggerimento: è meglio creare le prenotazioni direttamente da un luogo per collegarle al tuo programma del giorno.',
'reservations.confirmed': 'Confermata',
'reservations.pending': 'In attesa',
'reservations.past': 'Passate',
'reservations.summary': '{confirmed} confermate, {pending} in attesa',
'reservations.showFiles': 'Mostra file',
'reservations.editTitle': 'Modifica prenotazione',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'ヒント:予約は場所から直接作成すると、日別計画に紐づけやすくなります。',
'reservations.confirmed': '確定',
'reservations.pending': '保留',
'reservations.past': '過去',
'reservations.summary': '確定 {confirmed}件、保留 {pending}件',
'reservations.showFiles': 'ファイルを表示',
'reservations.editTitle': '予約を編集',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': '팁: 예약은 일별 계획과 연결하기 위해 장소에서 직접 만드는 것이 가장 좋습니다.',
'reservations.confirmed': '확정됨',
'reservations.pending': '대기 중',
'reservations.past': '지난 일정',
'reservations.summary': '{confirmed}개 확정, {pending}개 대기 중',
'reservations.showFiles': '파일 보기',
'reservations.editTitle': '예약 편집',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tip: Reserveringen kun je het beste direct vanuit een plaats aanmaken om ze te koppelen aan je dagplan.',
'reservations.confirmed': 'Bevestigd',
'reservations.pending': 'In behandeling',
'reservations.past': 'Voorbij',
'reservations.summary': '{confirmed} bevestigd, {pending} in behandeling',
'reservations.showFiles': 'Bestanden tonen',
'reservations.editTitle': 'Reservering bewerken',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Wskazówka: Rezerwacje najlepiej tworzyć bezpośrednio z miejsca, aby powiązać je z planem dnia.',
'reservations.confirmed': 'Potwierdzona',
'reservations.pending': 'Oczekująca',
'reservations.past': 'Minione',
'reservations.summary': '{confirmed} potwierdzonych, {pending} oczekujących',
'reservations.showFiles': 'Pokaż pliki',
'reservations.editTitle': 'Edytuj rezerwację',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Совет: бронирования лучше создавать прямо из места, чтобы связать их с планом дня.',
'reservations.confirmed': 'Подтверждено',
'reservations.pending': 'Ожидание',
'reservations.past': 'Прошедшие',
'reservations.summary': '{confirmed} подтв., {pending} ожид.',
'reservations.showFiles': 'Показать файлы',
'reservations.editTitle': 'Редактировать бронирование',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tip: Rezervácie je najlepšie vytvárať priamo z miesta – prepoja sa tak s vaším denným plánom.',
'reservations.confirmed': 'Potvrdené',
'reservations.pending': 'Čaká na potvrdenie',
'reservations.past': 'Uplynulé',
'reservations.summary': '{confirmed} potvrdených, {pending} čakajúcich',
'reservations.showFiles': 'Zobraziť súbory',
'reservations.editTitle': 'Upraviť rezerváciu',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Tips: Det är bäst att göra bokningar direkt från en plats för att koppla dem till din dagsplan.',
'reservations.confirmed': 'Bekräftat',
'reservations.pending': 'Väntar på beslut',
'reservations.past': 'Passerade',
'reservations.summary': '{confirmed} bekräftat, {pending} väntar på beslut',
'reservations.showFiles': 'Visa filer',
'reservations.editTitle': 'Redigera reservation',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'เคล็ดลับ: ควรสร้างการจองโดยตรงจากสถานที่เพื่อเชื่อมโยงกับแผนรายวันของคุณ',
'reservations.confirmed': 'ยืนยันแล้ว',
'reservations.pending': 'รอดำเนินการ',
'reservations.past': 'ที่ผ่านมา',
'reservations.summary': '{confirmed} ยืนยันแล้ว {pending} รอดำเนินการ',
'reservations.showFiles': 'แสดงไฟล์',
'reservations.editTitle': 'แก้ไขการจอง',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'İpucu: Rezervasyonları doğrudan günlük planınıza bağlayacak bir yerden oluşturmak en iyisidir.',
'reservations.confirmed': 'Onaylandı',
'reservations.pending': 'Beklemede',
'reservations.past': 'Geçmiş',
'reservations.summary': '{confirmed} onaylandı, {pending} beklemede',
'reservations.showFiles': 'Dosyaları Göster',
'reservations.editTitle': 'Rezervasyonu Düzenle',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': 'Порада: бронювання краще створювати безпосередньо з місця, щоб пов’язати їх з планом дня.',
'reservations.confirmed': 'Підтверджено',
'reservations.pending': 'Очікування',
'reservations.past': 'Минулі',
'reservations.summary': '{confirmed} підтвр., {pending} очікувань',
'reservations.showFiles': 'Показати файли',
'reservations.editTitle': 'Редагувати бронювання',
+1
View File
@@ -10,6 +10,7 @@ const reservations: TranslationStrings = {
'Mẹo: Tốt nhất bạn nên tạo đặt chỗ trực tiếp từ một nơi để liên kết chúng với kế hoạch trong ngày của bạn.',
'reservations.confirmed': 'Đã xác nhận',
'reservations.pending': 'Chưa giải quyết',
'reservations.past': 'Đã qua',
'reservations.summary': '{confirmed} đã xác nhận, {pending} đang chờ xử lý',
'reservations.showFiles': 'Hiển thị tệp',
'reservations.editTitle': 'Chỉnh sửa đặt chỗ',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': '提示:建議從地點直接建立預訂,以便與日程計劃關聯。',
'reservations.confirmed': '已確認',
'reservations.pending': '待確認',
'reservations.past': '已過去',
'reservations.summary': '{confirmed} 已確認,{pending} 待確認',
'reservations.showFiles': '檢視檔案',
'reservations.editTitle': '編輯預訂',
+1
View File
@@ -9,6 +9,7 @@ const reservations: TranslationStrings = {
'reservations.placeHint': '提示:建议从地点直接创建预订,以便与日程计划关联。',
'reservations.confirmed': '已确认',
'reservations.pending': '待确认',
'reservations.past': '已过去',
'reservations.summary': '{confirmed} 已确认,{pending} 待确认',
'reservations.showFiles': '查看文件',
'reservations.editTitle': '编辑预订',