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.

11.8 KB
Raw Blame
import type { TranslationStrings } from '../types';

const dawarich: TranslationStrings = {
  // ── Connection ─────────────────────────────────────────────────────────────
  'dawarich.title': 'Dawarich',
  'dawarich.intro':
    'Connect your own Dawarich instance to see where you actually went. TREK reads it and suggests journal entries, places and countries; nothing is added until you confirm it, and nothing is written back to Dawarich.',
  'dawarich.url': 'Instance address',
  'dawarich.apiKey': 'API key',
  'dawarich.apiKeyPlaceholder': 'Paste your Dawarich API key',
  'dawarich.apiKeyHint': 'Found in Dawarich under Account → API key. Stored encrypted and never shown again.',
  'dawarich.allowInsecureTls': 'Allow self-signed certificate',
  'dawarich.allowInsecureTlsHint': 'Only needed if your instance uses a certificate your server does not trust.',
  'dawarich.syncEnabled': 'Check for new stays automatically',
  'dawarich.syncEnabledHint': 'Off means TREK only reads Dawarich when you ask it to.',
  'dawarich.test.button': 'Test connection',
  'dawarich.test.success': 'Connected. {count} stays found in the last 30 days.',
  'dawarich.test.success.one': 'Connected. {count} stay found in the last 30 days.',
  'dawarich.test.failed': 'Could not reach Dawarich.',
  'dawarich.syncNow': 'Check now',
  'dawarich.connected': 'Connected',
  'dawarich.notConnected': 'Not connected',
  'dawarich.disconnect': 'Disconnect',
  'dawarich.lastSync': 'Last checked {when}',
  'dawarich.neverSynced': 'Not checked yet',
  'dawarich.syncPartial': 'some trips could not be read',
  'dawarich.serverVersion': 'Dawarich {version}',

  'dawarich.toast.saved': 'Dawarich connection saved',
  'dawarich.toast.saveError': 'Could not save the connection',
  'dawarich.toast.disconnected': 'Dawarich disconnected',
  'dawarich.toast.synced': '{count} new stays found',
  'dawarich.toast.synced.one': '{count} new stay found',
  'dawarich.toast.syncError': 'Could not read Dawarich',
  'dawarich.toast.syncRunning': 'A check is already running',
  'dawarich.toast.acceptError': 'Could not add this',
  'dawarich.toast.updateError': 'Could not update this suggestion',
  'dawarich.toast.accepted.place': 'Added to the trip',
  'dawarich.toast.accepted.journal': 'Added to the journal',
  'dawarich.toast.accepted.bucket_list': 'Ticked off your wishlist',

  // ── What the connected instance can do ─────────────────────────────────────
  'dawarich.capability.visits': 'stays',
  'dawarich.capability.track': 'recorded route',
  'dawarich.capability.locations': 'wishlist matching',
  'dawarich.capability.visitedCities': 'countries and cities',
  'dawarich.capability.missing': 'This Dawarich version does not offer: {features}.',

  // ── Failure reasons, as sentences the reader can act on ────────────────────
  'dawarich.error.unreachable': 'TREK could not reach that address.',
  'dawarich.error.unauthorized': 'Dawarich rejected the API key.',
  'dawarich.error.forbidden': 'That API key is not allowed to read this.',
  'dawarich.error.not_found': 'This Dawarich version does not have that endpoint.',
  'dawarich.error.rate_limited': 'Dawarich asked TREK to slow down. Try again shortly.',
  'dawarich.error.server_error': 'Dawarich answered with an error.',
  'dawarich.error.invalid_response': 'That address answered with something that is not Dawarich.',
  'dawarich.error.too_large': 'Dawarich sent more data than TREK will read at once.',
  'dawarich.error.not_connected': 'No Dawarich instance is connected yet.',
  'dawarich.error.addon_disabled': 'The Dawarich addon is switched off for this instance.',
  'dawarich.error.offline': 'This needs a connection — TREK is offline right now.',
  'dawarich.error.invalid_url': 'TREK cannot use that address.',
  'dawarich.warning.private_ip':
    'That address resolves to a private IP ({ip}). Make sure that is what you meant — the server may need ALLOW_INTERNAL_NETWORK=true to reach it.',
  'dawarich.error.unknown': 'Something went wrong talking to Dawarich.',

  // ── The recorded route on the map ──────────────────────────────────────────
  'dawarich.trail.show': 'Show recorded route',
  'dawarich.trail.hide': 'Hide recorded route',
  'dawarich.trail.loading': 'Loading the recorded route…',
  'dawarich.trail.empty': 'Nothing was recorded on these dates',
  'dawarich.trail.offline': 'The recorded route needs a connection',
  'dawarich.trail.unavailable': 'The recorded route could not be loaded',

  // ── Suggestions ────────────────────────────────────────────────────────────
  'dawarich.duration.minutes': '{minutes} min',
  'dawarich.duration.hours': '{hours} h',
  'dawarich.duration.hoursMinutes': '{hours} h {minutes} min',
  'dawarich.checkedAgo': 'checked {ago}',

  'dawarich.badge.lowConfidence': 'Unsure',
  'dawarich.badge.sourceChanged': 'Changed in Dawarich',
  'dawarich.badge.sourceMissing': 'Gone from Dawarich',

  'dawarich.suggestions.title': 'From Dawarich',
  'dawarich.suggestions.pending': '{count} waiting for you',
  'dawarich.suggestions.pending.one': '{count} waiting for you',
  'dawarich.suggestions.loading': 'Reading Dawarich…',
  'dawarich.suggestions.notConnected': 'Connect Dawarich in Settings to see your stays here.',
  'dawarich.suggestions.unavailable': 'Dawarich could not be read.',
  'dawarich.suggestions.allHandled': 'Everything recorded here has been dealt with.',
  'dawarich.suggestions.asJournal': 'Write a journal entry',
  'dawarich.suggestions.asPlace': 'Add as a place',
  'dawarich.suggestions.dismiss': 'Not a place I visited',
  'dawarich.suggestions.dismissed': 'Dismissed',
  'dawarich.suggestions.restore': 'Put back',
  'dawarich.suggestions.showHandled': 'Show {count} already dealt with',
  'dawarich.suggestions.showHandled.one': 'Show {count} already dealt with',
  'dawarich.suggestions.hideHandled': 'Hide the ones already dealt with',
  'dawarich.suggestions.matchesWish': 'On your wishlist: {name}',
  'dawarich.suggestions.acceptedAs.place': 'Added as a place',
  'dawarich.suggestions.acceptedAs.journal': 'In the journal',
  'dawarich.suggestions.acceptedAs.bucket_list': 'Wish ticked off',
  'dawarich.suggestions.sourceChanged':
    'This stay has changed in Dawarich since you used it. What you wrote in TREK is untouched.',
  'dawarich.suggestions.sourceMissing': 'This stay no longer exists in Dawarich. What you wrote in TREK is untouched.',
  'dawarich.sourceStatus.suggested': 'Detected, unconfirmed',
  'dawarich.confidence.high': 'Confident detection',
  'dawarich.confidence.medium': 'Fairly confident detection',
  'dawarich.confidence.low': 'Uncertain detection',

  // ── The review step ────────────────────────────────────────────────────────
  'dawarich.accept.title.place': 'Add this stay as a place',
  'dawarich.accept.title.journal': 'Write a journal entry',
  'dawarich.accept.title.bucket_list': 'Tick off a wish',
  'dawarich.accept.confirm.place': 'Add place',
  'dawarich.accept.confirm.journal': 'Add entry',
  'dawarich.accept.confirm.bucket_list': 'Tick it off',
  'dawarich.accept.recorded': 'Recorded {from} until {to}',
  'dawarich.accept.duration': '{count} min',
  'dawarich.accept.duration.one': '{count} min',
  'dawarich.accept.name': 'Name',
  'dawarich.accept.date': 'Date',
  'dawarich.accept.from': 'Arrived',
  'dawarich.accept.to': 'Left',
  'dawarich.accept.trip': 'Trip',
  'dawarich.accept.thisTrip': 'This trip',
  'dawarich.accept.pickTrip': 'Choose a trip',
  'dawarich.accept.day': 'Day',
  'dawarich.accept.noDay': 'Not on a day yet',
  'dawarich.accept.journal': 'Journal',
  'dawarich.accept.pickJournal': 'Choose a journal',
  'dawarich.accept.notes': 'Notes',
  'dawarich.accept.story': 'Your story',
  'dawarich.accept.storyPlaceholder': 'What happened here?',
  'dawarich.accept.photosHint': 'Add photos to the entry after it is created.',

  // ── A place that came out of a recording ──────────────────────────────────
  'dawarich.place.fromDawarich': 'Added from your Dawarich recordings',

  // ── Wishlist ───────────────────────────────────────────────────────────────
  'dawarich.bucket.title': 'Check your wishlist against Dawarich',
  'dawarich.bucket.description':
    'Looks through your recordings for the places you wanted to reach. A visit needs both closeness and time spent — driving past does not count.',
  'dawarich.bucket.scan': 'Check wishlist',
  'dawarich.bucket.scanning': 'Checking…',
  'dawarich.bucket.noMatches': 'Nothing on your wishlist turned up in your recordings.',
  'dawarich.bucket.alreadyVisited': 'Already ticked off',
  'dawarich.bucket.confirm': 'Tick off {count}',
  'dawarich.bucket.confirm.one': 'Tick off {count}',
  'dawarich.bucket.confirmed': '{count} wishes ticked off',
  'dawarich.bucket.confirmed.one': '{count} wish ticked off',
  'dawarich.bucket.skipped': '{count} entries have no coordinates and could not be checked.',
  'dawarich.bucket.skipped.one': '{count} entry has no coordinates and could not be checked.',
  'dawarich.bucket.truncated': 'Only the first entries were checked. Run it again for the rest.',
  'dawarich.bucket.visitedFrom': 'Ticked off from your Dawarich recordings',
  'dawarich.bucket.clearVisit': 'Undo',

  // ── Atlas ──────────────────────────────────────────────────────────────────
  'dawarich.atlas.title': 'Countries from Dawarich',
  'dawarich.atlas.description':
    'Countries your recordings say you were in. Confirm the ones you want in your Atlas — nothing is added on its own, and what you marked by hand stays yours.',
  'dawarich.atlas.load': 'Look for countries',
  'dawarich.atlas.loading': 'Reading your recordings…',
  'dawarich.atlas.empty': 'Your recordings show no countries TREK does not already have.',
  'dawarich.atlas.cities': '{count} cities',
  'dawarich.atlas.cities.one': '{count} city',
  'dawarich.atlas.accept': 'Add {count} countries',
  'dawarich.atlas.accept.one': 'Add {count} country',
  'dawarich.atlas.accepted': '{count} countries added',
  'dawarich.atlas.accepted.one': '{count} country added',
  'dawarich.atlas.unresolved': 'TREK could not match these to a country: {names}.',
  'dawarich.atlas.source': 'From Dawarich',
  'dawarich.atlas.range': 'Looked at {from} to {to}',

  'dawarich.atlas.trigger': 'Wishes and countries from your recordings',
  'dawarich.atlas.dialogSubtitle': 'What your recordings say about your Atlas',
  'dawarich.atlas.tab.wishes': 'Wishlist',
  'dawarich.atlas.tab.countries': 'Countries',
  'dawarich.atlas.window': 'The last 12 months were looked at.',
  'dawarich.selected': '{count} selected',
  'dawarich.selected.one': '{count} selected',
  'dawarich.again': 'Check again',
  'dawarich.bucket.metersAway': '{meters} m away',
  'dawarich.bucket.kilometersAway': '{km} km away',
  'dawarich.bucket.rule': 'A wish counts as reached within {meters} m and after {count} minutes on the spot.',
  'dawarich.bucket.rule.one': 'A wish counts as reached within {meters} m and after {count} minute on the spot.',
  'dawarich.journey.dayStays.other': '{count} stays from Dawarich',
  'dawarich.journey.dayStays.one': '{count} stay from Dawarich',
};

export default dawarich;