feat(mobile): say in a trip's menu whether it is on the device

Whether a trip was kept for offline use was only to be found in the offline
settings. The trip's own menu now has an Offline entry that says it right
there: saved on this device as of the last sync, not saved yet, or not kept
here (switched off, or a finished trip nobody pinned). A tap opens the
offline settings, where everything else about it is.

Addresses discussion #1580.
This commit is contained in:
Maurice
2026-11-27 23:23:50 +01:00
parent 57fb2cf47b
commit 8d5d34fbb3
31 changed files with 186 additions and 4 deletions
@@ -0,0 +1,14 @@
// FE-SETTINGS-TRIPOFFLINE-001: where a trip stands on this device, for its menu (#1580).
import { describe, expect, it } from 'vitest';
import { tripOfflineState } from './useTripOfflineStatus';
describe('tripOfflineState', () => {
it('FE-SETTINGS-TRIPOFFLINE-001: off when switched off or not kept, saved as of the last sync, else pending', () => {
expect(tripOfflineState(false, true, 1000)).toEqual({ kind: 'off' });
expect(tripOfflineState(true, false, 1000)).toEqual({ kind: 'off' });
expect(tripOfflineState(true, true, 1000)).toEqual({ kind: 'saved', at: 1000 });
expect(tripOfflineState(true, true, null)).toEqual({ kind: 'pending' });
expect(tripOfflineState(true, true, undefined)).toEqual({ kind: 'pending' });
});
});
@@ -0,0 +1,51 @@
import { useEffect, useState } from 'react';
import { offlineDb } from '../../db/offlineDb';
import { isTripOfflineEnabled, isTripPinned } from '../../sync/offlinePrefs';
import { isDateEligible } from '../../sync/tripSyncManager';
import type { Trip } from '../../types';
/** Where a trip stands on this device (#1580), as the trip's own menu says it. */
export type TripOfflineState = { kind: 'saved'; at: number } | { kind: 'pending' } | { kind: 'off' };
/**
* The trip's state from what decides it: switched off, or kept by neither the
* date rule nor a pin, it is not on the device; synced before, it is, as of then;
* otherwise the next sync brings it.
*/
export function tripOfflineState(
enabled: boolean,
kept: boolean,
lastSyncedAt: number | null | undefined
): TripOfflineState {
if (!enabled || !kept) return { kind: 'off' };
if (lastSyncedAt) return { kind: 'saved', at: lastSyncedAt };
return { kind: 'pending' };
}
/**
* The offline state of one trip, read again each time `active` turns on (the
* menu opening), so it shows the last sync rather than the one before it.
*/
export function useTripOfflineStatus(trip: Trip | null | undefined, active: boolean): TripOfflineState | null {
const [state, setState] = useState<TripOfflineState | null>(null);
useEffect(() => {
if (!active || !trip) return;
let cancelled = false;
const enabled = isTripOfflineEnabled(trip.id);
const kept = isTripPinned(trip.id) || isDateEligible(trip);
void offlineDb.syncMeta.get(trip.id).then(
(meta) => {
if (!cancelled) setState(tripOfflineState(enabled, kept, meta?.lastSyncedAt));
},
// An unreadable store says nothing about the trip: the line stays away.
() => {
if (!cancelled) setState(null);
}
);
return () => {
cancelled = true;
};
}, [trip, active]);
return state;
}
@@ -1,6 +1,7 @@
import { ChevronRight, FileDown, Settings, Settings2, Sparkles } from 'lucide-react'
import { ChevronRight, CloudDownload, FileDown, Settings, Settings2, Sparkles } from 'lucide-react'
import type { LucideIcon } from 'lucide-react'
import { useState } from 'react'
import { useNavigate } from 'react-router'
import MSheet from '../../../components/MSheet'
import { edgeFadeClass, useEdgeFade } from '../../../components/useEdgeFade'
import type { MTripSheetsProps } from '../MTripShell'
@@ -9,6 +10,8 @@ import { useIsWide } from '../../../../hooks/sizeClass'
import { useTranslation } from '../../../../i18n'
import { useAssistantAsk } from '../../../../components/Assistant/useAssistantAsk'
import { useAssistantHints } from '../../../../components/Assistant/useAssistantHints'
import { useTripOfflineStatus, type TripOfflineState } from '../../../../components/Settings/useTripOfflineStatus'
import { useSettingsStore } from '../../../../store/settingsStore'
/** Demo tile tints per legacy tab id; plugins share the files neutral. */
const TILE_COLORS: Record<string, string> = {
@@ -27,9 +30,25 @@ const TILE_COLORS: Record<string, string> = {
* transparent scrim. Grid of the trip sections that did not fit the dock
* (files/collab/plugins, with short stats) plus the share/export/settings rows.
*/
/** The offline line under the trip's own menu entry (#1580): saved as of when, or why not. */
function offlineLine(state: TripOfflineState | null, t: (key: string, params?: Record<string, string>) => string, language: string, is12h: boolean): string | undefined {
if (!state) return undefined
if (state.kind === 'off') return t('mobileTrip.offlineOff')
if (state.kind === 'pending') return t('mobileTrip.offlineNotSaved')
const at = new Date(state.at)
const today = new Date().toDateString() === at.toDateString()
const time = today
? at.toLocaleTimeString(language, { hour: 'numeric', minute: '2-digit', hour12: is12h })
: at.toLocaleDateString(language, { day: 'numeric', month: 'short' })
return t('mobileTrip.offlineSaved', { time })
}
export default function MMehrSheet({ planner, shell }: MTripSheetsProps) {
const { t } = useTranslation()
const { t, language } = useTranslation()
const navigate = useNavigate()
const open = shell.sheet?.id === 'mehr'
const offline = useTripOfflineStatus(planner.trip, open)
const is12h = useSettingsStore(s => s.settings.time_format === '12h')
const canEditTrip = planner.can('trip_edit', planner.trip)
const assistant = useAssistantAsk(planner.tripId)
// Warnings not shown yet turn the tile's line into a count; the dock gets no dot.
@@ -61,9 +80,20 @@ export default function MMehrSheet({ planner, shell }: MTripSheetsProps) {
shell.setTrTab(id)
}
const actions: { id: string; icon: LucideIcon; label: string; go: () => void }[] = [
const actions: { id: string; icon: LucideIcon; label: string; sub?: string; go: () => void }[] = [
{ id: 'members', icon: Settings2, label: t('trip.settings.title'), go: () => shell.openSheet('members') },
{ id: 'export', icon: FileDown, label: t('mobileTrip.export'), go: () => shell.openSheet('export') },
// Whether this trip is on the device, without a trip to the settings to find out (#1580).
{
id: 'offline',
icon: CloudDownload,
label: t('settings.tabs.offline'),
sub: offlineLine(offline, t, language, is12h),
go: () => {
shell.closeSheet()
void navigate('/settings?tab=offline')
},
},
...(canEditTrip
? [{ id: 'tripedit', icon: Settings, label: t('dashboard.editTrip'), go: () => shell.openSheet('tripedit') }]
: []),
@@ -139,7 +169,10 @@ export default function MMehrSheet({ planner, shell }: MTripSheetsProps) {
<div className="flex h-[34px] w-[34px] flex-none items-center justify-center rounded-[10px] bg-[color:var(--m-ic)]">
<action.icon size={17} strokeWidth={1.9} />
</div>
<span className="min-w-0 flex-1 truncate text-[0.875rem] font-semibold">{action.label}</span>
<span className="min-w-0 flex-1">
<span className="block truncate text-[0.875rem] font-semibold">{action.label}</span>
{action.sub && <span className="block truncate text-caption text-m-muted">{action.sub}</span>}
</span>
<ChevronRight size={16} strokeWidth={2} className="flex-none text-m-faint" />
</button>
))}
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'اليوم',
'mobileTrip.assignedDays': 'الأيام المخصصة',
'mobileTrip.moveToDay': 'نقل إلى يوم آخر',
'mobileTrip.offlineSaved': 'محفوظة على هذا الجهاز، حتى {time}',
'mobileTrip.offlineNotSaved': 'لم تُحفظ على هذا الجهاز بعد',
'mobileTrip.offlineOff': 'غير محفوظة على هذا الجهاز',
'mobileTrip.assignmentNotes': 'ملاحظات خاصة باليوم',
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
'mobileTrip.collabFeatureDisabled': 'هذه الميزة معطّلة لهذه الرحلة',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Bu gün',
'mobileTrip.assignedDays': 'Təyin edilmiş günlər',
'mobileTrip.moveToDay': 'Başqa günə köçür',
'mobileTrip.offlineSaved': 'Bu cihazda saxlanılıb, {time} vəziyyətinə',
'mobileTrip.offlineNotSaved': 'Hələ bu cihazda saxlanılmayıb',
'mobileTrip.offlineOff': 'Bu cihazda saxlanılmı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',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Hoje',
'mobileTrip.assignedDays': 'Dias atribuídos',
'mobileTrip.moveToDay': 'Mover para outro dia',
'mobileTrip.offlineSaved': 'Salva neste aparelho, em {time}',
'mobileTrip.offlineNotSaved': 'Ainda não salva neste aparelho',
'mobileTrip.offlineOff': 'Não guardada neste aparelho',
'mobileTrip.assignmentNotes': 'Notas específicas do dia',
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
'mobileTrip.collabFeatureDisabled': 'Esse recurso está desativado para esta viagem',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Avui',
'mobileTrip.assignedDays': 'Dies assignats',
'mobileTrip.moveToDay': 'Mou a un altre dia',
'mobileTrip.offlineSaved': 'Desat en aquest dispositiu, a les {time}',
'mobileTrip.offlineNotSaved': 'Encara no desat en aquest dispositiu',
'mobileTrip.offlineOff': 'No es guarda en aquest dispositiu',
'mobileTrip.assignmentNotes': 'Notes específiques del dia',
'mobileTrip.bookingsEmpty': 'Encara no hi ha reserves',
'mobileTrip.collabFeatureDisabled': 'Aquesta funció està desactivada per a aquest viatge',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Dnes',
'mobileTrip.assignedDays': 'Přiřazené dny',
'mobileTrip.moveToDay': 'Přesunout na jiný den',
'mobileTrip.offlineSaved': 'Uloženo v tomto zařízení, stav {time}',
'mobileTrip.offlineNotSaved': 'Zatím neuloženo v tomto zařízení',
'mobileTrip.offlineOff': 'Neukládá se v tomto zařízení',
'mobileTrip.assignmentNotes': 'Poznámky ke dni',
'mobileTrip.bookingsEmpty': 'Zatím žádné rezervace',
'mobileTrip.collabFeatureDisabled': 'Tato funkce je pro tento výlet vypnuta',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Heute',
'mobileTrip.assignedDays': 'Zugewiesene Tage',
'mobileTrip.moveToDay': 'Auf anderen Tag verschieben',
'mobileTrip.offlineSaved': 'Auf diesem Gerät gespeichert, Stand {time}',
'mobileTrip.offlineNotSaved': 'Noch nicht auf diesem Gerät gespeichert',
'mobileTrip.offlineOff': 'Nicht auf diesem Gerät gespeichert',
'mobileTrip.assignmentNotes': 'Tagesspezifische Notizen',
'mobileTrip.bookingsEmpty': 'Noch keine Buchungen',
'mobileTrip.collabFeatureDisabled': 'Diese Funktion ist für diese Reise deaktiviert',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Today',
'mobileTrip.assignedDays': 'Assigned Days',
'mobileTrip.moveToDay': 'Move to another day',
'mobileTrip.offlineSaved': 'Saved on this device, as of {time}',
'mobileTrip.offlineNotSaved': 'Not saved on this device yet',
'mobileTrip.offlineOff': 'Not kept on this device',
'mobileTrip.assignmentNotes': 'Day-specific notes',
'mobileTrip.bookingsEmpty': 'No bookings yet',
'mobileTrip.collabFeatureDisabled': 'This feature is disabled for this trip',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Hoy',
'mobileTrip.assignedDays': 'Días asignados',
'mobileTrip.moveToDay': 'Mover a otro día',
'mobileTrip.offlineSaved': 'Guardado en este dispositivo, a las {time}',
'mobileTrip.offlineNotSaved': 'Aún no guardado en este dispositivo',
'mobileTrip.offlineOff': 'No se guarda en este dispositivo',
'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',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Täna',
'mobileTrip.assignedDays': 'Määratud päevad',
'mobileTrip.moveToDay': 'Teisele päevale',
'mobileTrip.offlineSaved': 'Salvestatud sellesse seadmesse, seisuga {time}',
'mobileTrip.offlineNotSaved': 'Pole veel sellesse seadmesse salvestatud',
'mobileTrip.offlineOff': 'Seda seadmesse ei hoita',
'mobileTrip.assignmentNotes': 'Päevapõhised märkmed',
'mobileTrip.bookingsEmpty': 'Broneeringuid veel pole',
'mobileTrip.collabFeatureDisabled': 'See funktsioon on selle reisi jaoks keelatud',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': "Aujourd'hui",
'mobileTrip.assignedDays': 'Jours assignés',
'mobileTrip.moveToDay': 'Déplacer vers un autre jour',
'mobileTrip.offlineSaved': 'Enregistré sur cet appareil, à {time}',
'mobileTrip.offlineNotSaved': 'Pas encore enregistré sur cet appareil',
'mobileTrip.offlineOff': 'Non conservé sur cet appareil',
'mobileTrip.assignmentNotes': 'Notes propres au jour',
'mobileTrip.bookingsEmpty': 'Aucune réservation',
'mobileTrip.collabFeatureDisabled': 'Cette fonctionnalité est désactivée pour ce voyage',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Σήμερα',
'mobileTrip.assignedDays': 'Ανατεθειμένες ημέρες',
'mobileTrip.moveToDay': 'Μετακίνηση σε άλλη ημέρα',
'mobileTrip.offlineSaved': 'Αποθηκεύτηκε σε αυτή τη συσκευή, στις {time}',
'mobileTrip.offlineNotSaved': 'Δεν έχει αποθηκευτεί ακόμη σε αυτή τη συσκευή',
'mobileTrip.offlineOff': 'Δεν διατηρείται σε αυτή τη συσκευή',
'mobileTrip.assignmentNotes': 'Σημειώσεις ημέρας',
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
'mobileTrip.collabFeatureDisabled': 'Αυτή η λειτουργία είναι απενεργοποιημένη για αυτό το ταξίδι',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'היום',
'mobileTrip.assignedDays': 'ימים משויכים',
'mobileTrip.moveToDay': 'העברה ליום אחר',
'mobileTrip.offlineSaved': 'נשמר במכשיר הזה, נכון ל־{time}',
'mobileTrip.offlineNotSaved': 'עדיין לא נשמר במכשיר הזה',
'mobileTrip.offlineOff': 'לא נשמר במכשיר הזה',
'mobileTrip.assignmentNotes': 'הערות ליום ספציפי',
'mobileTrip.bookingsEmpty': 'עדיין אין הזמנות',
'mobileTrip.collabFeatureDisabled': 'תכונה זו מושבתת בטיול הזה',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Ma',
'mobileTrip.assignedDays': 'Hozzárendelt napok',
'mobileTrip.moveToDay': 'Áthelyezés másik napra',
'mobileTrip.offlineSaved': 'Mentve ezen az eszközön, {time} állapot',
'mobileTrip.offlineNotSaved': 'Még nincs mentve ezen az eszközön',
'mobileTrip.offlineOff': 'Nincs megtartva ezen az eszközön',
'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',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Hari ini',
'mobileTrip.assignedDays': 'Hari yang ditetapkan',
'mobileTrip.moveToDay': 'Pindahkan ke hari lain',
'mobileTrip.offlineSaved': 'Tersimpan di perangkat ini, per {time}',
'mobileTrip.offlineNotSaved': 'Belum tersimpan di perangkat ini',
'mobileTrip.offlineOff': 'Tidak disimpan di perangkat ini',
'mobileTrip.assignmentNotes': 'Catatan khusus hari',
'mobileTrip.bookingsEmpty': 'Belum ada reservasi',
'mobileTrip.collabFeatureDisabled': 'Fitur ini dinonaktifkan untuk perjalanan ini',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Oggi',
'mobileTrip.assignedDays': 'Giorni assegnati',
'mobileTrip.moveToDay': 'Sposta in un altro giorno',
'mobileTrip.offlineSaved': 'Salvato su questo dispositivo, alle {time}',
'mobileTrip.offlineNotSaved': 'Non ancora salvato su questo dispositivo',
'mobileTrip.offlineOff': 'Non conservato su questo dispositivo',
'mobileTrip.assignmentNotes': 'Note specifiche del giorno',
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
'mobileTrip.collabFeatureDisabled': 'Questa funzione è disattivata per questo viaggio',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': '今日',
'mobileTrip.assignedDays': '割り当てられた日',
'mobileTrip.moveToDay': '別の日に移動',
'mobileTrip.offlineSaved': 'この端末に保存済み({time} 時点)',
'mobileTrip.offlineNotSaved': 'まだこの端末に保存されていません',
'mobileTrip.offlineOff': 'この端末には保存しません',
'mobileTrip.assignmentNotes': '日別メモ',
'mobileTrip.bookingsEmpty': '予約はまだありません',
'mobileTrip.collabFeatureDisabled': 'この機能はこの旅行では無効になっています',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': '오늘',
'mobileTrip.assignedDays': '배정된 날짜',
'mobileTrip.moveToDay': '다른 날로 이동',
'mobileTrip.offlineSaved': '이 기기에 저장됨, {time} 기준',
'mobileTrip.offlineNotSaved': '아직 이 기기에 저장되지 않음',
'mobileTrip.offlineOff': '이 기기에 보관하지 않음',
'mobileTrip.assignmentNotes': '날짜별 메모',
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
'mobileTrip.collabFeatureDisabled': '이 여행에서는 이 기능이 비활성화되어 있습니다',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Vandaag',
'mobileTrip.assignedDays': 'Toegewezen dagen',
'mobileTrip.moveToDay': 'Naar een andere dag',
'mobileTrip.offlineSaved': 'Opgeslagen op dit apparaat, stand {time}',
'mobileTrip.offlineNotSaved': 'Nog niet opgeslagen op dit apparaat',
'mobileTrip.offlineOff': 'Niet bewaard op dit apparaat',
'mobileTrip.assignmentNotes': 'Dagspecifieke notities',
'mobileTrip.bookingsEmpty': 'Nog geen boekingen',
'mobileTrip.collabFeatureDisabled': 'Deze functie is uitgeschakeld voor deze reis',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Dziś',
'mobileTrip.assignedDays': 'Przypisane dni',
'mobileTrip.moveToDay': 'Przenieś na inny dzień',
'mobileTrip.offlineSaved': 'Zapisano na tym urządzeniu, stan z {time}',
'mobileTrip.offlineNotSaved': 'Jeszcze nie zapisano na tym urządzeniu',
'mobileTrip.offlineOff': 'Nie jest przechowywana na tym urządzeniu',
'mobileTrip.assignmentNotes': 'Notatki dla dnia',
'mobileTrip.bookingsEmpty': 'Brak rezerwacji',
'mobileTrip.collabFeatureDisabled': 'Ta funkcja jest wyłączona dla tej podróży',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Сегодня',
'mobileTrip.assignedDays': 'Назначенные дни',
'mobileTrip.moveToDay': 'Перенести на другой день',
'mobileTrip.offlineSaved': 'Сохранено на этом устройстве, на {time}',
'mobileTrip.offlineNotSaved': 'Ещё не сохранено на этом устройстве',
'mobileTrip.offlineOff': 'Не хранится на этом устройстве',
'mobileTrip.assignmentNotes': 'Заметки на день',
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
'mobileTrip.collabFeatureDisabled': 'Эта функция отключена для этой поездки',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Dnes',
'mobileTrip.assignedDays': 'Priradené dni',
'mobileTrip.moveToDay': 'Presunúť na iný deň',
'mobileTrip.offlineSaved': 'Uložené v tomto zariadení, stav {time}',
'mobileTrip.offlineNotSaved': 'Zatiaľ neuložené v tomto zariadení',
'mobileTrip.offlineOff': 'Neukladá sa v tomto zariadení',
'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á',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Idag',
'mobileTrip.assignedDays': 'Tilldelade dagar',
'mobileTrip.moveToDay': 'Flytta till en annan dag',
'mobileTrip.offlineSaved': 'Sparad på den här enheten, per {time}',
'mobileTrip.offlineNotSaved': 'Inte sparad på den här enheten än',
'mobileTrip.offlineOff': 'Sparas inte på den här enheten',
'mobileTrip.assignmentNotes': 'Dagsspecifika anteckningar',
'mobileTrip.bookingsEmpty': 'Inga bokningar än',
'mobileTrip.collabFeatureDisabled': 'Den här funktionen är inaktiverad för den här resan',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'วันนี้',
'mobileTrip.assignedDays': 'วันที่ได้รับมอบหมาย',
'mobileTrip.moveToDay': 'ย้ายไปวันอื่น',
'mobileTrip.offlineSaved': 'บันทึกไว้ในอุปกรณ์นี้ ณ {time}',
'mobileTrip.offlineNotSaved': 'ยังไม่ได้บันทึกในอุปกรณ์นี้',
'mobileTrip.offlineOff': 'ไม่ได้เก็บไว้ในอุปกรณ์นี้',
'mobileTrip.assignmentNotes': 'บันทึกเฉพาะวัน',
'mobileTrip.bookingsEmpty': 'ยังไม่มีการจอง',
'mobileTrip.collabFeatureDisabled': 'คุณลักษณะนี้ถูกปิดใช้งานสำหรับการเดินทางครั้งนี้',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Bugün',
'mobileTrip.assignedDays': 'Atanan Günler',
'mobileTrip.moveToDay': 'Başka güne taşı',
'mobileTrip.offlineSaved': 'Bu cihaza kaydedildi, {time} itibarıyla',
'mobileTrip.offlineNotSaved': 'Henüz bu cihaza kaydedilmedi',
'mobileTrip.offlineOff': 'Bu cihazda tutulmuyor',
'mobileTrip.assignmentNotes': 'Güne özel notlar',
'mobileTrip.bookingsEmpty': 'Henüz rezervasyon yok',
'mobileTrip.collabFeatureDisabled': 'Bu özellik bu seyahat için devre dışı',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Сьогодні',
'mobileTrip.assignedDays': 'Призначені дні',
'mobileTrip.moveToDay': 'Перенести на інший день',
'mobileTrip.offlineSaved': 'Збережено на цьому пристрої, станом на {time}',
'mobileTrip.offlineNotSaved': 'Ще не збережено на цьому пристрої',
'mobileTrip.offlineOff': 'Не зберігається на цьому пристрої',
'mobileTrip.assignmentNotes': 'Нотатки на день',
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
'mobileTrip.collabFeatureDisabled': 'Цю функцію вимкнено для цієї подорожі',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': 'Hôm nay',
'mobileTrip.assignedDays': 'Ngày được gán',
'mobileTrip.moveToDay': 'Chuyển sang ngày khác',
'mobileTrip.offlineSaved': 'Đã lưu trên thiết bị này, lúc {time}',
'mobileTrip.offlineNotSaved': 'Chưa lưu trên thiết bị này',
'mobileTrip.offlineOff': 'Không lưu trên thiết bị này',
'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',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': '今天',
'mobileTrip.assignedDays': '已分配的天數',
'mobileTrip.moveToDay': '移到另一天',
'mobileTrip.offlineSaved': '已儲存在此裝置,截至 {time}',
'mobileTrip.offlineNotSaved': '尚未儲存在此裝置',
'mobileTrip.offlineOff': '不儲存在此裝置',
'mobileTrip.assignmentNotes': '按天備註',
'mobileTrip.bookingsEmpty': '暫無預訂',
'mobileTrip.collabFeatureDisabled': '此功能已針對本次行程停用',
+3
View File
@@ -10,6 +10,9 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.today': '今天',
'mobileTrip.assignedDays': '已分配的天数',
'mobileTrip.moveToDay': '移到另一天',
'mobileTrip.offlineSaved': '已保存在此设备,截至 {time}',
'mobileTrip.offlineNotSaved': '尚未保存在此设备',
'mobileTrip.offlineOff': '不保存在此设备',
'mobileTrip.assignmentNotes': '按天备注',
'mobileTrip.bookingsEmpty': '暂无预订',
'mobileTrip.collabFeatureDisabled': '此功能已针对本次行程停用',