fix(offline): the PWA starts offline again and the download does what it says

Four separate defects sat behind "offline mode is broken".

The app shell. On the first online launch after a version bump, App.tsx
deleted EVERY Cache Storage bucket and unregistered EVERY service worker,
then reloaded. That is exactly wrong for a Workbox autoUpdate build, which
swaps its precache atomically on install and never leaves an empty one.
Between the purge and the completion of a fresh 22 MB precache the origin
had no shell at all; anyone who closed the app or lost signal inside that
window could no longer start the PWA offline. It also threw away the map
tiles and documents the user had downloaded on purpose. It now asks the
worker to fetch the new build and reloads once it has taken over. The
version marker also moves inside the guarded path, because it was written
after the purge and outside its try: a throwing setItem left the caches
gone, the marker unwritten and the reload unreached, repeating on every
launch.

The reported version is validated before it reaches this device's storage and
before it is compared against the stored marker, so a value that is not a
release tag can neither be persisted nor start an update on every launch.

The session. loadUser's offline branch kept the persisted session but
never called onAuthSuccess, the only caller of setAuthed(true), and the
mutation queue's flush, syncAll and prepareForOffline are all gated on it.
A session that launched without network could therefore never sync again
for the rest of its life, even after the signal returned: the offline
settings buttons spun and returned instantly having done nothing, and
queued edits never uploaded. It also left reads pointed at the anonymous
database instead of the user's own.

The date rule. A trip is only cached when it has not ended, and one that
ended over a week ago is actively evicted. The per-trip switch was an
opt-out list, so ticking a finished trip changed nothing at all. For
anyone whose trips are all in the past, "Download for offline use" stored
none of them, reported success, and the cache stayed at zero. Switching a
trip on now pins it, which overrides both the skip and the eviction, and
the switch shows the honest position rather than promising storage that
never happens.

What the screen says. A sync that never started (already running, offline,
signed out) was indistinguishable from one that stored everything: the
progress bar painted full and a green "Ready for offline use" appeared over
a run of nothing. Both syncs now report why they stopped and the screen
says so. A rejected Dexie read no longer renders as "No trips cached yet",
and the clear button stays reachable when the database holds data that no
bookkeeping row points at. A run that rejects outright says so too: the trip
list it starts from is a plain fetch, so a network blip took the whole thing
down and left the last progress frame on screen looking like a finished
download. The 401-with-HTML branch in the API client now
confirms a reachable proxy before tearing the worker down, since several of
TREK's own routes answer 401 with a text/html body.

Both settings shells move onto one shared hook rather than growing the same
logic twice, and the tile prefetch caps its depth when the browser refused
persistent storage. Opaque tiles are billed at about 7 MB each, and an
origin that is not exempt from eviction loses its whole bucket, precached
shell included, which Workbox then never refills because sw.js has not
changed.

Closes #2228
This commit is contained in:
Maurice
2026-09-04 12:16:00 +02:00
committed by Maurice
parent d77f1c1758
commit 1b71b8633d
42 changed files with 1101 additions and 390 deletions
+8
View File
@@ -479,6 +479,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'الرحلات',
'settings.offline.storage.tripOn': 'مخزّن دون اتصال',
'settings.offline.storage.tripOff': 'غير مخزّن',
'settings.offline.storage.tripFinished': 'منتهية. لن تُحفظ إلا إذا فعّلتها.',
'settings.offline.notice.stored': 'تم حفظ {count} رحلة على هذا الجهاز',
'settings.offline.notice.nothing': 'لا شيء للحفظ. فعّل الرحلات التي تريد الاحتفاظ بها.',
'settings.offline.notice.busy': 'تتم مزامنة بالفعل. حاول مجددًا بعد قليل.',
'settings.offline.notice.offline': 'لا يوجد اتصال. اتصل بالإنترنت لحفظ الرحلات للاستخدام دون اتصال.',
'settings.offline.notice.signedOut': 'انتهت جلستك. سجّل الدخول مرة أخرى للمزامنة.',
'settings.offline.notice.failed': 'تعذّر إكمال التنزيل. تحقّق من اتصالك ثم حاول مرة أخرى.',
'settings.offline.notice.loadFailed': 'تعذّرت قراءة التخزين غير المتصل على هذا الجهاز. عادةً ما يُصلِح مسح الذاكرة المؤقتة المشكلة.',
'settings.offline.clear': 'مسح ذاكرة التخزين المؤقت',
'settings.offline.clearConfirm':
'هل تريد مسح جميع بيانات الرحلة المخزّنة دون اتصال؟ يمكنك إعادة المزامنة في أي وقت أثناء الاتصال.',
+8
View File
@@ -494,6 +494,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Viagens',
'settings.offline.storage.tripOn': 'Armazenada offline',
'settings.offline.storage.tripOff': 'Não armazenada',
'settings.offline.storage.tripFinished': 'Concluída. Só fica salva se você ativar.',
'settings.offline.notice.stored': '{count} viagem(ns) salva(s) neste dispositivo',
'settings.offline.notice.nothing': 'Nada para salvar. Ative as viagens que você quer manter.',
'settings.offline.notice.busy': 'Já há uma sincronização em andamento. Tente de novo em instantes.',
'settings.offline.notice.offline': 'Sem conexão. Conecte-se para salvar viagens off-line.',
'settings.offline.notice.signedOut': 'Sua sessão expirou. Entre novamente para sincronizar.',
'settings.offline.notice.failed': 'O download não pôde ser concluído. Verifique sua conexão e tente de novo.',
'settings.offline.notice.loadFailed': 'Não foi possível ler o armazenamento off-line deste dispositivo. Limpar o cache costuma resolver.',
'settings.offline.clear': 'Limpar cache',
'settings.offline.clearConfirm':
'Limpar todos os dados de viagem offline? Você pode sincronizar novamente a qualquer momento quando estiver online.',
+8
View File
@@ -475,6 +475,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Viatges',
'settings.offline.storage.tripOn': 'Desat fora de línia',
'settings.offline.storage.tripOff': 'No desat',
'settings.offline.storage.tripFinished': 'Finalitzat. Només es desa si l’actives.',
'settings.offline.notice.stored': '{count} viatge(s) desat(s) en aquest dispositiu',
'settings.offline.notice.nothing': 'No hi ha res a desar. Activa els viatges que vulguis conservar.',
'settings.offline.notice.busy': 'Ja hi ha una sincronització en curs. Torna-ho a provar d’aquí a un moment.',
'settings.offline.notice.offline': 'Sense connexió. Connecta’t per desar viatges fora de línia.',
'settings.offline.notice.signedOut': 'La teva sessió ha caducat. Torna a iniciar la sessió per sincronitzar.',
'settings.offline.notice.failed': 'La descàrrega no s’ha pogut completar. Comprova la connexió i torna-ho a provar.',
'settings.offline.notice.loadFailed': 'No s’ha pogut llegir l’emmagatzematge fora de línia d’aquest dispositiu. Normalment es resol buidant la memòria cau.',
'settings.offline.clear': 'Netejar memòria cau',
'settings.offline.clearConfirm':
'Vols netejar totes les dades de viatge fora de línia? Pots tornar a sincronitzar en qualsevol moment mentre estiguis connectat.',
+8
View File
@@ -487,6 +487,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Cesty',
'settings.offline.storage.tripOn': 'Uloženo offline',
'settings.offline.storage.tripOff': 'Neuloženo',
'settings.offline.storage.tripFinished': 'Ukončeno. Uloží se, jen když to zapnete.',
'settings.offline.notice.stored': 'Uloženo {count} cest v tomto zařízení',
'settings.offline.notice.nothing': 'Není co ukládat. Zapněte cesty, které si chcete ponechat.',
'settings.offline.notice.busy': 'Synchronizace už probíhá. Zkuste to za chvíli znovu.',
'settings.offline.notice.offline': 'Bez připojení. Připojte se, abyste mohli ukládat cesty offline.',
'settings.offline.notice.signedOut': 'Vaše relace vypršela. Pro synchronizaci se znovu přihlaste.',
'settings.offline.notice.failed': 'Stahování se nepodařilo dokončit. Zkontrolujte připojení a zkuste to znovu.',
'settings.offline.notice.loadFailed': 'Offline úložiště tohoto zařízení se nepodařilo načíst. Obvykle pomůže vymazání mezipaměti.',
'settings.offline.clear': 'Vymazat mezipaměť',
'settings.offline.clearConfirm': 'Vymazat všechna offline data cest? Kdykoli online je můžete znovu synchronizovat.',
'settings.offline.stats.trips': 'Cesty v mezipaměti',
+8
View File
@@ -496,6 +496,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Reisen',
'settings.offline.storage.tripOn': 'Offline gespeichert',
'settings.offline.storage.tripOff': 'Nicht gespeichert',
'settings.offline.storage.tripFinished': 'Abgeschlossen. Wird nur gespeichert, wenn du es einschaltest.',
'settings.offline.notice.stored': '{count} Reise(n) auf diesem Gerät gespeichert',
'settings.offline.notice.nothing': 'Nichts zu speichern. Schalte die Reisen ein, die du behalten willst.',
'settings.offline.notice.busy': 'Eine Synchronisierung läuft bereits. Versuche es gleich noch einmal.',
'settings.offline.notice.offline': 'Keine Verbindung. Verbinde dich, um Reisen offline zu speichern.',
'settings.offline.notice.signedOut': 'Deine Sitzung ist abgelaufen. Melde dich erneut an, um zu synchronisieren.',
'settings.offline.notice.failed': 'Der Download konnte nicht abgeschlossen werden. Prüfe deine Verbindung und versuche es erneut.',
'settings.offline.notice.loadFailed': 'Der Offline-Speicher dieses Geräts konnte nicht gelesen werden. Meist hilft es, den Cache zu leeren.',
'settings.offline.clear': 'Cache leeren',
'settings.offline.clearConfirm':
'Alle offline gespeicherten Reisedaten löschen? Du kannst jederzeit online neu synchronisieren.',
+8
View File
@@ -495,6 +495,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Trips',
'settings.offline.storage.tripOn': 'Stored offline',
'settings.offline.storage.tripOff': 'Not stored',
'settings.offline.storage.tripFinished': 'Finished. Only stored if you switch it on.',
'settings.offline.notice.stored': 'Stored {count} trip(s) on this device',
'settings.offline.notice.nothing': 'Nothing to store. Switch on the trips you want to keep.',
'settings.offline.notice.busy': 'A sync is already running. Try again in a moment.',
'settings.offline.notice.offline': 'No connection. Connect to store trips for offline use.',
'settings.offline.notice.signedOut': 'Your session has ended. Sign in again to sync.',
'settings.offline.notice.failed': 'The download could not finish. Check your connection and try again.',
'settings.offline.notice.loadFailed': 'Could not read this device’s offline storage. Clearing the cache usually fixes it.',
'settings.offline.clear': 'Clear cache',
'settings.offline.clearConfirm': 'Clear all offline trip data? You can re-sync anytime while online.',
'settings.offline.stats.trips': 'Cached trips',
+8
View File
@@ -495,6 +495,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Viajes',
'settings.offline.storage.tripOn': 'Almacenado offline',
'settings.offline.storage.tripOff': 'No almacenado',
'settings.offline.storage.tripFinished': 'Finalizado. Solo se guarda si lo activas.',
'settings.offline.notice.stored': '{count} viaje(s) guardado(s) en este dispositivo',
'settings.offline.notice.nothing': 'Nada que guardar. Activa los viajes que quieras conservar.',
'settings.offline.notice.busy': 'Ya hay una sincronización en curso. Inténtalo de nuevo en un momento.',
'settings.offline.notice.offline': 'Sin conexión. Conéctate para guardar viajes sin conexión.',
'settings.offline.notice.signedOut': 'Tu sesión ha caducado. Vuelve a iniciar sesión para sincronizar.',
'settings.offline.notice.failed': 'La descarga no se pudo completar. Comprueba tu conexión e inténtalo de nuevo.',
'settings.offline.notice.loadFailed': 'No se pudo leer el almacenamiento sin conexión de este dispositivo. Normalmente se soluciona vaciando la caché.',
'settings.offline.clear': 'Vaciar caché',
'settings.offline.clearConfirm':
'¿Vaciar todos los datos de viaje offline? Puedes volver a sincronizar en cualquier momento con conexión.',
+8
View File
@@ -502,6 +502,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Voyages',
'settings.offline.storage.tripOn': 'Stocké hors ligne',
'settings.offline.storage.tripOff': 'Non stocké',
'settings.offline.storage.tripFinished': 'Terminé. Conservé uniquement si vous l’activez.',
'settings.offline.notice.stored': '{count} voyage(s) enregistré(s) sur cet appareil',
'settings.offline.notice.nothing': 'Rien à enregistrer. Activez les voyages que vous souhaitez conserver.',
'settings.offline.notice.busy': 'Une synchronisation est déjà en cours. Réessayez dans un instant.',
'settings.offline.notice.offline': 'Aucune connexion. Connectez-vous pour enregistrer des voyages hors ligne.',
'settings.offline.notice.signedOut': 'Votre session a expiré. Reconnectez-vous pour synchroniser.',
'settings.offline.notice.failed': 'Le téléchargement n’a pas pu se terminer. Vérifiez votre connexion et réessayez.',
'settings.offline.notice.loadFailed': 'Impossible de lire le stockage hors ligne de cet appareil. Vider le cache résout généralement le problème.',
'settings.offline.clear': 'Vider le cache',
'settings.offline.clearConfirm':
'Vider toutes les données de voyage hors ligne ? Vous pourrez resynchroniser à tout moment lorsque vous serez en ligne.',
+8
View File
@@ -505,6 +505,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Ταξίδια',
'settings.offline.storage.tripOn': 'Αποθηκευμένο εκτός σύνδεσης',
'settings.offline.storage.tripOff': 'Μη αποθηκευμένο',
'settings.offline.storage.tripFinished': 'Ολοκληρώθηκε. Αποθηκεύεται μόνο αν το ενεργοποιήσετε.',
'settings.offline.notice.stored': 'Αποθηκεύτηκαν {count} ταξίδια σε αυτή τη συσκευή',
'settings.offline.notice.nothing': 'Δεν υπάρχει τίποτα για αποθήκευση. Ενεργοποιήστε τα ταξίδια που θέλετε να κρατήσετε.',
'settings.offline.notice.busy': 'Γίνεται ήδη συγχρονισμός. Δοκιμάστε ξανά σε λίγο.',
'settings.offline.notice.offline': 'Δεν υπάρχει σύνδεση. Συνδεθείτε για να αποθηκεύσετε ταξίδια για χρήση χωρίς σύνδεση.',
'settings.offline.notice.signedOut': 'Η συνεδρία σας έληξε. Συνδεθείτε ξανά για συγχρονισμό.',
'settings.offline.notice.failed': 'Η λήψη δεν ολοκληρώθηκε. Ελέγξτε τη σύνδεσή σας και δοκιμάστε ξανά.',
'settings.offline.notice.loadFailed': 'Δεν ήταν δυνατή η ανάγνωση του τοπικού χώρου αποθήκευσης. Συνήθως βοηθάει η εκκαθάριση της προσωρινής μνήμης.',
'settings.offline.clear': 'Εκκαθάριση προσωρινής μνήμης',
'settings.offline.clearConfirm':
'Εκκαθάριση όλων των δεδομένων ταξιδιού εκτός σύνδεσης; Μπορείτε να επανασυγχρονίσετε ανά πάσα στιγμή όσο είστε συνδεδεμένοι.',
+8
View File
@@ -495,6 +495,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Utazások',
'settings.offline.storage.tripOn': 'Offline tárolva',
'settings.offline.storage.tripOff': 'Nincs tárolva',
'settings.offline.storage.tripFinished': 'Befejezve. Csak akkor mentjük, ha bekapcsolod.',
'settings.offline.notice.stored': '{count} utazás mentve ezen az eszközön',
'settings.offline.notice.nothing': 'Nincs mit menteni. Kapcsold be azokat az utazásokat, amelyeket meg szeretnél tartani.',
'settings.offline.notice.busy': 'Már fut egy szinkronizálás. Próbáld újra egy pillanat múlva.',
'settings.offline.notice.offline': 'Nincs kapcsolat. Csatlakozz, hogy offline menthesd az utazásokat.',
'settings.offline.notice.signedOut': 'A munkamenet lejárt. Jelentkezz be újra a szinkronizáláshoz.',
'settings.offline.notice.failed': 'A letöltés nem fejeződött be. Ellenőrizd a kapcsolatot, és próbáld újra.',
'settings.offline.notice.loadFailed': 'Nem sikerült olvasni az eszköz offline tárhelyét. Általában segít a gyorsítótár törlése.',
'settings.offline.clear': 'Gyorsítótár törlése',
'settings.offline.clearConfirm':
'Törlöd az összes offline utazási adatot? Online állapotban bármikor újraszinkronizálhatsz.',
+8
View File
@@ -492,6 +492,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Perjalanan',
'settings.offline.storage.tripOn': 'Disimpan offline',
'settings.offline.storage.tripOff': 'Tidak disimpan',
'settings.offline.storage.tripFinished': 'Selesai. Hanya disimpan jika kamu mengaktifkannya.',
'settings.offline.notice.stored': '{count} perjalanan tersimpan di perangkat ini',
'settings.offline.notice.nothing': 'Tidak ada yang perlu disimpan. Aktifkan perjalanan yang ingin kamu simpan.',
'settings.offline.notice.busy': 'Sinkronisasi sedang berjalan. Coba lagi sebentar.',
'settings.offline.notice.offline': 'Tidak ada koneksi. Hubungkan untuk menyimpan perjalanan secara offline.',
'settings.offline.notice.signedOut': 'Sesimu telah berakhir. Masuk lagi untuk menyinkronkan.',
'settings.offline.notice.failed': 'Unduhan tidak dapat diselesaikan. Periksa koneksimu dan coba lagi.',
'settings.offline.notice.loadFailed': 'Tidak dapat membaca penyimpanan offline perangkat ini. Membersihkan cache biasanya memperbaikinya.',
'settings.offline.clear': 'Hapus cache',
'settings.offline.clearConfirm':
'Hapus semua data perjalanan offline? Kamu bisa menyinkronkan ulang kapan saja saat online.',
+8
View File
@@ -494,6 +494,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Viaggi',
'settings.offline.storage.tripOn': 'Archiviato offline',
'settings.offline.storage.tripOff': 'Non archiviato',
'settings.offline.storage.tripFinished': 'Terminato. Salvato solo se lo attivi.',
'settings.offline.notice.stored': '{count} viaggio/i salvato/i su questo dispositivo',
'settings.offline.notice.nothing': 'Niente da salvare. Attiva i viaggi che vuoi conservare.',
'settings.offline.notice.busy': 'Una sincronizzazione è già in corso. Riprova tra un momento.',
'settings.offline.notice.offline': 'Nessuna connessione. Connettiti per salvare i viaggi offline.',
'settings.offline.notice.signedOut': 'La tua sessione è scaduta. Accedi di nuovo per sincronizzare.',
'settings.offline.notice.failed': 'Il download non è stato completato. Controlla la connessione e riprova.',
'settings.offline.notice.loadFailed': 'Impossibile leggere l’archivio offline di questo dispositivo. Di solito basta svuotare la cache.',
'settings.offline.clear': 'Svuota la cache',
'settings.offline.clearConfirm':
'Cancellare tutti i dati di viaggio offline? Puoi risincronizzare in qualsiasi momento quando sei online.',
+8
View File
@@ -466,6 +466,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': '旅行',
'settings.offline.storage.tripOn': 'オフラインで保存済み',
'settings.offline.storage.tripOff': '未保存',
'settings.offline.storage.tripFinished': '終了済み。オンにした場合のみ保存されます。',
'settings.offline.notice.stored': '{count} 件の旅行をこの端末に保存しました',
'settings.offline.notice.nothing': '保存するものがありません。残しておきたい旅行をオンにしてください。',
'settings.offline.notice.busy': 'すでに同期中です。しばらくしてからもう一度お試しください。',
'settings.offline.notice.offline': '接続されていません。オフライン用に保存するには接続してください。',
'settings.offline.notice.signedOut': 'セッションが終了しました。同期するには再度ログインしてください。',
'settings.offline.notice.failed': 'ダウンロードを完了できませんでした。接続を確認してもう一度お試しください。',
'settings.offline.notice.loadFailed': 'この端末のオフラインストレージを読み取れませんでした。キャッシュを削除すると解決することが多いです。',
'settings.offline.clear': 'キャッシュを消去',
'settings.offline.clearConfirm': 'すべてのオフライン旅行データを消去しますか?オンライン時にいつでも再同期できます。',
'settings.offline.stats.trips': 'キャッシュ済みの旅行',
+8
View File
@@ -482,6 +482,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': '여행',
'settings.offline.storage.tripOn': '오프라인에 저장됨',
'settings.offline.storage.tripOff': '저장 안 됨',
'settings.offline.storage.tripFinished': '종료됨. 켜야만 저장됩니다.',
'settings.offline.notice.stored': '이 기기에 여행 {count}개를 저장했습니다',
'settings.offline.notice.nothing': '저장할 항목이 없습니다. 보관할 여행을 켜세요.',
'settings.offline.notice.busy': '이미 동기화가 진행 중입니다. 잠시 후 다시 시도하세요.',
'settings.offline.notice.offline': '연결되지 않았습니다. 오프라인으로 저장하려면 연결하세요.',
'settings.offline.notice.signedOut': '세션이 종료되었습니다. 동기화하려면 다시 로그인하세요.',
'settings.offline.notice.failed': '다운로드를 끝낼 수 없었습니다. 연결을 확인하고 다시 시도하세요.',
'settings.offline.notice.loadFailed': '이 기기의 오프라인 저장소를 읽지 못했습니다. 보통 캐시를 지우면 해결됩니다.',
'settings.offline.clear': '캐시 지우기',
'settings.offline.clearConfirm':
'모든 오프라인 여행 데이터를 지울까요? 온라인일 때 언제든지 다시 동기화할 수 있습니다.',
+8
View File
@@ -495,6 +495,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Reizen',
'settings.offline.storage.tripOn': 'Offline opgeslagen',
'settings.offline.storage.tripOff': 'Niet opgeslagen',
'settings.offline.storage.tripFinished': 'Afgelopen. Alleen opgeslagen als je het inschakelt.',
'settings.offline.notice.stored': '{count} reis/reizen op dit apparaat opgeslagen',
'settings.offline.notice.nothing': 'Niets op te slaan. Schakel de reizen in die je wilt bewaren.',
'settings.offline.notice.busy': 'Er loopt al een synchronisatie. Probeer het zo opnieuw.',
'settings.offline.notice.offline': 'Geen verbinding. Maak verbinding om reizen offline op te slaan.',
'settings.offline.notice.signedOut': 'Je sessie is verlopen. Meld je opnieuw aan om te synchroniseren.',
'settings.offline.notice.failed': 'De download kon niet worden voltooid. Controleer je verbinding en probeer het opnieuw.',
'settings.offline.notice.loadFailed': 'Kan de offlineopslag van dit apparaat niet lezen. De cache wissen helpt meestal.',
'settings.offline.clear': 'Cache wissen',
'settings.offline.clearConfirm':
'Alle offline reisgegevens wissen? Je kunt altijd opnieuw synchroniseren wanneer je online bent.',
+8
View File
@@ -494,6 +494,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Podróże',
'settings.offline.storage.tripOn': 'Przechowywane offline',
'settings.offline.storage.tripOff': 'Nieprzechowywane',
'settings.offline.storage.tripFinished': 'Zakończona. Zapisywana tylko wtedy, gdy ją włączysz.',
'settings.offline.notice.stored': 'Zapisano {count} podróży na tym urządzeniu',
'settings.offline.notice.nothing': 'Nie ma czego zapisać. Włącz podróże, które chcesz zachować.',
'settings.offline.notice.busy': 'Synchronizacja już trwa. Spróbuj ponownie za chwilę.',
'settings.offline.notice.offline': 'Brak połączenia. Połącz się, aby zapisać podróże offline.',
'settings.offline.notice.signedOut': 'Twoja sesja wygasła. Zaloguj się ponownie, aby zsynchronizować.',
'settings.offline.notice.failed': 'Nie udało się ukończyć pobierania. Sprawdź połączenie i spróbuj ponownie.',
'settings.offline.notice.loadFailed': 'Nie udało się odczytać pamięci offline tego urządzenia. Zwykle pomaga wyczyszczenie pamięci podręcznej.',
'settings.offline.clear': 'Wyczyść pamięć podręczną',
'settings.offline.clearConfirm':
'Wyczyścić wszystkie dane podróży zapisane offline? Możesz je w każdej chwili zsynchronizować ponownie, będąc online.',
+8
View File
@@ -496,6 +496,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Поездки',
'settings.offline.storage.tripOn': 'Хранится офлайн',
'settings.offline.storage.tripOff': 'Не хранится',
'settings.offline.storage.tripFinished': 'Завершёна. Сохраняется, только если вы её включите.',
'settings.offline.notice.stored': 'На этом устройстве сохранено поездок: {count}',
'settings.offline.notice.nothing': 'Сохранять нечего. Включите поездки, которые хотите оставить.',
'settings.offline.notice.busy': 'Синхронизация уже идёт. Повторите попытку через мгновение.',
'settings.offline.notice.offline': 'Нет соединения. Подключитесь, чтобы сохранить поездки офлайн.',
'settings.offline.notice.signedOut': 'Сеанс завершён. Войдите снова, чтобы синхронизировать.',
'settings.offline.notice.failed': 'Загрузку не удалось завершить. Проверьте соединение и повторите попытку.',
'settings.offline.notice.loadFailed': 'Не удалось прочитать офлайн-хранилище этого устройства. Обычно помогает очистка кэша.',
'settings.offline.clear': 'Очистить кэш',
'settings.offline.clearConfirm':
'Очистить все офлайн-данные поездок? Вы сможете синхронизировать их снова в любой момент при наличии подключения.',
+8
View File
@@ -492,6 +492,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Resor',
'settings.offline.storage.tripOn': 'Lagrad offline',
'settings.offline.storage.tripOff': 'Inte lagrad',
'settings.offline.storage.tripFinished': 'Avslutad. Sparas bara om du slår på den.',
'settings.offline.notice.stored': '{count} resa/resor sparade på den här enheten',
'settings.offline.notice.nothing': 'Inget att spara. Slå på de resor du vill behålla.',
'settings.offline.notice.busy': 'En synkronisering pågår redan. Försök igen om en stund.',
'settings.offline.notice.offline': 'Ingen anslutning. Anslut för att spara resor offline.',
'settings.offline.notice.signedOut': 'Din session har upphört. Logga in igen för att synkronisera.',
'settings.offline.notice.failed': 'Nedladdningen kunde inte slutföras. Kontrollera anslutningen och försök igen.',
'settings.offline.notice.loadFailed': 'Kunde inte läsa enhetens offlinelagring. Att rensa cachen brukar hjälpa.',
'settings.offline.clear': 'Rensa cache',
'settings.offline.clearConfirm': 'Rensa alla offline-resdata? Du kan synkronisera om när som helst när du är online.',
'settings.offline.stats.trips': 'Cachelagrade resor',
+8
View File
@@ -492,6 +492,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Geziler',
'settings.offline.storage.tripOn': 'Çevrimdışı saklandı',
'settings.offline.storage.tripOff': 'Saklanmadı',
'settings.offline.storage.tripFinished': 'Tamamlandı. Yalnızca açarsanız saklanır.',
'settings.offline.notice.stored': 'Bu cihaza {count} gezi kaydedildi',
'settings.offline.notice.nothing': 'Kaydedilecek bir şey yok. Saklamak istediğiniz gezileri açın.',
'settings.offline.notice.busy': 'Zaten bir eşitleme sürüyor. Birazdan yeniden deneyin.',
'settings.offline.notice.offline': 'Bağlantı yok. Gezileri çevrimdışı kaydetmek için bağlanın.',
'settings.offline.notice.signedOut': 'Oturumunuz sona erdi. Eşitlemek için tekrar giriş yapın.',
'settings.offline.notice.failed': 'İndirme tamamlanamadı. Bağlantınızı kontrol edip yeniden deneyin.',
'settings.offline.notice.loadFailed': 'Bu cihazın çevrimdışı deposu okunamadı. Genellikle önbelleği temizlemek sorunu çözer.',
'settings.offline.clear': 'Önbelleği temizle',
'settings.offline.clearConfirm':
'Tüm çevrimdışı gezi verileri silinsin mi? Çevrimiçiyken istediğiniz zaman yeniden senkronize edebilirsiniz.',
+8
View File
@@ -495,6 +495,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Поїздки',
'settings.offline.storage.tripOn': 'Збережено офлайн',
'settings.offline.storage.tripOff': 'Не збережено',
'settings.offline.storage.tripFinished': 'Завершено. Зберігається, лише якщо ви це увімкнете.',
'settings.offline.notice.stored': 'На цьому пристрої збережено подорожей: {count}',
'settings.offline.notice.nothing': 'Нічого зберігати. Увімкніть подорожі, які хочете залишити.',
'settings.offline.notice.busy': 'Синхронізація вже триває. Спробуйте ще раз за мить.',
'settings.offline.notice.offline': 'Немає з’єднання. Під’єднайтеся, щоб зберегти подорожі офлайн.',
'settings.offline.notice.signedOut': 'Сеанс завершився. Увійдіть знову, щоб синхронізувати.',
'settings.offline.notice.failed': 'Не вдалося завершити завантаження. Перевірте з’єднання і спробуйте ще раз.',
'settings.offline.notice.loadFailed': 'Не вдалося прочитати офлайн-сховище цього пристрою. Зазвичай допомагає очищення кешу.',
'settings.offline.clear': 'Очистити кеш',
'settings.offline.clearConfirm':
'Очистити всі офлайн-дані поїздок? Ви можете синхронізувати їх будь-коли в режимі онлайн.',
+8
View File
@@ -496,6 +496,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': 'Chuyến đi',
'settings.offline.storage.tripOn': 'Đã lưu ngoại tuyến',
'settings.offline.storage.tripOff': 'Chưa lưu',
'settings.offline.storage.tripFinished': 'Đã kết thúc. Chỉ lưu nếu bạn bật lên.',
'settings.offline.notice.stored': 'Đã lưu {count} chuyến đi trên thiết bị này',
'settings.offline.notice.nothing': 'Không có gì để lưu. Hãy bật những chuyến đi bạn muốn giữ.',
'settings.offline.notice.busy': 'Đang đồng bộ. Vui lòng thử lại sau giây lát.',
'settings.offline.notice.offline': 'Không có kết nối. Hãy kết nối để lưu chuyến đi ngoại tuyến.',
'settings.offline.notice.signedOut': 'Phiên của bạn đã kết thúc. Hãy đăng nhập lại để đồng bộ.',
'settings.offline.notice.failed': 'Không thể hoàn tất việc tải xuống. Hãy kiểm tra kết nối và thử lại.',
'settings.offline.notice.loadFailed': 'Không đọc được bộ nhớ ngoại tuyến của thiết bị này. Xóa bộ nhớ đệm thường khắc phục được.',
'settings.offline.clear': 'Xóa bộ nhớ đệm',
'settings.offline.clearConfirm':
'Xóa tất cả dữ liệu chuyến đi ngoại tuyến? Bạn có thể đồng bộ lại bất cứ lúc nào khi trực tuyến.',
+8
View File
@@ -462,6 +462,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': '行程',
'settings.offline.storage.tripOn': '已離線儲存',
'settings.offline.storage.tripOff': '未儲存',
'settings.offline.storage.tripFinished': '已結束。僅在開啟後儲存。',
'settings.offline.notice.stored': '已在此裝置儲存 {count} 個行程',
'settings.offline.notice.nothing': '沒有可儲存的內容。請開啟你想保留的行程。',
'settings.offline.notice.busy': '同步正在進行中,請稍後再試。',
'settings.offline.notice.offline': '沒有連線。請連線以儲存行程供離線使用。',
'settings.offline.notice.signedOut': '導覽階段已結束。請重新登入以同步。',
'settings.offline.notice.failed': '下載未能完成。請檢查網路連線後重試。',
'settings.offline.notice.loadFailed': '無法讀取此裝置的離線儲存。清除快取通常可以解決。',
'settings.offline.clear': '清除快取',
'settings.offline.clearConfirm': '要清除所有離線行程資料嗎?你可以在連線時隨時重新同步。',
'settings.offline.stats.trips': '已快取的行程',
+8
View File
@@ -458,6 +458,14 @@ const settings: TranslationStrings = {
'settings.offline.storage.tripsTitle': '行程',
'settings.offline.storage.tripOn': '已离线存储',
'settings.offline.storage.tripOff': '未存储',
'settings.offline.storage.tripFinished': '已结束。仅在开启后保存。',
'settings.offline.notice.stored': '已在此设备保存 {count} 个行程',
'settings.offline.notice.nothing': '没有可保存的内容。请开启你想保留的行程。',
'settings.offline.notice.busy': '同步正在进行中,请稍后重试。',
'settings.offline.notice.offline': '没有连接。请连接网络以保存行程供离线使用。',
'settings.offline.notice.signedOut': '会话已结束。请重新登录以同步。',
'settings.offline.notice.failed': '下载未能完成。请检查网络连接后重试。',
'settings.offline.notice.loadFailed': '无法读取此设备的离线存储。清除缓存通常可以解决。',
'settings.offline.clear': '清除缓存',
'settings.offline.clearConfirm': '清除所有离线行程数据?联网时你可以随时重新同步。',
'settings.offline.stats.trips': '已缓存行程',