mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +00:00
bbcf17d816
The stays Dawarich recorded used to be a panel above the timeline: every open stay of every day, stacked over the entries. A fortnight of driving puts forty of them between the reader and their own first entry, which is the scrolling Roel described on the 16th. They belong where the day is. Each day of the timeline now ends in one line: the Dawarich mark, how many stays, and the span they cover. A tap opens them, and what opens is the panel's own rows, imported rather than copied — one row this detailed in two places would be two things to keep in step and a straight hit on the duplication budget. Nothing is drawn on a day with nothing pending. A stay falls on the day it happened, which is often a day the journal has no entry on yet, and that is the whole point of offering it. Those days join the timeline so their stays can be reached at all; without that the only way to a quiet day's stays would be to write an entry on it first. Not while a search is running, where a day whose entries the query filtered out is not a day the reader is looking at. The count takes two keys picked by the number, the shape this codebase already uses for a noun that changes with it: there is no plural engine in the i18n layer, and one key with a placeholder in it reads as "1 stays". Russian, Polish, Czech, Ukrainian and Arabic inflect again at 2-4 and 5+, which two forms cannot express, so their plural puts the number after a colon, where no form has to agree with it. The phone is untouched: it opens the same list in a sheet from its own button, which is where it works on a screen that shows one entry at a time.
182 lines
12 KiB
TypeScript
182 lines
12 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const dawarich: TranslationStrings = {
|
||
// ── Connection ─────────────────────────────────────────────────────────────
|
||
'dawarich.title': 'Dawarich',
|
||
'dawarich.intro':
|
||
'Connecta la teva pròpia instància de Dawarich per veure on has estat realment. TREK la llegeix i et proposa entrades de diari, llocs i països — no s’hi afegeix res fins que ho confirmes, i no s’escriu res de tornada a Dawarich.',
|
||
'dawarich.url': 'Adreça de la instància',
|
||
'dawarich.apiKey': 'Clau API',
|
||
'dawarich.apiKeyPlaceholder': 'Enganxa la teva clau API de Dawarich',
|
||
'dawarich.apiKeyHint': 'La trobaràs a Dawarich sota Compte → Clau API. Es desa xifrada i no es torna a mostrar mai.',
|
||
'dawarich.allowInsecureTls': 'Permet un certificat autosignat',
|
||
'dawarich.allowInsecureTlsHint':
|
||
'Només cal si la teva instància fa servir un certificat en què el teu servidor no confia.',
|
||
'dawarich.syncEnabled': 'Comprova automàticament si hi ha estades noves',
|
||
'dawarich.syncEnabledHint': 'Desactivat vol dir que TREK només llegeix Dawarich quan tu l’hi demanes.',
|
||
'dawarich.test.button': 'Prova la connexió',
|
||
'dawarich.test.success': 'Connectat. S’han trobat {count} estades en els darrers 30 dies.',
|
||
'dawarich.test.failed': 'No s’ha pogut contactar amb Dawarich.',
|
||
'dawarich.syncNow': 'Comprova-ho ara',
|
||
'dawarich.connected': 'Connectat',
|
||
'dawarich.notConnected': 'No connectat',
|
||
'dawarich.disconnect': 'Desconnecta',
|
||
'dawarich.lastSync': 'Darrera comprovació {when}',
|
||
'dawarich.neverSynced': 'Encara no s’ha comprovat',
|
||
'dawarich.syncPartial': 'alguns viatges no s’han pogut llegir',
|
||
'dawarich.serverVersion': 'Dawarich {version}',
|
||
|
||
'dawarich.toast.saved': 'S’ha desat la connexió amb Dawarich',
|
||
'dawarich.toast.saveError': 'No s’ha pogut desar la connexió',
|
||
'dawarich.toast.disconnected': 'Dawarich desconnectat',
|
||
'dawarich.toast.synced': 'S’han trobat {count} estades noves',
|
||
'dawarich.toast.syncError': 'No s’ha pogut llegir Dawarich',
|
||
'dawarich.toast.syncRunning': 'Ja hi ha una comprovació en curs',
|
||
'dawarich.toast.acceptError': 'No s’ha pogut afegir això',
|
||
'dawarich.toast.updateError': 'No s’ha pogut actualitzar aquest suggeriment',
|
||
'dawarich.toast.accepted.place': 'Afegit al viatge',
|
||
'dawarich.toast.accepted.journal': 'Afegit al diari',
|
||
'dawarich.toast.accepted.bucket_list': 'Marcat a la teva llista de desitjos',
|
||
|
||
// ── What the connected instance can do ─────────────────────────────────────
|
||
'dawarich.capability.visits': 'estades',
|
||
'dawarich.capability.track': 'recorregut enregistrat',
|
||
'dawarich.capability.locations': 'coincidències amb la llista de desitjos',
|
||
'dawarich.capability.visitedCities': 'països i ciutats',
|
||
'dawarich.capability.missing': 'Aquesta versió de Dawarich no ofereix: {features}.',
|
||
|
||
// ── Failure reasons, as sentences the reader can act on ────────────────────
|
||
'dawarich.error.unreachable': 'TREK no ha pogut contactar amb aquesta adreça.',
|
||
'dawarich.error.unauthorized': 'Dawarich ha rebutjat la clau API.',
|
||
'dawarich.error.forbidden': 'Aquesta clau API no té permís per llegir això.',
|
||
'dawarich.error.not_found': 'Aquesta versió de Dawarich no té aquest punt final.',
|
||
'dawarich.error.rate_limited': 'Dawarich ha demanat a TREK que vagi més a poc a poc. Torna-ho a provar d’aquí a poc.',
|
||
'dawarich.error.server_error': 'Dawarich ha respost amb un error.',
|
||
'dawarich.error.invalid_response': 'Aquesta adreça ha respost amb una cosa que no és Dawarich.',
|
||
'dawarich.error.too_large': 'Dawarich ha enviat més dades de les que TREK llegeix de cop.',
|
||
'dawarich.error.not_connected': 'Encara no hi ha cap instància de Dawarich connectada.',
|
||
'dawarich.error.addon_disabled': 'El complement Dawarich està desactivat en aquesta instància.',
|
||
'dawarich.error.offline': 'Això necessita connexió: TREK ara és fora de línia.',
|
||
'dawarich.error.invalid_url': 'TREK no pot fer servir aquesta adreça.',
|
||
'dawarich.warning.private_ip': 'Aquesta adreça apunta a una IP privada ({ip}). Comprova que és el que volies: el servidor pot necessitar ALLOW_INTERNAL_NETWORK=true per arribar-hi.',
|
||
'dawarich.error.unknown': 'Alguna cosa ha anat malament en parlar amb Dawarich.',
|
||
|
||
// ── The recorded route on the map ──────────────────────────────────────────
|
||
'dawarich.trail.show': 'Mostra el recorregut enregistrat',
|
||
'dawarich.trail.hide': 'Amaga el recorregut enregistrat',
|
||
'dawarich.trail.loading': 'S’està carregant el recorregut enregistrat…',
|
||
'dawarich.trail.empty': 'No s’ha enregistrat res en aquestes dates',
|
||
'dawarich.trail.offline': 'El recorregut enregistrat necessita connexió',
|
||
'dawarich.trail.unavailable': 'No s’ha pogut carregar el recorregut enregistrat',
|
||
|
||
// ── Suggestions ────────────────────────────────────────────────────────────
|
||
'dawarich.duration.minutes': '{minutes} min',
|
||
'dawarich.duration.hours': '{hours} h',
|
||
'dawarich.duration.hoursMinutes': '{hours} h {minutes} min',
|
||
'dawarich.checkedAgo': 'comprovat {ago}',
|
||
|
||
'dawarich.badge.lowConfidence': 'Incert',
|
||
'dawarich.badge.sourceChanged': 'Canviat a Dawarich',
|
||
'dawarich.badge.sourceMissing': 'Ja no hi és a Dawarich',
|
||
|
||
'dawarich.suggestions.title': 'Des de Dawarich',
|
||
'dawarich.suggestions.pending': '{count} pendents',
|
||
'dawarich.suggestions.loading': 'S’està llegint Dawarich…',
|
||
'dawarich.suggestions.notConnected': 'Connecta Dawarich a la configuració per veure aquí les teves estades.',
|
||
'dawarich.suggestions.unavailable': 'No s’ha pogut llegir Dawarich.',
|
||
'dawarich.suggestions.allHandled': 'Ja has resolt tot el que s’ha enregistrat aquí.',
|
||
'dawarich.suggestions.asJournal': 'Escriu una entrada de diari',
|
||
'dawarich.suggestions.asPlace': 'Afegeix-ho com a lloc',
|
||
'dawarich.suggestions.dismiss': 'No és un lloc que hagi visitat',
|
||
'dawarich.suggestions.dismissed': 'Descartat',
|
||
'dawarich.suggestions.restore': 'Torna-ho a posar',
|
||
'dawarich.suggestions.showHandled': 'Mostra’n {count} de ja resolts',
|
||
'dawarich.suggestions.hideHandled': 'Amaga els que ja estan resolts',
|
||
'dawarich.suggestions.matchesWish': 'A la teva llista de desitjos: {name}',
|
||
'dawarich.suggestions.acceptedAs.place': 'Afegit com a lloc',
|
||
'dawarich.suggestions.acceptedAs.journal': 'Al diari',
|
||
'dawarich.suggestions.acceptedAs.bucket_list': 'Desig marcat',
|
||
'dawarich.suggestions.sourceChanged':
|
||
'Aquesta estada ha canviat a Dawarich des que la vas fer servir. El que has escrit a TREK no s’ha tocat.',
|
||
'dawarich.suggestions.sourceMissing':
|
||
'Aquesta estada ja no existeix a Dawarich. El que has escrit a TREK no s’ha tocat.',
|
||
'dawarich.sourceStatus.suggested': 'Detectat, sense confirmar',
|
||
'dawarich.confidence.high': 'Detecció segura',
|
||
'dawarich.confidence.medium': 'Detecció força segura',
|
||
'dawarich.confidence.low': 'Detecció incerta',
|
||
|
||
// ── The review step ────────────────────────────────────────────────────────
|
||
'dawarich.accept.title.place': 'Afegeix aquesta estada com a lloc',
|
||
'dawarich.accept.title.journal': 'Escriu una entrada de diari',
|
||
'dawarich.accept.title.bucket_list': 'Marca un desig',
|
||
'dawarich.accept.confirm.place': 'Afegeix el lloc',
|
||
'dawarich.accept.confirm.journal': 'Afegeix l’entrada',
|
||
'dawarich.accept.confirm.bucket_list': 'Marca’l',
|
||
'dawarich.accept.recorded': 'Enregistrat des de {from} fins a {to}',
|
||
'dawarich.accept.duration': '{minutes} min',
|
||
'dawarich.accept.name': 'Nom',
|
||
'dawarich.accept.date': 'Data',
|
||
'dawarich.accept.from': 'Arribada',
|
||
'dawarich.accept.to': 'Sortida',
|
||
'dawarich.accept.trip': 'Viatge',
|
||
'dawarich.accept.thisTrip': 'Aquest viatge',
|
||
'dawarich.accept.pickTrip': 'Tria un viatge',
|
||
'dawarich.accept.day': 'Dia',
|
||
'dawarich.accept.noDay': 'Encara no és en cap dia',
|
||
'dawarich.accept.journal': 'Diari',
|
||
'dawarich.accept.pickJournal': 'Tria un diari',
|
||
'dawarich.accept.notes': 'Notes',
|
||
'dawarich.accept.story': 'La teva història',
|
||
'dawarich.accept.storyPlaceholder': 'Què va passar aquí?',
|
||
'dawarich.accept.photosHint': 'Afegeix fotos a l’entrada un cop creada.',
|
||
|
||
// ── A place that came out of a recording ──────────────────────────────────
|
||
'dawarich.place.fromDawarich': 'Afegit des dels teus registres de Dawarich',
|
||
|
||
// ── Wishlist ───────────────────────────────────────────────────────────────
|
||
'dawarich.bucket.title': 'Comprova la teva llista de desitjos amb Dawarich',
|
||
'dawarich.bucket.description':
|
||
'Busca als teus enregistraments els llocs on volies arribar. Una visita necessita tant proximitat com temps d’estada — passar-hi de llarg no compta.',
|
||
'dawarich.bucket.scan': 'Comprova la llista de desitjos',
|
||
'dawarich.bucket.scanning': 'S’està comprovant…',
|
||
'dawarich.bucket.noMatches': 'No ha aparegut res de la teva llista de desitjos als teus enregistraments.',
|
||
'dawarich.bucket.alreadyVisited': 'Ja marcat',
|
||
'dawarich.bucket.confirm': 'Marca’n {count}',
|
||
'dawarich.bucket.confirmed': '{count} desitjos marcats',
|
||
'dawarich.bucket.skipped': '{count} entrades no tenen coordenades i no s’han pogut comprovar.',
|
||
'dawarich.bucket.truncated': 'Només s’han comprovat les primeres entrades. Torna-ho a executar per a la resta.',
|
||
'dawarich.bucket.visitedFrom': 'Marcat a partir dels teus enregistraments de Dawarich',
|
||
'dawarich.bucket.clearVisit': 'Desfés',
|
||
|
||
// ── Atlas ──────────────────────────────────────────────────────────────────
|
||
'dawarich.atlas.title': 'Països des de Dawarich',
|
||
'dawarich.atlas.description':
|
||
'Països on els teus enregistraments diuen que has estat. Confirma els que vulguis al teu Atles — no s’hi afegeix res tot sol, i el que has marcat a mà continua sent teu.',
|
||
'dawarich.atlas.load': 'Busca països',
|
||
'dawarich.atlas.loading': 'S’estan llegint els teus enregistraments…',
|
||
'dawarich.atlas.empty': 'Els teus enregistraments no mostren cap país que TREK no tingui ja.',
|
||
'dawarich.atlas.cities': '{count} ciutats',
|
||
'dawarich.atlas.citiesOne': '1 ciutat',
|
||
'dawarich.atlas.accept': 'Afegeix {count} països',
|
||
'dawarich.atlas.accepted': '{count} països afegits',
|
||
'dawarich.atlas.unresolved': 'TREK no ha pogut associar això a cap país: {names}.',
|
||
'dawarich.atlas.source': 'Des de Dawarich',
|
||
'dawarich.atlas.range': 'S’ha mirat de {from} a {to}',
|
||
|
||
'dawarich.atlas.trigger': 'Desitjos i països dels teus registres',
|
||
'dawarich.atlas.dialogSubtitle': 'Què diuen els teus registres sobre el teu Atles',
|
||
'dawarich.atlas.tab.wishes': 'Llista de desitjos',
|
||
'dawarich.atlas.tab.countries': 'Països',
|
||
'dawarich.atlas.window': 'S’han revisat els darrers 12 mesos.',
|
||
'dawarich.selected': '{count} seleccionats',
|
||
'dawarich.again': 'Tornar a comprovar',
|
||
'dawarich.bucket.metersAway': 'a {meters} m',
|
||
'dawarich.bucket.kilometersAway': 'a {km} km',
|
||
'dawarich.bucket.rule': 'Un desig es considera assolit a menys de {meters} m i després de {minutes} minuts al lloc.',
|
||
|
||
'dawarich.journey.dayStays.one': '1 estada de Dawarich',
|
||
'dawarich.journey.dayStays.other': '{count} estades de Dawarich',
|
||
};
|
||
|
||
export default dawarich;
|