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.

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

const oauth: TranslationStrings = {
  'oauth.scope.group.trips': '行程',
  'oauth.scope.group.places': '地点',
  'oauth.scope.group.collections': '收藏夹',
  'oauth.scope.group.atlas': '足迹',
  'oauth.scope.group.packing': '行李',
  'oauth.scope.group.todos': '待办事项',
  'oauth.scope.group.budget': '预算',
  'oauth.scope.group.reservations': '预订',
  'oauth.scope.group.collab': '协作',
  'oauth.scope.group.notifications': '通知',
  'oauth.scope.group.vacay': '假期',
  'oauth.scope.group.geo': '地图服务',
  'oauth.scope.group.weather': '天气',
  'oauth.scope.group.journey': '旅程',
  'oauth.scope.trips:read.label': '查看行程和行程计划',
  'oauth.scope.trips:read.description': '读取行程、天数、每日笔记和成员',
  'oauth.scope.trips:write.label': '编辑行程和行程计划',
  'oauth.scope.trips:write.description': '创建和更新行程、天数、笔记并管理成员',
  'oauth.scope.trips:delete.label': '删除行程',
  'oauth.scope.trips:delete.description': '永久删除整个行程——此操作不可撤销',
  'oauth.scope.trips:share.label': '管理分享链接',
  'oauth.scope.trips:share.description': '创建、更新和撤销行程的公开分享链接',
  'oauth.scope.places:read.label': '查看地点和地图数据',
  'oauth.scope.places:read.description': '读取地点、每日分配、标签和分类',
  'oauth.scope.places:write.label': '管理地点',
  'oauth.scope.places:write.description': '创建、更新和删除地点、分配和标签',
  'oauth.scope.collections:read.label': '查看收藏夹',
  'oauth.scope.collections:read.description': '读取收藏夹及其中的地点、评分、标签和成员',
  'oauth.scope.collections:write.label': '管理收藏夹',
  'oauth.scope.collections:write.description': '创建/编辑收藏夹,保存、评分、标注、复制地点,以及分享列表',
  'oauth.scope.atlas:read.label': '查看足迹',
  'oauth.scope.atlas:read.description': '读取已访问国家、地区和心愿清单',
  'oauth.scope.atlas:write.label': '管理足迹',
  'oauth.scope.atlas:write.description': '标记已访问国家和地区,管理心愿清单',
  'oauth.scope.packing:read.label': '查看行李清单',
  'oauth.scope.packing:read.description': '读取行李物品、包袋和分类负责人',
  'oauth.scope.packing:write.label': '管理行李清单',
  'oauth.scope.packing:write.description': '添加、更新、删除、勾选和重新排列行李物品和包袋',
  'oauth.scope.todos:read.label': '查看待办清单',
  'oauth.scope.todos:read.description': '读取行程待办事项和分类负责人',
  'oauth.scope.todos:write.label': '管理待办清单',
  'oauth.scope.todos:write.description': '创建、更新、勾选、删除和重新排列待办事项',
  'oauth.scope.budget:read.label': '查看预算',
  'oauth.scope.budget:read.description': '读取预算条目和费用明细',
  'oauth.scope.budget:write.label': '管理预算',
  'oauth.scope.budget:write.description': '创建、更新和删除预算条目',
  'oauth.scope.reservations:read.label': '查看预订',
  'oauth.scope.reservations:read.description': '读取预订和住宿详情',
  'oauth.scope.reservations:write.label': '管理预订',
  'oauth.scope.reservations:write.description': '创建、更新、删除和重新排列预订',
  'oauth.scope.collab:read.label': '查看协作',
  'oauth.scope.collab:read.description': '读取协作笔记、投票和消息',
  'oauth.scope.collab:write.label': '管理协作',
  'oauth.scope.collab:write.description': '创建、更新和删除协作笔记、投票和消息',
  'oauth.scope.notifications:read.label': '查看通知',
  'oauth.scope.notifications:read.description': '读取应用内通知和未读数量',
  'oauth.scope.notifications:write.label': '管理通知',
  'oauth.scope.notifications:write.description': '将通知标记为已读并回复',
  'oauth.scope.vacay:read.label': '查看假期计划',
  'oauth.scope.vacay:read.description': '读取假期计划数据、条目和统计',
  'oauth.scope.vacay:write.label': '管理假期计划',
  'oauth.scope.vacay:write.description': '创建和管理假期条目、节假日和团队计划',
  'oauth.scope.geo:read.label': '地图和地理编码',
  'oauth.scope.geo:read.description': '搜索位置、解析地图 URL 和反向地理编码坐标',
  'oauth.scope.weather:read.label': '天气预报',
  'oauth.scope.weather:read.description': '获取行程地点和日期的天气预报',
  'oauth.scope.journey:read.label': '查看旅程',
  'oauth.scope.journey:read.description': '读取旅程、条目和贡献者列表',
  'oauth.scope.journey:write.label': '管理旅程',
  'oauth.scope.journey:write.description': '创建、更新和删除旅程及其条目',
  'oauth.scope.journey:share.label': '管理旅程链接',
  'oauth.scope.journey:share.description': '创建、更新和撤销旅程的公开分享链接',
  'oauth.authorize.authorizing': '正在授权…',
  'oauth.authorize.loading': '正在加载…',
  'oauth.authorize.errorTitle': '授权错误',
  'oauth.authorize.loginTitle': '登录后继续',
  'oauth.authorize.loginDescription': '{client} 想要访问你的 TREK 账户,请先登录。',
  'oauth.authorize.loginButton': '登录 TREK',
  'oauth.authorize.requestLabel': '授权请求',
  'oauth.authorize.requestDescription': '此应用正在请求访问你的 TREK 账户。',
  'oauth.authorize.verifiedHost': '已验证的域名:{host}',
  'oauth.authorize.trustNote': '只向你信任的应用授权,你的数据仍保留在自己的服务器上。',
  'oauth.authorize.selectScope': '请至少选择一项权限范围',
  'oauth.authorize.approveScopes': '批准({count} 项权限)',
  'oauth.authorize.approveAccess': '批准访问',
  'oauth.authorize.deny': '拒绝',
  'oauth.authorize.choosePermissions': '选择要授予的权限',
  'oauth.authorize.permissionsRequested': '请求的权限',
  'oauth.authorize.alwaysIncluded': '始终包含',
  'oauth.authorize.alwaysTool.listTrips': '列出你的行程,以使 AI 找到行程 ID',
  'oauth.authorize.alwaysTool.getTripSummary': '读取行程概览,这是使用其他工具所需的信息',
  'oauth.scope.group.files': '文件',
  'oauth.scope.group.settings': '设置',
  'oauth.scope.files:read.label': '查看行程文件',
  'oauth.scope.files:read.description': '列出行程的文档:名称、大小、上传者以及关联的对象',
  'oauth.scope.files:write.label': '管理行程文件',
  'oauth.scope.files:write.description': '重命名和描述文件,关联到预订和地点,标记星标并移入回收站',
  'oauth.scope.files:content.label': '读取文件内容',
  'oauth.scope.files:content.description': '读取已上传文档的内容,例如预订 PDF 或票据',
  'oauth.scope.settings:read.label': '查看你的偏好设置',
  'oauth.scope.settings:read.description': '读取单位、时间格式、语言、默认货币和起始页',
  'oauth.scope.settings:write.label': '更改你的偏好设置',
  'oauth.scope.settings:write.description': '更改单位、时间格式、语言、默认货币和起始页。绝不涉及已保存的 API 密钥',
  'oauth.scope.group.plugins': '插件',
  'oauth.scope.plugins:use.label': '运行插件工具',
  'oauth.scope.plugins:use.description':
    '允许此客户端调用由管理员安装并批准的插件所发布的工具。每个插件都以其已获授予的权限运行,而不是以此令牌的权限范围运行',
};
export default oauth;