Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
10.8 KB
Raw Blame
---
zh-CN:
  snaptrade_items:
    default_name: "SnapTrade 连接"
    personal_key:
      success: "SnapTrade 个人 API 密钥已保存。正在同步您的账户..."
      missing_fields: "请同时输入 SnapTrade Client ID 和 Consumer Key。"
    destroy:
      success: "SnapTrade 连接已安排删除。"
    connect:
      decryption_failed: "无法读取 SnapTrade 凭据。请删除并重新创建此连接。"
      connection_failed: "连接 SnapTrade 失败:%{message}"
    callback:
      success: "券商已连接!请选择要关联的账户。"
      no_item: "未找到 SnapTrade 配置。"
    complete_account_setup:
      success:
        one: "已成功关联 %{count} 个账户。"
        other: "已成功关联 %{count} 个账户。"
      partial_success:
        one: "已关联 %{count} 个账户。%{failed_count} 个关联失败。"
        other: "已关联 %{count} 个账户。%{failed_count} 个关联失败。"
      link_failed: "关联账户失败:%{errors}"
      no_accounts: "未选择任何要关联的账户。"
    preload_accounts:
      not_configured: "SnapTrade 尚未配置。"
    select_accounts:
      not_configured: "SnapTrade 尚未配置。"
    oauth_authorize:
      not_configured: "SnapTrade 网页授权需要 SNAPTRADE_OAUTH_CLIENT_SECRET 以及 SNAPTRADE_OAUTH_CLIENT_ID。请设置该变量并重启,或使用设备代码进行授权。"
    oauth_callback:
      success: "SnapTrade 授权已完成。"
      access_denied: "SnapTrade 授权已取消。"
      state_mismatch: "SnapTrade 授权未通过安全检查。请重试。"
      failed: "无法完成 SnapTrade 授权。请重试。"
    oauth_device_flow:
      title: "连接 SnapTrade"
      subtitle: "使用设备代码授权 Sure 访问 SnapTrade。"
      instructions: "打开 SnapTrade,确认此设备代码,然后返回此处完成。"
      code_label: "设备代码"
      open_snaptrade: "打开 SnapTrade"
      start_button: "开始授权"
      complete_button: "我已在 SnapTrade 授权"
      cancel_button: "取消"
      missing_client_id: "SnapTrade OAuth 尚未配置。请将 SNAPTRADE_OAUTH_CLIENT_ID 添加至 .env.local,重启应用后再试。"
    start_oauth_device_flow:
      failed: "无法启动 SnapTrade 设备授权。请重试。"
    complete_oauth_device_flow:
      success: "SnapTrade 授权已完成。"
      device_code_required: "此连接当前没有正在进行的 SnapTrade 设备授权。请重新启动以获取新代码。"
      authorization_pending: "SnapTrade 尚未收到您的确认。请在 SnapTrade 中批准此代码,然后重试。"
      expired: "此设备代码已过期。请重新启动授权。"
      access_denied: "SnapTrade 授权已被拒绝。"
      failed: "无法完成 SnapTrade 设备授权。请重试。"
    select_existing_account:
      not_found: "未找到账户或 SnapTrade 配置。"
      title: "关联到 SnapTrade 账户"
      header: "关联现有账户"
      subtitle: "选择要关联的 SnapTrade 账户"
      no_accounts: "没有可关联的未链接 SnapTrade 账户。"
      connect_hint: "您可能需要先连接一个券商。"
      settings_link: "前往提供商设置"
      linking_to: "正在关联到账户:"
      balance_label: "余额:"
      link_button: "关联"
      cancel_button: "取消"
    link_existing_account:
      success: "已成功关联到 SnapTrade 账户。"
      failed: "关联账户失败:%{message}"
      not_found: "未找到账户。"
    connections:
      unknown_brokerage: "未知券商"
    delete_connection:
      success: "连接删除成功。已释放一个名额。"
      failed: "删除连接失败:%{message}"
      missing_authorization_id: "缺少授权 ID"
      api_deletion_failed: "无法从 SnapTrade 删除连接 - 缺少凭据。该连接可能仍存在于您的 SnapTrade 账户中。"
    setup_accounts:
      title: "设置 SnapTrade 账户"
      header: "设置您的 SnapTrade 账户"
      subtitle: "选择要关联的券商账户"
      syncing: "正在获取您的账户..."
      loading: "正在从 SnapTrade 获取账户..."
      loading_hint: "点击刷新检查是否有账户。"
      refresh: "刷新"
      info_title: "SnapTrade 投资数据"
      info_holdings: "含当前价格和数量的持仓"
      info_cost_basis: "每个持仓的成本基础(如可用)"
      info_activities: "带活动标签的交易历史(买入、卖出、分红等)"
      info_history: "最多 3 年的交易历史"
      free_tier_note: "SnapTrade 免费套餐允许 20 个券商连接。"
      no_accounts_title: "未找到账户"
      no_accounts_message: "未找到券商账户。这可能是因为您取消了连接,或者该券商不受支持。"
      try_again: "连接券商"
      back_to_settings: "返回设置"
      available_accounts: "可用账户"
      balance_label: "余额:"
      account_number: "账户:"
      account_type_label: "账户类型"
      account_types:
        depository: "支票或储蓄账户"
        credit_card: "信用卡"
        investment: "投资账户"
        crypto: "加密货币账户"
        loan: "贷款或信用额度"
        other_asset: "其他资产"
      sync_start_date_label: "从以下日期导入交易:"
      sync_start_date_help: "留空则使用全部可用历史"
      create_button: "创建所选账户"
      cancel_button: "取消"
      creating: "正在创建账户..."
      done_button: "完成"
      or_link_existing: "或者关联到现有账户,而不是创建新账户:"
      select_account: "选择一个账户..."
      link_button: "关联"
      linked_accounts: "已关联"
      linked_to: "已关联到:"
    snaptrade_item:
      accounts_need_setup:
        one: "%{count} 个账户需要设置"
        other: "%{count} 个账户需要设置"
      deletion_in_progress: "正在删除..."
      syncing: "正在同步..."
      requires_update: "连接需要更新"
      error: "同步错误"
      status: "%{timestamp} 前上次同步 - %{summary}"
      status_never: "从未同步"
      reconnect: "重新连接"
      connect_brokerage: "连接券商"
      add_another_brokerage: "再连接一个券商"
      delete: "删除"
      setup_needed: "账户需要设置"
      setup_description: "SnapTrade 的部分账户需要关联到 Sure 账户。"
      setup_action: "设置账户"
      setup_accounts_menu: "设置账户"
      manage_connections: "管理连接"
      more_accounts_available:
        one: "还有 %{count} 个账户可设置"
        other: "还有 %{count} 个账户可设置"
      no_accounts_title: "未发现账户"
      no_accounts_description: "连接一个券商以导入您的投资账户。"

  providers:
    snaptrade:
      name: "SnapTrade"
      connection_description: "通过 SnapTrade 连接您的券商(支持 25+ 券商)"
      description: "SnapTrade 连接 25+ 主流券商(Fidelity、Vanguard、Schwab、Robinhood 等),并提供带活动标签和成本基础的完整交易历史。"
      oauth_setup_step_1_html: "在 <a href=\"https://dashboard.snaptrade.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">dashboard.snaptrade.com</a> 注册一个 OAuth 应用"
      oauth_setup_step_2_html: "仅限浏览器流程:将此应用的回调 URL(<code>%{callback_url}</code>)添加为已注册的重定向 URI"
      oauth_setup_step_3: "在环境中设置 SNAPTRADE_OAUTH_CLIENT_ID 并重启。仅此项即可启用设备代码流程;若要同时支持浏览器流程,请一并添加 SNAPTRADE_OAUTH_CLIENT_SECRET"
      free_tier_warning: "SnapTrade 免费套餐覆盖 20 个券商连接。"
      oauth_title: "SnapTrade OAuth"
      oauth_status_ready: "授权 Sure 读取您的 SnapTrade 账户数据。"
      oauth_status_ready_device: "使用设备代码授权 Sure 读取您的 SnapTrade 账户数据。"
      oauth_status_authorized: "已完成 SnapTrade 授权。"
      oauth_status_personal_key: "正在使用您的 SnapTrade 个人 API 密钥进行同步。通过 OAuth 授权会将此连接切换为 OAuth。"
      oauth_alternative: "为他人运行 Sure?请改用注册 SnapTrade OAuth 应用的方式:"
      personal_key_title: "SnapTrade 个人 API 密钥"
      personal_key_description_html: '为您自己的券商账户使用免费的个人密钥。在 <a href="https://dashboard.snaptrade.com" target="_blank" rel="noopener noreferrer" class="underline">dashboard.snaptrade.com</a> 创建密钥,并将 Client ID 和 Consumer Key 粘贴到此处。'
      personal_key_client_id_label: "Client ID"
      personal_key_consumer_key_label: "Consumer Key"
      personal_key_save_button: "保存密钥"
      oauth_connect_button: "通过 SnapTrade 连接"
      oauth_device_button: "使用设备代码"
      oauth_reauthorize_button: "重新授权"
      status_connected:
        one: "%{count} 个来自 SnapTrade 的账户"
        other: "%{count} 个来自 SnapTrade 的账户"
      needs_setup:
        one: "%{count} 个需要设置"
        other: "%{count} 个需要设置"
      status_ready: "已准备好连接券商"
      setup_accounts_button: "设置账户"
      connect_button: "连接券商"
      connected_brokerages: "已连接:"
      manage_connections: "管理连接"
      loading_connections: "正在加载连接..."
      connections_error: "加载连接失败:%{message}"
      accounts_count:
        one: "%{count} 个账户"
        other: "%{count} 个账户"
      orphaned_connection: "孤立连接(未在本地同步)"
      needs_linking: "需要关联"
      no_connections: "未找到券商连接。"
      delete_connection: "删除"
      delete_connection_title: "删除券商连接?"
      delete_connection_body: "这将永久从 SnapTrade 中移除 %{brokerage} 连接。该券商的所有账户都会取消关联。您需要重新连接才能再次同步这些账户。"
      delete_connection_confirm: "删除连接"
      manage_at_snaptrade: "在 SnapTrade 管理连接"

  snaptrade_item:
    sync_status:
      no_accounts: "未找到账户"
      synced:
        one: "%{count} 个账户已同步"
        other: "%{count} 个账户已同步"
      synced_with_setup: "%{linked} 个已同步,%{unlinked} 个需要设置"
    institution_summary:
      none: "未连接任何机构"
      count:
        one: "%{count} 个机构"
        other: "%{count} 个机构"
    brokerage_summary:
      none: "未连接任何券商"
      count:
        one: "%{count} 个券商"
        other: "%{count} 个券商"
    syncer:
      discovering: "正在发现账户..."
      importing: "正在从 SnapTrade 导入账户..."
      processing: "正在处理持仓和活动..."
      calculating: "正在计算余额..."
      checking_config: "正在检查账户配置..."
      needs_setup: "%{count} 个账户需要设置..."
      activities_fetching_async: "活动正在后台获取中。对于新的券商连接,这可能需要最多一分钟。"