Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

feat(i18n): add zh-CN for Redbark, Trade Republic and SnapTrade (#4767)

Kenrick Tandrian9effc4310d1f
diff --git a/config/locales/views/redbark_items/zh-CN.yml b/config/locales/views/redbark_items/zh-CN.yml
new file mode 100644
index 0000000000..cdd8ad8251
--- /dev/null
+++ b/config/locales/views/redbark_items/zh-CN.yml
@@ -0,0 +1,195 @@
+---
+zh-CN:
+ redbark_items:
+ default_name: "Redbark 连接"
+ sync_status:
+ no_accounts: "未找到账户"
+ synced:
+ one: "已同步 %{count} 个账户"
+ other: "已同步 %{count} 个账户"
+ synced_with_setup: "已同步 %{linked} 个,%{unlinked} 个需要设置"
+ institution_summary:
+ none: "未连接任何机构"
+ count:
+ one: "%{count} 个机构"
+ other: "%{count} 个机构"
+ errors:
+ provider_not_configured: "尚未配置 Redbark 提供商"
+
+ sync:
+ status:
+ importing: "正在从 Redbark 导入账户..."
+ processing: "正在处理交易..."
+ calculating: "正在计算余额..."
+ importing_data: "正在导入账户数据..."
+ checking_setup: "正在检查账户配置..."
+ needs_setup: "%{count} 个账户需要设置..."
+ success: "同步已开始"
+
+ panel:
+ step_1: "在 app.redbark.com 的“设置”中创建 API 密钥"
+ step_2: "在下方输入您的 API 密钥并点击“保存”按钮"
+ step_3: "连接成功后,前往“账户”选项卡设置新账户"
+ optional: "(可选)"
+ optional_with_default: "(可选,默认为 %{default_value})"
+ save_button: "保存配置"
+ update_button: "更新配置"
+ fields:
+ api_key:
+ label: "API 密钥"
+ placeholder_new: "rbk_live_..."
+ placeholder_update: "输入新的 API 密钥以更新"
+
+ create:
+ success: "Redbark 连接创建成功"
+ update:
+ success: "已更新 Redbark 连接"
+ destroy:
+ success: "已移除 Redbark 连接"
+ unlink_failed:
+ one: "无法取消关联 %{count} 个账户。请重试。"
+ other: "无法取消关联 %{count} 个账户。请重试。"
+
+ index:
+ title: "Redbark 连接"
+
+ loading:
+ loading_message: "正在加载 Redbark 账户..."
+ loading_title: "加载中"
+
+ redbark_item:
+ accounts_need_setup: "账户需要设置"
+ delete: "删除连接"
+ deletion_in_progress: "正在删除..."
+ error: "错误"
+ more_accounts_available:
+ one: "还有 %{count} 个账户可用"
+ other: "还有 %{count} 个账户可用"
+ no_accounts_description: "此连接尚未关联任何账户。"
+ no_accounts_title: "无账户"
+ provider_name: "Redbark"
+ requires_update: "连接需要更新"
+ setup_action: "设置新账户"
+ setup_description: "已关联 %{total} 个账户中的 %{linked} 个。请为新导入的 Redbark 账户选择账户类型。"
+ setup_needed: "新账户可供设置"
+ status: "%{timestamp} 前已同步"
+ status_never: "从未同步"
+ status_with_summary: "上次同步于 %{timestamp} 前 - %{summary}"
+ syncing: "正在同步..."
+ total: "总计"
+ unlinked: "未关联"
+ update_credentials: "更新凭据"
+
+ select_accounts:
+ accounts_selected: "个账户已选择"
+ api_error: "API 错误:%{message}"
+ cancel: "取消"
+ configure_name_in_provider: "无法导入 - 请在 Redbark 中配置账户名称"
+ description: "选择要关联到您的 %{product_name} 账户的账户。"
+ link_accounts: "关联所选账户"
+ no_accounts_found: "未找到账户。请检查您的 API 密钥配置。"
+ no_api_key: "Redbark API 密钥尚未配置。请在“设置”中进行配置。"
+ no_credentials_configured: "请先在提供商设置中配置您的 Redbark 凭据。"
+ no_name_placeholder: "(无名称)"
+ title: "选择 Redbark 账户"
+
+ select_existing_account:
+ account_already_linked: "此账户已关联到提供商"
+ all_accounts_already_linked: "所有 Redbark 账户均已关联"
+ api_error: "API 错误:%{message}"
+ balance_label: "余额:"
+ cancel: "取消"
+ cancel_button: "取消"
+ configure_name_in_provider: "无法导入 - 请在 Redbark 中配置账户名称"
+ connect_hint: "连接 Redbark 账户以启用自动同步。"
+ description: "选择一个 Redbark 账户与此账户关联。交易将自动同步并去重。"
+ header: "与 Redbark 关联"
+ link_account: "关联账户"
+ link_button: "关联此账户"
+ linking_to: "正在关联至:"
+ no_account_specified: "未指定账户"
+ no_accounts: "未找到未关联的 Redbark 账户。"
+ no_accounts_found: "未找到 Redbark 账户。请检查您的 API 密钥配置。"
+ no_api_key: "Redbark API 密钥尚未配置。请在“设置”中进行配置。"
+ no_credentials_configured: "请先在提供商设置中配置您的 Redbark 凭据。"
+ no_name_placeholder: "(无名称)"
+ settings_link: "前往提供商设置"
+ subtitle: "选择一个 Redbark 账户"
+ title: "将 %{account_name} 与 Redbark 关联"
+
+ link_existing_account:
+ account_already_linked: "此账户已关联到提供商"
+ api_error: "API 错误:%{message}"
+ invalid_account_name: "无法关联名称为空的账户"
+ provider_account_already_linked: "此 Redbark 账户已关联到另一个账户"
+ provider_account_not_found: "未找到 Redbark 账户"
+ missing_parameters: "缺少必要参数"
+ no_api_key: "未找到 Redbark API 密钥。请在提供商设置中进行配置。"
+ success: "已成功将 %{account_name} 与 Redbark 关联"
+
+ setup_accounts:
+ account_type_label: "账户类型:"
+ accounts_count:
+ one: "还有 %{count} 个账户可用"
+ other: "还有 %{count} 个账户可用"
+ all_accounts_linked: "您的所有 Redbark 账户都已设置完毕。"
+ api_error: "API 错误:%{message}"
+ creating: "正在创建账户..."
+ fetch_failed: "获取账户失败"
+ import_selected: "导入所选账户"
+ instructions: "选择您想从 Redbark 导入的账户。您可以多选。"
+ no_accounts: "此 Redbark 连接中未找到未关联的账户。"
+ no_accounts_to_setup: "没有需要设置的账户"
+ no_api_key: "Redbark API 密钥尚未配置。请检查您的连接设置。"
+ select_all: "全选"
+ account_types:
+ skip: "跳过此账户"
+ depository: "支票或储蓄账户"
+ credit_card: "信用卡"
+ loan: "贷款或房屋贷款"
+ other_asset: "其他资产"
+ subtype_labels:
+ depository: "账户子类型:"
+ credit_card: ""
+ loan: "贷款类型:"
+ other_asset: ""
+ subtype_messages:
+ credit_card: "信用卡将自动设置为信用卡账户。"
+ other_asset: "其他资产无需额外选项。"
+ subtypes:
+ depository:
+ checking: "支票账户 (Checking)"
+ savings: "储蓄账户 (Savings)"
+ hsa: "健康储蓄账户 (HSA)"
+ cd: "定期存款 (CD)"
+ money_market: "货币市场账户"
+ loan:
+ mortgage: "房屋贷款"
+ student: "学生贷款"
+ auto: "汽车贷款"
+ other: "其他贷款"
+ balance: "余额"
+ cancel: "取消"
+ done: "完成"
+ choose_account_type: "为每个 Redbark 账户选择正确的账户类型:"
+ create_accounts: "创建账户"
+ creating_accounts: "正在创建账户..."
+ historical_data_range: "历史数据范围:"
+ subtitle: "为导入的账户选择正确的账户类型"
+ sync_start_date_help: "选择您希望回溯同步交易历史的时间范围。"
+ sync_start_date_label: "开始同步交易的日期:"
+ title: "设置您的 Redbark 账户"
+
+ setup_required:
+ title: "请先连接 Redbark"
+ not_configured_title: "尚未连接 Redbark"
+ not_configured_description: "请先在提供商设置中添加您的 Redbark API 密钥,然后返回此处关联账户。"
+ go_to_provider_settings: "前往提供商设置"
+
+ complete_account_setup:
+ all_skipped: "已跳过所有账户。未创建任何账户。"
+ creation_failed: "创建账户失败:%{error}"
+ creation_failed_generic: "创建账户失败。"
+ setup_failed: "%{count} 个账户无法创建。其他内容均未更改 - 请解决此问题后重试。"
+ no_accounts: "没有需要设置的账户。"
+ success: "已成功创建 %{count} 个账户。"
diff --git a/config/locales/views/snaptrade_items/zh-CN.yml b/config/locales/views/snaptrade_items/zh-CN.yml
index ed0cb01073..8b4272abbd 100644
--- a/config/locales/views/snaptrade_items/zh-CN.yml
+++ b/config/locales/views/snaptrade_items/zh-CN.yml
@@ -3,111 +3,156 @@ zh-CN:
snaptrade_items:
default_name: "SnapTrade 连接"
destroy:
- success: SnapTrade 连接已安排删除。
+ success: "SnapTrade 连接已安排删除。"
connect:
- decryption_failed: 无法读取 SnapTrade 凭据。请删除并重新创建此连接。
- connection_failed: 连接 SnapTrade 失败:%{message}
+ decryption_failed: "无法读取 SnapTrade 凭据。请删除并重新创建此连接。"
+ connection_failed: "连接 SnapTrade 失败:%{message}"
callback:
- success: 券商已连接!请选择要关联的账户。
- no_item: 未找到 SnapTrade 配置。
+ success: "券商已连接!请选择要关联的账户。"
+ no_item: "未找到 SnapTrade 配置。"
complete_account_setup:
success:
- one: 已成功关联 %{count} 个账户。
- other: 已成功关联 %{count} 个账户。
+ one: "已成功关联 %{count} 个账户。"
+ other: "已成功关联 %{count} 个账户。"
partial_success:
- one: 已关联 %{count} 个账户。%{failed_count} 个关联失败。
- other: 已关联 %{count} 个账户。%{failed_count} 个关联失败。
- link_failed: 关联账户失败:%{errors}
- no_accounts: 未选择任何要关联的账户。
+ one: "已关联 %{count} 个账户。%{failed_count} 个关联失败。"
+ other: "已关联 %{count} 个账户。%{failed_count} 个关联失败。"
+ link_failed: "关联账户失败:%{errors}"
+ no_accounts: "未选择任何要关联的账户。"
preload_accounts:
- not_configured: SnapTrade 尚未配置。
+ not_configured: "SnapTrade 尚未配置。"
select_accounts:
- not_configured: SnapTrade 尚未配置。
+ 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: 取消
+ 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: 未找到账户。
+ success: "已成功关联到 SnapTrade 账户。"
+ failed: "关联账户失败:%{message}"
+ not_found: "未找到账户。"
connections:
- unknown_brokerage: 未知券商
+ unknown_brokerage: "未知券商"
delete_connection:
- success: 连接删除成功。已释放一个名额。
- failed: 删除连接失败:%{message}
- missing_authorization_id: 缺少授权 ID
- api_deletion_failed: 无法从 SnapTrade 删除连接 - 缺少凭据。该连接可能仍存在于您的 SnapTrade 账户中。
+ 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 免费套餐允许 5 个券商连接。当前使用情况请查看您的 SnapTrade 仪表盘。
- no_accounts_title: 未找到账户
- no_accounts_message: 未找到券商账户。这可能是因为您取消了连接,或者该券商不受支持。
- try_again: 连接券商
- back_to_settings: 返回设置
- available_accounts: 可用账户
- balance_label: 余额:
- account_number: 账户:
- 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: 已关联到:
+ 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: 同步错误
+ 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: 管理连接
+ 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: 连接一个券商以导入您的投资账户。
+ one: "还有 %{count} 个账户可设置"
+ other: "还有 %{count} 个账户可设置"
+ no_accounts_title: "未发现账户"
+ no_accounts_description: "连接一个券商以导入您的投资账户。"
+
providers:
snaptrade:
name: "SnapTrade"
- connection_description: 通过 SnapTrade 连接您的券商(支持 25+ 券商)
+ connection_description: "通过 SnapTrade 连接您的券商(支持 25+ 券商)"
description: "SnapTrade 连接 25+ 主流券商(Fidelity、Vanguard、Schwab、Robinhood 等),并提供带活动标签和成本基础的完整交易历史。"
- free_tier_warning: "SnapTrade 免费套餐覆盖 5 个券商连接。更多功能请在 SnapTrade 升级。"
+ 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_connect_button: "通过 SnapTrade 连接"
+ oauth_device_button: "使用设备代码"
+ oauth_reauthorize_button: "重新授权"
status_connected:
one: "%{count} 个来自 SnapTrade 的账户"
other: "%{count} 个来自 SnapTrade 的账户"
@@ -131,6 +176,8 @@ zh-CN:
delete_connection_title: "删除券商连接?"
delete_connection_body: "这将永久从 SnapTrade 中移除 %{brokerage} 连接。该券商的所有账户都会取消关联。您需要重新连接才能再次同步这些账户。"
delete_connection_confirm: "删除连接"
+ manage_at_snaptrade: "在 SnapTrade 管理连接"
+
snaptrade_item:
sync_status:
no_accounts: "未找到账户"
@@ -149,10 +196,10 @@ zh-CN:
one: "%{count} 个券商"
other: "%{count} 个券商"
syncer:
- discovering: 正在发现账户...
- importing: 正在从 SnapTrade 导入账户...
- processing: 正在处理持仓和活动...
- calculating: 正在计算余额...
- checking_config: 正在检查账户配置...
+ discovering: "正在发现账户..."
+ importing: "正在从 SnapTrade 导入账户..."
+ processing: "正在处理持仓和活动..."
+ calculating: "正在计算余额..."
+ checking_config: "正在检查账户配置..."
needs_setup: "%{count} 个账户需要设置..."
- activities_fetching_async: 活动正在后台获取中。对于新的券商连接,这可能需要最多一分钟。
\ No newline at end of file
+ activities_fetching_async: "活动正在后台获取中。对于新的券商连接,这可能需要最多一分钟。"
diff --git a/config/locales/views/trade_republic_items/zh-CN.yml b/config/locales/views/trade_republic_items/zh-CN.yml
index 1f82fc657b..ad4711fb2c 100644
--- a/config/locales/views/trade_republic_items/zh-CN.yml
+++ b/config/locales/views/trade_republic_items/zh-CN.yml
@@ -6,18 +6,22 @@ zh-CN:
connection_description: "通过安全的网页登录连接 Trade Republic 投资账户"
institution_name: Trade Republic
trade_republic_items:
- duplicate_connection: "此 Trade Republic 账户已连接。新的连接已被移除。"
portfolio_categories:
brokerage: "券商账户"
private_markets: "私募市场"
interest_products: "计息产品"
crypto_wallet: "加密货币钱包"
+ duplicate_connection: "此 Trade Republic 账户已连接。新的连接已被移除。"
+ defaults:
+ name: Trade Republic
trade_republic_item:
+ deletion_in_progress: "正在删除..."
syncing: "正在同步"
requires_update: "需要重新认证"
session_expires_in: "登录将在 %{time}后过期(%{at})。"
error: "错误"
synced: "%{time}前同步。%{summary}。"
+ never_synced: "从未同步。"
setup_accounts: "设置账户"
delete: "删除"
accounts_need_setup: "账户需要设置"
@@ -46,22 +50,46 @@ zh-CN:
one: "过去 30 天 %{count} 笔支出(%{amount})"
other: "过去 30 天 %{count} 笔支出(%{amount})"
reconciliation: "%{matched}/%{total} 个账户余额已核对"
- sync_history: 最近同步
+ sync_history: "最近同步"
sync_status:
- completed: 已完成
- failed: 失败
- pending: 待处理
- syncing: 同步中
- stale: 已过期
+ completed: "已完成"
+ failed: "失败"
+ pending: "待处理"
+ syncing: "同步中"
+ stale: "已过期"
setup_accounts:
page_title: "设置 Trade Republic 账户"
+ dialog_title: "设置您的 Trade Republic 账户"
subtitle: "关联您的 Trade Republic 投资账户。"
+ info_box:
+ title: "Trade Republic 导入"
+ items:
+ item_1: "包含当前价格和数量的持仓"
+ item_2: "已执行的交易(买入和卖出)"
+ item_3: "充值、提现及利息派发"
+ status:
+ fetching_accounts: "正在从 Trade Republic 获取账户..."
+ no_accounts_found_title: "未找到账户。"
+ no_accounts_found_description: "Sure 无法找到 Trade Republic 账户。请检查您的会话是否仍然有效。"
available_accounts:
- account_type_investment: "Investment portfolio"
- account_type_cash: "Cash account"
+ title: "可用账户"
+ account_type_investment: "投资组合"
+ account_type_cash: "现金账户"
+ account_type_crypto: "加密货币账户"
+ account_summary: "%{account_type} • 余额:%{balance}"
+ account_id: "账户 ID:%{account_id}"
+ link_existing:
+ description: "或者将发现的 Trade Republic 账户关联到现有手动投资账户。"
+ manual_account_option: "%{name} (%{balance})"
+ select_prompt: "选择一个账户..."
+ linked_accounts:
+ title: "已关联"
+ linked_to_html: "已关联至:%{account}"
buttons:
refresh: "刷新"
cancel: "取消"
+ back_to_settings: "返回设置"
+ create_selected_accounts: "创建所选账户"
link: "关联"
done: "完成"
sync:
@@ -71,40 +99,81 @@ zh-CN:
status:
checking_credentials: "正在检查 Trade Republic 凭据..."
importing_account: "正在导入 Trade Republic 账户..."
+ checking_configuration: "正在检查账户配置..."
+ accounts_need_setup:
+ one: "1 个 Trade Republic 账户需要设置..."
+ other: "%{count} 个 Trade Republic 账户需要设置..."
processing_activity: "正在处理持仓和活动..."
calculating_balances: "正在计算余额..."
repair:
scheduled: "已安排修复 Trade Republic 数据。"
+ sync_status:
+ no_accounts: "尚未发现 Trade Republic 账户"
+ all_linked:
+ one: "已关联 1 个账户"
+ other: "已关联 %{count} 个账户"
+ partial: "已关联 %{linked} 个,%{unlinked} 个需要设置"
select_existing_account:
title: "关联 Trade Republic 账户"
+ no_accounts_available: "暂无未关联的 Trade Republic 账户可用。"
+ run_sync_hint: "完成登录并在“设置 > 提供商”中运行同步。"
+ wait_for_sync: "等待账户发现同步完成。"
+ balance: "余额"
link: "关联"
cancel: "取消"
+ create:
+ success: "Trade Republic 已保存。请在 Trade Republic 应用中确认登录以完成连接。"
+ update:
+ success: "已成功更新 Trade Republic 配置。"
+ pin_required: "输入您的 Trade Republic PIN 或密码以重新认证。"
+ destroy:
+ success: "已安排删除 Trade Republic 连接。"
+ unlink_failed: "无法完全断开 Trade Republic 连接。已保留该连接以便安全重试。"
+ select_accounts:
+ not_configured: "Trade Republic 尚未配置。"
initiate_login:
+ not_configured: "Trade Republic 尚未配置。"
+ pin_required: "输入您的 Trade Republic PIN 或密码以开始新的登录。"
verification_required: "登录已开始。请通过 %{method} 确认,然后点击确认登录。"
+ initiate_qr_login:
+ not_configured: "Trade Republic 尚未配置。"
+ poll_login:
+ no_pending_login: "当前没有待处理的登录。请先发起新的登录。"
+ login_expired: "登录请求已过期。请重新开始。"
+ poll_qr_login:
+ no_pending_login: "没有待处理的二维码登录。"
+ success: "Trade Republic 已成功连接。"
complete_login:
+ no_pending_login: "当前没有待处理的登录。请先发起新的登录。"
approval_pending: "尚未确认。请在 Trade Republic 应用中批准登录,然后重试。"
+ still_pending: "尚未确认。请在 Trade Republic 应用中批准登录,然后重试。"
success: "Trade Republic 已成功连接。"
login_expired: "登录请求已过期。请重新开始。"
link_existing_account:
not_found: "未找到账户或 Trade Republic 配置。"
+ only_manual_investment: "只有手动投资账户才能关联到 Trade Republic。"
+ already_linked: "此 Trade Republic 账户已关联。"
success: "已成功关联 Trade Republic 账户。"
+ processing_failed: "账户已关联,但初始数据处理失败。已安排同步;如果仍未完成,请检查调试日志。"
+ failed: "关联 Trade Republic 账户失败。"
complete_account_setup:
success:
one: "已成功创建 %{count} 个 Trade Republic 账户。"
other: "已成功创建 %{count} 个 Trade Republic 账户。"
+ none_selected: "未选择任何账户。"
none_created: "未创建任何账户。"
partial_failure:
one: "无法完全设置所选的一个 Trade Republic 账户。请检查调试日志并重试。"
other: "无法完全设置所选的 %{count} 个 Trade Republic 账户。请检查调试日志并重试。"
activities:
labels:
- contribution: 入金
- withdrawal: 出金
- interest: 利息
- dividend: 股息
- card_payment: 刷卡支付
- cash_withdrawal: 现金取款
- card_fee: 卡费
- card_refund: 卡退款
- tax_refund: 退税
- round_up: Round up
+ contribution: "入金"
+ withdrawal: "出金"
+ interest: "利息"
+ dividend: "股息"
+ card_payment: "刷卡支付"
+ cash_withdrawal: "现金取款"
+ card_fee: "卡费"
+ card_refund: "卡退款"
+ tax_refund: "退税"
+ round_up: "Round up"