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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import type { TranslationStrings } from '../types';
const storage: TranslationStrings = {
// Field labels/help — these keys are pinned by STORAGE_BACKEND_TYPES in
// @trek/shared (labelKey/helpKey); renaming one breaks the admin form.
'storage.field.root': 'Root directory',
'storage.help.root': 'Absolute path on the server where this backend stores its objects.',
'storage.field.endpoint': 'Endpoint URL',
'storage.help.endpoint':
'Base URL of the S3-compatible service, e.g. https://s3.example.com or http://127.0.0.1:9000.',
'storage.field.bucket': 'Bucket',
'storage.field.accessKeyId': 'Access key ID',
'storage.field.secretAccessKey': 'Secret access key',
'storage.field.region': 'Region',
'storage.help.region': 'Keep the default unless your provider requires a specific region.',
'storage.field.keyPrefix': 'Key prefix',
'storage.help.keyPrefix': 'Optional prefix added to every object key, e.g. trek/prod.',
'storage.field.retries': 'Retries',
'storage.field.timeoutMs': 'Timeout (ms)',
'storage.field.primary': 'Primary backend',
'storage.field.replicas': 'Replicas',
// Panel chrome
'storage.title': 'Storage',
'storage.description': 'Where TREK keeps uploaded files, photos and backups. Nothing changes until you save.',
'storage.loading': 'Loading…',
'storage.saved': 'Storage configuration saved',
'storage.save': 'Save changes',
'storage.unsaved': 'Unsaved changes',
'storage.saveConflict':
'Storage settings changed since you loaded them, so your changes were not saved. Discard them and reload the saved settings to start over.',
'storage.discardAndReload': 'Discard my changes and reload',
'storage.configError.banner': 'Stored storage settings failed to load — saving will replace them: {error}',
// Backends list
'storage.backends.title': 'Backends',
'storage.backends.add': 'Add backend',
'storage.backends.usedBy': 'Used by: {categories}',
'storage.backends.unused': 'Not assigned to any category',
'storage.backends.envReadOnly': 'Defined by an environment variable (read-only)',
'storage.source.built-in': 'Built-in',
'storage.source.env': 'Environment',
'storage.source.settings': 'Settings',
'storage.type.local': 'Local',
'storage.type.s3': 'S3',
'storage.type.mirror': 'Mirror',
'storage.actions.test': 'Test',
'storage.actions.edit': 'Edit',
'storage.actions.remove': 'Remove',
// Test-connection results
'storage.test.running': 'Testing…',
'storage.test.ok': 'Connection OK',
'storage.test.failed': 'Test failed',
// Remove pre-check (friendly message; the server stays authoritative)
'storage.remove.title': 'Remove backend',
'storage.remove.body':
'Remove {name} from the configuration? The server rejects the save if anything still depends on it.',
'storage.remove.stillAssigned': 'Still assigned to: {categories}',
// Backend form
'storage.form.addTitle': 'Add backend',
'storage.form.editTitle': 'Edit backend',
'storage.form.name': 'Name',
'storage.form.type': 'Type',
'storage.form.apply': 'Apply',
'storage.form.cancel': 'Cancel',
'storage.form.duplicateName': 'A backend named {name} already exists',
// Category map
'storage.categories.title': 'Categories',
'storage.categories.default': 'default',
'storage.categories.reassignWarning':
'Existing objects do not move: new objects go to the newly assigned backend, old ones stay where they are.',
'storage.category.files': 'Trip documents',
'storage.category.journey': 'Journey photos',
'storage.category.covers': 'Cover images',
'storage.category.avatars': 'Profile pictures',
'storage.category.places': 'Place images',
'storage.category.photos-google': 'Google photo cache',
'storage.category.photos-trek': 'TREK photo cache',
'storage.category.backups': 'Backups',
// What each category stores — rendered under the label in the category map.
'storage.categoryDesc.files':
'File attachments uploaded to trips — tickets, PDFs, booking confirmations, and files shared in trip chat.',
'storage.categoryDesc.journey': 'Photos and thumbnails attached to journey entries.',
'storage.categoryDesc.covers': 'Trip and collection cover images, including covers fetched from Unsplash.',
'storage.categoryDesc.avatars': 'User account profile pictures.',
'storage.categoryDesc.places': 'Images attached to places and collection places — uploaded or imported.',
'storage.categoryDesc.photos-google': 'Cached copies of Google Places photos — re-fetchable, safe to lose.',
'storage.categoryDesc.photos-trek':
'Cached photos from the TREK photo service used by Memories — re-fetchable, safe to lose.',
'storage.categoryDesc.backups': 'Server backup archives created by the Backup panel or schedule.',
// Health strip
'storage.health.title': 'Health',
'storage.health.allClear': 'No replica failures recorded.',
'storage.health.seedFile':
'A storage-config.json seed file is present but ignored — configuration rows already exist. Manage storage here.',
'storage.health.failureLine': '{op} of {key} on {backend} failed: {error}',
// Replicas-on-primary mirror UX (2026-08-20 spec)
'storage.mirror.targets': 'Mirror targets',
'storage.mirror.targetsHelp': 'Every write to this backend is also copied to each selected target.',
'storage.mirror.latencyNote':
'Replicas are written one after another during each upload — a slow or unreachable target slows every upload of every category on this backend.',
'storage.mirror.mirroredTo': 'Mirrored to: {targets}',
'storage.mirror.replicaOf': 'Replica of: {primaries}',
'storage.mirror.cacheWarning':
'Not recommended: this category holds re-fetchable content — replicating it is usually wasteful.',
'storage.mirror.degenerate.duplicate-mirror':
'A second mirror wraps {primary} — the panel manages only the first; remove this one to manage mirroring from {primary}.',
'storage.mirror.degenerate.env-primary': 'Wraps an environment-defined backend — not editable here.',
'storage.mirror.degenerate.missing-primary': 'References a backend that no longer exists.',
'storage.remove.usedAsReplicaBy': 'Used as replica by: {primaries}',
// Backfill + usage (backfill/stats/notifications spec)
'storage.sync.now': 'Sync now',
'storage.sync.running': 'Syncing… {done}/{total}',
'storage.sync.counts': '{copied} copied · {skipped} skipped · {failed} failed',
'storage.sync.cancel': 'Cancel sync',
'storage.sync.done': 'Sync finished: {copied} copied, {deleted} deleted, {failed} failed',
'storage.sync.cancelled': 'Sync cancelled',
'storage.sync.error': 'Sync failed: {error}',
'storage.sync.prompt': 'Existing objects are not replicated yet — sync now?',
'storage.sync.dismiss': 'Dismiss',
'storage.usage.line': '{count} objects · {size}',
'storage.usage.line.one': '{count} object · {size}',
'storage.usage.computed': 'Usage computed {age}',
'storage.usage.never': 'Usage not computed yet',
'storage.usage.refresh': 'Refresh',
'storage.usage.compute': 'Compute now',
'storage.usage.legacyNote': 'includes the legacy photo library',
// Category migration (copy → flip → delta sweep)
'storage.migrate.promptTitle': 'Move existing objects to the new backend?',
'storage.migrate.promptLine': '{category}: {count} objects ({size}) from {from} to {to}',
'storage.migrate.promptLine.one': '{category}: {count} object ({size}) from {from} to {to}',
'storage.migrate.promptLineUnknown': '{category}: unknown size (no usage scan yet) from {from} to {to}',
'storage.migrate.move': 'Move existing objects',
'storage.migrate.routeOnly': 'Just route new writes',
'storage.migrate.running': 'Moving {category}… {done}/{total}',
'storage.migrate.done': 'Move finished: {copied} copied, {skipped} skipped',
'storage.migrate.doneFailures': '{failed} failed — those objects were not copied to the new backend',
'storage.migrate.failed': 'Move failed: {error} — the category was not switched',
'storage.migrate.cancelled': 'Move cancelled — nothing was switched',
'storage.migrate.reclaimable': '{count} objects ({size}) remain on {from}, reclaim manually',
'storage.migrate.reclaimable.one': '{count} object ({size}) remains on {from}, reclaim manually',
'storage.migrate.cancel': 'Cancel move',
'storage.migrate.promptCancel': 'Cancel',
'storage.migrate.queued': 'Queued: {categories}',
'storage.migrate.queueDropped': 'Could not start the next migration — the remaining queue was cleared: {categories}',
'storage.reclaim.title': 'Unreferenced files',
'storage.reclaim.hint':
'Every night TREK looks for uploaded files that no trip, place, journal, collection or user uses any more, for example after a trip was deleted.',
'storage.reclaim.check': 'Check now',
'storage.reclaim.checked': 'Last check: {age}',
'storage.reclaim.never': 'Not checked yet',
'storage.reclaim.delete': 'Delete unreferenced files',
'storage.reclaim.deleteHint':
'Off, the nightly check only reports. On, a file nothing has used for a week is deleted. Files you delete in TREK are removed a day later either way, once no undo can bring them back.',
'storage.reclaim.freeable': 'Can be freed',
'storage.reclaim.waiting': 'Unused for less than a week',
'storage.reclaim.deleted': 'Freed by the last nightly cleanup',
'storage.reclaim.nothing': 'No unreferenced files found.',
'storage.reclaim.stopped': 'The last check stopped early because the database was restored while it ran.',
'storage.reclaim.skip.sources_missing': 'Skipped: not every part of TREK could be asked',
'storage.reclaim.skip.shared_location': 'Skipped: shares its location with another category',
'storage.reclaim.skip.list_failed': 'Skipped: the files could not be listed',
'storage.reclaim.skip.source_failed': 'Skipped: a lookup failed',
'storage.reclaim.running': 'Checking…',
'storage.reclaim.stoppedFailed': 'The last check stopped after an error. It runs again tonight.',
'storage.reclaim.skip.foreign_install': 'Skipped: another TREK installation uses this storage',
'storage.reclaim.skip.owner_unknown': 'Skipped: TREK could not mark this storage as its own',
'storage.reclaim.skip.delete_failed': 'Stopped: the storage refused a delete',
'storage.reclaim.skip.interrupted': 'Stopped before it finished, the figures are partial',
'storage.reclaim.confirmNeeded':
'More than a fifth of these files look unused. Nothing here is deleted until you confirm that this is expected.',
'storage.reclaim.confirm': 'Confirm',
'storage.reclaim.confirmed': 'Confirmed for the next 14 days.',
'storage.reclaim.error.reclaim_busy': 'Another storage task is running. Try again in a moment.',
'storage.reclaim.error.reclaim_demo': 'Not available on a demo instance.',
'storage.reclaim.error.reclaim_nothing_to_confirm': 'There is nothing to confirm any more. Run a check first.',
'storage.reclaim.skip.backup_running': 'Skipped: a backup was running',
'storage.reclaim.error.reclaim_confirm_stale':
'The count has changed since it was shown. Check the new figure and confirm again.',
'storage.reclaim.error.reclaim_install_unknown':
'TREK could not read its installation id, so it deletes nothing. Check the data folder.',
};
export default storage;