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.0 KB
Raw Blame
import type { TranslationStrings } from '../types';

const dawarich: TranslationStrings = {
  // ── Connection ─────────────────────────────────────────────────────────────
  'dawarich.title': 'Dawarich',
  'dawarich.intro':
    '连接你自己的 Dawarich 实例,看看你实际去过哪些地方。TREK 会读取它,并据此推荐日志条目、地点和国家;在你确认之前不会添加任何内容,也不会向 Dawarich 回写任何数据。',
  'dawarich.url': '实例地址',
  'dawarich.apiKey': 'API 密钥',
  'dawarich.apiKeyPlaceholder': '粘贴你的 Dawarich API 密钥',
  'dawarich.apiKeyHint': '在 Dawarich 的“账户 → API 密钥”中查看。加密存储,之后不会再次显示。',
  'dawarich.allowInsecureTls': '允许自签名证书',
  'dawarich.allowInsecureTlsHint': '仅当你的实例使用服务器不信任的证书时才需要。',
  'dawarich.syncEnabled': '自动检查新的停留记录',
  'dawarich.syncEnabledHint': '关闭后,TREK 只在你主动要求时才读取 Dawarich。',
  'dawarich.test.button': '测试连接',
  'dawarich.test.success': '已连接。最近 30 天内找到 {count} 条停留记录。',
  'dawarich.test.failed': '无法连接到 Dawarich。',
  'dawarich.syncNow': '立即检查',
  'dawarich.connected': '已连接',
  'dawarich.notConnected': '未连接',
  'dawarich.disconnect': '断开连接',
  'dawarich.lastSync': '上次检查于 {when}',
  'dawarich.neverSynced': '尚未检查',
  'dawarich.syncPartial': '部分行程无法读取',
  'dawarich.serverVersion': 'Dawarich {version}',

  'dawarich.toast.saved': 'Dawarich 连接已保存',
  'dawarich.toast.saveError': '无法保存连接',
  'dawarich.toast.disconnected': 'Dawarich 已断开连接',
  'dawarich.toast.synced': '找到 {count} 条新的停留记录',
  'dawarich.toast.syncError': '无法读取 Dawarich',
  'dawarich.toast.syncRunning': '已有一次检查正在进行',
  'dawarich.toast.acceptError': '无法添加',
  'dawarich.toast.updateError': '无法更新此建议',
  'dawarich.toast.accepted.place': '已添加到行程',
  'dawarich.toast.accepted.journal': '已添加到旅程日志',
  'dawarich.toast.accepted.bucket_list': '已从愿望清单中勾掉',

  // ── What the connected instance can do ─────────────────────────────────────
  'dawarich.capability.visits': '停留记录',
  'dawarich.capability.track': '记录的路线',
  'dawarich.capability.locations': '愿望清单匹配',
  'dawarich.capability.visitedCities': '国家和城市',
  'dawarich.capability.missing': '此版本的 Dawarich 不提供:{features}。',

  // ── Failure reasons, as sentences the reader can act on ────────────────────
  'dawarich.error.unreachable': 'TREK 无法连接到该地址。',
  'dawarich.error.unauthorized': 'Dawarich 拒绝了该 API 密钥。',
  'dawarich.error.forbidden': '该 API 密钥没有读取此内容的权限。',
  'dawarich.error.not_found': '此版本的 Dawarich 没有该接口。',
  'dawarich.error.rate_limited': 'Dawarich 要求 TREK 放慢速度。请稍后再试。',
  'dawarich.error.server_error': 'Dawarich 返回了一个错误。',
  'dawarich.error.invalid_response': '该地址返回的内容不是 Dawarich。',
  'dawarich.error.too_large': 'Dawarich 返回的数据超出了 TREK 一次可读取的上限。',
  'dawarich.error.not_connected': '尚未连接任何 Dawarich 实例。',
  'dawarich.error.addon_disabled': '此实例已关闭 Dawarich 插件。',
  'dawarich.error.offline': '这需要联网 — TREK 当前处于离线状态。',
  'dawarich.error.invalid_url': 'TREK 无法使用该地址。',
  'dawarich.warning.private_ip':
    '该地址解析到内网 IP({ip})。请确认这是你想要的——服务器可能需要 ALLOW_INTERNAL_NETWORK=true 才能访问。',
  'dawarich.error.unknown': '与 Dawarich 通信时出了问题。',

  // ── The recorded route on the map ──────────────────────────────────────────
  'dawarich.trail.show': '显示记录的路线',
  'dawarich.trail.hide': '隐藏记录的路线',
  'dawarich.trail.loading': '正在加载记录的路线…',
  'dawarich.trail.empty': '这些日期没有任何记录',
  'dawarich.trail.offline': '查看记录的路线需要网络连接',
  'dawarich.trail.unavailable': '无法加载记录的路线',

  // ── Suggestions ────────────────────────────────────────────────────────────
  'dawarich.duration.minutes': '{minutes} 分钟',
  'dawarich.duration.hours': '{hours} 小时',
  'dawarich.duration.hoursMinutes': '{hours} 小时 {minutes} 分钟',
  'dawarich.checkedAgo': '{ago}检查过',

  'dawarich.badge.lowConfidence': '不确定',
  'dawarich.badge.sourceChanged': 'Dawarich 中已更改',
  'dawarich.badge.sourceMissing': '已从 Dawarich 消失',

  'dawarich.suggestions.title': '来自 Dawarich',
  'dawarich.suggestions.pending': '{count} 条待处理',
  'dawarich.suggestions.loading': '正在读取 Dawarich…',
  'dawarich.suggestions.notConnected': '请在“设置”中连接 Dawarich,以便在这里看到你的停留记录。',
  'dawarich.suggestions.unavailable': '无法读取 Dawarich。',
  'dawarich.suggestions.allHandled': '这里记录的内容都已处理完毕。',
  'dawarich.suggestions.asJournal': '写一篇日志',
  'dawarich.suggestions.asPlace': '添加为地点',
  'dawarich.suggestions.dismiss': '我没有去过这里',
  'dawarich.suggestions.dismissed': '已忽略',
  'dawarich.suggestions.restore': '放回来',
  'dawarich.suggestions.showHandled': '显示已处理的 {count} 条',
  'dawarich.suggestions.hideHandled': '隐藏已处理的内容',
  'dawarich.suggestions.matchesWish': '在你的愿望清单上:{name}',
  'dawarich.suggestions.acceptedAs.place': '已添加为地点',
  'dawarich.suggestions.acceptedAs.journal': '已在旅程日志中',
  'dawarich.suggestions.acceptedAs.bucket_list': '心愿已勾掉',
  'dawarich.suggestions.sourceChanged':
    '自你使用之后,这条停留记录在 Dawarich 中已发生变化。你在 TREK 中写下的内容不受影响。',
  'dawarich.suggestions.sourceMissing': '这条停留记录在 Dawarich 中已不存在。你在 TREK 中写下的内容不受影响。',
  'dawarich.sourceStatus.suggested': '已识别,未确认',
  'dawarich.confidence.high': '识别结果可信',
  'dawarich.confidence.medium': '识别结果较为可信',
  'dawarich.confidence.low': '识别结果不确定',

  // ── The review step ────────────────────────────────────────────────────────
  'dawarich.accept.title.place': '将这条停留记录添加为地点',
  'dawarich.accept.title.journal': '写一篇日志',
  'dawarich.accept.title.bucket_list': '勾掉一个心愿',
  'dawarich.accept.confirm.place': '添加地点',
  'dawarich.accept.confirm.journal': '添加条目',
  'dawarich.accept.confirm.bucket_list': '勾掉它',
  'dawarich.accept.recorded': '记录时间:{from} 至 {to}',
  'dawarich.accept.duration': '{count} 分钟',
  'dawarich.accept.name': '名称',
  'dawarich.accept.date': '日期',
  'dawarich.accept.from': '到达',
  'dawarich.accept.to': '离开',
  'dawarich.accept.trip': '行程',
  'dawarich.accept.thisTrip': '当前行程',
  'dawarich.accept.pickTrip': '选择一个行程',
  'dawarich.accept.day': '日期安排',
  'dawarich.accept.noDay': '尚未安排到某一天',
  'dawarich.accept.journal': '旅程日志',
  'dawarich.accept.pickJournal': '选择一本日志',
  'dawarich.accept.notes': '备注',
  'dawarich.accept.story': '你的故事',
  'dawarich.accept.storyPlaceholder': '这里发生了什么?',
  'dawarich.accept.photosHint': '条目创建后可以再添加照片。',

  // ── A place that came out of a recording ──────────────────────────────────
  'dawarich.place.fromDawarich': '来自你的 Dawarich 记录',

  // ── Wishlist ───────────────────────────────────────────────────────────────
  'dawarich.bucket.title': '用 Dawarich 核对你的愿望清单',
  'dawarich.bucket.description': '在你的记录中查找那些你一直想去的地方。算作到访既要够近,也要待够时间——路过不算。',
  'dawarich.bucket.scan': '核对愿望清单',
  'dawarich.bucket.scanning': '核对中…',
  'dawarich.bucket.noMatches': '你的记录中没有出现愿望清单上的任何地方。',
  'dawarich.bucket.alreadyVisited': '已勾掉',
  'dawarich.bucket.confirm': '勾掉 {count} 项',
  'dawarich.bucket.confirmed': '已勾掉 {count} 个心愿',
  'dawarich.bucket.skipped': '有 {count} 条记录没有坐标,无法核对。',
  'dawarich.bucket.truncated': '只核对了前面的部分条目。请再运行一次以处理其余内容。',
  'dawarich.bucket.visitedFrom': '依据你的 Dawarich 记录勾掉',
  'dawarich.bucket.clearVisit': '撤销',

  // ── Atlas ──────────────────────────────────────────────────────────────────
  'dawarich.atlas.title': '来自 Dawarich 的国家',
  'dawarich.atlas.description':
    '你的记录显示你到过这些国家。确认你想加入足迹地图的那些——不会自动添加任何内容,你手动标记的记录也依然保留。',
  'dawarich.atlas.load': '查找国家',
  'dawarich.atlas.loading': '正在读取你的记录…',
  'dawarich.atlas.empty': '你的记录中没有出现 TREK 尚未收录的国家。',
  'dawarich.atlas.cities': '{count} 座城市',
  'dawarich.atlas.accept': '添加 {count} 个国家',
  'dawarich.atlas.accepted': '已添加 {count} 个国家',
  'dawarich.atlas.unresolved': 'TREK 无法把这些匹配到某个国家:{names}。',
  'dawarich.atlas.source': '来自 Dawarich',
  'dawarich.atlas.range': '查看范围:{from} 至 {to}',

  'dawarich.atlas.trigger': '来自记录的心愿与国家',
  'dawarich.atlas.dialogSubtitle': '你的记录对足迹地图说了什么',
  'dawarich.atlas.tab.wishes': '心愿单',
  'dawarich.atlas.tab.countries': '国家',
  'dawarich.atlas.window': '已查看最近 12 个月。',
  'dawarich.selected': '已选择 {count} 项',
  'dawarich.again': '再查一次',
  'dawarich.bucket.metersAway': '{meters} 米外',
  'dawarich.bucket.kilometersAway': '{km} 公里外',
  'dawarich.bucket.rule': '在 {meters} 米以内停留 {count} 分钟以上,才算实现心愿。',
  'dawarich.journey.dayStays.other': '来自 Dawarich 的 {count} 条停留记录',
};

export default dawarich;