The personal finance app for everyone (by everyone)
Ruby
chore(i18n): complete Chinese locale coverage (#2010)
Mengf397b1a72232
diff --git a/config/locales/breadcrumbs/zh-CN.yml b/config/locales/breadcrumbs/zh-CN.ymlindex 978e8396c3..2103f4c8d5 100644--- a/config/locales/breadcrumbs/zh-CN.yml+++ b/config/locales/breadcrumbs/zh-CN.yml@@ -1,6 +1,87 @@---zh-CN:breadcrumbs:+ account_sharings: 账户共享+ account_statements: 对账单库+ accounts: 账户+ ai_prompts: AI 提示词+ api_key: API 密钥+ api_keys: API 密钥+ appearance: 外观+ appearances: 外观+ bank_sync: 银行同步+ binance_items: Binance+ brex_items: Brex+ budget_categories: 预算分类+ budgets: 预算+ categories: 分类+ categorize: 分类+ chats: 聊天+ coinbase_items: Coinbase+ coinstats_items: CoinStats+ credit_cards: 信用卡+ cryptos: 加密资产+ dashboard: 仪表盘+ debug: 调试+ debugs: 调试+ depositories: 现金账户+ enable_banking_items: Enable Bankingexports: 导出+ family_exports: 导出+ family_merchants: 商户+ guides: 指南+ holdings: 持仓home: 主页+ hostings: 自托管+ ibkr_items: Interactive Brokers+ impersonation_sessions: 模拟会话imports: 导入+ indexa_capital_items: Indexa Capital+ intro: 介绍+ investments: 投资+ invitations: 邀请+ invite_codes: 邀请码+ kraken_items: Kraken+ llm_usage: LLM 用量+ llm_usages: LLM 用量+ loans: 贷款+ lunchflow_items: Lunch Flow+ merchants: 商户+ mercury_items: Mercury+ messages: 消息+ mfa: 双重验证+ oidc_accounts: OIDC 账户+ onboardings: 入门+ other_assets: 其他资产+ other_liabilities: 其他负债+ payments: 付款+ pending_duplicate_merges: 重复项审核+ plaid_items: Plaid+ preferences: 偏好设置+ profile: 个人资料+ profiles: 个人资料+ properties: 房产+ providers: 提供商+ recurring_transactions: 循环交易+ registrations: 注册+ reports: 报表+ rules: 规则+ securities: 证券+ security: 证券+ self_hosting: 自托管+ sessions: 登录+ simplefin_items: SimpleFIN+ snaptrade_items: SnapTrade+ sophtron_items: Sophtron+ splits: 拆分+ sso_identities: SSO 连接+ sso_providers: SSO 提供商+ subscriptions: 订阅+ tags: 标签+ trades: 交易+ transactions: 交易+ transfer_matches: 转账匹配+ transfers: 转账+ users: 用户+ valuations: 估值+ vehicles: 车辆diff --git a/config/locales/defaults/zh-CN.yml b/config/locales/defaults/zh-CN.ymlindex 03bcb770ce..370d0833a9 100644--- a/config/locales/defaults/zh-CN.yml+++ b/config/locales/defaults/zh-CN.yml@@ -1,5 +1,12 @@---zh-CN:+ defaults:+ brand_name: "%{brand_name}"+ product_name: "%{product_name}"+ common:+ close: 关闭+ global:+ expand: 展开activerecord:errors:messages:@@ -62,19 +69,43 @@ zh-CN:- :daydatetime:distance_in_words:- about_x_hours: 大约%{count}小时- about_x_months: 大约%{count}个月- about_x_years: 大约%{count}年- almost_x_years: 接近%{count}年+ about_x_hours:+ one: 大约%{count}小时+ other: 大约%{count}小时+ about_x_months:+ one: 大约%{count}个月+ other: 大约%{count}个月+ about_x_years:+ one: 大约%{count}年+ other: 大约%{count}年+ almost_x_years:+ one: 接近%{count}年+ other: 接近%{count}年half_a_minute: 半分钟- less_than_x_minutes: 不到%{count}分钟- less_than_x_seconds: 不到%{count}秒- over_x_years: "%{count}年多"- x_days: "%{count}天"- x_minutes: "%{count}分钟"- x_months: "%{count}个月"- x_seconds: "%{count}秒"- x_years: "%{count}年"+ less_than_x_minutes:+ one: 不到%{count}分钟+ other: 不到%{count}分钟+ less_than_x_seconds:+ one: 不到%{count}秒+ other: 不到%{count}秒+ over_x_years:+ one: "%{count}年多"+ other: "%{count}年多"+ x_days:+ one: "%{count}天"+ other: "%{count}天"+ x_minutes:+ one: "%{count}分钟"+ other: "%{count}分钟"+ x_months:+ one: "%{count}个月"+ other: "%{count}个月"+ x_seconds:+ one: "%{count}秒"+ other: "%{count}秒"+ x_years:+ one: "%{count}年"+ other: "%{count}年"prompts:day: 日hour: 时@@ -107,15 +138,25 @@ zh-CN:present: 必须是空白required: 必须存在taken: 已经被使用- too_long: 过长(最长为%{count}个字符)- too_short: 过短(最短为%{count}个字符)- wrong_length: 长度非法(必须为%{count}个字符)+ too_long:+ one: 过长(最长为%{count}个字符)+ other: 过长(最长为%{count}个字符)+ too_short:+ one: 过短(最短为%{count}个字符)+ other: 过短(最短为%{count}个字符)+ wrong_length:+ one: 长度非法(必须为%{count}个字符)+ other: 长度非法(必须为%{count}个字符)template:body: 如下字段出现错误:- header: 有%{count}个错误发生导致"%{model}"无法被保存。+ header:+ one: '%{count}个错误导致"%{model}"无法被保存。'+ other: '%{count}个错误导致"%{model}"无法被保存。'helpers:select:prompt: 请选择+ search_placeholder: 搜索+ default_label: 选择...submit:create: 新增%{model}submit: 储存%{model}@@ -137,10 +178,14 @@ zh-CN:format: "%n %u"units:billion: 十亿- million: 百万+ million:+ one: 百万+ other: 百万quadrillion: 千兆thousand: 千- trillion: 兆+ trillion:+ one: 兆+ other: 兆unit: ''format:delimiter: ''@@ -150,7 +195,9 @@ zh-CN:storage_units:format: "%n %u"units:- byte: 字节+ byte:+ one: 字节+ other: 字节eb: EBgb: GBkb: KB@@ -166,7 +213,7 @@ zh-CN:delimiter: ''support:array:- last_word_connector: "、"+ last_word_connector: 和two_words_connector: 和words_connector: "、"time:diff --git a/config/locales/doorkeeper.zh-CN.yml b/config/locales/doorkeeper.zh-CN.ymlindex 84b730a13a..67b4f3af0c 100644--- a/config/locales/doorkeeper.zh-CN.yml+++ b/config/locales/doorkeeper.zh-CN.yml@@ -31,7 +31,7 @@ zh-CN:edit:title: 编辑应用form:- error: 错误!请检查表单中的可能错误+ error: 错误!请检查表单中可能存在的错误。help:blank_redirect_uri: 如果您的提供商配置为使用客户端凭据、资源所有者密码凭据或其他不需要重定向 URI 的授权类型,请留空。confidential: 此应用将用于可以保密客户端密钥的场景。原生移动应用和单页应用被视为非保密应用。@@ -64,6 +64,7 @@ zh-CN:authorize: 授权deny: 拒绝error:+ go_back: 返回title: 发生错误form_post:title: 提交此表单@@ -72,6 +73,8 @@ zh-CN:prompt: 授权 %{client_name} 使用您的账户吗?title: 需要授权show:+ authorization_code_label: 授权码:+ copy_instructions: 复制此代码并粘贴到应用中。title: 授权代码authorized_applications:buttons:@@ -86,31 +89,28 @@ zh-CN:errors:messages:access_denied: 资源所有者或授权服务器拒绝了请求。- admin_authenticator_not_configured: 访问管理面板被禁止,因为 Doorkeeper.configure.admin_authenticator- 未配置。- credential_flow_not_configured: 资源所有者密码凭据流程失败,因为 Doorkeeper.configure.resource_owner_from_credentials- 未配置。+ admin_authenticator_not_configured: 访问管理面板被禁止,因为 Doorkeeper.configure.admin_authenticator 未配置。+ credential_flow_not_configured: 资源所有者密码凭据流程失败,因为 Doorkeeper.configure.resource_owner_from_credentials 未配置。forbidden_token:- missing_scope: 访问此资源需要权限范围 "%{oauth_scopes}"。- invalid_client: 客户端认证失败:未知客户端、未包含客户端认证或使用了不受支持的认证方法。+ missing_scope: 访问此资源需要范围 "%{oauth_scopes}"。+ invalid_client: 客户端认证失败:未知客户端、未包含客户端认证,或使用了不受支持的认证方法。invalid_code_challenge_method:one: code_challenge_method 必须是 %{challenge_methods}。other: code_challenge_method 必须是以下之一:%{challenge_methods}。zero: 授权服务器不支持 PKCE,因为没有可接受的 code_challenge_method 值。- invalid_grant: 提供的授权授权码无效、已过期、已撤销、与授权请求中使用的重定向 URI 不匹配,或已颁发给其他客户端。- invalid_redirect_uri: 请求的重定向 URI 格式不正确或与客户端重定向 URI 不匹配。+ invalid_grant: 提供的授权许可无效、已过期、已撤销,或与授权请求中使用的重定向 URI 不匹配,或已颁发给其他客户端。+ invalid_redirect_uri: 请求的重定向 URI 格式不正确,或与客户端重定向 URI 不匹配。invalid_request:- invalid_code_challenge: 需要代码挑战参数。- missing_param: 缺少必要参数:%{value}。- request_not_authorized: 请求需要授权。授权请求的必要参数缺失或无效。- unknown: 请求缺少必要参数、包含不受支持的参数值或格式不正确。- invalid_scope: 请求的权限范围无效、未知或格式不正确。+ invalid_code_challenge: 需要代码挑战。+ missing_param: 缺少必需参数:%{value}。+ request_not_authorized: 请求需要授权。授权请求所需的参数缺失或无效。+ unknown: 请求缺少必需参数、包含不受支持的参数值,或以其他方式格式不正确。+ invalid_scope: 请求的范围无效、未知或格式不正确。invalid_token:expired: 访问令牌已过期revoked: 访问令牌已被撤销unknown: 访问令牌无效- resource_owner_authenticator_not_configured: 资源所有者查找失败,因为 Doorkeeper.configure.resource_owner_authenticator- 未配置。+ resource_owner_authenticator_not_configured: 资源所有者查找失败,因为 Doorkeeper.configure.resource_owner_authenticator 未配置。revoke:unauthorized: 您无权撤销此令牌server_error: 授权服务器遇到意外情况,无法完成请求。@@ -133,9 +133,9 @@ zh-CN:layouts:admin:nav:- applications: 应用管理- home: 首页- oauth2_provider: OAuth2 提供商+ applications: 应用+ home: 主页+ oauth2_provider: OAuth2 提供方title: Doorkeeperapplication:title: 需要 OAuth 授权diff --git a/config/locales/mailers/pdf_import_mailer/zh-CN.yml b/config/locales/mailers/pdf_import_mailer/zh-CN.ymlnew file mode 100644index 0000000000..0594bde987--- /dev/null+++ b/config/locales/mailers/pdf_import_mailer/zh-CN.yml@@ -0,0 +1,5 @@+---+zh-CN:+ pdf_import_mailer:+ next_steps:+ subject: "您的 PDF 文档已被分析 - %{product_name}"diff --git a/config/locales/models/account_statement/zh-CN.yml b/config/locales/models/account_statement/zh-CN.ymlnew file mode 100644index 0000000000..df10f0a737--- /dev/null+++ b/config/locales/models/account_statement/zh-CN.yml@@ -0,0 +1,30 @@+---+zh-CN:+ activerecord:+ attributes:+ account_statement:+ account: 账户+ account_last4_hint: 账户尾四位+ account_name_hint: 账户名称提示+ closing_balance: 期末余额+ content_sha256: 内容摘要+ currency: 货币+ filename: 文件名+ institution_name_hint: 机构提示+ opening_balance: 期初余额+ original_file: 对账单文件+ period_end_on: 周期结束+ period_start_on: 周期开始+ errors:+ models:+ account_statement:+ attributes:+ checksum:+ duplicate_statement_file: 该家庭已上传过此文件+ content_sha256:+ duplicate_statement_file: 该家庭已上传过此文件+ original_file:+ invalid_format: 必须是 PDF、CSV 或 XLSX 文件+ too_large: 文件过大。最大大小为 %{max_mb}MB+ period_end_on:+ on_or_after_start: 必须晚于或等于周期开始日期diff --git a/config/locales/models/api_key/zh-CN.yml b/config/locales/models/api_key/zh-CN.ymlnew file mode 100644index 0000000000..a1dd69504d--- /dev/null+++ b/config/locales/models/api_key/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ api_key:+ cannot_destroy_demo_key: 不能删除演示监控 API 密钥diff --git a/config/locales/models/brex_item/zh-CN.yml b/config/locales/models/brex_item/zh-CN.ymlnew file mode 100644index 0000000000..cadb5800be--- /dev/null+++ b/config/locales/models/brex_item/zh-CN.yml@@ -0,0 +1,14 @@+---+zh-CN:+ activerecord:+ attributes:+ brex_item:+ base_url: Base URL+ name: 连接名称+ token: Token+ errors:+ models:+ brex_item:+ attributes:+ base_url:+ official_hosts_only: 必须为空,或是 https://api.brex.com,或是 https://api-staging.brex.comdiff --git a/config/locales/models/category/zh-CN.yml b/config/locales/models/category/zh-CN.ymlnew file mode 100644index 0000000000..2e422df496--- /dev/null+++ b/config/locales/models/category/zh-CN.yml@@ -0,0 +1,29 @@+---+zh-CN:+ models:+ category:+ uncategorized: 未分类+ other_investments: 其他投资+ investment_contributions: 投资投入+ defaults:+ income: 收入+ food_and_drink: 餐饮+ groceries: 杂货+ shopping: 购物+ transportation: 交通+ travel: 旅行+ entertainment: 娱乐+ healthcare: 医疗保健+ personal_care: 个人护理+ home_improvement: 家居改善+ mortgage_rent: 房贷 / 房租+ utilities: 公用事业+ subscriptions: 订阅+ insurance: 保险+ sports_and_fitness: 运动与健身+ gifts_and_donations: 礼物与捐赠+ taxes: 税费+ loan_payments: 贷款还款+ services: 服务+ fees: 费用+ savings_and_investments: 储蓄与投资diff --git a/config/locales/models/category_import/zh-CN.yml b/config/locales/models/category_import/zh-CN.ymlnew file mode 100644index 0000000000..fc751e1bdd--- /dev/null+++ b/config/locales/models/category_import/zh-CN.yml@@ -0,0 +1,8 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ category_import:+ own_parent: "分类 '%{name}' 不能是其自身的上级分类"+ missing_columns: "缺少必需列:%{columns}"diff --git a/config/locales/models/chat/zh-CN.yml b/config/locales/models/chat/zh-CN.ymlnew file mode 100644index 0000000000..9d17d41149--- /dev/null+++ b/config/locales/models/chat/zh-CN.yml@@ -0,0 +1,8 @@+---+zh-CN:+ chat:+ errors:+ rate_limited: AI 提供商当前已触发限流,请几分钟后再试。+ temporarily_unavailable: AI 提供商当前暂时不可用,请几分钟后再试。+ misconfigured: AI 提供商配置不正确,请联系您的管理员。+ default: 生成回复失败,请重试。diff --git a/config/locales/models/coinbase_account/zh-CN.yml b/config/locales/models/coinbase_account/zh-CN.ymlnew file mode 100644index 0000000000..f36d2b7693--- /dev/null+++ b/config/locales/models/coinbase_account/zh-CN.yml@@ -0,0 +1,5 @@+---+zh-CN:+ coinbase:+ processor:+ paid_via: "通过 %{method} 付款"diff --git a/config/locales/models/coinstats_item/zh-CN.yml b/config/locales/models/coinstats_item/zh-CN.ymlnew file mode 100644index 0000000000..393ee58453--- /dev/null+++ b/config/locales/models/coinstats_item/zh-CN.yml@@ -0,0 +1,10 @@+---+zh-CN:+ models:+ coinstats_item:+ syncer:+ importing_wallets: 正在从 CoinStats 导入加密账户...+ checking_configuration: 正在检查 CoinStats 账户配置...+ wallets_need_setup: "%{count} 个加密账户需要设置..."+ processing_holdings: 正在处理持仓...+ calculating_balances: 正在计算余额...diff --git a/config/locales/models/indexa_capital_item/zh-CN.yml b/config/locales/models/indexa_capital_item/zh-CN.ymlnew file mode 100644index 0000000000..cfc42fa40f--- /dev/null+++ b/config/locales/models/indexa_capital_item/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ indexa_capital_item:+ credentials_required: 必须提供 INDEXA_API_TOKEN 环境变量,或用户名/文档/密码凭据diff --git a/config/locales/models/period/zh-CN.yml b/config/locales/models/period/zh-CN.ymlnew file mode 100644index 0000000000..319082bb4a--- /dev/null+++ b/config/locales/models/period/zh-CN.yml@@ -0,0 +1,54 @@+---+zh-CN:+ period:+ last_day:+ label_short: "1D"+ label: "最近 1 天"+ comparison_label: "与昨天相比"+ current_week:+ label_short: "WTD"+ label: "本周"+ comparison_label: "与周初相比"+ last_7_days:+ label_short: "7D"+ label: "最近 7 天"+ comparison_label: "与上周相比"+ current_month:+ label_short: "MTD"+ label: "本月"+ comparison_label: "与月初相比"+ last_month:+ label_short: "LM"+ label: "上月"+ comparison_label: "与上月相比"+ last_30_days:+ label_short: "30D"+ label: "最近 30 天"+ comparison_label: "与最近 30 天相比"+ last_90_days:+ label_short: "90D"+ label: "最近 90 天"+ comparison_label: "与上个季度相比"+ current_year:+ label_short: "YTD"+ label: "本年"+ comparison_label: "与年初相比"+ last_365_days:+ label_short: "365D"+ label: "最近 365 天"+ comparison_label: "与 1 年前相比"+ last_5_years:+ label_short: "5Y"+ label: "最近 5 年"+ comparison_label: "与 5 年前相比"+ last_10_years:+ label_short: "10Y"+ label: "最近 10 年"+ comparison_label: "与 10 年前相比"+ all_time:+ label_short: "All"+ label: "全部时间"+ comparison_label: "与起始时间相比"+ custom:+ label_short: "自定义"+ label: "自定义周期"diff --git a/config/locales/models/plaid_account/zh-CN.yml b/config/locales/models/plaid_account/zh-CN.ymlnew file mode 100644index 0000000000..383a733d95--- /dev/null+++ b/config/locales/models/plaid_account/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ plaid_account:+ no_balance: Plaid 账户必须具有“当前余额”或“可用余额”之一diff --git a/config/locales/models/recurring_transaction/zh-CN.yml b/config/locales/models/recurring_transaction/zh-CN.ymlnew file mode 100644index 0000000000..cad8fd3f12--- /dev/null+++ b/config/locales/models/recurring_transaction/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ recurring_transaction:+ merchant_or_name_required: 商户或名称至少必须存在一个diff --git a/config/locales/models/rule/zh-CN.yml b/config/locales/models/rule/zh-CN.ymlnew file mode 100644index 0000000000..e48cb69082--- /dev/null+++ b/config/locales/models/rule/zh-CN.yml@@ -0,0 +1,9 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ rule:+ min_actions: 至少必须有一个动作+ duplicate_actions: 规则不能有重复动作 %{types}+ nested_conditions: 复合条件不能嵌套diff --git a/config/locales/models/rule_import/zh-CN.yml b/config/locales/models/rule_import/zh-CN.ymlnew file mode 100644index 0000000000..710c3acfcb--- /dev/null+++ b/config/locales/models/rule_import/zh-CN.yml@@ -0,0 +1,9 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ rule_import:+ unsupported_resource_type: "不支持的资源类型:%{resource_type}"+ invalid_json: "conditions 或 actions 中的 JSON 无效:%{message}"+ min_actions: 规则至少必须有一个动作diff --git a/config/locales/models/simplefin_account/zh-CN.yml b/config/locales/models/simplefin_account/zh-CN.ymlnew file mode 100644index 0000000000..20d6705adf--- /dev/null+++ b/config/locales/models/simplefin_account/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ simplefin_account:+ no_balance: SimpleFIN 账户必须具有“当前余额”或“可用余额”之一diff --git a/config/locales/models/sophtron_account/zh-CN.yml b/config/locales/models/sophtron_account/zh-CN.ymlnew file mode 100644index 0000000000..d1db48e002--- /dev/null+++ b/config/locales/models/sophtron_account/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ sophtron_account:+ no_balance: Sophtron 账户必须具有“当前余额”或“可用余额”之一diff --git a/config/locales/models/sso_provider/zh-CN.yml b/config/locales/models/sso_provider/zh-CN.ymlnew file mode 100644index 0000000000..c40f37eee6--- /dev/null+++ b/config/locales/models/sso_provider/zh-CN.yml@@ -0,0 +1,12 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ sso_provider:+ attributes:+ settings:+ saml_url_required: SAML 提供商需要 IdP Metadata URL 或 IdP SSO URL 其中之一+ saml_cert_required: 如果不使用元数据 URL,则需要 IdP Certificate 或 Certificate Fingerprint 其中之一+ metadata_url_invalid: IdP Metadata URL 必须是有效的 URL+ sso_url_invalid: IdP SSO URL 必须是有效的 URLdiff --git a/config/locales/models/transaction/zh-CN.yml b/config/locales/models/transaction/zh-CN.ymlnew file mode 100644index 0000000000..913c6975b9--- /dev/null+++ b/config/locales/models/transaction/zh-CN.yml@@ -0,0 +1,11 @@+---+zh-CN:+ activerecord:+ errors:+ models:+ transaction:+ attributes:+ attachments:+ too_many: 每笔交易不能超过 %{max} 个附件+ too_large: 第 %{index} 个文件过大(最大 %{max_mb}MB)+ invalid_format: 第 %{index} 个文件格式不受支持(%{file_format})diff --git a/config/locales/views/account_sharings/zh-CN.yml b/config/locales/views/account_sharings/zh-CN.ymlnew file mode 100644index 0000000000..ba3976b4ce--- /dev/null+++ b/config/locales/views/account_sharings/zh-CN.yml@@ -0,0 +1,29 @@+---+zh-CN:+ account_sharings:+ show:+ title: 账户共享+ subtitle: 控制谁可以查看并与此账户互动+ member: 成员+ permission: 权限+ shared: 已共享+ no_members: 您的 %{moniker} 中没有其他成员可供共享+ permissions:+ full_control: 完全控制+ full_control_description: 可以查看、编辑和管理交易+ read_write: 可标注+ read_write_description: 可以分类、添加标签和备注+ read_only: 仅查看+ read_only_description: 只能查看账户数据+ save: 保存共享设置+ owner_label: "所有者:%{name}"+ shared_with_count:+ one: 与 1 位成员共享+ other: "与 %{count} 位成员共享"+ include_in_finances: 包含在我的预算和报表中+ exclude_from_finances: 不包含在我的预算和报表中+ finance_toggle_description: 将此账户计入您的净资产、预算和报表+ update:+ success: 共享设置已更新+ not_owner: 只有账户所有者才能管理共享+ finance_toggle_success: 财务包含偏好已更新diff --git a/config/locales/views/account_statements/zh-CN.yml b/config/locales/views/account_statements/zh-CN.ymlnew file mode 100644index 0000000000..73e27a5139--- /dev/null+++ b/config/locales/views/account_statements/zh-CN.yml@@ -0,0 +1,116 @@+---+zh-CN:+ account_statements:+ account_tab:+ coverage_title: 对账单覆盖范围+ coverage_description: 由已上传对账单和余额核验支持的历史月份。+ coverage_range: "%{start} - %{end}"+ empty: 此账户尚未关联任何对账单。+ open_inbox: 收件箱+ statements_title: 对账单+ year_label: 覆盖年份+ balance:+ unknown: 未知+ coverage:+ status:+ ambiguous: 模糊+ covered: 已覆盖+ duplicate: 重复+ mismatched: 不匹配+ missing: 缺失+ not_expected: 非预期+ create:+ duplicates:+ one: 已跳过 1 份重复对账单。+ other: 已跳过 %{count} 份重复对账单。+ invalid_file_type: 请上传不超过大小限制的 PDF、CSV 或 XLSX 对账单。+ no_files: 请至少选择一个对账单文件。+ success:+ one: 已上传 1 份对账单。+ other: 已上传 %{count} 份对账单。+ destroy:+ failure: 无法删除对账单。+ success: 对账单已删除。+ form:+ account_upload: 上传对账单+ files_hint: PDF、CSV 或 XLSX。每个文件最大 %{max_size}MB。+ files_label: 对账单文件+ inbox_upload: 上传+ index:+ account_label: 账户+ confidence: "%{confidence} 匹配"+ empty_linked: 尚无已关联的对账单。+ empty_unmatched: 对账单收件箱已清空。+ leave_unmatched: 保持未匹配+ linked_title: 已关联的对账单+ no_suggestion: 没有建议+ storage_used: 已用存储+ title: 对账单库+ unmatched_title: 未匹配收件箱+ upload_description: 将对账单上传到收件箱,或选择一个账户立即关联。+ upload_title: 上传对账单+ link:+ no_account: 在关联此对账单之前,请先选择一个账户。+ success: 已将对账单关联到 %{account}。+ period:+ unknown: 周期未知+ reconciliation:+ checks:+ closing_balance: 期末余额+ opening_balance: 期初余额+ period_movement: 周期变动+ unknown_check: 未知检查+ matched: 已匹配+ mismatched: 不匹配+ unavailable: 未检查+ reject:+ success: 已拒绝对账单匹配。+ show:+ account_label: 账户+ account_last4_hint: 账户尾四位+ account_name_hint: 账户名称提示+ closing_balance: 期末余额+ currency: 货币+ delete: 删除+ difference: 差额+ download: 下载+ institution_name_hint: 机构提示+ ledger_amount: Sure 账本+ linked_to: 已关联到 %{account}。+ linking_title: 账户关联+ link_suggestion: 关联建议+ metadata_title: 对账单元数据+ no_suggestion: 还没有账户建议。+ opening_balance: 期初余额+ period_end_on: 周期结束+ period_start_on: 周期开始+ reconciliation_title: 对账+ reconciliation_unavailable: 请先添加对账单周期以及期初或期末余额,然后确保 Sure 在这些日期有余额历史。+ reject: 拒绝+ save: 保存对账单+ statement_amount: 对账单+ suggested_account: 建议账户是 %{account}(置信度 %{confidence})。+ title: 对账单+ unlink: 取消关联+ unmatched_account: 未匹配收件箱+ unknown_value: 未知+ status:+ linked: 已关联+ rejected: 已拒绝+ unmatched: 未匹配+ table:+ account: 账户+ actions: 操作+ download: 下载+ file: 文件+ link_suggestion: 关联建议+ period: 周期+ reconciliation: 对账+ reject: 拒绝建议+ suggestion: 建议+ unlink: 取消关联+ view: 查看+ unlink:+ success: 对账单已移回未匹配收件箱。+ update:+ success: 对账单已更新。diff --git a/config/locales/views/accounts/zh-CN.yml b/config/locales/views/accounts/zh-CN.ymlindex 3e6facff8a..d07d85a335 100644--- a/config/locales/views/accounts/zh-CN.yml+++ b/config/locales/views/accounts/zh-CN.yml@@ -3,116 +3,189 @@ zh-CN:account:entries:destroy:- success: 删除成功+ success: 记录已成功删除。accounts:+ not_authorized: 您没有权限管理此账户account:- link_lunchflow: 关联 Lunch Flow 账户- link_provider: 关联服务提供商- troubleshoot: 故障排查- unlink_provider: 解除提供商关联+ complete_setup: 完成设置+ edit: 编辑+ link_lunchflow: 连接 Lunch Flow+ link_provider: 连接提供商+ unlink_provider: 取消与提供商的连接+ change_simplefin_account: 更改 SimpleFIN 账户+ troubleshoot: 排查问题+ enable: 启用账户+ disable: 停用账户+ set_default: 设为默认+ remove_default: 取消默认+ default_label: 默认+ delete: 删除账户+ sharing: 共享chart:data_not_available: 所选时间段内无可用数据- confirm_unlink:- confirm_button: 确认并解除关联- description_html: 您即将解除 <strong>%{account_name}</strong> 与 <strong>%{provider_name}</strong>- 的关联。这将转换为手动账户。- title: 确认解除账户关联?- warning_can_delete: 解除关联后,您可以在需要时删除账户- warning_manual_updates: 您需要手动添加交易和更新余额- warning_no_sync: 账户将不再与您的银行自动同步- warning_title: 这意味着- warning_transactions_kept: 所有现有交易和余额将被保留create:- success: "%{type} 账户已创建"+ success: 已创建 %{type} 账户+ set_default:+ depository_only: 只有现金和信用卡账户才能设为默认。destroy:- cannot_delete_linked: 无法删除已关联账户,请先解除关联。- success: "%{type} 账户已计划删除"+ success: "%{type} 账户已安排删除"+ cannot_delete_linked: 无法删除已连接的账户,请先取消连接。+ failed: 资源删除失败,请稍后再试。empty:- empty_message: 可通过关联服务、导入数据或手动输入的方式添加账户。+ empty_message: 您可以通过连接、导入或手动录入的方式添加账户。new_account: 新建账户no_accounts: 暂无账户form:- balance: 当前余额+ balance: 该日期余额:+ opening_balance_date_label: 初始余额日期name_label: 账户名称- name_placeholder: 例如:储蓄账户+ name_placeholder: 示例账户名称+ additional_details: 其他详情+ institution_name_label: 金融机构名称+ institution_name_placeholder: 例如:Chase Bank+ institution_domain_label: 金融机构域名+ institution_domain_placeholder: 例如:chase.com+ notes_label: 备注+ notes_placeholder: 存储其他信息,例如账号、排序码、IBAN、路由号码等。index:- accounts: 账户管理+ accounts: 账户manual_accounts:other_accounts: 其他账户new_account: 新建账户- sync: 同步所有账户+ sync: 全部同步+ sync_all:+ syncing: 正在同步账户……new:import_accounts: 导入账户+ container:+ select: 选择+ navigate: 浏览+ close: 关闭method_selector:- connected_entry: 关联账户- connected_entry_eu: 关联欧盟账户- link_with_provider: 关联 %{provider}- lunchflow_entry: 关联 Lunch Flow 账户+ connected_entry: 连接账户+ connected_entry_eu: 连接欧盟账户+ link_with_provider: 连接 %{provider}+ lunchflow_entry: 连接 Lunch Flow 账户manual_entry: 手动输入账户余额- title: 请选择添加方式- title: 您希望添加什么类型的账户?- select_provider:- already_linked: 账户已关联到服务提供商- description: 请选择用于关联 %{account_name} 的服务提供商- no_providers: 当前未配置任何服务提供商- title: 选择关联的服务提供商+ title: 您希望如何添加?+ title: 您想添加什么?show:+ limited_fx_history_warning: 汇率历史仅从 %{date} 起可用。该日期之前的交易将使用近似货币换算——当外汇提供商仅提供有限历史窗口时会出现这种情况。+ tabs:+ activity: 活动+ holdings: 持仓+ overview: 概览+ statements: 对账单activity:amount: 金额balance: 余额+ confirmed: 已确认date: 日期entries: 条记录entry: 条记录+ filter: 筛选new: 新建- new_balance: 新增余额- new_transaction: 新建交易- no_entries: 未找到相关记录+ new_activity: 新活动+ new_balance: 新余额+ new_trade: 新交易+ new_transaction: 新交易记录+ new_transfer: 新转账+ no_entries: 未找到记录+ pending: 待处理search:placeholder: 按名称搜索记录- title: 账户活动+ search_placeholder: 按名称搜索记录+ status: 状态+ title: 活动chart:balance: 余额- owed: 欠款金额+ owed: 应付金额+ header:+ complete_setup: 完成设置menu:confirm_accept: 删除“%{name}”- confirm_body_html: "<p>删除此账户将清除其历史价值数据,影响您整体账户的多个方面。此操作将直接影响您的资产净值计算和账户图表。</p><br- /><p>删除后无法恢复账户信息,您需要将其作为新账户重新添加。</p>"- confirm_title: 确认删除账户?+ confirm_body_html: "<p>删除此账户将清除其价值历史,影响您整体账户的多个方面。此操作会直接影响您的净资产计算和账户图表。</p><br /> <p>删除后,您将无法恢复该账户信息,因为需要将其作为新账户重新添加。</p>"+ confirm_title: 删除账户?+ delete_account: 删除账户edit: 编辑- import: 导入交易记录+ import: 导入交易+ import_trades: 导入交易+ import_transactions: 导入交易记录manage: 管理账户+ sharing: 共享+ statements: 对账单+ update:+ success: 已更新 %{type} 账户sidebar:- configure_providers: 在此配置您的服务提供商。- missing_data: 历史数据缺失- missing_data_description: "%{product} 使用第三方服务提供商获取历史汇率、证券价格等数据。这些数据是计算准确历史账户余额所必需的。"- new_account: 新建账户- new_account_group: 新建 %{account_group}- new_asset: 新增资产- new_debt: 新增负债+ missing_data: 缺少历史数据+ missing_data_description: "%{product} 使用第三方提供商获取历史汇率、证券价格等数据。这些数据是计算准确历史账户余额所必需的。"+ configure_providers: 请在此配置您的提供商。tabs:all: 全部assets: 资产debts: 负债- sync_all:- syncing: 账户同步中...+ new_asset: 新增资产+ new_debt: 新增负债+ new_account: 新建账户+ new_account_group: 新建%{account_group}types:- credit_card: 信用卡账户- crypto: 加密货币账户- depository: 现金账户- investment: 投资账户- loan: 贷款账户- other_asset: 其他资产账户- other_liability: 其他负债账户- property: 房产账户- vehicle: 车辆账户+ depository: 现金+ investment: 投资+ crypto: 加密资产+ property: 房产+ vehicle: 车辆+ other_asset: 其他资产+ credit_card: 信用卡+ loan: 贷款+ other_liability: 其他负债+ types_plural:+ depository: 现金+ investment: 投资+ crypto: 加密资产+ property: 房产+ vehicle: 车辆+ other_asset: 其他资产+ credit_card: 信用卡+ loan: 贷款+ other_liability: 其他负债+ tax_treatments:+ taxable: 应税+ tax_deferred: 税延+ tax_exempt: 免税+ tax_advantaged: 税收优惠+ tax_treatment_descriptions:+ taxable: 实现收益时征税+ tax_deferred: 供款可抵扣,提取时征税+ tax_exempt: 供款后税,收益不征税+ tax_advantaged: 有条件的特殊税收优惠+ subtype_regions:+ us: 美国+ uk: 英国+ ca: 加拿大+ au: 澳大利亚+ eu: 欧洲+ in: 印度+ generic: 通用+ confirm_unlink:+ title: 取消与提供商的连接?+ description_html: 您即将把 <strong>%{account_name}</strong> 与 <strong>%{provider_name}</strong> 取消连接。这将把它转换为手动账户。+ warning_title: 这意味着什么+ warning_no_sync: 该账户将不再自动与您的提供商同步+ warning_manual_updates: 您需要手动添加交易并更新余额+ warning_transactions_kept: 所有现有交易和余额都将保留+ warning_can_delete: 取消连接后,如有需要您可以删除该账户+ confirm_button: 确认并取消连接unlink:- error: 解除账户关联失败:%{error}- generic_error: 发生意外错误,请重试。- not_linked: 账户未关联到任何服务提供商- success: 账户已成功解除关联,现已成为手动账户。- update:- success: "%{type} 账户已更新"+ success: 账户已成功取消连接,现已成为手动账户。+ not_linked: 该账户未连接到任何提供商+ error: 取消连接账户失败:%{error}+ generic_error: 发生意外错误,请稍后再试。+ select_provider:+ title: 选择要连接的提供商+ description: 请选择您要用来连接 %{account_name} 的提供商+ already_linked: 该账户已连接到提供商+ no_providers: 当前没有可用的提供商email_confirmations:new:invalid_token: 确认链接无效或已过期。- success_login: 您的邮箱已确认成功。请使用新邮箱地址登录。+ success_login: 您的邮箱已确认,请使用新邮箱地址登录。diff --git a/config/locales/views/admin/invitations/zh-CN.yml b/config/locales/views/admin/invitations/zh-CN.ymlnew file mode 100644index 0000000000..d9f00d236b--- /dev/null+++ b/config/locales/views/admin/invitations/zh-CN.yml@@ -0,0 +1,8 @@+---+zh-CN:+ admin:+ invitations:+ destroy:+ success: 邀请已删除。+ destroy_all:+ success: 此家庭的所有邀请都已删除。diff --git a/config/locales/views/admin/sso_providers/zh-CN.yml b/config/locales/views/admin/sso_providers/zh-CN.ymlnew file mode 100644index 0000000000..4e4faf7d79--- /dev/null+++ b/config/locales/views/admin/sso_providers/zh-CN.yml@@ -0,0 +1,138 @@+---+zh-CN:+ admin:+ unauthorized: 您无权访问此区域。+ sso_providers:+ index:+ page_title: SSO 提供商+ title: SSO 提供商+ description: 管理您实例的单点登录认证提供商。+ restart_required: 更改需要重启服务器后才会生效。+ configured_providers: 已配置的提供商+ add_provider: 添加提供商+ no_providers_title: 尚无 SSO 提供商+ no_providers_message: 目前还没有配置任何 SSO 提供商。+ note: 对 SSO 提供商的更改需要重启服务器后才会生效。或者启用 AUTH_PROVIDERS_SOURCE=db 功能标志以从数据库动态加载提供商。+ enabled: 已启用+ disabled: 已禁用+ edit: 编辑+ enable: 启用+ disable: 禁用+ delete: 删除+ configuration_mode: 配置模式+ db_backed_providers: 数据库提供商+ db_backed_providers_description: 从数据库加载提供商,而不是 YAML 配置+ db_backed_providers_help_html: 设置 <code class="bg-surface px-1 py-0.5 rounded text-xs">AUTH_PROVIDERS_SOURCE=db</code> 以启用数据库提供商。这允许无需重启服务器即可修改。+ table:+ name: 名称+ strategy: 策略+ status: 状态+ issuer: 签发方+ actions: 操作+ enabled: 已启用+ disabled: 已禁用+ legacy_providers_title: 环境配置的提供商+ legacy_providers_notice: 这些提供商通过环境变量或 YAML 配置,无法在此界面中管理。若要在此管理,请启用 AUTH_PROVIDERS_SOURCE=db 并将它们重新创建为数据库提供商。+ env_configured: 环境/YAML+ new:+ title: 添加 SSO 提供商+ description: 配置一个新的单点登录认证提供商+ edit:+ title: 编辑 SSO 提供商+ description: 更新 %{label} 的配置+ create:+ success: SSO 提供商创建成功。+ update:+ success: SSO 提供商更新成功。+ destroy:+ success: SSO 提供商删除成功。+ confirm: 确定要删除此提供商吗?此操作无法撤销。+ toggle:+ success_enabled: SSO 提供商已成功启用。+ success_disabled: SSO 提供商已成功禁用。+ confirm_enable: 确定要启用此提供商吗?+ confirm_disable: 确定要禁用此提供商吗?+ form:+ basic_information: 基本信息+ oauth_configuration: OAuth/OIDC 配置+ strategy_label: 策略+ strategy_help: 要使用的认证策略+ strategy_openid_connect: OpenID Connect+ strategy_saml: SAML 2.0+ strategy_google_oauth2: Google OAuth2+ strategy_github: GitHub+ name_label: 名称+ name_placeholder: 例如:keycloak、authentik+ name_help: 唯一标识符(仅限小写字母、数字和下划线)+ label_label: 按钮标签+ label_placeholder: 例如:使用 Keycloak 登录+ label_help: 显示给用户的按钮文字+ icon_label: 图标(可选)+ icon_placeholder: 例如:key、shield+ icon_help: 登录按钮的 Lucide 图标名称+ enabled_label: 启用此提供商+ enabled_help: 启用后,用户可以使用此提供商登录+ issuer_label: Issuer URL+ issuer_placeholder: https://your-idp.example.com/realms/your-realm+ issuer_help: OIDC issuer URL(会验证 .well-known/openid-configuration)+ client_id_label: Client ID+ client_id_placeholder: your-client-id+ client_id_help: 来自身份提供商的 OAuth client ID+ client_secret_label: Client Secret+ client_secret_placeholder_new: your-client-secret+ client_secret_placeholder_existing: ••••••••+ client_secret_help: OAuth client secret(在数据库中加密存储)+ client_secret_help_existing: 留空以保留现有密钥+ redirect_uri_label: 回调 URL+ redirect_uri_placeholder: https://yourdomain.com/auth/openid_connect/callback+ redirect_uri_help: 在身份提供商中配置此 URL+ saml_sp_callback_url_label: SP 回调 URL(ACS URL)+ saml_sp_callback_url_help: 在 IdP 中将此 URL 配置为 Assertion Consumer Service URL+ copy_button: 复制+ cancel: 取消+ submit: 保存提供商+ create_provider: 创建提供商+ update_provider: 更新提供商+ errors_title:+ one: 一个错误阻止了此提供商被保存:+ other: "%{count} 个错误阻止了此提供商被保存:"+ provisioning_title: 用户配置+ default_role_label: 新用户的默认角色+ default_role_help: 通过即时(JIT)SSO 账户配置创建的用户将被分配此角色。默认为成员。+ role_guest: 访客+ role_member: 成员+ role_admin: 管理员+ role_super_admin: 超级管理员+ role_mapping_title: 组到角色映射(可选)+ role_mapping_help: 将 IdP 组/声明映射到应用角色。用户将分配到最高匹配角色。留空则使用上面的默认角色。+ super_admin_groups: 超级管理员组+ admin_groups: 管理员组+ guest_groups: 访客组+ member_groups: 成员组+ groups_help: 以逗号分隔的 IdP 组名列表。使用 * 匹配所有组。+ advanced_title: 高级 OIDC 设置+ scopes_label: 自定义范围+ scopes_help: 以空格分隔的 OIDC scopes 列表。留空则使用默认值(openid email profile)。添加 'groups' 可获取组声明。+ prompt_label: 认证提示+ prompt_default: 默认(由 IdP 决定)+ prompt_login: 强制登录(重新认证)+ prompt_consent: 强制同意(重新授权)+ prompt_select_account: 选择账户(选择账号)+ prompt_none: 无提示(静默认证)+ prompt_help: 控制 IdP 在认证时如何提示用户。+ test_connection: 测试连接+ saml_configuration: SAML 配置+ idp_metadata_url: IdP 元数据 URL+ idp_metadata_url_help: 您的 IdP 的 SAML 元数据 URL。如果提供,其余 SAML 设置将自动配置。+ manual_saml_config: 手动配置(如果不使用元数据 URL)+ manual_saml_help: 仅当您的 IdP 不提供元数据 URL 时才使用这些设置。+ idp_sso_url: IdP SSO URL+ idp_slo_url: IdP SLO URL(可选)+ idp_certificate: IdP 证书+ idp_certificate_help: PEM 格式的 X.509 证书。如果不使用元数据 URL,则必填。+ idp_cert_fingerprint: 证书指纹(替代)+ name_id_format: NameID 格式+ name_id_email: 邮箱地址(默认)+ name_id_persistent: 持久+ name_id_transient: 临时+ name_id_unspecified: 未指定diff --git a/config/locales/views/admin/users/zh-CN.yml b/config/locales/views/admin/users/zh-CN.ymlnew file mode 100644index 0000000000..5338a611d8--- /dev/null+++ b/config/locales/views/admin/users/zh-CN.yml@@ -0,0 +1,53 @@+---+zh-CN:+ admin:+ users:+ index:+ title: 用户管理+ description: 管理您实例中的用户角色。超级管理员可以访问 SSO 提供商设置和用户管理。+ section_title: 家庭 / 组+ you: (您)+ trial_ends_at: 试用结束于+ not_available: 不适用+ no_users: 未找到用户。+ unnamed_family: 未命名家庭/组+ no_subscription: 无订阅+ family_summary: "%{members} 名成员 · %{accounts} 个账户 · %{transactions} 笔交易"+ filters:+ role: 角色+ role_all: 所有角色+ trial_status: 试用状态+ trial_all: 全部+ trial_expiring_soon: 7 天内到期+ trial_trialing: 试用中+ submit: 筛选+ summary:+ trials_expiring_7_days: 未来 7 天内到期的试用+ table:+ user: 用户+ trial_ends_at: 试用结束+ family_accounts: 家庭账户+ family_transactions: 家庭交易+ last_login: 上次登录+ session_count: 会话数+ never: 从未+ role: 角色+ role_descriptions_title: 角色说明+ roles:+ guest: 访客+ member: 成员+ admin: 管理员+ super_admin: 超级管理员+ role_descriptions:+ guest: 以助手优先的体验为主,并为入门流程保留有意限制的权限。+ member: 基本用户权限。可管理自己的账户、交易和设置。+ admin: 家庭管理员。可访问 API 密钥、导入和 AI 提示词等高级设置。+ super_admin: 实例管理员。可管理 SSO 提供商、用户角色,并可代为登录用户进行支持。+ invitations:+ pending_label: 已邀请(待处理)+ expires: 于 %{date} 过期+ delete: 删除+ delete_all: 全部删除+ update:+ success: 用户角色更新成功。+ failure: 更新用户角色失败。diff --git a/config/locales/views/binance_items/zh-CN.yml b/config/locales/views/binance_items/zh-CN.ymlnew file mode 100644index 0000000000..9e62db4bc1--- /dev/null+++ b/config/locales/views/binance_items/zh-CN.yml@@ -0,0 +1,75 @@+---+zh-CN:+ binance_items:+ create:+ default_name: Binance+ success: 已成功连接到 Binance!您的账户正在同步。+ update:+ success: Binance 配置更新成功。+ destroy:+ success: Binance 连接已安排删除。+ setup_accounts:+ title: 导入 Binance 账户+ subtitle: 选择要跟踪的投资组合+ instructions: 选择您想导入的 Binance 投资组合。只有有余额的投资组合才会显示。+ no_accounts: 所有账户都已导入。+ accounts_count:+ one: 有 %{count} 个账户可用+ other: 有 %{count} 个账户可用+ select_all: 全选+ import_selected: 导入所选+ cancel: 取消+ creating: 正在导入...+ complete_account_setup:+ success:+ one: 已导入 %{count} 个账户+ other: 已导入 %{count} 个账户+ none_selected: 未选择账户+ no_accounts: 没有可导入的账户+ binance_item:+ provider_name: Binance+ syncing: 正在同步...+ reconnect: 凭据需要更新+ deletion_in_progress: 正在删除...+ sync_status:+ no_accounts: 未找到账户+ all_synced:+ one: 已同步 %{count} 个账户+ other: 已同步 %{count} 个账户+ partial_sync: 已同步 %{linked_count} 个,%{unlinked_count} 个需要设置+ status: "%{timestamp} 前上次同步"+ status_with_summary: "%{timestamp} 前上次同步 - %{summary}"+ status_never: 从未同步+ update_credentials: 更新凭据+ delete: 删除+ no_accounts_title: 未找到账户+ no_accounts_message: 您的 Binance 投资组合在同步后会显示在这里。+ setup_needed: 账户已准备好导入+ setup_description: 选择您想跟踪的 Binance 投资组合。+ setup_action: 导入账户+ import_accounts_menu: 导入账户+ stale_rate_warning: "余额为近似值 — %{date} 的准确汇率不可用。将在下次同步时更新。"+ select_existing_account:+ title: 关联 Binance 账户+ no_accounts_found: 未找到 Binance 账户。+ wait_for_sync: 等待 Binance 完成同步+ check_provider_health: 检查您的 Binance API 凭据是否有效+ currently_linked_to: "当前关联到:%{account_name}"+ link: 关联+ cancel: 取消+ link_existing_account:+ success: 已成功关联到 Binance 账户+ errors:+ only_manual: 只有手动账户才能关联到 Binance+ invalid_binance_account: 无效的 Binance 账户+ binance_item:+ syncer:+ checking_credentials: 正在检查凭据...+ credentials_invalid: API 凭据无效。请检查您的 API key 和 secret。+ importing_accounts: 正在从 Binance 导入账户...+ checking_configuration: 正在检查账户配置...+ accounts_need_setup:+ one: "%{count} 个账户需要设置"+ other: "%{count} 个账户需要设置"+ processing_accounts: 正在处理账户数据...+ calculating_balances: 正在计算余额...diff --git a/config/locales/views/brex_items/zh-CN.yml b/config/locales/views/brex_items/zh-CN.ymlnew file mode 100644index 0000000000..fa8ec0a6c4--- /dev/null+++ b/config/locales/views/brex_items/zh-CN.yml@@ -0,0 +1,241 @@+---+zh-CN:+ brex_items:+ default_connection_name: Brex 连接+ account_metadata:+ provider: Brex+ separator: " • "+ kinds:+ cash: 现金+ card: 卡片+ statuses:+ ACTIVE: 活跃+ active: 活跃+ CLOSED: 已关闭+ closed: 已关闭+ frozen: 冻结+ FROZEN: 冻结+ create:+ success: Brex 连接创建成功+ default_card_name: Brex 卡+ default_cash_name: "Brex 现金 %{id}"+ destroy:+ success: Brex 连接已移除+ index:+ title: Brex 连接+ institution_summary:+ none: 未连接任何机构+ one: "%{name}"+ count:+ one: "%{count} 个机构"+ other: "%{count} 个机构"+ sync_status:+ no_accounts: 未找到账户+ all_synced:+ one: 已同步 %{count} 个账户+ other: 已同步 %{count} 个账户+ partial_setup: 已同步 %{synced} 个,%{pending} 个需要设置+ api_error:+ common_issues: "常见问题:"+ expired_credentials: 请从 Brex 生成新的 API token。+ expired_credentials_label: "凭据已过期:"+ heading: 无法连接到 Brex+ invalid_token: 请在提供商设置中检查您的 API token。+ invalid_token_label: "API token 无效:"+ network: 请检查您的互联网连接。+ network_label: "网络问题:"+ permissions: 请确保您的 token 具有所需的只读账户和交易权限范围。+ permissions_label: "权限不足:"+ service: Brex API 可能暂时不可用。+ service_label: "服务不可用:"+ settings_link: 检查提供商设置+ title: Brex 连接错误+ errors:+ unexpected_error: 发生意外错误。请稍后再试。+ entries:+ default_name: Brex 交易+ loading:+ loading_message: 正在加载 Brex 账户...+ loading_title: 正在加载+ link_accounts:+ all_already_linked:+ one: 选定账户(%{names})已关联+ other: 所有选定的 %{count} 个账户都已关联:%{names}+ api_error: "API 错误:%{message}"+ invalid_account_names:+ one: 无法关联空名称账户+ other: 无法关联 %{count} 个空名称账户+ invalid_account_type: 不支持的 Brex 账户类型+ link_failed: 账户关联失败+ no_accounts_selected: 请至少选择一个账户+ no_api_token: 未找到 Brex API token。请在提供商设置中配置。+ partial_invalid: "成功关联 %{created_count} 个账户,%{already_linked_count} 个账户已关联,%{invalid_count} 个账户名称无效"+ partial_success: "成功关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联:%{already_linked_names}"+ select_connection: 在关联账户之前请选择一个 Brex 连接。+ success:+ one: "成功关联 %{count} 个账户"+ other: "成功关联 %{count} 个账户"+ brex_item:+ accounts_need_setup: 账户需要设置+ delete: 删除连接+ deletion_in_progress: 正在删除...+ error: 错误+ no_accounts_description: 此连接尚未关联任何账户。+ no_accounts_title: 无账户+ setup_action: 设置新账户+ setup_description: 已关联 %{linked} / %{total} 个账户。请选择新导入的 Brex 账户类型。+ setup_needed: 新账户已准备好设置+ status: "%{timestamp} 前已同步"+ status_never: 从未同步+ status_with_summary: "%{timestamp} 前上次同步 - %{summary}"+ syncing: 正在同步...+ total: 总计+ unlinked: 未关联+ provider_panel:+ accounts_link: 账户+ add_connection: 添加 Brex 连接+ base_url_label: Base URL(可选)+ base_url_placeholder: https://api.brex.com+ configured_html: "已配置并可使用。请访问 %{accounts_link} 标签页管理并设置账户。"+ connection_name_label: 连接名称+ connection_name_placeholder: 企业支票账户+ default_connection_name: Brex 连接+ disconnect_label: "断开 %{name}"+ disconnect_confirm: "断开 %{name}?"+ encryption_warning:+ title: 数据库加密未配置+ message: 在生产环境中添加 Brex token 之前,请先配置 Active Record 加密密钥。没有加密密钥时,Sure 会像其他提供商记录一样以明文存储 Brex 提供商凭据和快照。+ instructions:+ copy_token_html: "复制该 token,并将其作为命名连接添加到下方。Sure 只会为本家庭同步而保存该 token。"+ create_token: "创建具有以下只读范围的 API token:accounts.cash.readonly、accounts.card.readonly、transactions.cash.readonly、transactions.card.readonly"+ open_tokens: 前往您要连接公司的 Brex 开发者/API token 设置+ sign_in_html: "访问 %{link} 并登录您想要连接的账户"+ keep_token_placeholder: 留空以保留当前 token+ not_configured: 未配置+ sandbox_note_html: "为每个想同步的 Brex 公司/API token 使用一个单独的命名连接。生产环境请留空 Base URL。Staging 仅限 Brex 批准的测试,无法与客户 token 配合使用。"+ setup_accounts: 设置账户+ setup_title: "设置说明:"+ sync: 同步+ token_label: Token+ token_placeholder: 在此粘贴 token+ update_connection: 更新连接+ provider_connection:+ default_description: 连接到您的 Brex 账户+ default_name: Brex+ description: "使用 %{name} 连接"+ name: "Brex - %{name}"+ select_accounts:+ accounts_selected: 已选择账户+ api_error: "API 错误:%{message}"+ cancel: 取消+ configure_name_in_brex: 无法导入 - 请先在 Brex 中配置账户名称+ description: 选择您想链接到 %{product_name} 账户的账户。+ link_accounts: 链接所选账户+ no_accounts_found: 未找到账户。请检查您的 API token 配置。+ no_api_token: 未找到 Brex API token。请在提供商设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Brex API token。+ no_name_placeholder: (无名称)+ select_connection: 请在提供商设置中选择一个 Brex 连接。+ title: 选择 Brex 账户+ unexpected_error: 发生意外错误。请稍后再试。+ select_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ all_accounts_already_linked: 所有 Brex 账户都已关联+ api_error: "API 错误:%{message}"+ cancel: 取消+ configure_name_in_brex: 无法导入 - 请先在 Brex 中配置账户名称+ description: 选择一个 Brex 账户与此账户关联。交易将自动同步并去重。+ link_account: 关联账户+ no_account_specified: 未指定账户+ no_accounts_found: 未找到 Brex 账户。请检查您的 API token 配置。+ no_api_token: 未找到 Brex API token。请在提供商设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Brex API token。+ no_name_placeholder: (无名称)+ select_connection: 请在提供商设置中选择一个 Brex 连接。+ title: 将 %{account_name} 与 Brex 关联+ unexpected_error: 发生意外错误。请稍后再试。+ setup_required:+ description: 在链接 Brex 账户之前,您需要先配置 Brex API token。+ heading: 未配置 API Token+ settings_link: 前往提供商设置+ setup_steps: "设置步骤:"+ steps:+ enter_token: 输入您的 Brex API token+ find_section_html: 找到 <strong>Brex</strong> 区块+ open_settings_html: 前往 <strong>设置 > 提供商</strong>+ return_to_link: 返回这里链接您的账户+ title: 需要设置 Brex+ subtype_select:+ placeholder:+ subtype: 选择子类型+ type: 选择类型+ link_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ api_error: "API 错误:%{message}"+ invalid_account_name: 无法关联空名称账户+ missing_parameters: 缺少必需参数+ no_account_specified: 未指定账户+ no_api_token: 未找到 Brex API token。请在提供商设置中配置。+ provider_account_already_linked: 此 Brex 账户已关联到另一个账户+ provider_account_not_found: 未找到 Brex 账户+ select_connection: 在关联账户之前请选择一个 Brex 连接。+ success: "已成功将 %{account_name} 与 Brex 关联"+ setup_accounts:+ account_type_label: "账户类型:"+ all_accounts_linked: "您的所有 Brex 账户都已完成设置。"+ api_error: "API 错误:%{message}"+ fetch_failed: "获取账户失败"+ no_accounts_to_setup: "没有需要设置的账户"+ no_api_token: Brex API token 未找到。请在提供商设置中配置。+ account_types:+ skip: 跳过此账户+ depository: 支票账户或储蓄账户+ credit_card: 信用卡+ investment: 投资账户+ loan: 贷款或抵押贷款+ other_asset: 其他资产+ subtype_labels:+ depository: "账户子类型:"+ credit_card: ""+ investment: "投资类型:"+ loan: "贷款类型:"+ other_asset: ""+ subtype_messages:+ credit_card: "信用卡将自动设为信用卡账户。"+ other_asset: "其他资产无需额外选项。"+ subtypes:+ depository:+ checking: 支票账户+ savings: 储蓄账户+ hsa: 健康储蓄账户+ cd: 定期存单+ money_market: 货币市场+ investment:+ brokerage: 券商账户+ pension: 养老金+ retirement: 退休账户+ "401k": "401(k)"+ roth_401k: "Roth 401(k)"+ "403b": "403(b)"+ tsp: 节俭储蓄计划+ "529_plan": "529 计划"+ hsa: 健康储蓄账户+ mutual_fund: 共同基金+ ira: 传统 IRA+ roth_ira: Roth IRA+ angel: 天使投资+ loan:+ mortgage: 抵押贷款+ student: 学生贷款+ auto: 汽车贷款+ other: 其他贷款+ balance: 余额+ cancel: 取消+ choose_account_type: "为每个 Brex 账户选择正确的账户类型:"+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ historical_data_range: "历史数据范围:"+ subtitle: 为您导入的账户选择正确的账户类型+ sync_start_date_help: 选择您希望向前同步交易历史的时间范围。最多可用 3 年历史记录。+ sync_start_date_label: "从以下日期开始同步交易:"+ title: 设置您的 Brex 账户diff --git a/config/locales/views/budgets/zh-CN.yml b/config/locales/views/budgets/zh-CN.ymlindex e111d4d91a..e32bfb7430 100644--- a/config/locales/views/budgets/zh-CN.yml+++ b/config/locales/views/budgets/zh-CN.yml@@ -1,6 +1,40 @@---zh-CN:budgets:+ budget_donut:+ spent: 已花费+ new_budget: 新预算+ of_budget: 占 %{amount}+ unused: 未使用+ budget_header:+ today: 今天+ budget_nav:+ categories: 分类+ setup: 设置+ over_allocation_warning:+ over_allocated_message: 您的预算分配超出了上限。请修正您的分配。+ fix_allocations: 修正分配+ actuals_summary:+ income: 收入+ expenses: 支出+ budgeted_summary:+ expected_income: 预期收入+ budgeted: 预算+ earned: 已赚 %{amount}+ over: 超出 %{amount}+ left: 剩余 %{amount}+ spent: 已花 %{amount}+ edit:+ setup_title: 设置您的预算+ setup_description: 在下方输入您的月收入和计划支出以设置预算。+ budgeted_spending: 预算支出+ expected_income: 预期收入+ autosuggest_title: 自动建议收入与支出预算+ autosuggest_description: 这将基于交易历史。AI 可能出错,请在继续前核对。+ continue: 继续+ name:+ custom_range: "%{start} - %{end_date}"+ month_year: "%{month}"show:categories:amount: 金额@@ -10,12 +44,54 @@ zh-CN:short_title: 正常title: 正常over_budget_categories:- short_title: 超预算- title: 超预算+ short_title: 超支+ title: 超支filter:all: 全部on_track: 正常- over_budget: 超预算+ over_budget: 超支tabs:actual: 实际budgeted: 预算+ copy_previous_prompt:+ title: 设置您的预算+ description: 您可以复制 %{source_name} 的预算,或从头开始。+ copy_button: 复制 %{source_name}+ fresh_button: 从头开始+ copy_previous:+ success: 已从 %{source_name} 复制预算+ no_source: 未找到可复制的上一个预算+ already_initialized: 此预算已设置过+ budget_categories:+ allocation_progress:+ budget_exceeded_html: '预算超出 <span class="text-red-500 privacy-sensitive">%{amount}</span>'+ left_to_allocate: 待分配+ over_set: 超过 100%+ percent_set: 已设置 %{percent}+ budget_category_form:+ monthly_average: 月均 %{amount}+ shared_placeholder: 共享+ shared_title: 留空以共享父级预算+ confirm_button:+ confirm: 确认+ no_categories:+ oops: 哎呀!+ no_categories_message: 您还没有为交易创建或分配任何支出分类。+ use_defaults: 使用默认值(推荐)+ new_category: 新分类+ index:+ title: 编辑您的分类预算+ description: 调整分类预算以设置支出限额。未分配资金将自动归入未分类。+ show:+ category: 分类+ overview: 概览+ spending: "%{date} 支出"+ status: 状态+ overspent: 超支+ left: 剩余+ budgeted: 预算+ monthly_average_spending: 月均支出+ monthly_median_spending: 月度中位支出+ recent_transactions: 最近交易+ view_all_transactions: 查看该分类的全部交易+ no_transactions: 此预算周期内未找到交易。diff --git a/config/locales/views/categories/zh-CN.yml b/config/locales/views/categories/zh-CN.ymlindex 973b4277ad..7855872496 100644--- a/config/locales/views/categories/zh-CN.yml+++ b/config/locales/views/categories/zh-CN.yml@@ -2,7 +2,7 @@zh-CN:categories:bootstrap:- success: 默认分类已创建成功+ success: 默认分类创建成功category:delete: 删除分类edit: 编辑分类@@ -14,21 +14,39 @@ zh-CN:edit: 编辑分类form:placeholder: 分类名称+ name_label: 名称+ unassigned: (未分配)+ parent_category_label: 父分类(可选)+ color: 颜色+ icon: 图标+ auto_adjust: 自动调整。+ poor_contrast: 对比度较差,请选择更深的颜色或+ destroy_all:+ success: 所有分类已删除index:- bootstrap: 使用默认分类(推荐)- categories: 分类管理+ bootstrap: 使用默认值(推荐)+ categories: 分类categories_expenses: 支出分类categories_incomes: 收入分类- empty: 暂无分类+ delete_all: 全部删除+ empty: 未找到分类new: 新建分类menu:- loading: 加载中...+ loading: 正在加载...new:new_category: 新建分类update:success: 分类更新成功+ virtual:+ transfer: 转账+ payment: 付款+ trade: 交易category:dropdowns:show:bootstrap: 生成默认分类- empty: 暂无分类+ empty: 未找到分类+ match_transfer: 匹配转账/付款+ one_time: 一次性%{type}+ income: 收入+ expense: 支出diff --git a/config/locales/views/chats/zh-CN.yml b/config/locales/views/chats/zh-CN.ymlindex d2f541a707..12eaf03189 100644--- a/config/locales/views/chats/zh-CN.yml+++ b/config/locales/views/chats/zh-CN.yml@@ -1,6 +1,44 @@---zh-CN:chats:- demo_banner_message: "您正在使用由 Cloudflare Workers AI 提供额度的开源权重 Qwen3 大语言模型。由于代码库主要在 `gpt-4.1` 上测试,结果可能有所不同,但您的令牌不会被用于其他地方进行训练!🤖"- demo_banner_title: 演示模式已激活- thinking: "处理中 ..."+ demo_banner_title: 演示模式已启用+ demo_banner_message: 您正在通过 Cloudflare Workers AI 提供的额度使用 LLM。结果可能会有所不同,因为代码库是在 `gpt-4.1` 上测试的,而您的 token 不会被用于其他训练!🤖+ thinking: 思考中……+ ai_greeting:+ greeting: "%{name},你好!我是一个 AI/大语言模型,可以帮您处理财务问题。我可以访问网络和您的账户数据。"+ there: 朋友+ commands_hint_html: 您可以使用 <span class="bg-container border border-secondary px-1.5 py-0.5 rounded font-mono text-xs">/</span> 来访问命令+ questions_intro: 这里有几个您可以提的问题:+ evaluate_portfolio: 评估投资组合+ spending_insights: 查看消费洞察+ unusual_patterns: 查找异常模式+ chat:+ edit_chat_title: 编辑聊天标题+ delete_chat: 删除聊天+ chat_nav:+ all_chats: 所有聊天+ start_new_chat: 开始新聊天+ edit_chat_title: 编辑聊天标题+ delete_chat: 删除聊天+ error:+ retry: 重试+ destroy:+ notice: 聊天已成功删除+ index:+ chats: 聊天+ new_chat: 新建聊天+ update:+ success: 聊天已更新+ ai_consent:+ title: 启用 AI 聊天+ available_description: AI 聊天可以基于您的数据回答财务问题并提供洞察。要使用此功能,您需要显式启用它。+ unavailable_description_html: 要使用 AI 助手,您需要设置 <code class="bg-surface-inset px-1 py-0.5 rounded font-mono text-xs">OPENAI_ACCESS_TOKEN</code> 环境变量,或在您的实例的自托管设置中进行配置。+ enable_button: 启用 AI 聊天+ disable_note: 可随时关闭。发送给我们的 LLM 提供商的所有数据都会被匿名化。+ assistant_messages:+ assistant_message:+ assistant_reasoning: 助手推理+ tool_calls:+ tool_calls: 工具调用+ function: 函数:+ arguments: 参数:diff --git a/config/locales/views/coinbase_items/zh-CN.yml b/config/locales/views/coinbase_items/zh-CN.ymlnew file mode 100644index 0000000000..38f31ba118--- /dev/null+++ b/config/locales/views/coinbase_items/zh-CN.yml@@ -0,0 +1,78 @@+---+zh-CN:+ coinbase_items:+ create:+ default_name: Coinbase+ success: 已成功连接到 Coinbase!您的账户正在同步。+ update:+ success: Coinbase 配置更新成功。+ destroy:+ success: Coinbase 连接已安排删除。+ setup_accounts:+ title: 导入 Coinbase 钱包+ subtitle: 选择要跟踪的钱包+ instructions: 选择您想导入的钱包。未选择的钱包以后仍可继续添加。+ no_accounts: 所有钱包都已导入。+ accounts_count:+ one: 有 %{count} 个钱包可用+ other: 有 %{count} 个钱包可用+ select_all: 全选+ import_selected: 导入所选+ cancel: 取消+ creating: 正在导入...+ complete_account_setup:+ success:+ one: 已导入 %{count} 个钱包+ other: 已导入 %{count} 个钱包+ none_selected: 未选择钱包+ no_accounts: 没有可导入的钱包+ coinbase_item:+ provider_name: Coinbase+ syncing: 正在同步...+ reconnect: 凭据需要更新+ deletion_in_progress: 正在删除...+ sync_status:+ no_accounts: 未找到账户+ all_synced:+ one: 已同步 %{count} 个账户+ other: 已同步 %{count} 个账户+ partial_sync: 已同步 %{linked_count} 个,%{unlinked_count} 个需要设置+ status: "%{timestamp} 前上次同步"+ status_with_summary: "%{timestamp} 前上次同步 - %{summary}"+ status_never: 从未同步+ update_credentials: 更新凭据+ delete: 删除+ no_accounts_title: 未找到账户+ no_accounts_message: 您的 Coinbase 钱包在同步后会显示在这里。+ setup_needed: 钱包已准备好导入+ setup_description: 选择您想跟踪的 Coinbase 钱包。+ setup_action: 导入钱包+ import_wallets_menu: 导入钱包+ more_wallets_available:+ one: 还有 %{count} 个钱包可导入+ other: 还有 %{count} 个钱包可导入+ select_existing_account:+ title: 关联 Coinbase 账户+ no_accounts_found: 未找到 Coinbase 账户。+ wait_for_sync: 等待 Coinbase 完成同步+ check_provider_health: 检查您的 Coinbase API 凭据是否有效+ balance: 余额+ currently_linked_to: "当前关联到:%{account_name}"+ link: 关联+ cancel: 取消+ link_existing_account:+ success: 已成功关联到 Coinbase 账户+ errors:+ only_manual: 只有手动账户才能关联到 Coinbase+ invalid_coinbase_account: 无效的 Coinbase 账户+ coinbase_item:+ syncer:+ checking_credentials: 正在检查凭据...+ credentials_invalid: API 凭据无效。请检查您的 API key 和 secret。+ importing_accounts: 正在从 Coinbase 导入账户...+ checking_configuration: 正在检查账户配置...+ accounts_need_setup:+ one: "%{count} 个账户需要设置"+ other: "%{count} 个账户需要设置"+ processing_accounts: 正在处理账户数据...+ calculating_balances: 正在计算余额...diff --git a/config/locales/views/coinstats_items/zh-CN.yml b/config/locales/views/coinstats_items/zh-CN.ymlnew file mode 100644index 0000000000..015505c4a2--- /dev/null+++ b/config/locales/views/coinstats_items/zh-CN.yml@@ -0,0 +1,75 @@+---+zh-CN:+ coinstats_items:+ create:+ success: CoinStats 提供商连接配置成功。+ default_name: CoinStats 连接+ errors:+ validation_failed: "验证失败:%{message}。"+ update:+ success: CoinStats 提供商连接已更新。+ errors:+ validation_failed: "验证失败:%{message}。"+ destroy:+ success: CoinStats 提供商连接已安排删除。+ link_wallet:+ success: "%{count} 个加密钱包链接成功。"+ missing_params: "缺少必需参数:address 和 blockchain。"+ failed: 加密钱包链接失败。+ error: "加密钱包链接失败:%{message}。"+ link_exchange:+ success: "%{name} 交易所已关联。"+ missing_params: 需要交易所和凭据。+ invalid_exchange: 所选交易所已不再受支持。+ failed: 关联交易所失败。+ error: "关联交易所失败:%{message}。"+ new:+ title: 使用 CoinStats 连接加密资产+ blockchain_fetch_error: 获取区块链列表失败,请稍后再试。+ link_wallet_title: 关联钱包地址+ link_wallet_description: 通过 CoinStats 跟踪自托管钱包或单个链上地址。+ address_label: 地址+ address_placeholder: 必填+ blockchain_label: 区块链+ blockchain_placeholder: 必填+ blockchain_select_blank: 选择区块链+ link_wallet_submit: 关联加密钱包+ link_exchange_title: 关联交易所 API+ link_exchange_description: 使用只读交易所 API key,以便 CoinStats 从 Bitvavo、Binance 和其他受支持的交易所同步余额和交易。+ link_exchange_note: 如果交易所要求 API key 激活或邮件确认,请先完成这一步再在此关联。+ exchange_select_blank: 选择交易所+ exchange_label: 交易所+ link_exchange_submit: 关联交易所+ not_configured_title: CoinStats 提供商连接未配置+ not_configured_message: 要关联加密钱包或交易所,您必须先配置 CoinStats 提供商连接。+ not_configured_step1_html: 前往 <strong>设置 → 提供商</strong>+ not_configured_step2_html: 找到 <strong>CoinStats</strong> 提供商+ not_configured_step3_html: 按照提供的 <strong>设置说明</strong> 完成提供商配置+ go_to_settings: 前往提供商设置+ setup_instructions: "设置说明:"+ step1_html: 访问 <a href="https://openapi.coinstats.app/" class="link" target="_blank" rel="noopener noreferrer">CoinStats 公共 API 仪表盘</a> 获取 API key。+ step2: 在下方输入您的 API key,然后点击配置。+ step3_html: 连接成功后,前往 <a href="%{accounts_url}" class="link" data-turbo-frame="_top">账户</a> 标签页设置您的加密账户。+ api_key_label: API Key+ api_key_placeholder: 必填+ configure: 配置+ update_configuration: 重新配置+ default_name: CoinStats 连接+ coinstats_item:+ deletion_in_progress: 正在删除加密钱包数据…+ provider_name: CoinStats+ syncing: 正在同步…+ sync_status:+ no_accounts: 未找到加密钱包+ all_synced:+ one: 已同步 %{count} 个加密钱包+ other: 已同步 %{count} 个加密钱包+ partial_sync: 已同步 %{linked_count} 个加密钱包,%{unlinked_count} 个需要设置+ reconnect: 重新连接+ status: "%{timestamp} 前上次同步"+ status_never: 从未同步+ status_with_summary: "%{timestamp} 前上次同步 • %{summary}"+ update_api_key: 更新 API Key+ delete: 删除+ no_wallets_title: 未连接任何加密钱包+ no_wallets_message: 当前没有任何加密钱包连接到 CoinStats。diff --git a/config/locales/views/components/zh-CN.yml b/config/locales/views/components/zh-CN.ymlnew file mode 100644index 0000000000..4f8f2189b9--- /dev/null+++ b/config/locales/views/components/zh-CN.yml@@ -0,0 +1,162 @@+---+zh-CN:+ UI:+ account:+ activity_feed:+ toggle_selection_checkboxes: 切换选择+ balance_reconciliation:+ labels:+ adjustments: 调整+ buys: 买入+ change_in_brokerage_cash: 经纪账户现金变动+ change_in_holdings_market: 持仓变动(市价活动)+ change_in_holdings_trades: 持仓变动(买入/卖出)+ charges: 费用+ end_balance: 期末余额+ end_principal: 期末本金+ end_value: 期末价值+ final_balance: 最终余额+ final_principal: 最终本金+ final_value: 最终价值+ market_changes: 市场变动+ net_cash_flow: 净现金流+ net_principal_change: 净本金变动+ net_value_change: 净价值变动+ payments: 付款+ sells: 卖出+ start_balance: 期初余额+ start_principal: 期初本金+ start_value: 期初价值+ tooltips:+ adjustments: 手动对账或其他调整+ adjustments_asset: 手动价值调整或估值+ buys: 当日加密货币买入+ change_in_brokerage_cash: 存款、取款和交易带来的现金净变化+ change_in_holdings_market: 市场价格变动导致的持仓价值变化+ change_in_holdings_trades: 买卖证券对持仓的影响+ charges: 当日新增费用+ end_balance: 所有交易后的计算余额+ end_balance_investment: 所有活动后的计算余额+ end_principal: 所有交易后的计算本金+ end_value: 所有变动后的计算价值+ final_balance: 当日最终账户余额+ final_balance_credit: 当日最终应付余额+ final_balance_crypto: 当日最终加密持仓价值+ final_balance_investment: 当日最终投资组合价值+ final_principal: 当日最终本金余额+ final_value: 当日最终资产价值+ market_changes: 市场价格变动导致的价值变化+ net_cash_flow: 当日所有交易带来的余额净变化+ net_principal_change: 当日的本金还款和新增借款+ net_value_change: 包括增值和贬值在内的所有价值变化+ payments: 当日记入卡上的付款+ sells: 当日加密货币卖出+ start_balance: 当日开始时的账户余额+ start_balance_credit: 当日开始时的欠款余额+ start_balance_crypto: 当日开始时的加密持仓价值+ start_balance_investment: 当日开始时的总投资组合价值+ start_principal: 当日开始时的本金余额+ start_value: 当日开始时的资产价值+ chart:+ no_data_available: 暂无数据+ title:+ balance: 余额+ cash_value: 现金价值+ debt_balance: 债务余额+ estimated_property_value: 预估房产价值+ estimated_vehicle_value: 预估车辆价值+ holdings_value: 持仓价值+ remaining_principal_balance: 剩余本金余额+ total_account_value: 账户总价值+ views:+ cash: 现金+ holdings: 持仓+ total_value: 总价值+ vs_available_history: 与可用历史相比+ activity_date:+ balance_tooltip: 当日结束余额,已包含所有交易和调整+ no_balance_data: 此日期没有余额数据+ ds:+ alert:+ variants:+ info: 信息+ success: 成功+ warning: 警告+ error: 错误+ destructive: 错误+ pill:+ aria_label: "%{label}"+ default_label: 预览+ dialog:+ close: 关闭+ popover:+ avatar_default_label: 打开菜单+ tooltip:+ trigger_label: 更多信息+ link:+ opens_in_new_tab: (在新标签页打开)+ provider_sync_summary:+ title: 同步摘要+ last_sync: "上次同步:%{time_ago} 前"+ accounts:+ title: 账户+ total: "总计:%{count}"+ linked: "已关联:%{count}"+ unlinked: "未关联:%{count}"+ institutions: "机构:%{count}"+ transactions:+ title: 交易+ seen: "已看到:%{count}"+ imported: "已导入:%{count}"+ updated: "已更新:%{count}"+ skipped: "已跳过:%{count}"+ fetching: 正在从券商获取...+ protected:+ one: 已保护 %{count} 条记录(未覆盖)+ other: 已保护 %{count} 条记录(未覆盖)+ view_protected: 查看受保护记录+ skip_reasons:+ excluded: 已排除+ user_modified: 用户已修改+ import_locked: CSV 导入+ protected: 受保护+ holdings:+ title: 持仓+ found: "已找到:%{count}"+ processed: "已处理:%{count}"+ trades:+ title: 交易+ imported: "已导入:%{count}"+ skipped: "已跳过:%{count}"+ fetching: 正在从券商获取活动...+ health:+ title: 健康状况+ view_error_details: 查看错误详情+ rate_limited: "%{time_ago} 前触发限流"+ recently: 最近+ errors: "错误:%{count}"+ pending_reconciled:+ one: 已核对 %{count} 笔重复待处理交易+ other: 已核对 %{count} 笔重复待处理交易+ view_reconciled: 查看已核对交易+ duplicate_suggestions:+ one: 有 %{count} 条可能的重复记录需要查看+ other: 有 %{count} 条可能的重复记录需要查看+ view_duplicate_suggestions: 查看建议的重复项+ stale_pending:+ one: "%{count} 笔过期待处理交易(已从预算中排除)"+ other: "%{count} 笔过期待处理交易(已从预算中排除)"+ view_stale_pending: 查看受影响账户+ stale_pending_count:+ one: "%{count} 笔交易"+ other: "%{count} 笔交易"+ stale_unmatched:+ one: "%{count} 笔待处理交易需要手动审核"+ other: "%{count} 笔待处理交易需要手动审核"+ view_stale_unmatched: 查看需要审核的交易+ stale_unmatched_count:+ one: "%{count} 笔交易"+ other: "%{count} 笔交易"+ data_warnings: "数据警告:%{count}"+ notices: "通知:%{count}"+ view_data_quality: 查看数据质量详情diff --git a/config/locales/views/email_confirmation_mailer/zh-CN.yml b/config/locales/views/email_confirmation_mailer/zh-CN.ymlindex 5b3bd42cfd..952a04bcbc 100644--- a/config/locales/views/email_confirmation_mailer/zh-CN.yml+++ b/config/locales/views/email_confirmation_mailer/zh-CN.yml@@ -2,8 +2,8 @@zh-CN:email_confirmation_mailer:confirmation_email:- body: 您最近请求更改邮箱地址。请点击下方按钮确认此次更改。+ body: 您最近请求更改邮箱地址。请点击下方按钮确认此更改。cta: 确认邮箱更改- expiry_notice: 此链接将在 %{hours} 小时后失效。+ expiry_notice: 此链接将在 %{hours} 小时后过期。greeting: 您好!- subject: "%{product_name}:确认您的邮箱更改"+ subject: '%{product_name}:确认您的邮箱更改'diff --git a/config/locales/views/enable_banking_items/zh-CN.yml b/config/locales/views/enable_banking_items/zh-CN.ymlindex 3285fbee5a..3bf2777672 100644--- a/config/locales/views/enable_banking_items/zh-CN.yml+++ b/config/locales/views/enable_banking_items/zh-CN.yml@@ -1,10 +1,16 @@---zh-CN:enable_banking_items:+ errors:+ api_error: 与银行通信时发生错误。+ network_unreachable: 银行服务暂时无法访问,请稍后再试。+ session_invalid: 会话已过期。请重新连接您的银行。+ unexpected: 同步过程中发生意外错误。authorize:- authorization_failed: 启动授权失败+ authorization_failed: 启动授权失败:%{message}bank_required: 请选择一家银行。- invalid_redirect: 收到的授权 URL 无效。请重试或联系支持人员。+ decoupled_not_supported: 该银行使用独立设备认证方式,目前尚不支持。请手动添加此账户。+ invalid_redirect: 收到的授权 URL 无效。请重试。redirect_uri_not_allowed: 不允许重定向。请在 Enable Banking 应用设置中配置 `%{callback_url}`。unexpected_error: 发生意外错误。请重试。callback:@@ -12,38 +18,99 @@ zh-CN:invalid_callback: 回调参数无效。item_not_found: 未找到连接。session_failed: 无法完成授权- success: 已成功连接到您的银行。您的账户正在同步中。+ success: 已成功连接到您的银行。您的账户正在同步。unexpected_error: 发生意外错误。请重试。complete_account_setup:- all_skipped: 已跳过所有账户。您可以稍后在账户页面进行设置。+ all_skipped: 所有账户都已跳过。您可以稍后在账户页面进行设置。no_accounts: 没有可设置的账户。- success: 成功创建了 %{count} 个账户!+ success: 已成功创建 %{count} 个账户!create:success: Enable Banking 配置成功。destroy:- success: Enable Banking 连接已加入删除队列。+ success: Enable Banking 连接已排队等待删除。link_accounts:- already_linked: 所选账户已关联。- link_failed: 关联账户失败- no_accounts_selected: 未选择任何账户。- no_session: 无活跃的 Enable Banking 连接。请先连接一家银行。- success: 成功关联了 %{count} 个账户。+ already_linked: 所选账户已连接。+ link_failed: 连接账户失败+ no_accounts_selected: 未选择账户。+ no_session: 当前没有活动的 Enable Banking 连接。请先连接银行。+ success: 已成功连接 %{count} 个账户。link_existing_account:+ success: 账户已成功连接到 Enable Bankingerrors:+ only_manual: 只有手动账户才能连接invalid_enable_banking_account: 所选 Enable Banking 账户无效- only_manual: 只能关联手动账户- success: 账户已成功关联到 Enable Banking+ enable_banking_item:+ deletion_in_progress: 正在删除+ provider_name: Enable Banking+ syncing: 正在同步...+ reconnect: 重新连接+ last_synced: 上次同步于 %{time} 前+ never_synced: 从未同步+ update: 更新+ delete: 删除+ setup_needed: 需要设置+ setup_needed_description:+ one: 从 Enable Banking 导入的 1 个账户需要设置+ other: 从 Enable Banking 导入的 %{count} 个账户需要设置+ set_up_accounts: 设置账户+ no_accounts_found: 未找到账户+ no_accounts_found_description: 未从 Enable Banking 找到账户。请重试同步。+ select_existing_account:+ title: 连接 Enable Banking 账户+ all_linked: 看起来所有 Enable Banking 账户都已连接。+ try_after_sync: 如果您刚刚连接或同步,请等待同步完成后再试。+ unlink_to_move: 若要链接不同的账户,请先在账户的操作菜单中取消其连接。+ balance: 余额+ link: 连接+ cancel: 取消+ setup_accounts:+ title: 设置您的 Enable Banking 账户+ header_subtitle: 为您导入的账户选择正确的账户类型+ choose_account_type: 为每个 Enable Banking 账户选择正确的账户类型:+ historical_data_range: 历史数据范围:+ sync_start_date_label: 从以下日期开始同步交易:+ sync_start_date_help: 选择要同步交易历史的回溯范围。最多可获取 2 年历史。+ account_type_label: 账户类型:+ balance: 余额+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ cancel: 取消new:- link_enable_banking_title: 关联 Enable Banking+ link_enable_banking_title: 连接 Enable Banking+ session_expired: 会话已过期 - 需要重新授权+ connected_bank: 已连接的银行+ session_expires: 会话过期时间+ unknown: 未知+ connection: 连接+ configured: 已配置+ ready_to_connect: 准备连接银行+ sync: 同步+ reconnect: 重新连接+ connect_bank: 连接银行+ remove_confirm: 确定要移除此连接吗?+ remove: 移除+ add_connection: 添加连接+ not_configured: 尚未配置 Enable Banking 连接+ not_configured_description: 在连接 Enable Banking 账户之前,您需要先配置 Enable Banking 连接。+ setup_steps_title: 设置步骤:+ setup_step_1_html: 前往 <strong>设置 → 提供商</strong>+ setup_step_2_html: 找到 <strong>Enable Banking</strong> 区块+ setup_step_3: 输入您的 Enable Banking 凭据+ setup_step_4: 返回此处连接您的账户+ go_to_provider_settings: 前往提供商设置reauthorize:- invalid_redirect: 收到的授权 URL 无效。请重试或联系支持人员。+ invalid_redirect: 收到的授权 URL 无效。请重试。reauthorization_failed: 重新授权失败select_bank:+ beta_label: Betacancel: 取消- check_country: 请检查您的国家代码设置。+ check_country: 请检查您的国家/地区代码设置。credentials_required: 请先配置您的 Enable Banking 凭据。- description: 选择您想要连接到账户的银行。- no_banks: 该国家/地区暂无可用银行。+ description: 选择您要连接到账户的银行。+ no_banks: 此国家/地区没有可用银行。+ no_search_results: 没有匹配您搜索的银行。+ search_label: 搜索您的银行+ search_placeholder: 搜索您的银行...title: 选择您的银行update:success: Enable Banking 配置已更新。diff --git a/config/locales/views/holdings/zh-CN.yml b/config/locales/views/holdings/zh-CN.ymlindex 1dce20e3e1..f0c6a38efe 100644--- a/config/locales/views/holdings/zh-CN.yml+++ b/config/locales/views/holdings/zh-CN.yml@@ -2,34 +2,100 @@zh-CN:holdings:cash:- brokerage_cash: 经纪账户现金+ brokerage_cash: 券商现金destroy:success: 持仓已删除+ cannot_delete: 您不能删除此持仓+ update:+ success: 成本基础已保存。+ error: 成本基础值无效。+ unlock_cost_basis:+ success: 成本基础已解锁。下次同步时可能会更新。+ remap_security:+ success: 证券更新成功。+ security_not_found: 找不到所选证券。+ reset_security:+ success: 已重置为提供商值。+ sync_prices:+ success: 市场数据同步成功。+ unavailable: 离线证券无法同步市场数据。+ provider_error: 无法获取最新价格。请几分钟后再试。+ errors:+ security_collision: 无法重新映射:您已在 %{date} 拥有 %{ticker} 的持仓。+ cost_basis_sources:+ manual: 用户设置+ calculated: 根据交易计算+ provider: 来自提供商+ cost_basis_cell:+ unknown: --+ set: 设置+ set_cost_basis_header: 为 %{ticker}(%{qty} 股)设置成本基础+ total_cost_basis_label: 总成本基础+ or_per_share_label: 或输入每股:+ per_share: 每股+ cancel: 取消+ save: 保存+ overwrite_confirm_title: 覆盖成本基础?+ overwrite_confirm_body: 这将替换当前成本基础 %{current}。holding:per_share: 每股- shares: "%{qty}股"+ shares: "%{qty} 股"+ unknown: --+ no_cost_basis: 没有成本基础index:average_cost: 平均成本holdings: 持仓name: 名称- new_holding: 新建交易- no_holdings: 暂无持仓记录- return: 总收益+ new_holding: 新活动+ no_holdings: 没有可显示的持仓。+ return: 总回报weight: 权重missing_price_tooltip:- description: 此投资缺少价格数据,无法计算其收益或价值。- missing_data: 数据缺失+ description: 此投资缺少数值,我们无法计算其回报或价值。+ missing_data: 缺少数据show:avg_cost_label: 平均成本- current_market_price_label: 当前市价+ current_market_price_label: 当前市场价delete: 删除- delete_subtitle: 此操作将删除该持仓及相关所有交易记录,且不可恢复。+ delete_subtitle: 这将删除该持仓以及该账户下所有相关交易。此操作无法撤销。delete_title: 删除持仓- history: 历史记录+ edit_security: 编辑证券+ history: 历史+ no_trade_history: 此持仓没有可用的交易历史。overview: 概览portfolio_weight_label: 投资组合权重settings: 设置- ticker_label: 股票代码- total_return_label: 总收益- trade_history_entry: "%{qty}股%{security} @ %{price}"+ security_label: 证券+ originally: 曾为 %{ticker}+ search_security: 搜索证券+ search_security_placeholder: 按代码或名称搜索+ cancel: 取消+ remap_security: 保存+ provider_disabled_warning: 价格更新已暂停——%{provider} 提供商已禁用。请切换到下方其他提供商,或在设置中重新启用。+ truncated_history_warning: 价格历史仅从 %{date} 起可用。更早日期在所选提供商中没有数据——这可能是因为该资产在您的交易日期之后才上市,或者该提供商当前方案只提供有限的历史窗口。+ switch_provider_label: 切换提供商+ switch_provider_description: "%{provider} 已禁用。请从其他已启用的提供商中搜索此证券。"+ switch_provider_button: 切换+ no_security_provider: 尚未配置证券提供商。无法搜索证券。+ security_remapped_label: 证券已重新映射+ provider_sent: 提供商返回:%{ticker}+ reset_to_provider: 重置为提供商值+ reset_confirm_title: 重置为提供商证券?+ reset_confirm_body: 这会将证券从 %{current} 变回 %{original},并移动所有相关交易。+ ticker_label: 代码+ trade_history_entry: "%{qty} 股 %{security},价格 %{price}"+ total_return_label: 总回报unknown: 未知+ cost_basis_locked_label: 成本基础已锁定+ cost_basis_locked_description: 您手动设置的成本基础不会被同步更改。+ unlock_cost_basis: 解锁+ unlock_confirm_title: 解锁成本基础?+ unlock_confirm_body: 这将允许成本基础通过提供商同步或交易计算进行更新。+ shares_label: 股数+ book_value_label: 账面价值+ market_value_label: 市值+ market_data_label: 市场数据+ market_data_sync_button: 刷新+ last_price_update: 最后价格更新+ syncing: 正在同步...+ never: 从未diff --git a/config/locales/views/ibkr_items/zh-CN.yml b/config/locales/views/ibkr_items/zh-CN.ymlnew file mode 100644index 0000000000..8c6e2cc464--- /dev/null+++ b/config/locales/views/ibkr_items/zh-CN.yml@@ -0,0 +1,92 @@+---+zh-CN:+ providers:+ ibkr:+ name: Interactive Brokers+ connection_description: 连接 Interactive Brokers Flex Web Service 报告+ institution_name: Interactive Brokers+ ibkr_items:+ defaults:+ name: Interactive Brokers+ ibkr_item:+ deletion_in_progress: 正在删除+ flex_web_service: Flex Web Service+ syncing: 正在同步+ requires_update: 凭据需要注意+ error: 错误+ synced: "%{time} 前已同步。%{summary}。"+ never_synced: 从未同步。+ setup_accounts: 设置账户+ delete: 删除+ accounts_need_setup: 账户需要设置+ accounts_need_setup_description: IBKR 的部分账户需要关联到 Sure 账户。+ no_accounts_discovered: 尚未发现 IBKR 账户。+ no_accounts_discovered_description: 请在配置 Flex 查询后运行一次同步,以发现账户。+ setup_accounts:+ page_title: 设置 Interactive Brokers 账户+ dialog_title: 设置您的 Interactive Brokers 账户+ subtitle: 选择要关联的 IBKR 券商账户。+ info_box:+ title: IBKR Flex Query 导入+ items:+ item_1: 具有当前价格和数量的持仓+ item_2: 每个持仓的成本基础+ item_3: 交易、分红、佣金,以及现金存入或取出+ warning: 历史活动仅限于 Flex Query 的报表窗口+ status:+ fetching_accounts: 正在从 Interactive Brokers 获取账户...+ no_accounts_found_title: 未找到账户。+ no_accounts_found_description: Sure 在最新的 Flex 报告中未找到任何 IBKR 账户。+ available_accounts:+ title: 可用账户+ account_type_investment: 投资+ account_summary: "%{account_type} • 余额:%{balance}"+ account_id: "账户 ID:%{account_id}"+ link_existing:+ description: 或将发现的 IBKR 账户关联到现有的手动投资账户。+ 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_status:+ no_accounts: 尚未发现 IBKR 账户+ all_linked:+ one: 已关联 1 个账户+ other: 已关联 %{count} 个账户+ partial: 已关联 %{linked} 个,%{unlinked} 个需要设置+ select_existing_account:+ title: 关联 Interactive Brokers 账户+ no_accounts_available: 目前没有可关联的未链接 Interactive Brokers 账户。+ run_sync_hint: "在更新 Flex 查询后,请前往 设置 > 提供商 运行一次同步。"+ wait_for_sync: 等待账户发现同步完成。+ balance: 余额+ link: 关联+ cancel: 取消+ create:+ success: Interactive Brokers 配置成功。+ update:+ success: Interactive Brokers 配置更新成功。+ destroy:+ success: Interactive Brokers 连接已安排删除。+ select_accounts:+ not_configured: Interactive Brokers 尚未配置。+ link_existing_account:+ not_found: 未找到账户或 Interactive Brokers 配置。+ only_manual_investment: 只有手动投资账户才能关联到 Interactive Brokers。+ already_linked: 此 Interactive Brokers 账户已关联。+ success: 已成功关联到 Interactive Brokers 账户。+ failed: 关联 Interactive Brokers 账户失败。+ complete_account_setup:+ success:+ one: 已成功创建 %{count} 个 Interactive Brokers 账户。+ other: 已成功创建 %{count} 个 Interactive Brokers 账户。+ none_selected: 未选择任何账户。+ none_created: 未创建任何账户。diff --git a/config/locales/views/imports/zh-CN.yml b/config/locales/views/imports/zh-CN.ymlindex 8ea66765bf..21be8ebf1c 100644--- a/config/locales/views/imports/zh-CN.yml+++ b/config/locales/views/imports/zh-CN.yml@@ -1,57 +1,249 @@---zh-CN:import:+ qif_category_selections:+ update:+ success: 分类和标签已保存。+ show:+ title: 配置并选择+ description: 请先检查检测到的日期格式,然后选择要从 QIF 文件导入到 %{product_name} 的分类和标签。+ categories_heading: 分类+ categories_found:+ one: 找到 1 个分类+ other: 找到 %{count} 个分类+ category_name_col: 分类名称+ transactions_col: 交易+ tags_heading: 标签+ tags_found:+ one: 找到 1 个标签+ other: 找到 %{count} 个标签+ tag_name_col: 标签名称+ txn_count:+ one: 1 笔交易+ other: "%{count} 笔交易"+ split_warning_title: 检测到拆分交易+ split_warning_description: 此 QIF 文件包含拆分交易。当前尚不支持拆分,因此每笔拆分交易将作为一笔完整金额、无分类的单笔交易导入。各个拆分明细不会被保留。+ split_badge: 拆分+ empty_state_primary: 此 QIF 文件中未找到任何分类或标签。+ empty_state_secondary: 所有交易都将以无分类或无标签的形式导入。+ submit: 继续审核cleans:show:- description: 请在下方表格中编辑您的数据。红色单元格表示无效数据。+ not_configured: 请先配置导入设置再继续。+ description: 在下面的表格中编辑您的数据。红色单元格表示无效。errors_notice: 您的数据中存在错误。将鼠标悬停在错误上可查看详情。errors_notice_mobile: 您的数据中存在错误。点击错误提示可查看详情。- title: 数据清洗+ title: 清理您的数据+ data_cleaned: 您的数据已清理完成+ next_step: 下一步+ all_rows: 所有行+ error_rows: 错误行configurations:+ update:+ success: 导入配置成功。+ account_import:+ leave_empty: 留空+ default: 默认+ entity_type: 实体类型+ name: 名称+ balance: 余额+ currency: 货币+ balance_date: 余额日期+ date_format: 日期格式+ select_format: 选择格式+ apply_configuration: 应用配置+ transaction_import:+ date_label: 日期+ select_column: 选择列+ select_format: 选择格式+ amount_label: 金额+ default: 默认+ currency_label: 货币+ format_label: 格式+ amount_type_strategy_label: 金额类型策略+ select_strategy: 选择策略+ set: 设为+ as_amount_type_column: 作为金额类型列+ select_value: 选择值+ as_identifier_value: 作为标识值+ treat_as_html: 将“<span class="font-medium">%{value}</span>”视为+ income_inflow: 收入(流入)+ expense_outflow: 支出(流出)+ select_type: 选择类型+ leave_empty: 留空+ account_label: 账户+ name_label: 名称+ category_label: 分类+ tags_label: 标签+ notes_label: 备注+ apply_configuration: 应用配置+ incomes_are_positive: 收入为正数+ incomes_are_negative: 收入为负数+ amount_type_label: 金额类型+ select_convention: 选择约定+ date_format_label: 日期格式+ rows_to_skip_label: 跳过前 n 行+ trade_import:+ select_column: 选择列+ date_label: 日期+ quantity_label: 数量+ buys_are_positive: 买入为正数量+ buys_are_negative: 买入为负数量+ default: 默认+ currency_label: 货币+ format_label: 格式+ select_format: 选择格式+ ticker_label: 代码+ leave_empty: 留空+ stock_exchange_code_label: 证券交易所代码+ price_label: 价格+ account_label: 账户+ name_label: 名称+ note_label: 备注+ no_security_provider_warning: 证券价格提供方尚未配置。您的交易导入仍可进行,但 Sure 不会回填价格历史。请前往设置进行配置。+ date_format_label: 日期格式+ apply_configuration: 应用配置category_import:button_label: 继续- description: 上传简单的 CSV 文件(例如我们导出数据时生成的文件格式)。我们将自动为您映射列。- instructions: 选择继续以解析您的 CSV 文件并进入清洗步骤。+ description: 上传一个简单 CSV 文件(例如我们在导出数据时生成的那个)。系统会自动为您映射列。+ instructions: 选择继续即可解析 CSV 并进入清理步骤。mint_import:date_format_label: 日期格式+ actual_import:+ preconfigured_notice: 我们已为您的 Actual Budget 导入预先配置好了。请继续下一步。+ leave_empty: 留空+ date_label: 日期+ date_format_label: 日期格式+ amount_label: 金额+ signage_convention_label: 符号约定+ incomes_are_negative: 收入为负数+ incomes_are_positive: 收入为正数+ account_label: 账户(可选)+ name_label: 收款方(可选)+ category_label: 分类(可选)+ notes_label: 备注(可选)+ apply_configuration: 应用配置rule_import:- description: 配置您的规则导入。规则将根据 CSV 数据创建或更新。+ description: 配置您的规则导入。系统将根据 CSV 数据创建或更新规则。process_button: 处理规则process_help: 点击下方按钮处理您的 CSV 并生成规则行。show:- description: 请选择 CSV 文件中各列对应的字段。- title: 配置导入设置- trade_import:- date_format_label: 日期格式- transaction_import:- date_format_label: 日期格式+ description: 选择与 CSV 中每个字段对应的列。+ title: 配置您的导入confirms:+ sure_import:+ title: 确认您的导入+ description: 检查将从导出文件中导入的数据。+ summary: 导入摘要+ empty_summary: 我们在此文件中找不到任何可导入的记录。它可能为空,或者这些行与预期的导出格式不匹配(每行应为一个 JSON 对象,包含 "type" 和 "data" 键,并使用此导入所支持的类型)。+ publish_button: 开始导入+ cancel: 取消mappings:- create_account: 新建账户+ create_account: 创建账户csv_mapping_label: CSV 中的 %{mapping}- no_accounts: 您目前没有任何账户。请创建一个账户用于处理 CSV 中的(未分配)行,或返回上一步的“清洗”环节提供一个可用的账户名称。- rows_label: 行数sure_mapping_label: "%{product_name} 中的 %{mapping}"- unassigned_account: 需要为未分配行创建新账户?+ no_accounts: 您还没有任何账户。请创建一个账户,用于 CSV 中未分配的行,或者返回清理步骤并提供一个我们可以使用的账户名称。+ rows_label: 行+ unassigned_account: 是否需要为未分配的行创建新账户?+ next: 下一步show:- account_mapping_description: 将导入文件中的所有账户分配到 %{product_name} 的现有账户。您也可以新建账户或保留为未分类。- account_mapping_title: 分配账户+ invalid_data: 您的数据无效,请编辑直到所有错误都解决+ account_mapping_description: 将导入文件中的所有账户映射到 %{product_name} 中现有的账户。您也可以添加新账户,或将其保留为未分类。+ account_mapping_title: 分配您的账户account_type_mapping_description: 将导入文件中的所有账户类型分配到 %{product_name} 的账户类型- account_type_mapping_title: 分配账户类型- category_mapping_description: 将导入文件中的所有分类分配到 %{product_name} 的现有分类。您也可以新建分类或保留为未分类。- category_mapping_title: 分配分类- tag_mapping_description: 将导入文件中的所有标签分配到 %{product_name} 的现有标签。您也可以新建标签或保留为未分类。- tag_mapping_title: 分配标签+ account_type_mapping_title: 分配您的账户类型+ category_mapping_description: 将导入文件中的所有分类分配到 %{product_name} 中现有的分类。您也可以添加新分类,或将其保留为未分类。+ category_mapping_title: 分配您的分类+ tag_mapping_description: 将导入文件中的所有标签分配到 %{product_name} 中现有的标签。您也可以添加新标签,或将其保留为未分类。+ tag_mapping_title: 分配您的标签uploads:+ update:+ qif_uploaded: QIF 文件上传成功。show:- description: 请在下方粘贴或上传您的 CSV 文件。开始前请仔细阅读下表中的说明。- instructions_1: 下方是可供导入的 CSV 示例文件及列说明。- instructions_2: 您的 CSV 文件必须包含表头行- instructions_3: 您可以为各列自由命名,稍后步骤中将进行字段映射。- instructions_4: 标有星号 (*) 的列为必填数据。- instructions_5: 数字中请勿包含逗号、货币符号或括号。- title: 导入数据+ csv_invalid: 必须是有效的 CSV,且至少包含标题和一行数据+ drop_csv_title: 拖放 CSV 以上传+ drop_csv_subtitle: 您的文件将自动上传+ upload_csv_tab: 上传 CSV+ copy_paste_tab: 复制并粘贴+ account_optional_label: 账户(可选)+ multi_account_import: 多账户导入+ upload_csv_button: 上传 CSV+ paste_csv_placeholder: 将 CSV 文件内容粘贴到这里+ download_sample_csv: 下载示例 CSV+ to_see_format: 以查看所需的 CSV 格式+ qif_title: 上传 QIF 文件+ qif_description: 选择此 QIF 文件所属的账户,然后上传您从 Quicken 导出的 .qif 文件。+ qif_account_label: 账户+ qif_account_placeholder: 选择一个账户…+ qif_file_prompt: 将您的 QIF 文件添加到这里+ qif_file_hint: 仅限 .qif 文件+ qif_submit: 上传 QIF+ browse: 浏览+ csv_file_prompt: 将您的 CSV 文件添加到这里+ description: 请在下方粘贴或上传您的 CSV 文件。开始前请先阅读下方表格中的说明。+ instructions_1: 下方示例 CSV 展示了可用于导入的列。+ instructions_2: 您的 CSV 必须有表头行+ instructions_3: 列名可以随意命名。后续步骤中您会进行映射。+ instructions_4: 标有星号(*)的列为必填数据。+ instructions_5: 数字中不要包含逗号、货币符号和括号。+ title: 导入您的数据+ sure_import:+ title: 从导出文件导入+ description: 上传您的数据导出 ZIP 中的 all.ndjson 文件,以恢复您的账户、交易、分类等数据。+ drop_title: 拖放 NDJSON 以上传+ drop_subtitle: 您的文件将自动上传+ browse: 浏览+ browse_hint: 将您的 all.ndjson 文件添加到这里+ upload_button: 上传 NDJSON+ hint_html: 上传您数据导出 ZIP 中的 <strong>all.ndjson</strong> 文件+ ndjson_invalid: 必须是有效的 NDJSON,且至少包含一条记录imports:+ mapping_labels:+ account_type: 账户类型+ account: 账户+ category: 分类+ tag: 标签+ dry_run_resources:+ transactions: 交易+ balances: 余额+ accounts: 账户+ categories: 分类+ tags: 标签+ rules: 规则+ merchants: 商户+ recurring_transactions: 循环交易+ transfers: 转账+ rejected_transfers: 被拒绝的转账+ trades: 交易+ holdings: 持仓+ valuations: 估值+ budgets: 预算+ budget_categories: 预算分类+ column_labels:+ date: 日期+ amount: 金额+ name: 名称+ currency: 货币+ category: 分类+ tags: 标签+ account: 账户+ notes: 备注+ qty: 数量+ ticker: 代码+ exchange: 交易所+ price: 价格+ entity_type: 类型+ category_parent: 父分类+ category_color: 颜色+ category_icon: Lucide 图标+ update:+ account_saved: 账户已保存。+ invalid_account: 未找到账户。+ publish:+ started: 您的导入已在后台开始。+ max_rows_exceeded: 您的导入超过了最大行数 %{max}。+ revert:+ started: 导入正在后台回滚。index:title: 导入记录new: 新建导入diff --git a/config/locales/views/indexa_capital_items/zh-CN.yml b/config/locales/views/indexa_capital_items/zh-CN.ymlnew file mode 100644index 0000000000..f59c271dda--- /dev/null+++ b/config/locales/views/indexa_capital_items/zh-CN.yml@@ -0,0 +1,227 @@+---+zh-CN:+ indexa_capital_items:+ 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: Indexa Capital 提供商未配置+ sync:+ status:+ importing: 正在从 Indexa Capital 导入账户...+ processing: 正在处理持仓和活动...+ calculating: 正在计算余额...+ importing_data: 正在导入账户数据...+ checking_setup: 正在检查账户配置...+ needs_setup: "%{count} 个账户需要设置..."+ success: 已开始同步+ panel:+ setup_instructions: "设置说明:"+ step_1: 前往您的 Indexa Capital 仪表盘生成只读 API token+ step_2: 将您的 API token 粘贴到下方并点击保存+ step_3: 连接成功后,前往账户标签页设置新账户+ field_descriptions: "字段说明:"+ optional: (可选)+ required: (必填)+ optional_with_default: (可选,默认为 %{default_value})+ alternative_auth: 或者改用用户名/密码认证...+ save_button: 保存配置+ update_button: 更新配置+ fields:+ api_token:+ label: API Token+ description: 来自 Indexa Capital 仪表盘的只读 API token+ placeholder_new: 在此粘贴您的 API token+ placeholder_update: 输入新的 API token 以更新+ username:+ label: 用户名+ description: 您的 Indexa Capital 用户名/邮箱+ placeholder_new: 在此粘贴用户名+ placeholder_update: 输入新的用户名以更新+ document:+ label: Document ID+ description: 您的 Indexa Capital document/ID+ placeholder_new: 在此粘贴 document ID+ placeholder_update: 输入新的 document ID 以更新+ password:+ label: 密码+ description: 您的 Indexa Capital 密码+ placeholder_new: 在此粘贴密码+ placeholder_update: 输入新的密码以更新+ create:+ success: Indexa Capital 连接创建成功+ update:+ success: Indexa Capital 连接已更新+ destroy:+ success: Indexa Capital 连接已移除+ index:+ title: Indexa Capital 连接+ loading:+ loading_message: 正在加载 Indexa Capital 账户...+ loading_title: 正在加载+ link_accounts:+ all_already_linked:+ one: 选定账户(%{names})已关联+ other: 所有选定的 %{count} 个账户都已关联:%{names}+ api_error: "API 错误:%{message}"+ invalid_account_names:+ one: 无法关联空名称账户+ other: 无法关联 %{count} 个空名称账户+ link_failed: 关联账户失败+ no_accounts_selected: 请至少选择一个账户+ no_api_key: 未找到 Indexa Capital 凭据。请在提供商设置中配置。+ partial_invalid: "成功关联 %{created_count} 个账户,%{already_linked_count} 个已关联,%{invalid_count} 个账户名称无效"+ partial_success: "成功关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联:%{already_linked_names}"+ success:+ one: "成功关联 %{count} 个账户"+ other: "成功关联 %{count} 个账户"+ indexa_capital_item:+ accounts_need_setup: 账户需要设置+ delete: 删除连接+ deletion_in_progress: 正在删除...+ error: 错误+ more_accounts_available:+ one: 还有 %{count} 个账户可用+ other: 还有 %{count} 个账户可用+ no_accounts_description: 此连接尚未关联任何账户。+ no_accounts_title: 无账户+ provider_name: Indexa Capital+ requires_update: 连接需要更新+ setup_action: 设置新账户+ setup_description: 已关联 %{linked} / %{total} 个账户。请选择新导入的 Indexa Capital 账户类型。+ setup_needed: 新账户已准备好设置+ status: "%{timestamp} 前已同步 — %{summary}"+ status_never: 从未同步+ syncing: 正在同步...+ total: 总计+ unlinked: 未关联+ update_credentials: 更新凭据+ select_accounts:+ accounts_selected: 已选择账户+ api_error: "API 错误:%{message}"+ cancel: 取消+ configure_name_in_provider: 无法导入 - 请先在 Indexa Capital 中配置账户名称+ description: 选择您想链接到 %{product_name} 账户的账户。+ link_accounts: 链接所选账户+ no_accounts_found: 未找到账户。请检查您的 Indexa Capital 凭据。+ no_api_key: 未配置 Indexa Capital 凭据。请在设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Indexa Capital 凭据。+ no_name_placeholder: (无名称)+ title: 选择 Indexa Capital 账户+ select_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ all_accounts_already_linked: 所有 Indexa Capital 账户都已关联+ api_error: "API 错误:%{message}"+ balance_label: 余额:+ cancel: 取消+ cancel_button: 取消+ configure_name_in_provider: 无法导入 - 请先在 Indexa Capital 中配置账户名称+ connect_hint: 连接一个 Indexa Capital 账户以启用自动同步。+ description: 选择一个 Indexa Capital 账户与此账户关联。交易将自动同步并去重。+ header: 关联到 Indexa Capital+ link_account: 关联账户+ link_button: 关联此账户+ linking_to: 正在关联到:+ no_account_specified: 未指定账户+ no_accounts: 未找到未关联的 Indexa Capital 账户。+ no_accounts_found: 未找到 Indexa Capital 账户。请检查您的凭据。+ no_api_key: 未配置 Indexa Capital 凭据。请在设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Indexa Capital 凭据。+ no_name_placeholder: (无名称)+ settings_link: 前往提供商设置+ subtitle: 选择一个 Indexa Capital 账户+ title: 将 %{account_name} 与 Indexa Capital 关联+ link_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ api_error: "API 错误:%{message}"+ invalid_account_name: 无法关联空名称账户+ provider_account_already_linked: 此 Indexa Capital 账户已关联到另一个账户+ provider_account_not_found: 未找到 Indexa Capital 账户+ missing_parameters: 缺少必需参数+ no_api_key: 未找到 Indexa Capital 凭据。请在提供商设置中配置。+ success: 已成功将 %{account_name} 与 Indexa Capital 关联+ setup_accounts:+ account_type_label: 账户类型:+ accounts_count:+ one: 有 %{count} 个账户可用+ other: 有 %{count} 个账户可用+ all_accounts_linked: 您的所有 Indexa Capital 账户都已设置完成。+ api_error: "API 错误:%{message}"+ creating: 正在创建账户...+ fetch_failed: 获取账户失败+ import_selected: 导入所选账户+ instructions: 选择您想从 Indexa Capital 导入的账户。您可以选择多个账户。+ no_accounts: 此 Indexa Capital 连接中未找到未关联账户。+ no_accounts_to_setup: 没有需要设置的账户+ no_api_key: 未配置 Indexa Capital 凭据。请检查您的连接设置。+ select_all: 全选+ account_types:+ skip: 跳过此账户+ depository: 支票账户或储蓄账户+ credit_card: 信用卡+ investment: 投资账户+ crypto: 加密货币账户+ loan: 贷款或抵押贷款+ other_asset: 其他资产+ subtype_labels:+ depository: 账户子类型:+ credit_card: ""+ investment: 投资类型:+ crypto: ""+ loan: 贷款类型:+ other_asset: ""+ subtype_messages:+ credit_card: 信用卡将自动设为信用卡账户。+ other_asset: 其他资产无需额外选项。+ crypto: 加密货币账户将用于跟踪持仓和交易。+ subtypes:+ depository:+ checking: 支票账户+ savings: 储蓄账户+ hsa: 健康储蓄账户+ cd: 定期存单+ money_market: 货币市场+ investment:+ brokerage: 券商账户+ pension: 养老金+ retirement: 退休账户+ "401k": "401(k)"+ roth_401k: "Roth 401(k)"+ "403b": "403(b)"+ tsp: 节俭储蓄计划+ "529_plan": "529 计划"+ hsa: 健康储蓄账户+ mutual_fund: 共同基金+ ira: 传统 IRA+ roth_ira: Roth IRA+ angel: 天使投资+ loan:+ mortgage: 抵押贷款+ student: 学生贷款+ auto: 汽车贷款+ other: 其他贷款+ balance: 余额+ cancel: 取消+ choose_account_type: "为每个 Indexa Capital 账户选择正确的账户类型:"+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ historical_data_range: "历史数据范围:"+ subtitle: 为您导入的账户选择正确的账户类型+ sync_start_date_help: 选择您希望向前同步交易历史的时间范围。+ sync_start_date_label: "从以下日期开始同步交易:"+ title: 设置您的 Indexa Capital 账户+ complete_account_setup:+ all_skipped: 所有账户都已跳过,未创建任何账户。+ creation_failed: 创建账户失败:%{error}+ no_accounts: 没有需要设置的账户。+ success: 成功创建 %{count} 个账户。+ preload_accounts:+ no_credentials_configured: 请先在提供商设置中配置您的 Indexa Capital 凭据。diff --git a/config/locales/views/investments/zh-CN.yml b/config/locales/views/investments/zh-CN.ymlindex 80f59bef0a..0cc681e3c0 100644--- a/config/locales/views/investments/zh-CN.yml+++ b/config/locales/views/investments/zh-CN.yml@@ -2,16 +2,188 @@zh-CN:investments:edit:- edit: 编辑%{account}+ edit: 编辑 %{account}form:none: 无subtype_prompt: 选择投资类型new:- title: 请输入账户余额+ title: 输入账户余额show:chart_title: 总价值+ subtypes:+ brokerage:+ short: 券商+ long: 券商账户+ 401k:+ short: 401(k)+ long: 401(k)+ roth_401k:+ short: Roth 401(k)+ long: Roth 401(k)+ 403b:+ short: 403(b)+ long: 403(b)+ 457b:+ short: 457(b)+ long: 457(b)+ tsp:+ short: TSP+ long: 节俭储蓄计划+ ira:+ short: IRA+ long: 传统 IRA+ roth_ira:+ short: Roth IRA+ long: Roth IRA+ sep_ira:+ short: SEP IRA+ long: SEP IRA+ simple_ira:+ short: SIMPLE IRA+ long: SIMPLE IRA+ 529_plan:+ short: 529 计划+ long: 529 教育储蓄计划+ hsa:+ short: HSA+ long: 健康储蓄账户+ ugma:+ short: UGMA+ long: UGMA 托管账户+ utma:+ short: UTMA+ long: UTMA 托管账户+ isa:+ short: ISA+ long: 个人储蓄账户+ lisa:+ short: LISA+ long: 终身 ISA+ sipp:+ short: SIPP+ long: 自主投资个人养老金+ workplace_pension_uk:+ short: 养老金+ long: 工作场所养老金+ rrsp:+ short: RRSP+ long: 注册退休储蓄计划+ tfsa:+ short: TFSA+ long: 免税储蓄账户+ resp:+ short: RESP+ long: 注册教育储蓄计划+ lira:+ short: LIRA+ long: 锁定退休账户+ rrif:+ short: RRIF+ long: 注册退休收入基金+ super:+ short: Super+ long: 养老金储蓄+ smsf:+ short: SMSF+ long: 自主管理超级年金基金+ pea:+ short: PEA+ long: 股票储蓄计划+ pillar_3a:+ short: 第三支柱 3a+ long: 私人养老金(第三支柱 3a)+ riester:+ short: Riester+ long: Riester 养老金+ nps:+ short: NPS+ long: 国家养老金系统+ apy:+ short: APY+ long: Atal 养老金计划+ indian_stocks:+ short: 印度股票+ long: 印度股票(Demat)+ indian_equity:+ short: 印度权益+ long: 印度权益+ indian_etf:+ short: 印度 ETF+ long: 印度 ETF+ life_insurance:+ short: 人寿保险+ long: 人寿保险+ ppf:+ short: PPF+ long: 公共公积金+ ssy:+ short: SSY+ long: Sukanya Samriddhi 计划+ nsc:+ short: NSC+ long: 国家储蓄证书+ scss:+ short: SCSS+ long: 老年人储蓄计划+ fd:+ short: 定存+ long: 定期存款+ rd:+ short: RD+ long: 定期储蓄存款+ pomis:+ short: POMIS+ long: 邮政月收益计划+ kvp:+ short: KVP+ long: Kisan Vikas Patra+ gold_etf:+ short: 黄金 ETF+ long: 黄金 ETF+ gold_mf:+ short: 黄金基金+ long: 黄金共同基金+ sgb:+ short: SGB+ long: 主权黄金债券+ g_sec:+ short: 国债+ long: 政府证券(G-Secs)+ sdl:+ short: SDL+ long: 州发展贷款(SDLs)+ corporate_bond:+ short: 公司债+ long: 公司债+ infrastructure_bond:+ short: 基建债+ long: 基础设施债券+ tax_free_bond:+ short: 免税债+ long: 免税债券+ pension:+ short: 养老金+ long: 养老金+ retirement:+ short: 退休+ long: 退休账户+ mutual_fund:+ short: 共同基金+ long: 共同基金+ gold:+ short: 黄金+ long: 黄金(实物或数字)+ angel:+ short: 天使投资+ long: 天使投资+ trust:+ short: 信托+ long: 信托+ other:+ short: 其他+ long: 其他投资value_tooltip:cash: 现金holdings: 持仓total: 投资组合余额- total_value_tooltip: 总投资组合余额等于经纪账户现金(可用于交易)与持仓当前市值的总和。+ total_value_tooltip: 投资组合总余额是券商现金(可用于交易)与当前持仓市值之和。diff --git a/config/locales/views/invitations/zh-CN.yml b/config/locales/views/invitations/zh-CN.ymlindex 9529f4b019..0488792922 100644--- a/config/locales/views/invitations/zh-CN.yml+++ b/config/locales/views/invitations/zh-CN.yml@@ -1,19 +1,27 @@---zh-CN:invitations:+ accept_choice:+ create_account: 创建新账户+ joined_household: 您已加入该家庭。+ message: "%{inviter} 邀请您以 %{role} 身份加入。"+ sign_in_existing: 我已经有账户了+ title: 加入 %{family}create:- failure: 发送邀请失败- success: 邀请发送成功+ existing_user_added: 用户已添加到您的家庭中。+ failure: 无法发送邀请+ success: 邀请已成功发送destroy:- failure: 删除邀请时出现问题。- not_authorized: 您没有管理邀请的权限。- success: 邀请已成功删除。+ failure: 移除邀请时出现问题。+ not_authorized: 您无权管理邀请。+ success: 邀请已成功移除。new:email_label: 邮箱地址- email_placeholder: 请输入邮箱地址+ email_placeholder: 输入邮箱地址role_admin: 管理员+ role_guest: 访客role_label: 角色role_member: 成员submit: 发送邀请- subtitle: 发送邀请,让对方加入您在 %{product_name} 的家庭账户- title: 邀请成员+ subtitle: 向 %{product_name} 中的 %{moniker} 账户发送邀请+ title: 邀请他人diff --git a/config/locales/views/invite_codes/zh-CN.yml b/config/locales/views/invite_codes/zh-CN.ymlindex 3aba8c4808..615c06350e 100644--- a/config/locales/views/invite_codes/zh-CN.yml+++ b/config/locales/views/invite_codes/zh-CN.yml@@ -1,6 +1,10 @@---zh-CN:invite_codes:+ create:+ success: 代码已生成+ destroy:+ success: 代码已删除index:- invite_code_description: 生成新代码后将会显示在此处。已使用的生成代码将不再显示。- no_invite_codes: 暂无邀请码+ invite_code_description: 生成一个新代码后,它会显示在这里。已使用的已生成代码将不再显示。+ no_invite_codes: 没有可显示的代码diff --git a/config/locales/views/kraken_items/zh-CN.yml b/config/locales/views/kraken_items/zh-CN.ymlnew file mode 100644index 0000000000..31907c2637--- /dev/null+++ b/config/locales/views/kraken_items/zh-CN.yml@@ -0,0 +1,85 @@+---+zh-CN:+ kraken_items:+ provider_connection:+ default_name: Kraken+ default_description: 连接到 Kraken 交易所账户+ name: "Kraken - %{name}"+ description: "连接到 %{name}"+ create:+ default_name: Kraken+ success: 已成功连接到 Kraken。您的交易所账户正在同步。+ update:+ success: Kraken 连接更新成功。+ destroy:+ success: Kraken 连接已安排删除。+ select_accounts:+ select_connection: 请在提供商设置中选择一个 Kraken 连接。+ no_credentials_configured: 在设置账户之前,请先添加 Kraken API 凭据。+ link_accounts:+ select_connection: 在关联账户之前请选择一个 Kraken 连接。+ select_existing_account:+ title: 关联 Kraken 账户+ no_accounts_found: 未找到 Kraken 账户。+ wait_for_sync: 等待 Kraken 完成同步。+ check_provider_health: 检查您的 Kraken API 凭据是否有效。+ link: 关联+ cancel: 取消+ link_existing_account:+ success: 已成功关联到 Kraken 账户+ select_connection: 在关联账户之前请选择一个 Kraken 连接。+ errors:+ only_manual: 只有没有现有提供商关联的手动加密交易所账户才能关联到 Kraken+ invalid_kraken_account: 无效的 Kraken 账户+ kraken_account_already_linked: 此 Kraken 账户已关联+ setup_accounts:+ title: 导入 Kraken 账户+ subtitle: 选择要跟踪的交易所账户+ instructions: Kraken 会为此连接导入一个合并后的加密交易所账户,仅包含持仓和现货成交。+ no_accounts: 所有 Kraken 账户都已导入。+ accounts_count:+ one: 有 %{count} 个账户可用+ other: 有 %{count} 个账户可用+ select_all: 全选+ import_selected: 导入所选+ cancel: 取消+ creating: 正在导入...+ complete_account_setup:+ success:+ one: 已导入 %{count} 个账户+ other: 已导入 %{count} 个账户+ none_selected: 未选择账户+ no_accounts: 没有可导入的账户+ kraken_item:+ provider_name: Kraken+ syncing: 正在同步...+ reconnect: 凭据需要更新+ deletion_in_progress: 正在删除...+ sync_status:+ no_accounts: 未找到账户+ all_synced:+ one: 已同步 %{count} 个账户+ other: 已同步 %{count} 个账户+ partial_sync: 已同步 %{linked_count} 个,%{unlinked_count} 个需要设置+ status: "%{timestamp} 前上次同步"+ status_with_summary: "%{timestamp} 前上次同步 - %{summary}"+ status_never: 从未同步+ delete: 删除+ no_accounts_title: 未找到账户+ no_accounts_message: 您的 Kraken 交易所账户在同步后会显示在这里。+ setup_needed: 账户已准备好导入+ setup_description: 将此 Kraken 连接作为加密交易所账户导入。+ setup_action: 导入账户+ import_accounts_menu: 导入账户+ stale_rate_warning: "余额为近似值,因为 %{date} 的准确汇率不可用。将在下次同步时更新。"+ kraken_item:+ syncer:+ checking_credentials: 正在检查凭据...+ credentials_invalid: Kraken API 凭据无效。请检查您的 API key 和 secret。+ importing_accounts: 正在从 Kraken 导入账户...+ checking_configuration: 正在检查账户配置...+ accounts_need_setup:+ one: "%{count} 个账户需要设置"+ other: "%{count} 个账户需要设置"+ processing_accounts: 正在处理账户数据...+ calculating_balances: 正在计算余额...diff --git a/config/locales/views/layout/zh-CN.yml b/config/locales/views/layout/zh-CN.ymlindex 0cd552d114..afcd7112d1 100644--- a/config/locales/views/layout/zh-CN.yml+++ b/config/locales/views/layout/zh-CN.yml@@ -1,26 +1,29 @@----zh-CN:layouts:application:privacy_mode: 切换隐私模式- skip_to_main: 跳到主要内容+ skip_to_main: 跳转到主要内容nav:- assistant: 智能助手- budgets: 预算管理- home: 首页- reports: 财务报告- transactions: 交易记录+ assistant: 助手+ budgets: 预算+ home: 主页+ reports: 报表+ transactions: 交易auth:- existing_account: 已有账户?- no_account: 新用户?+ existing_account: 已经有账户?+ no_account: 新加入 %{product_name}?sign_in: 登录- sign_up: 注册账户+ sign_up: 创建账户shared:footer:privacy_policy: 隐私政策terms_of_service: 服务条款+ confirm_dialog:+ are_you_sure: 您确定吗?+ cannot_be_undone: 此操作无法撤销。+ confirm: 确认trial:- open_demo: 开放演示+ open_demo: 打开演示data_deleted_in_days: 数据将在 %{days} 天后删除- contribute: 贡献\ No newline at end of file+ contribute: 贡献支持diff --git a/config/locales/views/lunchflow_items/zh-CN.yml b/config/locales/views/lunchflow_items/zh-CN.ymlindex e778ace97d..ac963800c5 100644--- a/config/locales/views/lunchflow_items/zh-CN.yml+++ b/config/locales/views/lunchflow_items/zh-CN.yml@@ -1,148 +1,166 @@---zh-CN:lunchflow_items:- complete_account_setup:- all_skipped: 所有账户已跳过。未创建任何账户。- creation_failed: 创建账户失败:%{error}- no_accounts: 无待设置账户。- success: 成功创建 %{count} 个账户。+ api_error:+ title: Lunch Flow 连接错误+ unable_to_connect: 无法连接到 Lunch Flow+ common_issues: 常见问题:+ invalid_api_key_label: API 密钥无效+ invalid_api_key_desc: 请在提供商设置中检查您的 API 密钥+ expired_credentials_label: 凭据已过期+ expired_credentials_desc: 请从 Lunch Flow 生成新的 API 密钥+ network_issue_label: 网络问题+ network_issue_desc: 请检查您的互联网连接+ service_down_label: 服务不可用+ service_down_desc: Lunch Flow API 可能暂时不可用+ check_provider_settings: 检查提供商设置+ setup_required:+ title: 需要设置 Lunch Flow+ api_key_not_configured: 未配置 API 密钥+ api_key_description: 在连接 Lunch Flow 账户之前,您需要先配置 Lunch Flow API 密钥。+ setup_steps_title: 设置步骤:+ setup_step_1_html: 前往 <strong>设置 → 提供商</strong>+ setup_step_2_html: 找到 <strong>Lunch Flow</strong> 区块+ setup_step_3: 输入您的 Lunch Flow API 密钥+ setup_step_4: 返回此处连接您的账户+ go_to_provider_settings: 前往提供商设置create:- success: Lunch Flow 连接已创建成功+ success: Lunch Flow 连接创建成功destroy:success: Lunch Flow 连接已移除index:- title: Lunch Flow 连接管理+ title: Lunch Flow 连接+ loading:+ loading_message: 正在加载 Lunch Flow 账户...+ loading_title: 正在加载link_accounts:all_already_linked:- one: 所选账户(%{names})已关联- other: 所有 %{count} 个所选账户均已关联:%{names}+ one: 所选账户(%{names})已经连接+ other: 所选的 %{count} 个账户都已连接:%{names}api_error: API 错误:%{message}invalid_account_names:- one: 无法关联名称为空的账户- other: 无法关联 %{count} 个名称为空的账户- link_failed: 关联账户失败+ one: 无法连接空名称账户+ other: 无法连接 %{count} 个空名称账户+ link_failed: 连接账户失败no_accounts_selected: 请至少选择一个账户- no_api_key: 未发现 API 密钥- partial_invalid: 成功关联 %{created_count} 个账户,%{already_linked_count} 个已关联,%{invalid_count}- 个账户名称无效- partial_success: 成功关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联:%{already_linked_names}+ partial_invalid: 成功连接 %{created_count} 个账户,%{already_linked_count} 个已连接,%{invalid_count} 个账户名称无效+ partial_success: 成功连接 %{created_count} 个账户。%{already_linked_count} 个账户已连接:%{already_linked_names}success:- one: 成功关联 %{count} 个账户- other: 成功关联 %{count} 个账户- link_existing_account:- account_already_linked: 此账户已关联到其他服务提供商- api_error: API 错误:%{message}- invalid_account_name: 无法关联名称为空的账户- lunchflow_account_already_linked: 此 Lunch Flow 账户已关联到其他账户- lunchflow_account_not_found: 未找到 Lunch Flow 账户- missing_parameters: 缺少必要参数- no_api_key: 未发现 API 密钥- success: "%{account_name} 已成功与 Lunch Flow 关联"- loading:- loading_message: 正在加载 Lunch Flow 账户...- loading_title: 加载中+ one: 成功连接 %{count} 个账户+ other: 成功连接 %{count} 个账户lunchflow_item:accounts_need_setup: 账户需要设置delete: 删除连接deletion_in_progress: 删除进行中...error: 错误- no_accounts_description: 此连接尚未关联任何账户。- no_accounts_title: 暂无账户+ no_accounts_description: 此连接尚未链接任何账户。+ no_accounts_title: 无账户setup_action: 设置新账户- setup_description: 已关联 %{linked} / %{total} 个账户。请为您新导入的 Lunch Flow 账户选择账户类型。- setup_needed: 新账户待设置- status: 同步于 %{timestamp} 前+ setup_description: 已连接 %{linked} / %{total} 个账户。请为您新导入的 Lunch Flow 账户选择账户类型。+ setup_needed: 新账户已准备好设置+ status: 上次同步于 %{timestamp} 前status_never: 从未同步status_with_summary: 上次同步于 %{timestamp} 前 • %{summary}- syncing: 同步中...+ syncing: 正在同步...total: 总计- unlinked: 未关联+ unlinked: 未链接select_accounts:- accounts_selected: 个账户已选+ accounts_selected: 已选择账户api_error: API 错误:%{message}cancel: 取消- configure_name_in_lunchflow: 无法导入 - 请在 Lunchflow 中配置账户名称- description: 选择您想要关联到 %{product_name} 账户的 Lunch Flow 账户。- link_accounts: 关联所选账户+ configure_name_in_lunchflow: 无法导入——请在 Lunch Flow 中配置账户名称+ description: 选择您想链接到 %{product_name} 账户的账户。+ link_accounts: 链接所选账户no_accounts_found: 未找到账户。请检查您的 API 密钥配置。- no_api_key: Lunch Flow API 密钥未配置。请在设置中配置。- no_credentials_configured: 请先在服务商设置中配置您的 Lunch Flow API 密钥。- no_name_placeholder: "(无名称)"+ no_api_key: 未配置 Lunch Flow API 密钥。请在设置中配置。+ no_name_placeholder: (无名称)title: 选择 Lunch Flow 账户select_existing_account:- account_already_linked: 此账户已关联到其他服务提供商- all_accounts_already_linked: 所有 Lunch Flow 账户均已关联+ account_already_linked: 此账户已连接到某个提供商+ all_accounts_already_linked: 所有 Lunch Flow 账户都已连接api_error: API 错误:%{message}cancel: 取消- configure_name_in_lunchflow: 无法导入 - 请在 Lunchflow 中配置账户名称+ configure_name_in_lunchflow: 无法导入——请在 Lunch Flow 中配置账户名称description: 选择一个 Lunch Flow 账户与此账户关联。交易将自动同步并去重。- link_account: 关联账户+ link_account: 连接账户no_account_specified: 未指定账户no_accounts_found: 未找到 Lunch Flow 账户。请检查您的 API 密钥配置。- no_api_key: Lunch Flow API 密钥未配置。请在设置中配置。- no_credentials_configured: 请先在服务商设置中配置您的 Lunch Flow API 密钥。- no_name_placeholder: "(无名称)"+ no_api_key: 未配置 Lunch Flow API 密钥。请在设置中配置。+ no_name_placeholder: (无名称)title: 将 %{account_name} 与 Lunch Flow 关联+ link_existing_account:+ account_already_linked: 此账户已连接到某个提供商+ api_error: API 错误:%{message}+ invalid_account_name: 无法连接空名称账户+ lunchflow_account_already_linked: 该 Lunch Flow 账户已连接到其他账户+ lunchflow_account_not_found: 未找到 Lunch Flow 账户+ missing_parameters: 缺少必需参数+ success: 已成功将 %{account_name} 与 Lunch Flow 关联setup_accounts:account_type_label: 账户类型:+ all_accounts_linked: 您的所有 Lunch Flow 账户都已设置完成。+ api_error: API 错误:%{message}+ fetch_failed: 获取账户失败+ no_accounts_to_setup: 没有需要设置的账户+ no_api_key: 未配置 Lunch Flow API 密钥。请检查您的连接设置。account_types:+ skip: 跳过此账户+ depository: 支票账户或储蓄账户credit_card: 信用卡- depository: 支票或储蓄账户investment: 投资账户loan: 贷款或抵押贷款other_asset: 其他资产- skip: 跳过此账户- all_accounts_linked: 您的所有 Lunch Flow 账户已完成设置。- api_error: API 错误:%{message}- balance: 余额- cancel: 取消- choose_account_type: 请为每个 Lunch Flow 账户选择正确的账户类型:- create_accounts: 创建账户- creating_accounts: 正在创建账户...- fetch_failed: 获取账户失败- historical_data_range: 历史数据范围:- no_accounts_to_setup: 无待设置账户- no_api_key: Lunch Flow API 密钥未配置。请检查您的连接设置。- subtitle: 为您的导入账户选择正确的账户类型subtype_labels:- credit_card: ''depository: 账户子类型:+ credit_card: ""investment: 投资类型:loan: 贷款类型:- other_asset: ''+ other_asset: ""subtype_messages:credit_card: 信用卡将自动设置为信用卡账户。other_asset: 其他资产无需额外选项。subtypes:depository:- cd: 定期存款checking: 支票账户+ savings: 储蓄账户hsa: 健康储蓄账户+ cd: 定期存单money_market: 货币市场账户- savings: 储蓄账户investment:- 401k: 401(k) 计划- 403b: 403(b) 计划- 529_plan: 529 教育储蓄计划- angel: 天使投资- brokerage: 经纪账户+ brokerage: 券商账户+ pension: 养老金+ retirement: 退休账户+ "401k": 401(k)+ roth_401k: Roth 401(k)+ "403b": 403(b)+ tsp: 节俭储蓄计划+ "529_plan": 529 教育储蓄计划hsa: 健康储蓄账户- ira: 传统 IRAmutual_fund: 共同基金- pension: 养老金账户- retirement: 退休账户- roth_401k: Roth 401(k) 计划+ ira: 传统 IRAroth_ira: Roth IRA- tsp: 节俭储蓄计划+ angel: 天使投资loan:- auto: 汽车贷款- mortgage: 抵押贷款- other: 其他贷款+ mortgage: 房贷student: 学生贷款- sync_start_date_help: 选择您希望同步交易历史的时间范围。最多可同步 3 年历史数据。- sync_start_date_label: 开始同步交易的日期:+ auto: 车贷+ other: 其他贷款+ balance: 余额+ cancel: 取消+ choose_account_type: 为每个 Lunch Flow 账户选择正确的账户类型:+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ historical_data_range: 历史数据范围:+ subtitle: 为您导入的账户选择正确的账户类型+ sync_start_date_help: 选择要同步交易历史的回溯范围。最多可获取 3 年历史。+ sync_start_date_label: 从以下日期开始同步交易:title: 设置您的 Lunch Flow 账户+ complete_account_setup:+ all_skipped: 所有账户都已跳过。未创建任何账户。+ creation_failed: 创建账户失败:%{error}+ no_accounts: 没有需要设置的账户。+ success: 成功创建 %{count} 个账户。sync:- success: 同步已开始+ success: 已开始同步update:success: Lunch Flow 连接已更新diff --git a/config/locales/views/merchants/zh-CN.yml b/config/locales/views/merchants/zh-CN.ymlindex 90c0358fc3..b82bd8c85d 100644--- a/config/locales/views/merchants/zh-CN.yml+++ b/config/locales/views/merchants/zh-CN.yml@@ -2,34 +2,72 @@zh-CN:family_merchants:create:- error: 创建商户失败:%{error}- success: 商户创建成功+ error: 创建商户出错:%{error}+ success: 新商户创建成功destroy:success: 商户删除成功+ unlinked_success: 商户已从您的交易中移除edit:title: 编辑商户form:name_placeholder: 商户名称+ website_placeholder: 网站(例如 starbucks.com)+ website_hint: 输入商户网站以自动显示其徽标index:- empty: 暂无商户- family_empty: 暂无家庭商户- family_title: 家庭商户- new: 新建商户- provider_empty: 此家庭尚未关联任何服务提供商商户- provider_read_only: 服务提供商商户从您关联的金融机构同步而来,无法在此编辑。- provider_title: 服务提供商商户+ empty: 还没有商户+ new: 新商户+ merge: 合并商户+ title: 商户+ family_title: "%{moniker} 商户"+ family_empty: 还没有 %{moniker} 商户+ provider_title: 提供商商户+ provider_empty: 还没有链接到此 %{moniker} 的提供商商户+ provider_read_only: 提供商商户来自您已连接的机构同步,无法在此编辑。+ provider_info: 这些商户是由您的银行连接或 AI 自动识别的。您可以编辑它们以创建自己的副本,或将其移除以解除与交易的关联。+ enhance_info:+ one: 有 %{count} 个提供商商户缺少网站信息。可使用 AI 增强以检测网站、显示徽标并合并重复商户。+ other: 有 %{count} 个提供商商户缺少网站信息。可使用 AI 增强以检测网站、显示徽标并合并重复商户。+ enhance_button: 使用 AI 增强+ unlinked_title: 最近解除关联+ unlinked_info: 这些商户最近已从您的交易中移除。除非重新分配到交易,否则它们会在 30 天后从列表中消失。table:+ merchant: 商户actions: 操作- merchant: 商户名称source: 来源- title: 商户管理+ family_merchant:+ edit: 编辑+ delete: 删除merchant:- confirm_accept: 确认删除- confirm_body: 确定要删除此商户吗?删除后将解除所有关联交易,并可能影响您的报表数据。- confirm_title: 确认删除商户?+ confirm_accept: 删除商户+ confirm_body: 确定要删除此商户吗?删除后会解除所有相关交易的关联,并可能影响您的报表。+ confirm_title: 删除商户?delete: 删除商户edit: 编辑商户+ merge:+ title: 合并商户+ description: 选择一个目标商户以及要合并进去的商户。所有来自被合并商户的交易都会重新分配到目标商户。+ target_label: 合并到(目标)+ select_target: 选择目标商户...+ sources_label: 要合并的商户+ sources_hint: 所选商户将合并到目标商户。家庭商户将被删除,提供商商户将解除关联。+ submit: 合并所选项new:title: 新建商户+ perform_merge:+ success:+ one: 成功合并 %{count} 个商户+ other: 成功合并 %{count} 个商户+ no_merchants_selected: 未选择要合并的商户+ target_not_found: 未找到目标商户+ invalid_merchants: 选择了无效商户+ provider_merchant:+ edit: 编辑+ remove: 移除+ remove_confirm_title: 移除商户?+ remove_confirm_body: 确定要移除 %{name} 吗?这会解除该商户下所有相关交易的关联,但不会删除商户本身。+ enhance:+ success: 已开始增强提供商商户。商户很快会得到增强并合并重复项。+ already_running: 增强已在进行中,请等待完成。update:success: 商户更新成功+ converted_success: 商户已成功转换并更新diff --git a/config/locales/views/mercury_items/zh-CN.yml b/config/locales/views/mercury_items/zh-CN.ymlnew file mode 100644index 0000000000..0aef766251--- /dev/null+++ b/config/locales/views/mercury_items/zh-CN.yml@@ -0,0 +1,208 @@+---+zh-CN:+ mercury_items:+ api_error:+ title: Mercury 连接错误+ unable_to_connect: 无法连接到 Mercury+ common_issues: "常见问题:"+ invalid_api_token_label: API Token 无效+ invalid_api_token_desc: 请在提供商设置中检查您的 API token+ expired_credentials_label: 凭据已过期+ expired_credentials_desc: 请从 Mercury 生成新的 API token+ insufficient_permissions_label: 权限不足+ insufficient_permissions_desc: 请确保您的 token 具有只读访问权限+ network_issue_label: 网络问题+ network_issue_desc: 请检查您的互联网连接+ service_down_label: 服务不可用+ service_down_desc: Mercury API 可能暂时不可用+ check_provider_settings: 检查提供商设置+ setup_required:+ title: 需要设置 Mercury+ api_token_not_configured: 未配置 API Token+ api_token_description: 在链接 Mercury 账户之前,您需要先配置 Mercury API token。+ setup_steps_title: "设置步骤:"+ setup_step_1_html: "前往 <strong>设置 > 提供商</strong>"+ setup_step_2_html: "找到 <strong>Mercury</strong> 区块"+ setup_step_3: 输入您的 Mercury API token+ setup_step_4: 返回这里链接您的账户+ go_to_provider_settings: 前往提供商设置+ create:+ success: Mercury 连接创建成功+ destroy:+ success: Mercury 连接已移除+ index:+ title: Mercury 连接+ loading:+ loading_message: 正在加载 Mercury 账户...+ loading_title: 正在加载+ link_accounts:+ all_already_linked:+ one: 选定账户(%{names})已关联+ other: 所有 %{count} 个选定账户都已关联:%{names}+ api_error: "API 错误:%{message}"+ invalid_account_names:+ one: 无法关联空名称账户+ other: 无法关联 %{count} 个空名称账户+ link_failed: 关联账户失败+ no_accounts_selected: 请至少选择一个账户+ no_api_token: 未找到 Mercury API token。请在提供商设置中配置。+ partial_invalid: "成功关联 %{created_count} 个账户,%{already_linked_count} 个已关联,%{invalid_count} 个账户名称无效"+ partial_success: "成功关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联:%{already_linked_names}"+ select_connection: 在关联账户之前请选择一个 Mercury 连接。+ success:+ one: "成功关联 %{count} 个账户"+ other: "成功关联 %{count} 个账户"+ mercury_item:+ accounts_need_setup: 账户需要设置+ delete: 删除连接+ deletion_in_progress: 正在删除...+ error: 错误+ no_accounts_description: 此连接尚未关联任何账户。+ no_accounts_title: 无账户+ setup_action: 设置新账户+ setup_description: 已关联 %{linked} / %{total} 个账户。请选择新导入的 Mercury 账户类型。+ setup_needed: 新账户已准备好设置+ status: "%{timestamp} 前已同步"+ status_never: 从未同步+ status_with_summary: "%{timestamp} 前上次同步 - %{summary}"+ syncing: 正在同步...+ total: 总计+ unlinked: 未关联+ provider_panel:+ add_connection: 添加 Mercury 连接+ base_url_label: Base URL(可选)+ base_url_placeholder: https://api.mercury.com/api/v1(默认)+ connection_name_label: 连接名称+ connection_name_placeholder: 企业支票账户+ default_connection_name: Mercury 连接+ disconnect_confirm: "断开 %{name}?"+ instructions:+ copy_token_html: "复制完整 token(包括 <code>secret-token:</code> 前缀),并将其作为命名连接添加到下方"+ create_token: 创建一个具有“只读”访问权限的新 API token+ open_tokens: 前往 设置 > 开发者 > API Tokens+ sign_in_html: "访问 %{link} 并登录您想连接的账户"+ whitelist_ip_html: "<strong>重要:</strong>将您的服务器 IP 地址加入 token 白名单"+ keep_token_placeholder: 留空以保留当前 token+ sandbox_note_html: "为每个想同步的 Mercury 登录/API token 使用一个单独的命名连接。沙盒测试时,将 <code>https://api-sandbox.mercury.com/api/v1</code> 作为 Base URL。Mercury 需要 IP 白名单——请确保在 Mercury 仪表盘中添加您的 IP。"+ setup_accounts: 设置账户+ setup_title: "设置说明:"+ sync: 同步+ token_label: Token+ token_placeholder: 在此粘贴 token+ update_connection: 更新连接+ provider_connection:+ default_description: 通过 Mercury 连接您的银行+ default_name: Mercury+ description: "使用 %{name} 连接"+ name: "Mercury - %{name}"+ select_accounts:+ accounts_selected: 已选择账户+ api_error: "API 错误:%{message}"+ cancel: 取消+ configure_name_in_mercury: 无法导入 - 请先在 Mercury 中配置账户名称+ description: 选择您想链接到 %{product_name} 账户的账户。+ link_accounts: 链接所选账户+ no_accounts_found: 未找到账户。请检查您的 API token 配置。+ no_api_token: 未配置 Mercury API token。请在设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Mercury API token。+ no_name_placeholder: (无名称)+ select_connection: 请在提供商设置中选择一个 Mercury 连接。+ title: 选择 Mercury 账户+ select_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ all_accounts_already_linked: 所有 Mercury 账户都已关联+ api_error: "API 错误:%{message}"+ cancel: 取消+ configure_name_in_mercury: 无法导入 - 请先在 Mercury 中配置账户名称+ description: 选择一个 Mercury 账户与此账户关联。交易将自动同步并去重。+ link_account: 关联账户+ no_account_specified: 未指定账户+ no_accounts_found: 未找到 Mercury 账户。请检查您的 API token 配置。+ no_api_token: Mercury API token 未配置。请在设置中配置。+ no_credentials_configured: 请先在提供商设置中配置您的 Mercury API token。+ no_name_placeholder: (无名称)+ select_connection: 请在提供商设置中选择一个 Mercury 连接。+ title: 将 %{account_name} 与 Mercury 关联+ link_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ api_error: "API 错误:%{message}"+ invalid_account_name: 无法关联空名称账户+ mercury_account_already_linked: 此 Mercury 账户已关联到另一个账户+ mercury_account_not_found: 未找到 Mercury 账户+ missing_parameters: 缺少必需参数+ no_api_token: 未找到 Mercury API token。请在提供商设置中配置。+ select_connection: 在关联账户之前请选择一个 Mercury 连接。+ success: 已成功将 %{account_name} 与 Mercury 关联+ setup_accounts:+ account_type_label: "账户类型:"+ all_accounts_linked: "您的所有 Mercury 账户都已完成设置。"+ api_error: "API 错误:%{message}"+ fetch_failed: "获取账户失败"+ no_accounts_to_setup: "没有需要设置的账户"+ no_api_token: "Mercury API token 未配置。请检查您的连接设置。"+ account_types:+ skip: 跳过此账户+ depository: 支票账户或储蓄账户+ credit_card: 信用卡+ investment: 投资账户+ loan: 贷款或抵押贷款+ other_asset: 其他资产+ subtype_labels:+ depository: "账户子类型:"+ credit_card: ""+ investment: "投资类型:"+ loan: "贷款类型:"+ other_asset: ""+ subtype_messages:+ credit_card: "信用卡将自动设为信用卡账户。"+ other_asset: "其他资产无需额外选项。"+ subtypes:+ depository:+ checking: 支票账户+ savings: 储蓄账户+ hsa: 健康储蓄账户+ cd: 定期存单+ money_market: 货币市场+ investment:+ brokerage: 券商账户+ pension: 养老金+ retirement: 退休账户+ "401k": "401(k)"+ roth_401k: "Roth 401(k)"+ "403b": "403(b)"+ tsp: 节俭储蓄计划+ "529_plan": "529 计划"+ hsa: 健康储蓄账户+ mutual_fund: 共同基金+ ira: 传统 IRA+ roth_ira: Roth IRA+ angel: 天使投资+ loan:+ mortgage: 抵押贷款+ student: 学生贷款+ auto: 汽车贷款+ other: 其他贷款+ balance: 余额+ cancel: 取消+ choose_account_type: "为每个 Mercury 账户选择正确的账户类型:"+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ historical_data_range: "历史数据范围:"+ subtitle: 为您导入的账户选择正确的账户类型+ sync_start_date_help: 选择您希望向前同步交易历史的时间范围。最多可用 3 年历史记录。+ sync_start_date_label: "从以下日期开始同步交易:"+ title: 设置您的 Mercury 账户+ complete_account_setup:+ all_skipped: "所有账户都已跳过,未创建任何账户。"+ creation_failed: "创建账户失败:%{error}"+ no_accounts: "没有需要设置的账户。"+ success: "成功创建 %{count} 个账户。"+ sync:+ success: 同步已开始+ update:+ success: Mercury 连接已更新+ mercury_item_selection_error_payload:+ select_connection: 在加载账户之前请选择一个 Mercury 连接。+ render_mercury_item_selection_failure:+ select_connection: 请在提供商设置中选择一个 Mercury 连接。+ no_credentials_configured: 请先在提供商设置中配置您的 Mercury API token。diff --git a/config/locales/views/messages/zh-CN.yml b/config/locales/views/messages/zh-CN.ymlnew file mode 100644index 0000000000..8d29321607--- /dev/null+++ b/config/locales/views/messages/zh-CN.yml@@ -0,0 +1,6 @@+---+zh-CN:+ messages:+ chat_form:+ placeholder: 任何问题都可以问……+ disclaimer: AI 回复仅供参考,不构成财务建议!diff --git a/config/locales/views/mfa/zh-CN.yml b/config/locales/views/mfa/zh-CN.ymlindex 9a517fc066..f13c069ad8 100644--- a/config/locales/views/mfa/zh-CN.yml+++ b/config/locales/views/mfa/zh-CN.yml@@ -2,33 +2,40 @@zh-CN:mfa:backup_codes:- backup_codes_description: 每个代码仅能使用一次。请妥善保管这些代码。+ backup_codes_description: 每个代码只能使用一次。请妥善保管这些代码。backup_codes_title: 您的备用代码continue: 继续前往安全设置- description: 请将这些备用代码保存在安全的地方——当您无法访问身份验证器应用时将需要它们+ description: 请将这些备用代码存放在安全的地方——如果您无法访问身份验证器应用,它们会派上用场。page_title: 备用代码title: 保存您的备用代码create:- invalid_code: 验证码无效,请重试。+ invalid_code: 验证码无效。请重试。disable:- success: 双重认证已停用+ success: 双重认证已禁用new:code_label: 验证码- code_placeholder: 请输入6位数字代码- description: 设置双重认证以增强账户安全性+ code_placeholder: 输入 6 位验证码+ description: 通过设置双重认证来增强账户安全性page_title: 双重认证设置scan_description: 使用 Google Authenticator 或 1Password 等身份验证器应用扫描此二维码scan_title: 1. 扫描二维码secret_description: 如果无法扫描二维码,请在身份验证器应用中手动输入此密钥- secret_title: 手动输入密钥+ secret_title: 手动输入代码title: 设置双重认证- verify_button: 验证并启用双重认证- verify_description: 请输入来自身份验证器应用的6位数字代码+ verify_button: 验证并启用 2FA+ verify_description: 输入您身份验证器应用中的 6 位验证码verify_title: 2. 输入验证码verify:- description: 请输入身份验证器应用中的代码以继续+ description: 输入您身份验证器应用中的验证码以继续+ or: 或page_title: 验证双重认证title: 双重认证verify_button: 验证+ webauthn_button: 使用通行密钥或安全密钥+ webauthn_unsupported: 此浏览器不支持通行密钥或安全密钥。verify_code:- invalid_code: 身份验证码无效,请重试。+ invalid_code: 验证码无效。请重试。+ verify_webauthn:+ invalid_credential: 无法验证该通行密钥或安全密钥。请重试。+ webauthn_options:+ unavailable: 此账户没有可用的通行密钥或安全密钥。diff --git a/config/locales/views/onboardings/zh-CN.yml b/config/locales/views/onboardings/zh-CN.ymlindex f2728ba959..02a29228db 100644--- a/config/locales/views/onboardings/zh-CN.yml+++ b/config/locales/views/onboardings/zh-CN.yml@@ -12,21 +12,26 @@ zh-CN:show:title: 让我们设置您的账户subtitle: 首先,让我们完善您的个人资料。- first_name: 名- first_name_placeholder: 名- last_name: 姓- last_name_placeholder: 姓+ first_name: 名字+ first_name_placeholder: 名字+ last_name: 姓氏+ last_name_placeholder: 姓氏+ group_name: 组名称+ group_name_placeholder: 组名称household_name: 家庭名称household_name_placeholder: 家庭名称- country: 国家+ moniker_prompt: "您将使用 %{product_name} 与……"+ moniker_family: 家庭成员(仅自己,或与伴侣、孩子等一起使用)+ moniker_group: 一群人(公司、俱乐部、协会或其他任何类型)+ country: 国家/地区submit: 继续preferences:title: 配置您的偏好设置- subtitle: 让我们配置您的偏好设置。+ subtitle: 让我们来配置您的偏好。example: 示例账户- preview: 根据偏好设置预览数据显示方式。- color_theme: 颜色主题- theme_system: 跟随系统+ preview: 根据偏好预览数据的显示方式。+ color_theme: 配色主题+ theme_system: 系统theme_light: 浅色theme_dark: 深色locale: 语言@@ -34,28 +39,28 @@ zh-CN:date_format: 日期格式submit: 完成goals:- title: 是什么让您来到这里?- subtitle: 选择一个或多个您使用 %{product_name} 作为个人财务工具的目标。- unified_accounts: 在一个地方查看所有账户- cashflow: 了解现金流和支出+ title: 您使用这里的目的是什么?+ subtitle: 请选择一个或多个您希望使用 %{product_name} 作为个人财务工具实现的目标。+ unified_accounts: 在一个地方查看我的所有账户+ cashflow: 理解现金流和支出budgeting: 管理财务计划和预算- partner: 与伴侣共同管理财务+ partner: 与伴侣一起管理财务investments: 跟踪投资- ai_insights: 让 AI 帮助我了解我的财务状况- optimization: 分析和优化账户+ ai_insights: 让 AI 帮我理解财务状况+ optimization: 分析并优化账户reduce_stress: 减轻财务压力或焦虑submit: 下一步trial:- title: 免费试用 Sure 45 天- data_deletion: 届时数据将被删除- description_html: 从今天开始,您可以深入体验产品。<br/>如果您喜欢,可以自行托管或贡献以继续在这里使用。+ title: 试用 Sure 45 天+ data_deletion: 数据届时将被删除+ description_html: 从今天开始,您可以充分了解这款产品。<br/>如果您喜欢它,可以通过自托管或贡献来继续在这里使用。try_button: 试用 Sure 45 天continue_trial: 继续试用upgrade: 升级- how_it_works: 运作方式+ how_it_works: 这里的运作方式today: 今天- today_description: 您将在我们的 AWS 上获得 45 天免费访问 Sure 的权限。+ today_description: 您将在我们的 AWS 上免费使用 Sure 45 天。in_40_days: 40 天后(%{date})- in_40_days_description: 我们会通知您提醒导出数据。+ in_40_days_description: 我们会提醒您导出数据。in_45_days: 45 天后(%{date})- in_45_days_description: 我们将删除您的数据 — 贡献以继续在这里使用 Sure!\ No newline at end of file+ in_45_days_description: 我们将删除您的数据——想继续使用 Sure,请贡献支持!diff --git a/config/locales/views/pages/zh-CN.yml b/config/locales/views/pages/zh-CN.ymlindex 7d42fccdd9..f8d8165b81 100644--- a/config/locales/views/pages/zh-CN.yml+++ b/config/locales/views/pages/zh-CN.yml@@ -1,37 +1,92 @@---zh-CN:pages:+ feedback:+ title: 反馈+ heading: 提交反馈+ description: 如果您有任何具体反馈,请告诉我们。欢迎附上视频或截图链接。+ feature_request: 提交功能请求+ bug_report: 提交错误报告+ discuss: 与他人讨论 %{product}+ intro:+ not_authorized: 引导介绍仅对访客用户开放。+ welcome: 欢迎!+ coming_soon: 引导体验即将推出+ description: 我们正在构建更丰富的新手引导流程,以了解您的目标、里程碑以及日常需求。现在,您可以先前往聊天侧边栏,与 Sure 开始对话,并告诉我们您当前的财务阶段。+ start_chatting: 开始聊天+ redis_configuration_error:+ page_title: 需要 Redis 配置 - Sure+ heading: 需要 Redis 配置+ subheading: 您自托管的 Sure 安装需要正确配置 Redis。+ why_required_title: 为什么需要 Redis?+ why_required_body: Sure 使用 Redis 来驱动 Sidekiq 后台任务,例如同步账户数据、处理导入,以及其他保持财务数据最新的后台操作。+ view_setup_guide: 查看设置指南+ setup_guide_hint: 按照完整的 Docker 设置指南配置 Redis+ refresh_hint: 配置好 Redis 后,请刷新此页面继续。+ refresh_page: 刷新页面changelog:- title: 更新日志+ title: 有什么新内容+ privacy:+ title: 隐私政策+ heading: 隐私政策+ placeholder: 隐私政策内容将显示在这里。+ terms:+ title: 服务条款+ heading: 服务条款+ placeholder: 服务条款内容将显示在这里。dashboard:- balance_sheet:- add_accounts: 添加您的%{name}账户以查看完整分析- no_items: 暂无%{name}- title: 资产负债表- cashflow_sankey:- add_transaction: 添加交易- no_data_description: 添加交易记录以显示现金流数据或扩大时间范围- no_data_title: 此时间段内无现金流数据- title: 现金流+ welcome: 欢迎回来,%{name}+ subtitle: 以下是您的财务状况概览+ new: 新建drag_to_reorder: 拖动以重新排序模块+ toggle_section: 切换模块可见性net_worth_chart:data_not_available: 所选时间段内无可用数据- title: 资产净值- new: 新增+ title: 净资产no_account_empty_state:new_account: 新建账户- no_account_subtitle: 由于尚未添加任何账户,暂无数据可显示。添加您的第一个账户以开始查看仪表板数据。+ no_account_subtitle: 由于尚未添加任何账户,暂无数据可显示。添加您的第一个账户以开始查看仪表盘数据。no_account_title: 暂无账户+ balance_sheet:+ title: 资产负债表+ no_items: 暂无%{name}+ add_accounts: 添加您的%{name}账户以查看完整明细+ no_asset: 暂无资产+ no_liability: 暂无负债+ add_asset_accounts: 添加您的资产账户以查看完整明细+ add_liability_accounts: 添加您的负债账户以查看完整明细+ name: 名称+ weight: 占比+ value: 金额+ classifications:+ asset: 资产+ liability: 负债+ cashflow_sankey:+ title: 现金流+ zoom_out: 返回完整现金流+ no_data_title: 此时间段内没有现金流数据+ no_data_description: 添加交易以显示现金流数据,或扩大时间范围+ add_transaction: 添加交易no_accounts:- add_account: 添加账户- description: 添加账户以显示资产净值数据title: 暂无账户+ description: 添加账户以显示净资产数据+ add_account: 添加账户outflows_donut:- categories: 分类- title: 支出分布+ title: 支出total_outflows: 总支出+ categories: 分类value: 金额weight: 占比- subtitle: 以下是您财务状况的概览- toggle_section: 切换模块显示/隐藏- welcome: 欢迎回来,%{name}+ investment_summary:+ title: 投资+ total_return: 总回报+ holding: 持仓+ weight: 占比+ value: 金额+ return: 回报+ period_activity: "%{period} 活动"+ contributions: 贡献+ withdrawals: 提现+ trades: 交易+ no_investments: 暂无投资账户+ add_investment: 添加投资账户以跟踪您的投资组合diff --git a/config/locales/views/passwords/zh-CN.yml b/config/locales/views/passwords/zh-CN.ymlindex 9327a2556b..0bd1b7d598 100644--- a/config/locales/views/passwords/zh-CN.yml+++ b/config/locales/views/passwords/zh-CN.yml@@ -7,4 +7,4 @@ zh-CN:submit: 重置密码title: 更新密码update:- success: 密码已重置成功。+ success: 您的密码已重置。diff --git a/config/locales/views/pdf_import_mailer/zh-CN.yml b/config/locales/views/pdf_import_mailer/zh-CN.ymlnew file mode 100644index 0000000000..5298ccb90c--- /dev/null+++ b/config/locales/views/pdf_import_mailer/zh-CN.yml@@ -0,0 +1,17 @@+---+zh-CN:+ pdf_import_mailer:+ next_steps:+ greeting: "你好 %{name},"+ intro: "我们已经完成了您上传到 %{product} 的 PDF 文档分析。"+ document_type_label: 文档类型+ summary_label: AI 摘要+ transactions_note: 此文档似乎包含交易。您现在可以提取并检查它们。+ document_stored_note: 此文档已保存供您参考。它可用于在未来的 AI 对话中提供上下文。+ next_steps_label: 接下来做什么?+ next_steps_intro: "您有几个选择:"+ option_extract_transactions: 从此对账单中提取交易+ option_keep_reference: 将此文档保留,以便未来 AI 对话参考+ option_delete: 如果不再需要,可删除此导入+ view_import_button: 查看导入详情+ footer_note: 这是一封自动发送的消息。请不要直接回复此邮件。diff --git a/config/locales/views/pending_duplicate_merges/zh-CN.yml b/config/locales/views/pending_duplicate_merges/zh-CN.ymlnew file mode 100644index 0000000000..94cf7f214f--- /dev/null+++ b/config/locales/views/pending_duplicate_merges/zh-CN.yml@@ -0,0 +1,21 @@+---+zh-CN:+ pending_duplicate_merges:+ create:+ no_posted_selected: 请选择一笔已发布交易进行合并+ invalid_transaction: 选择的合并交易无效+ merge_success: 待处理交易已与已发布交易合并+ merge_failed: 无法合并交易+ set_transaction:+ pending_only: 此功能仅适用于待处理交易+ new:+ title: 与已发布交易合并+ warning_title: 手动重复项合并+ warning_description: 用于将待处理交易与其已发布版本手动合并。这将删除待处理交易,并仅保留已发布交易。+ pending_transaction: 待处理交易+ select_posted: 选择要合并的已发布交易+ showing_range: "显示 %{start} - %{end}"+ previous: "← 前 10 条"+ next: "后 10 条 →"+ no_candidates: 在此账户中未找到已发布交易。+ submit_button: 合并交易diff --git a/config/locales/views/preview/zh-CN.yml b/config/locales/views/preview/zh-CN.ymlnew file mode 100644index 0000000000..ffe9b3fa1a--- /dev/null+++ b/config/locales/views/preview/zh-CN.yml@@ -0,0 +1,4 @@+---+zh-CN:+ preview:+ not_enabled: 此功能处于预览状态。请在“设置 → 偏好设置”中启用预览功能后再试。diff --git a/config/locales/views/properties/zh-CN.yml b/config/locales/views/properties/zh-CN.ymlindex c4a869ce16..cddfe072f5 100644--- a/config/locales/views/properties/zh-CN.yml+++ b/config/locales/views/properties/zh-CN.yml@@ -2,39 +2,86 @@zh-CN:properties:edit:- edit: 编辑%{account}+ edit: 编辑 %{account}form:address_line1: 街道地址address_line1_placeholder: 123 Main Starea: 居住面积area_placeholder: '2000'area_unit: 面积单位- country: 国家/地区+ country: 国家country_placeholder: 美国locality: 城市locality_placeholder: 旧金山none: 无postal_code: 邮政编码postal_code_placeholder: '94105'- region: 州/省份+ region: 州/省region_placeholder: 加利福尼亚州- subtype_prompt: 选择房产类型year_built: 建造年份year_built_placeholder: '2000'new:- title: 请输入房产详情+ title: 手动输入房产+ next: 下一步+ address:+ title: 手动输入房产+ address_line1_label: 地址行 1+ address_line1_placeholder: 123 Main Street+ city_label: 城市+ city_placeholder: 旧金山+ state_region_label: 州/地区+ state_region_placeholder: CA+ postal_code_placeholder: '12345'+ country_label: 国家+ country_placeholder: 美国+ save: 保存+ balances:+ title: 手动输入房产+ market_value_label: 估算市值+ market_value_tooltip: 您房产的估算市值。这个数字通常可以在 Zillow 或 Redfin 等网站上找到,但不会是完全精确的数值。+ save: 保存+ next: 下一步+ overview_fields:+ name_label: 名称+ name_placeholder: 度假屋+ subtype_prompt: 选择类型+ property_type_label: 房产类型+ year_built_label: 建造年份(可选)+ year_built_placeholder: '1990'+ area_label: 面积(可选)+ area_placeholder: '1200'+ square_feet: 平方英尺+ square_meters: 平方米+ area_unit_label: 面积单位overview:living_area: 居住面积- market_value: 市场估值- purchase_price: 购买价格- trend: 价格趋势+ market_value: 市值+ purchase_price: 购入价格+ trend: 趋势unknown: 未知year_built: 建造年份tabs:overview:living_area: 居住面积- market_value: 市场价- purchase_price: 买入价- trend: 走势+ market_value: 市值+ purchase_price: 购入价格+ trend: 趋势unknown: 未知- year_built: 建筑年份+ year_built: 建造年份+ edit_account_details: 编辑账户详情+ subtypes:+ apartment:+ short: 公寓+ long: 公寓+ plot:+ short: 地块+ long: 地块 / 土地+ commercial:+ short: 商业+ long: 商业房产+ rented:+ short: 出租+ long: 出租房产+ agri_land:+ short: 农业用地+ long: 农业用地diff --git a/config/locales/views/recurring_transactions/zh-CN.yml b/config/locales/views/recurring_transactions/zh-CN.ymlindex 20944baaf8..1a49c98a67 100644--- a/config/locales/views/recurring_transactions/zh-CN.yml+++ b/config/locales/views/recurring_transactions/zh-CN.yml@@ -1,49 +1,56 @@---zh-CN:recurring_transactions:- already_exists: 此模式已存在手动创建的定期交易- amount_range: 金额范围:%{min} 至 %{max}- badges:- manual: 手动- cleaned_up: 已清理 %{count} 个过期定期交易记录- cleanup_stale: 清理过期记录- confirm_delete: 确定要删除此定期交易吗?- creation_failed: 创建定期交易失败。请检查交易详情并重试。- day_of_month: 每月第 %{day} 天- deleted: 定期交易已删除- empty:- description: 点击"识别模式"可从您的交易历史中自动识别定期交易。- title: 未找到定期交易- expected_on: 预计于 %{date}- identified: 已识别 %{count} 个定期交易模式+ title: 循环交易+ upcoming: 即将发生的循环交易+ projected: 预测+ recurring: 循环+ expected_today: 今天预期发生+ expected_in:+ one: 预计 %{count} 天后+ other: 预计 %{count} 天后+ day_of_month: 每月 %{day} 日identify_patterns: 识别模式+ cleanup_stale: 清理过期项+ settings:+ enable_label: 启用循环交易+ enable_description: 自动检测循环交易模式并显示即将到来的预测交易。+ settings_updated: 循环交易设置已更新info:+ title: 自动模式检测+ manual_description: 您可以使用上方按钮手动识别模式或清理过期的循环交易。automatic_description: 自动识别也会在以下情况后运行:- manual_description: 您可以使用上方按钮手动识别模式或清理过期的定期交易记录。- title: 自动模式识别triggers:- - CSV 导入完成时(交易、投资、账户等)- - 任何服务提供商同步完成时(Plaid、SimpleFIN 等)- marked_active: 定期交易已标记为激活- marked_as_recurring: 交易已标记为定期交易- marked_inactive: 定期交易已标记为未激活- projected: 预计- recurring: 定期- settings:- enable_description: 自动检测定期交易模式并显示即将发生的预计交易。- enable_label: 启用定期交易功能- settings_updated: 定期交易设置已更新- status:- active: 激活- inactive: 未激活+ - CSV 导入完成(交易、证券交易、账户等)+ - 任一提供商同步完成(Plaid、SimpleFIN 等)+ identified: 已识别 %{count} 个循环交易模式+ cleaned_up: 已清理 %{count} 个过期循环交易+ marked_inactive: 循环交易已标记为停用+ marked_active: 循环交易已标记为启用+ deleted: 循环交易已删除+ confirm_delete: 确定要删除此循环交易吗?+ marked_as_recurring: 交易已标记为循环+ already_exists: 此模式已存在手动循环交易+ creation_failed: 创建循环交易失败。请检查交易详情后重试。+ unexpected_error: 创建循环交易时发生意外错误+ amount_range: 范围:%{min} 到 %{max}+ empty:+ title: 未找到循环交易+ description: 点击“识别模式”即可从交易历史中自动检测循环交易。table:- actions: 操作+ merchant: 名称amount: 金额expected_day: 预计日期- last_occurrence: 上次发生日- merchant: 名称- next_date: 下次发生日+ next_date: 下次日期+ last_occurrence: 上次发生status: 状态- title: 定期交易- unexpected_error: 创建定期交易时发生意外错误- upcoming: 即将发生的定期交易+ actions: 操作+ status:+ active: 启用+ inactive: 停用+ badges:+ manual: 手动+ transfer_marked_as_recurring: 转账已标记为循环+ transfer_already_exists: 此账户对已存在循环转账+ transfer_creation_failed: 创建循环转账失败。请检查转账详情后重试。+ transfer_feature_disabled: 此家庭已禁用循环交易diff --git a/config/locales/views/registrations/zh-CN.yml b/config/locales/views/registrations/zh-CN.ymlindex 84c3bd5677..8920114509 100644--- a/config/locales/views/registrations/zh-CN.yml+++ b/config/locales/views/registrations/zh-CN.yml@@ -8,23 +8,24 @@ zh-CN:user:create: 继续registrations:- closed: 当前注册功能已关闭。+ closed: 当前已关闭注册。create:- failure: 注册过程中出现问题。+ failure: 注册时出现问题。invalid_invite_code: 邀请码无效,请重试。success: 您已成功注册。new:- invitation_message: "%{inviter} 已邀请您以 %{role} 身份加入"- join_family_title: 加入 %{family}- password_placeholder: 请输入密码+ invitation_message: "%{inviter} 邀请您以 %{role} 身份加入"+ join_family_title: 加入 %{family} %{moniker}role_admin: 管理员+ role_guest: 访客role_member: 成员submit: 创建账户title: 创建您的账户- welcome_body: 开始使用前,您需要注册一个新账户。注册后即可在应用内配置其他设置。- welcome_title: 欢迎使用自托管版 %{product_name}!+ welcome_body: 要开始使用,您必须先注册一个新账户。之后您可以在应用内配置更多设置。+ welcome_title: 欢迎使用自托管 %{product_name}!+ password_placeholder: 输入您的密码password_requirements:- length: 至少8个字符- case: 大写和小写字母- number: 一个数字 (0-9)- special: "一个特殊字符 (!, @, #, $, %, etc)"+ length: 至少 8 个字符+ case: 包含大写和小写字母+ number: 包含一个数字(0-9)+ special: 包含一个特殊字符(!、@、#、$、%、等)diff --git a/config/locales/views/reports/zh-CN.yml b/config/locales/views/reports/zh-CN.ymlindex eae7bc40ee..8fe8cf3cbf 100644--- a/config/locales/views/reports/zh-CN.yml+++ b/config/locales/views/reports/zh-CN.yml@@ -1,130 +1,242 @@---zh-CN:reports:- budget_performance:- budgeted: 预算额- no_budgets: 本月未设置预算分类- over_by: 超支- remaining: 剩余- spent: 已支出- status:- good: 正常执行- over: 超出预算- warning: 接近限额- suggested_daily: 建议每日 %{amount}(剩余 %{days} 天)- title: 预算执行情况- empty_state:- add_account: 添加账户- add_transaction: 添加交易- description: 开始追踪您的财务状况:添加交易记录或关联账户以查看详细报告- title: 无可用数据- google_sheets_instructions:- close: 知道了- example: 示例- go_to_api_keys: 前往 API 密钥设置- need_key: 要将数据导入 Google 表格,您需要一个 API 密钥。- open_sheets: 打开 Google 表格- ready: 您的 CSV 链接(含 API 密钥)已准备就绪。- security_warning: 此链接包含您的 API 密钥,请妥善保管!- step1: 前往 设置 → API 密钥- step2: 创建一个具有"读取"权限的新 API 密钥- step3: 复制 API 密钥- step4: 将其添加到链接中:?api_key=您的密钥- steps: |-- 导入到 Google 表格的步骤:- 1. 创建新的 Google 表格- 2. 在 A1 单元格中输入下方所示的公式- 3. 按 Enter 键- then_use: 然后在 Google 表格中使用完整链接和 =IMPORTDATA() 函数。- title_no_key: "⚠️ 需要 API 密钥"- title_with_key: "✅ 复制 Google 表格导入链接"index:- date_range:- from: 开始日期- to: 结束日期- drag_to_reorder: 拖动以重新排序模块+ title: 报表+ subtitle: 您财务健康状况的全面洞察export: 导出 CSV+ print_report: 打印报表+ drag_to_reorder: 拖动以重新排序模块+ toggle_section: 切换模块可见性periods:+ monthly: 按月+ quarterly: 按季度+ ytd: 年初至今+ last_6_months: 最近 6 个月custom: 自定义范围- last_6_months: 过去6个月- monthly: 月度- quarterly: 季度- ytd: 本年度至今- showing_period: 显示 %{start} 至 %{end} 的数据- subtitle: 全面洞察您的财务健康状况- title: 财务报告- toggle_section: 切换模块显示/隐藏- invalid_date_range: 结束日期不能早于开始日期。日期已自动交换。+ date_range:+ from: 从+ to: 到+ showing_period: 显示从 %{start} 到 %{end} 的数据+ previous_period: 上一周期+ next_period: 下一周期+ today: 今天+ period_label:+ quarterly: "%{year} 年第 %{quarter} 季度"+ ytd: "%{year} 年初至今"+ past_year: "%{year}"+ last_6_months: "%{start} – %{end}"+ period_picker:+ quarter: "%{year} 年第 %{quarter} 季度"+ ytd: "%{year} 年初至今"+ previous_year: 上一年+ next_year: 下一年+ previous_decade: 上一个十年+ next_decade: 下一个十年+ invalid_date_range: 结束日期不能早于开始日期,日期已为您对调。summary:- budget_performance: 预算执行情况- income_minus_expenses: 收入减去支出- net_savings: 净储蓄- no_budget_data: 此期间无预算数据- of_budget_used: 的预算已使用- total_expenses: 总支出total_income: 总收入- vs_previous: 与上一期相比+ total_expenses: 总支出+ net_savings: 净储蓄+ budget_performance: 预算表现+ vs_previous: 与上一周期相比+ income_minus_expenses: 收入减支出+ of_budget_used: 已使用预算的+ no_budget_data: 此周期没有预算数据+ budget_performance:+ title: 预算表现+ spent: 已花费+ budgeted: 预算+ remaining: 剩余+ over_by: 超出+ shared: 共享+ suggested_daily: 剩余 %{days} 天,建议每天花费 %{amount}+ no_budgets: 本月尚未设置预算分类+ status:+ good: 进展良好+ warning: 接近上限+ over: 超出预算+ trends:+ title: 趋势与洞察+ monthly_breakdown: 月度明细+ month: 月份+ income: 收入+ expenses: 支出+ net: 净额+ savings_rate: 储蓄率+ current: 当前+ avg_monthly_income: 月均收入+ avg_monthly_expenses: 月均支出+ avg_monthly_savings: 月均储蓄+ no_data: 暂无趋势数据+ spending_patterns: 消费模式+ weekday_spending: 工作日消费+ weekend_spending: 周末消费+ total: 总计+ avg_per_transaction: 每笔平均+ transactions: 交易+ insight_title: 洞察+ insight_higher_weekend: 您在周末的每笔消费比工作日高 %{percent}%+ insight_higher_weekday: 您在工作日的每笔消费比周末高 %{percent}%+ insight_similar: 您在工作日和周末的每笔消费相近+ no_spending_data: 此周期没有消费数据+ empty_state:+ title: 暂无可用数据+ description: 通过添加交易或连接账户开始跟踪您的财务,以查看完整报表+ add_transaction: 添加交易+ add_account: 添加账户transactions_breakdown:- export:- csv: CSV- excel: Excel- google_sheets: 在 Google 表格中打开- label: 导出格式- pdf: PDF+ title: 活动明细+ no_transactions: 所选周期和筛选条件下没有活动filters:+ title: 筛选条件+ category: 分类account: 账户- all_accounts: 全部账户+ tag: 标签+ amount_min: 最小金额+ amount_max: 最大金额+ date_range: 日期范围all_categories: 全部分类+ all_accounts: 全部账户all_tags: 全部标签- amount_max: 最大金额- amount_min: 最小金额apply: 应用筛选- category: 分类clear: 清除筛选- date_range: 日期范围- tag: 标签- title: 筛选条件- no_transactions: 所选时间段和筛选条件下未找到交易记录- pagination:- next: 下一页- previous: 上一页- showing: 显示 %{count} 笔交易sort:- amount_asc: 金额(从低到高)- amount_desc: 金额(从高到低)- date_desc: 日期(从新到旧)label: 排序方式+ date_desc: 日期(最新)+ amount_desc: 金额(从高到低)+ amount_asc: 金额(从低到高)+ export:+ label: 导出+ csv: CSV+ excel: Excel+ pdf: PDF+ google_sheets: 在 Google 表格中打开table:- amount: 金额category: 分类+ amount: 金额+ type: 类型expense: 支出income: 收入- percentage: 占总比- transactions: 笔交易- type: 类型uncategorized: 未分类- title: 交易明细分析- trends:- avg_monthly_expenses: 月均支出- avg_monthly_income: 月均收入- avg_monthly_savings: 月均储蓄- avg_per_transaction: 每笔交易平均- current: 当前- expenses: 支出- income: 收入- insight_higher_weekday: 您工作日每笔交易消费比周末高 %{percent}%- insight_higher_weekend: 您周末每笔交易消费比工作日高 %{percent}%- insight_similar: 您工作日和周末的每笔交易消费水平相似- insight_title: 数据洞察- month: 月份- monthly_breakdown: 月度明细- net: 净额- no_data: 无趋势数据可用- no_spending_data: 此期间无消费数据可用- savings_rate: 储蓄率- spending_patterns: 消费模式- title: 趋势与洞察- total: 总计- transactions: 交易笔数- weekday_spending: 工作日消费- weekend_spending: 周末消费+ entries:+ one: "%{count} 条记录"+ other: "%{count} 条记录"+ percentage: 占总计百分比+ pagination:+ showing:+ one: 显示 %{count} 条记录+ other: 显示 %{count} 条记录+ previous: 上一页+ next: 下一页+ net_worth:+ title: 净资产+ current_net_worth: 当前净资产+ period_change: 周期变化+ assets_vs_liabilities: 资产与负债+ total_assets: 资产+ total_liabilities: 负债+ no_assets: 暂无资产+ no_liabilities: 暂无负债+ investment_performance:+ title: 投资表现+ portfolio_value: 投资组合价值+ total_return: 总回报+ contributions: 本期投入+ withdrawals: 本期提取+ top_holdings: 主要持仓+ holding: 持仓+ weight: 占比+ value: 金额+ return: 回报+ accounts: 投资账户+ gains_by_tax_treatment: 按税务处理分类的收益+ unrealized_gains: 未实现收益+ realized_gains: 已实现收益+ total_gains: 总收益+ taxable_realized_note: 这些收益可能需要纳税+ no_data: "-"+ view_details: 查看详情+ holdings_count:+ one: "%{count} 个持仓"+ other: "%{count} 个持仓"+ sells_count:+ one: "%{count} 笔卖出"+ other: "%{count} 笔卖出"+ holdings: 持仓+ sell_trades: 卖出交易+ and_more: 还有 %{count} 项+ investment_flows:+ title: 投资资金流+ description: 跟踪通过投入和提取流入与流出投资账户的资金。+ contributions: 投入+ contributions_description: 投资新增资金+ withdrawals: 提取+ withdrawals_description: 从投资中提取的资金+ net_flow: 净流入+ net_flow_description: 总净变化+ google_sheets_instructions:+ title_with_key: ✅ 复制 Google 表格 URL+ title_no_key: ⚠️ 需要 API 密钥+ ready: 您的 CSV URL(含 API 密钥)已准备好。+ steps: "导入到 Google 表格的步骤:\n1. 新建一个 Google 表格\n2. 在 A1 单元格中输入下方公式\n3. 按回车"+ security_warning: "此 URL 包含您的 API 密钥,请妥善保管!"+ need_key: 要导入数据到 Google 表格,您需要一个 API 密钥。+ step1: 前往 设置 → API 密钥+ step2: 创建一个具有“read”权限的新 API 密钥+ step3: 复制该 API 密钥+ step4: 将其添加到此 URL 中:?api_key=YOUR_KEY+ example: 示例+ then_use: 然后在 Google 表格中使用完整 URL 和 =IMPORTDATA()。+ open_sheets: 打开 Google 表格+ go_to_api_keys: 前往 API 密钥+ close: 知道了+ print:+ document_title: 财务报表+ title: 财务报表+ generated_on: "生成于 %{date}"+ summary:+ title: 汇总+ income: 收入+ expenses: 支出+ net_savings: 净储蓄+ budget: 预算+ vs_prior: 比上一期 %{percent}+ of_income: 占收入的 %{percent}+ used: 已使用+ net_worth:+ title: 净资产+ current_balance: 当前余额+ this_period: 本期+ assets: 资产+ liabilities: 负债+ no_liabilities: 暂无负债+ trends:+ title: 月度趋势+ month: 月份+ income: 收入+ expenses: 支出+ net: 净额+ savings_rate: 储蓄率+ average: 平均+ current_month_note: "* 当前月份(部分数据)"+ investments:+ title: 投资+ portfolio_value: 投资组合价值+ total_return: 总回报+ contributions: 投入+ withdrawals: 提取+ this_period: 本期+ top_holdings: 主要持仓+ holding: 持仓+ weight: 占比+ value: 金额+ return: 回报+ spending:+ title: 按分类支出+ income: 收入+ expenses: 支出+ category: 分类+ amount: 金额+ percent: "%"+ more_categories: 还有 %{count} 个分类diff --git a/config/locales/views/rules/zh-CN.yml b/config/locales/views/rules/zh-CN.ymlindex 6f44adc5f0..3cd268c7f8 100644--- a/config/locales/views/rules/zh-CN.yml+++ b/config/locales/views/rules/zh-CN.yml@@ -3,23 +3,113 @@ zh-CN:rules:no_action: 无操作no_condition: 无条件+ rule:+ edit: 编辑+ re_apply_rule: 重新应用规则+ delete: 删除+ then: 然后+ and_more_conditions:+ one: 以及 1 个条件+ other: 以及 %{count} 个条件+ and_more_actions:+ one: 以及 1 个操作+ other: 以及 %{count} 个操作+ action_label_to: 将 %{label} 设置为 %{value}+ all_past_and_future: 所有过去和未来的 %{resource}+ on_or_after: "%{resource} 在 %{date} 当日或之后"+ form:+ rule_name_label: 规则名称(可选)+ rule_name_placeholder: 为此规则输入名称+ add_condition: 添加条件+ add_condition_group: 添加条件组+ add_action: 添加操作+ all_past_and_future: 所有过去和未来的 %{resource}+ starting_from: 从……开始+ then: 然后+ index:+ page_title: 规则+ delete_all_rules: 删除所有规则+ new_rule: 新建规则+ ai_cost_warning: 启用 AI 的规则操作会产生费用。请务必尽可能精确地筛选,以避免不必要的成本。+ rules_heading: 规则+ sort_by: 排序方式:+ sort_name: 名称+ sort_updated_at: 更新时间+ toggle_sort_direction: 切换排序方向+ no_rules_title: 还没有规则+ no_rules_description: 设置规则后,您每次账户同步时都可以对交易和其他数据执行操作。+ confirm:+ title: 确认更改+ title_with_name: 确认对“%{name}”的更改+ apply_notice_html: 您即将将此规则应用到 <span class="text-primary font-medium">%{count} %{resource}</span> 条符合所列条件的记录。若要继续此更改,请确认。+ ai_cost_title: AI 费用预估+ ai_cost_with_estimate_html: 这将使用 AI 对 %{count} 笔交易进行分类。预估费用:<span class="font-semibold">~$%{cost}</span>+ ai_cost_no_estimate_html: 这将使用 AI 对 %{count} 笔交易进行分类。+ cost_unavailable_model: 无法估算模型“%{model}”的费用。+ cost_unavailable_no_provider: 无法估算费用(未配置 LLM 提供商)。+ cost_warning: 您可能会产生费用,请向模型提供商确认最新价格。+ view_usage_history: 查看用量历史+ confirm_changes: 确认更改+ actions:+ value_placeholder: 输入值+ update:+ success: 规则已更新+ destroy:+ success: 规则已删除+ destroy_all:+ success: 所有规则已删除+ apply_all:+ button: 全部应用+ confirm_title: 应用所有规则+ confirm_message: 您即将应用 %{count} 条规则,影响 %{transactions} 个不同交易。若要继续,请确认。+ confirm_button: 确认并全部应用+ success: 所有规则已排队等待执行+ ai_cost_title: AI 费用预估+ ai_cost_message: 这将使用 AI 对最多 %{transactions} 笔交易进行分类。+ estimated_cost: 预估费用:~$%{cost}+ cost_unavailable_model: 无法估算模型“%{model}”的费用。+ cost_unavailable_no_provider: 无法估算费用(未配置 LLM 提供商)。+ cost_warning: 您可能会产生费用,请向模型提供商确认最新价格。+ view_usage: 查看用量历史recent_runs:+ title: 最近运行+ description: 查看规则的执行历史,包括成功/失败状态和交易数量。+ unnamed_rule: 未命名规则columns:date_time: 日期/时间- execution_type: 执行类型- rule_name: 规则名称+ execution_type: 类型status: 状态+ rule_name: 规则名称transactions_counts:- modified: 已修改+ queued: 已排队processed: 已处理- queued: 待处理- description: 查看规则的执行历史,包括成功/失败状态和交易处理数量。+ modified: 已修改+ blocked: 已阻止execution_types:- manual: 手动执行- scheduled: 计划执行+ manual: 手动+ scheduled: 定时statuses:- failed: 失败- pending: 等待中+ pending: 待处理success: 成功- title: 最近执行记录- unnamed_rule: 未命名规则+ failed: 失败+ clear_ai_cache:+ button: 重置 AI 缓存+ confirm_title: 重置 AI 缓存?+ confirm_body: 确定要重置 AI 缓存吗?这将允许 AI 规则重新处理所有交易,并可能产生额外 API 费用。+ confirm_button: 重置缓存+ success: AI 缓存正在清除,这可能需要一点时间。+ condition_filters:+ transaction_type:+ income: 收入+ expense: 支出+ transfer: 转账+ equal_to: 等于+ rule:+ conditions:+ condition_group:+ and_prefix: 并且+ match: 匹配+ all: 所有+ any: 任一+ of_the_following_conditions: 以下条件+ add_condition: 添加条件diff --git a/config/locales/views/securities/zh-CN.yml b/config/locales/views/securities/zh-CN.ymlnew file mode 100644index 0000000000..0a42dadd87--- /dev/null+++ b/config/locales/views/securities/zh-CN.yml@@ -0,0 +1,14 @@+---+zh-CN:+ securities:+ combobox:+ display: "%{symbol} - %{name}(%{exchange})"+ exchange_label: "%{symbol}(%{exchange})"+ providers:+ twelve_data: Twelve Data+ yahoo_finance: Yahoo Finance+ tiingo: Tiingo+ eodhd: EODHD+ alpha_vantage: Alpha Vantage+ mfapi: MFAPI.in+ binance_public: Binancediff --git a/config/locales/views/sessions/zh-CN.yml b/config/locales/views/sessions/zh-CN.ymlindex f683ee8701..8502f5fd47 100644--- a/config/locales/views/sessions/zh-CN.yml+++ b/config/locales/views/sessions/zh-CN.yml@@ -3,22 +3,33 @@ zh-CN:sessions:create:invalid_credentials: 邮箱或密码无效。+ local_login_disabled: 本地密码登录已禁用。请使用单点登录。destroy:logout_successful: 您已成功退出登录。+ post_logout:+ logout_successful: 您已成功退出登录。+ openid_connect:+ account_linked: 已成功将账户链接到 %{provider}+ failed: 无法通过 OpenID Connect 进行认证。failure:failed: 认证失败。+ sso_provider_unavailable: 当前 SSO 提供商不可用。请稍后再试或联系管理员。+ sso_invalid_response: 收到来自 SSO 提供商的无效响应。请重试。+ sso_failed: 单点登录认证失败。请重试。+ mobile_sso_start:+ redirecting_html: 正在重定向到登录……如果未自动跳转,请<a href="%{url}">点击这里</a>。new:- demo_banner_message: 这是一个演示环境。为方便使用,登录凭据已预先填充。请勿输入真实或敏感信息。- demo_banner_title: 演示模式已激活email: 邮箱地址email_placeholder: [email protected]forgot_password: 忘记密码?- google_auth_connect: 使用 Google 登录- openid_connect: 使用 OpenID Connect 登录- oidc: 使用 OpenID Connect 登录password: 密码- password_placeholder: 请输入密码submit: 登录- title: 登录您的账户- openid_connect:- failed: 无法通过 OpenID Connect 认证。+ title: Sure+ password_placeholder: 输入您的密码+ openid_connect: 使用 OpenID Connect 登录+ oidc: 使用 OpenID Connect 登录+ google_auth_connect: 使用 Google 登录+ local_login_admin_only: 本地登录仅限管理员使用。+ no_auth_methods_enabled: 当前没有启用任何认证方式。请联系管理员。+ demo_banner_title: 演示模式已启用+ demo_banner_message: 这是一个演示环境。为方便起见,登录凭据已预先填好。请不要输入真实或敏感信息。diff --git a/config/locales/views/settings/api_keys/zh-CN.yml b/config/locales/views/settings/api_keys/zh-CN.ymlindex 35c8bffa8c..611099f189 100644--- a/config/locales/views/settings/api_keys/zh-CN.yml+++ b/config/locales/views/settings/api_keys/zh-CN.yml@@ -1,77 +1,108 @@---zh-CN:settings:+ api_keys_controller:+ success: API 密钥创建成功+ revoked_successfully: API 密钥已成功撤销+ revoke_failed: 撤销 API 密钥失败+ scope_descriptions:+ read_accounts: 查看账户+ read_transactions: 查看交易+ read_balances: 查看余额+ write_transactions: 创建交易api_keys:- created:- continue: 继续前往 API 密钥设置- copy_key: 复制 API 密钥- critical_warning_1: 这是您唯一一次看到 API 密钥的明文显示。- critical_warning_2: 请复制并安全存储至密码管理器或应用中。- critical_warning_3: 如遗失此密钥,您需要重新创建。- critical_warning_title: "⚠️ 重要提示:请立即保存 API 密钥"- key_name: 密钥名称- permissions: 权限范围- success_description: 您的新 API 密钥已准备就绪。请立即复制保存,后续将无法再次查看。- success_title: API 密钥创建成功- title: API 密钥已创建- usage_instructions: 在 X-Api-Key 请求头中包含您的 API 密钥即可使用:- usage_instructions_title: 快速开始- your_api_key: 您的 API 密钥- new:- cancel: 取消- create_key: 创建 API 密钥- create_new_key: 创建新 API 密钥- description: 为新 API 密钥设置描述性名称和适当权限。- name_help: 请选择描述性名称以便识别该密钥的用途。- name_label: API 密钥名称- name_placeholder: 例如:生产环境应用、分析仪表板- permissions_help: 选择 API 密钥所需的权限范围。您随时可以创建具有不同权限的新密钥。- permissions_label: 权限设置- scope_details:- read_accounts: 查看账户信息、余额及账户级数据- read_balances: 查看历史余额数据及账户价值趋势- read_transactions: 查看交易数据、分类及交易详情- write_transactions: 创建和更新交易记录(即将推出)- security_warning: API 密钥仅在创建后显示一次。请安全存储,切勿公开分享。如遗失需重新创建。- security_warning_title: 重要安全提示- title: 创建 API 密钥show:+ title: API 密钥管理+ no_api_key:+ title: API 密钥+ heading: 以程序方式访问您的账户数据+ description: 使用安全的 API 密钥以程序方式访问您的 Sure 数据。+ what_you_can_do: 使用 API 可以做什么:+ feature_1: 以程序方式访问您的账户数据+ feature_2: 构建自定义集成和应用程序+ feature_3: 自动获取与分析数据+ security_note_title: 安全第一+ security_note: 您的 API 密钥将根据您选择的权限范围进行限制。您一次只能拥有一个有效的 API 密钥。+ create_api_key: 创建 API 密钥+ newly_created:+ page_title: API 密钥创建成功+ heading: API 密钥创建成功!+ key_ready: 您的新 API 密钥“%{name}”已创建,可立即使用。+ your_api_key: 您的 API 密钥+ copy_store_securely: 请复制并安全保存此密钥。您在验证 API 请求时会用到它。+ copy_api_key: 复制 API 密钥+ how_to_use: 如何使用您的 API 密钥+ continue: 继续前往 API 密钥设置current_api_key:- active: 活跃- ago: 前- created_at: 创建时间- description: 您的活跃 API 密钥已准备就绪。请妥善保管,切勿公开分享。+ title: 您的 API 密钥+ description: 您当前的 API 密钥已准备就绪。请妥善保管,切勿公开分享。+ active: 生效中+ key_name: 名称+ created_at: 创建于+ created_ago: 创建于 %{time} 前+ last_used: 最近使用+ last_used_ago: 最近使用于 %{time} 前expires: 过期时间- key_name: 密钥名称- last_used: 最后使用- never_expires: 永不过期+ ago: 前never_used: 从未使用- permissions: 权限范围+ never_expires: 永不过期+ permissions: 权限+ scope_read_only: 只读+ scope_read_write: 读写+ copy_api_key: 复制 API 密钥+ copy_store_securely: 请复制并安全保存此密钥。您在验证 API 请求时会用到它。+ usage_instructions_title: 如何使用您的 API 密钥+ usage_instructions: 向 %{product_name} API 发起请求时,请在 X-Api-Key 请求头中包含您的 API 密钥:regenerate_key: 创建新密钥- revoke_confirmation: 确定要撤销此 API 密钥吗?此操作不可撤销,将立即停用所有使用此密钥的应用程序。revoke_key: 撤销密钥- title: 您的 API 密钥- usage_instructions: 向 %{product_name} API 发起请求时,请在 X-Api-Key 请求头中包含您的 API- 密钥:- usage_instructions_title: 如何使用 API 密钥- no_api_key:- create_api_key: 创建 API 密钥- description: 通过安全的 API 密钥以编程方式访问您的 %{product_name} 数据。- feature_1: 以编程方式访问账户数据- feature_2: 构建自定义集成和应用- feature_3: 自动化数据获取与分析- heading: 以编程方式访问您的账户数据- security_note: 您的 API 密钥将根据所选权限范围受到限制,且同一时间只能有一个活跃的 API 密钥。- security_note_title: 安全第一- title: API 密钥- what_you_can_do: API 功能概述:- title: API 密钥管理- api_keys_controller:- revoke_failed: 撤销 API 密钥失败- revoked_successfully: API 密钥已成功撤销- scope_descriptions:- read_accounts: 查看账户- read_balances: 查看余额- read_transactions: 查看交易- write_transactions: 创建交易- success: API 密钥已创建成功+ revoke_confirmation: 确定要撤销此 API 密钥吗?此操作无法撤销,并将立即禁用所有使用此密钥的应用程序。+ new:+ title: 创建 API 密钥+ create_new_api_key: 创建新 API 密钥+ subtitle: 生成一个新的 API 密钥,以便以程序方式访问您的 Sure 数据。+ description: 使用描述性名称和适当的权限配置新的 API 密钥。+ name_label: API 密钥名称+ name_placeholder: 例如:我的预算应用、投资组合追踪器+ name_help_text: 选择一个描述性名称,方便日后识别此密钥。+ name_help: 选择一个描述性名称,方便识别此密钥的用途。+ permissions_label: 权限+ permissions_help: 请选择此 API 密钥应拥有的权限:+ scope_read_only: 只读+ scope_read_only_description: 查看您的账户、交易和余额+ scope_read_write: 读写+ scope_read_write_description: 查看您的数据并创建新交易+ scope_details:+ read_accounts: 查看账户信息、余额和账户级数据+ read_transactions: 查看交易数据、分类和交易详情+ read_balances: 查看历史余额数据和账户价值趋势+ write_transactions: 创建和更新交易记录(即将推出)+ security_warning_title: 安全提醒+ security_warning_body: 您的 API 密钥只会在创建后显示一次。请务必复制并安全保存。任何拥有此密钥的人都可以按您选择的权限访问您的数据。+ security_warning: 您的 API 密钥在创建后只会显示一次。请妥善保存,切勿公开分享。如果丢失,您需要重新创建一个新的密钥。+ create_key: 创建 API 密钥+ cancel: 取消+ save_api_key: 保存 API 密钥+ created:+ page_title: API 密钥已创建+ title: API 密钥已创建+ success_title: API 密钥创建成功+ success_description: 您的新 API 密钥已成功生成。+ key_ready: 您的新 API 密钥“%{name}”已创建,可立即使用。+ your_api_key: 您的 API 密钥+ copy_store_securely: 请复制并安全保存此密钥。您在验证 API 请求时会用到它。+ key_details_title: 密钥详情+ key_name_label: 名称:+ permissions_label: 权限:+ created_label: 创建于:+ security_note_title: 重要安全提示+ security_note_body: 这将是您的 API 密钥唯一一次以明文形式显示。请立即复制并安全保存。如果丢失此密钥,您需要重新生成一个新的。+ usage_instructions_title: 如何使用您的 API 密钥+ key_name: 名称+ permissions: 权限+ critical_warning_title: 重要:请立即保存您的 API 密钥+ critical_warning_1: 这是您唯一一次以明文看到 API 密钥的机会。+ critical_warning_2: 请复制并安全保存到密码管理器或应用中。+ critical_warning_3: 如果丢失此密钥,您需要创建一个新的。+ usage_instructions: 使用 API 密钥时,请将其包含在 X-Api-Key 请求头中:+ copy_key: 复制 API 密钥+ continue: 继续前往 API 密钥设置diff --git a/config/locales/views/settings/sso_identities/zh-CN.yml b/config/locales/views/settings/sso_identities/zh-CN.ymlnew file mode 100644index 0000000000..1af3d27181--- /dev/null+++ b/config/locales/views/settings/sso_identities/zh-CN.yml@@ -0,0 +1,7 @@+---+zh-CN:+ settings:+ sso_identities:+ destroy:+ cannot_unlink_last: 不能取消关联最后一个身份+ success: 身份已成功取消关联diff --git a/config/locales/views/settings/zh-CN.yml b/config/locales/views/settings/zh-CN.ymlindex 845ae9a0d1..6f8716019c 100644--- a/config/locales/views/settings/zh-CN.yml+++ b/config/locales/views/settings/zh-CN.yml@@ -3,128 +3,506 @@ zh-CN:views:settings:payments:- renewal: "您的贡献将在 %{date} 继续。"+ renewal: 您的捐助将持续到 %{date}。+ cancellation: 您的捐助将于 %{date} 结束。settings:+ debugs:+ show:+ page_title: 调试+ title: 调试事件日志+ subtitle: 面向超级管理员的有意义操作事件,最新优先。+ empty: 未找到调试事件。+ missing_value: "—"+ filters:+ all: 全部+ category: 分类+ level: 级别+ source: 来源+ provider: 提供商+ start_date: 起始日期+ end_date: 结束日期+ family_id: 家庭 ID+ account_id: 账户 ID+ user_id: 用户 ID+ account_provider_id: 账户提供商 ID+ submit: 筛选+ reset: 重置+ table:+ time: 时间+ level: 级别+ category: 分类+ source: 来源+ message: 消息+ context: 上下文+ metadata: 元数据+ view_metadata: 查看+ context:+ provider: provider=%{value}+ family: family=%{value}+ account: account=%{value}+ user: user=%{value}+ account_provider: account_provider=%{value}+ llm_usages:+ show:+ page_title: LLM 用量与费用+ subtitle: 跟踪您的 AI 使用情况和预估费用+ start_date: 开始日期+ end_date: 结束日期+ filter: 筛选+ total_requests: 请求总数+ total_tokens: Token 总数+ prompt: 提示词+ completion: 补全+ total_cost: 总费用+ avg_cost_per_request: 平均每次请求费用+ based_on_requests: 基于 %{with_cost} / %{total} 个带费用数据的请求+ cost_by_operation: 按操作统计费用+ cost_by_model: 按模型统计费用+ recent_usage: 最近用量+ col_date: 日期+ col_operation: 操作+ col_model: 模型+ col_tokens: Token+ col_cost: 费用+ failed: 失败+ no_usage_data: 所选时间段内未找到用量数据+ cost_estimates_title: 关于费用预估+ cost_estimates_description: 费用根据 OpenAI 2025 年的定价估算。实际费用可能不同。定价按每 100 万 token 计算,并随模型而异。自定义或自托管模型将显示为“N/A”,且不计入总费用。ai_prompts:show:- disable_ai: 禁用 AI 助手- main_system_prompt:- subtitle: 定义 AI 助手在所有聊天对话中行为的核心指令- title: 主系统提示词- merchant_detector:- subtitle: AI 识别交易数据并补充商户信息- title: 商户识别器+ page_title: AI 提示词openai_label: OpenAI- page_title: AI 提示词设置+ disable_ai: 停用 AI 助手prompt_instructions: 提示词说明+ main_system_prompt:+ title: 主系统提示词+ subtitle: 定义 AI 助手在所有聊天对话中的行为的核心指令transaction_categorizer:- subtitle: AI 根据您定义的分类自动为交易进行分类title: 交易分类器+ subtitle: AI 会根据您定义的分类自动对交易进行分类+ merchant_detector:+ title: 商户识别器+ subtitle: AI 会识别并补充交易数据中的商户信息payments:show:- page_title: 付款管理- subscription_subtitle: 更新订阅与付款信息- subscription_title: 管理订阅- hostings:- ensure_admin:- not_authorized: 未授权+ page_title: 付款+ subscription_subtitle: 更新您的信用卡信息+ subscription_title: 管理捐助+ currently_on_plan: 当前使用的是+ trialing: 当前正在使用 %{product_name} 的开放演示版+ trial_days_left:+ one: 数据将在 %{count} 天后删除+ other: 数据将在 %{count} 天后删除+ not_contributing_prefix: 您当前+ not_contributing_emphasis: 未在捐助+ contributions_note: 对 %{product_name} 的捐助将显示在这里。+ manage: 管理+ choose_level: 选择等级+ payment_via_stripe: 通过 Stripe 付款+ appearances:+ show:+ page_title: 外观+ theme_title: 主题+ theme_subtitle: 为应用选择偏好的主题+ theme_dark: 深色+ theme_light: 浅色+ theme_system: 跟随系统+ transactions_title: 交易+ transactions_subtitle: 自定义交易的显示方式+ dashboard_title: 仪表盘+ dashboard_subtitle: 自定义仪表盘的显示方式+ dashboard_two_column_title: 双栏布局+ dashboard_two_column_description: 在大屏幕上以两列显示仪表盘组件;关闭后,组件将以单列堆叠显示。+ split_grouped_title: 将拆分交易分组显示+ split_grouped_description: 在交易列表中按父级分组显示拆分交易;关闭后,拆分子项将作为独立行显示。preferences:show:- country: 国家/地区+ country: 国家currency: 货币date_format: 日期格式- default_account_order: 默认账户排序+ general_subtitle: 配置您的偏好设置+ general_title: 常规default_period: 默认周期- general_subtitle: 配置个人偏好设置- general_title: 通用设置+ default_account_order: 默认账户排序language: 语言language_auto: 浏览器语言page_title: 偏好设置- theme_dark: 深色模式- theme_light: 浅色模式- theme_subtitle: 选择应用的主题模式- theme_system: 跟随系统- theme_title: 主题timezone: 时区+ month_start_day: 预算月份开始于+ month_start_day_hint: 设置预算月份的起始日期(例如发薪日)+ month_start_day_warning: 您的预算和月度累计计算将使用此自定义起始日,而不是每月 1 日。+ translations_notice: 请注意,我们仍在完善多种语言的翻译。+ currencies_title: "%{moniker} 货币"+ currencies_subtitle: 选择哪些货币会显示在您的 %{moniker} 金额字段中+ base_currency_label: 基础货币+ base_currency_badge: 基础货币+ additional_currencies_label: 其他货币+ no_additional_currencies: 未选择+ currencies_more: 还有 %{count} 项+ manage_currencies: 管理货币+ manage_currencies_subtitle: 取消选择您从不使用的货币,或将列表缩减到少数几种。+ select_all_currencies: 全选+ select_base_only: 仅基础货币+ currency_search_placeholder: 搜索货币+ no_matching_currencies: 未找到货币+ selected_currencies_count:+ one: 已选择 %{count} 项+ other: 已选择 %{count} 项+ save_currencies: 保存货币+ sharing_title: "%{moniker} 共享"+ sharing_subtitle: 控制您的 %{moniker} 中账户如何共享+ sharing_default_label: 新账户的默认共享方式+ sharing_shared: 与所有成员共享+ sharing_private: 默认保持私密+ preview:+ title: 启用预览功能+ description: 选择启用标记为 preview 或 canary 的进行中功能。profiles:destroy:- cannot_remove_self: 您无法将自己从账户中移除。+ cannot_remove_self: 您不能把自己从账户中移除。member_removal_failed: 移除成员时出现问题。member_removed: 成员已成功移除。- not_authorized: 您没有移除成员的权限。+ not_authorized: 您没有权限移除成员。show:confirm_delete:- body: 确定要永久删除您的账户吗?此操作不可逆转。- title: 确认删除账户?+ body: 确定要永久删除您的账户吗?此操作不可逆。+ title: 删除账户?+ confirm_reset:+ body: 确定要重置您的账户吗?这将删除您的所有账户、分类、商户、标签和其他数据。此操作无法撤销。+ title: 重置账户?+ confirm_reset_with_sample_data:+ body: 确定要重置账户并加载示例数据吗?这将删除现有数据并替换为演示数据,方便您安全体验 Sure。+ title: 重置账户并加载示例数据?confirm_remove_invitation:body: 确定要移除 %{email} 的邀请吗?title: 移除邀请confirm_remove_member:- body: 确定要将 %{name} 从您的账户中移除吗?+ body: 确定要从您的账户中移除 %{name} 吗?title: 移除成员- confirm_reset:- body: 确定要重置您的账户吗?这将删除您的所有账户、分类、商户、标签及其他数据,且不可撤销。- title: 确认重置账户?- confirm_reset_with_sample_data:- body: 确定要重置账户并加载示例数据吗?这将删除您的现有数据并替换为演示数据,以便您安全地探索 %{product_name}。- title: 确认重置账户并加载示例数据?- danger_zone_title: 高风险操作+ danger_zone_title: 危险区域delete_account: 删除账户- delete_account_warning: 删除账户将永久移除您的所有数据且不可恢复。+ delete_account_warning: 删除账户将永久移除您的所有数据,且无法撤销。+ reset_account: 重置账户+ reset_account_warning: 重置账户将删除您的所有账户、分类、商户、标签和其他数据,但会保留用户账户本身。+ reset_account_with_sample_data: 重置并预载+ reset_account_with_sample_data_warning: 删除您所有现有数据,然后加载新的示例数据,以便在预填充环境中探索。email: 邮箱first_name: 名字- household_form_input_placeholder: 请输入家庭名称+ group_form_input_placeholder: 输入组名称+ group_form_label: 组名称+ group_title: 组成员+ household_form_input_placeholder: 输入家庭名称household_form_label: 家庭名称- household_subtitle: 邀请家庭成员、合作伙伴等人员。被邀请者可登录您的家庭账户并访问共享账户。- household_title: 家庭管理+ household_subtitle: 被邀请者可以登录您的 %{moniker} 账户并访问共享资源。+ household_title: 家庭invitation_link: 邀请链接invite_member: 添加成员last_name: 姓氏page_title: 个人资料信息pending: 待处理- profile_subtitle: 自定义您在 %{product_name} 中的显示信息- profile_title: 个人信息+ profile_subtitle: 自定义您在 %{product_name} 中的显示方式+ profile_title: 个人remove_invitation: 移除邀请remove_member: 移除成员- reset_account: 重置账户- reset_account_warning: 重置账户将删除您的所有账户、分类、商户、标签及其他数据,但保留您的用户账户。- reset_account_with_sample_data: 重置并预加载数据- reset_account_with_sample_data_warning: 删除所有现有数据,然后加载新的示例数据,以便您在预填充环境中进行探索。save: 保存securities:show:- page_title: 安全设置+ page_title: 安全性+ mfa_title: 双重认证+ mfa_description: 在登录时要求输入身份验证器应用中的代码,为账户增加额外安全层+ enable_mfa: 启用 2FA+ disable_mfa: 停用 2FA+ disable_mfa_confirm: 确定要停用双重认证吗?这会降低您的账户安全性。+ sso_title: 已连接账户+ sso_subtitle: 管理您的单点登录账户连接+ sso_disconnect: 断开连接+ sso_last_used: 最后使用+ sso_never: 从未+ sso_no_email: 无邮箱+ sso_no_identities: 尚未连接任何 SSO 账户+ sso_connect_hint: 请先退出登录,再使用 SSO 提供商登录以连接账户。+ sso_confirm_title: 断开账户连接?+ sso_confirm_body: 确定要断开您的 %{provider} 账户吗?您之后仍可再次使用该提供商登录并重新连接。+ sso_confirm_button: 断开连接+ sso_warning_message: 这是您唯一的登录方式。断开前应先在安全设置中设置密码,否则您可能无法再登录账户。settings_nav:- accounts_label: 账户管理- advanced_section_title: 高级设置+ accounts_label: 账户+ advanced_section_title: 高级ai_prompts_label: AI 提示词api_key_label: API 密钥- api_keys_label: API 密钥- bank_sync_label: 银行同步- payment_label: 付款管理- categories_label: 分类管理- feedback_label: 意见反馈- general_section_title: 通用设置- guides_label: 使用指南- imports_label: 导入记录- exports_label: 导出记录+ payment_label: 付款+ categories_label: 分类+ feedback_label: 反馈+ general_section_title: 常规+ imports_label: 导入+ exports_label: 导出+ llm_usage_label: LLM 用量logout: 退出登录- merchants_label: 商户管理- other_section_title: 更多设置+ merchants_label: 商户+ providers_label: 提供商+ guides_label: 指南+ other_section_title: 更多preferences_label: 偏好设置profile_label: 个人资料信息- recurring_transactions_label: 定期交易- rules_label: 规则管理- security_label: 安全设置+ recurring_transactions_label: 循环交易+ rules_label: 规则+ security_label: 安全性self_hosting_label: 自托管- tags_label: 标签管理- transactions_section_title: 交易管理- whats_new_label: 更新日志+ sso_providers_label: SSO 提供商+ statement_vault_label: 对账单库+ tags_label: 标签+ transactions_section_title: 交易+ users_label: 用户+ whats_new_label: 有什么新内容+ api_keys_label: API 密钥+ appearance_label: 外观+ bank_sync_label: 银行同步+ debug_label: 调试settings_nav_link_large:next: 下一步- previous: 上一步+ previous: 返回user_avatar_field:- accepted_formats: 支持 JPG 或 PNG 格式,最大 5MB- change: 更换头像- choose: 上传头像- choose_label: "(可选)"+ accepted_formats: JPG 或 PNG,最大 5MB+ choose: 上传照片+ choose_label: (可选)+ change: 更改照片+ providers:+ update:+ updated_successfully: 提供商设置更新成功+ no_changes: 未做任何更改+ not_authorized: 未获授权+ bank_sync:+ page_title: 银行同步+ lede: 连接外部账户,让交易、余额和持仓自动流入 Sure。+ status:+ ok: 已连接+ warn: 需要处理+ err: 错误+ off: 未配置+ maturity:+ beta: Beta+ alpha: Alpha+ drawer_trust_statement: 只读访问。Sure 绝不会移动您的资金,且您的凭证会被加密存储。+ setup_steps:+ eyebrow: 设置+ need_help: 需要帮助?+ connect: 连接+ groups:+ your_connections: 您的连接+ available: 可用+ empty_available: 所有可用提供商都已连接。+ health_strip:+ connected: 已连接+ needs_attention: 需要注意+ accounts_syncing: 账户同步中+ last_synced: 上次同步于 %{time} 前+ meta:+ sync_error: 同步错误+ no_recent_sync: 同步已逾期+ registration_needed: 需要注册+ reconsent_required: 需要重新授权+ reconsent_needed:+ one: 1 天后需要重新授权+ other: "%{count} 天后需要重新授权"+ last_synced: 于 %{time} 前同步+ sync_all: 全部同步+ sync_all_in_progress: 正在同步所有已连接的提供商…+ sync_all_recently: 同步已在进行中,请稍后再试。+ sync_provider: 立即同步+ sync_provider_in_progress: 同步已开始。+ recently_synced: 刚刚已同步,请稍后再试。+ taglines:+ simplefin: 通过开放的 SimpleFIN 协议连接美国银行账户。+ lunchflow: 连接来自 40 多个国家/地区的 2 万多家银行(英国、欧盟、美国等)!+ enable_banking: 通过 PSD2 开放银行连接欧洲银行账户。+ coinstats: 跨钱包和交易所跟踪您的整个加密资产组合。+ mercury: 自动同步您的 Mercury 商业银行账户。+ brex: 以只读方式同步 Brex 现金和公司卡活动。+ coinbase: 导入您的 Coinbase 加密持仓并跟踪表现。+ binance: 使用只读 API 密钥同步您的 Binance 现货余额。+ kraken: 使用只读 API 密钥同步 Kraken 余额和现货成交记录。+ snaptrade: 通过 SnapTrade 聚合网络连接券商账户。+ ibkr: 通过 Flex Query 导入同步盈透证券投资账户。+ indexa_capital: 跟踪您的 Indexa Capital 自动化投资组合。+ sophtron: 连接美国和加拿大的银行及公用事业账户。+ plaid: 通过 Plaid 连接数千家美国金融机构。+ plaid_eu: 通过 Plaid 连接欧洲金融机构(PSD2 / Open Banking)。+ search_filters:+ aria_label: 搜索提供商+ placeholder: 搜索提供商+ chips:+ all: 全部+ bank: 银行+ crypto: 加密资产+ investment: 投资+ empty_filter: 没有提供商匹配您的筛选条件。+ clear_filter: 清除筛选+ encryption_error:+ title: 缺少加密密钥+ message: 银行同步需要配置 Active Record 加密。请在 Rails 凭据或环境变量中设置 primary_key、deterministic_key 和 key_derivation_salt。+ provider_form:+ save_and_connect: 保存并连接+ coinbase_panel:+ setup_instructions: 连接 Coinbase:+ step1_html: 前往 <a href="https://portal.cdp.coinbase.com/projects/api-keys" target="_blank" rel="noopener noreferrer" class="text-primary underline">Coinbase API 设置</a>+ step2: 创建一个仅具备只读权限的新 API key(查看账户、查看交易)+ step3: 复制您的 API key 和 API secret 并粘贴到下方+ api_key_label: API Key+ api_key_placeholder: 输入您的 Coinbase API key+ api_secret_label: API Secret+ api_secret_placeholder: 输入您的 Coinbase API secret+ connect_button: 连接 Coinbase+ syncing: 正在同步...+ sync: 同步+ disconnect_confirm: 确定要断开此 Coinbase 连接吗?同步的账户会变为手动账户。+ binance_panel:+ setup_instructions: 连接 Binance,请创建一个只读 API key:+ step1_html: '前往 <a href="https://www.binance.com/en/my/settings/api-management" target="_blank" rel="noopener noreferrer" class="underline">Binance API 管理</a>'+ step2: 创建一个仅启用读取权限的新 API key+ step3: 将您的 API Key 和 Secret 粘贴到下方+ no_withdraw_title: 仅限只读密钥+ no_withdraw_body: 创建 Binance API key 时不要启用提币权限。Sure 只需要读取权限。+ ip_hint_title: 需要 IP 白名单+ ip_hint_body: 将应用服务器的出口 IP 添加到 Binance API Key 白名单:+ ip_hint_contact_admin: 请联系您的管理员获取应用服务器的出口 IP 地址。+ api_key_label: API Key+ api_key_placeholder: 粘贴您的 Binance API Key+ api_secret_label: API Secret+ api_secret_placeholder: 粘贴您的 Binance API Secret+ connect_button: 连接 Binance+ syncing: 正在同步...+ sync: 同步+ disconnect_confirm: 确定要断开 Binance 吗?+ kraken_panel:+ step1_html: '前往 <a href="https://pro.kraken.com/app/settings/api" target="_blank" rel="noopener noreferrer" class="underline">Kraken API 设置</a>'+ step2: 仅创建一个具备 Query Funds 和 Query Closed Orders & Trades 权限的 API key。+ step3: 将 API key 和私钥粘贴到下方。+ read_only_title: 仅限只读交易所同步+ read_only_body: 不要授予交易、撤单、提币、导出、账本、Earn、质押或转账权限。Sure 只导入余额、持仓和现货成交。+ default_connection_name: Kraken+ add_connection: 添加 Kraken 连接+ update_connection: 更新连接+ connection_name_label: 连接名称+ connection_name_placeholder: Main Kraken+ api_key_label: API Key+ api_key_placeholder: 粘贴您的 Kraken API key+ keep_api_key_placeholder: 留空以保留现有 API key+ api_secret_label: Private Key+ api_secret_placeholder: 粘贴您的 Kraken private key+ keep_api_secret_placeholder: 留空以保留现有 private key+ setup_accounts: 设置账户+ syncing: 正在同步...+ sync: 同步+ disconnect: 断开连接+ disconnect_confirm: 确定要断开 %{name} 吗?+ enable_banking_panel:+ callback_url_instruction: 回调 URL 请使用 %{callback_url}。+ connection_error: 连接错误+ step_1_html: 前往 %{link} 并获取您的开发者凭据。+ step_2: 选择您的国家/地区,并将 Application ID + Client Certificate 粘贴到下方。+ step_3: 保存后使用“添加连接”链接您的银行。+ config_locked_title: 配置已锁定+ config_locked_message: 在更改这些凭据之前,请先断开所有已连接的银行。+ application_id_label: Application ID+ application_id_placeholder_new: 输入 application ID+ application_id_placeholder_update: 输入新 ID 以更新+ client_certificate_label: Client Certificate(包含 Private Key)+ save_and_connect: 保存并连接+ update_connection: 更新连接+ connected_bank: 已连接的银行+ session_expires: 会话过期时间:%{date}+ unknown: 未知+ connection: 连接+ session_expired_reconnect: 会话已过期 - 重新连接+ configured: 已配置+ ready_to_link: 准备链接账户+ sync: 同步+ reconnect: 重新连接+ connect_bank: 连接银行+ remove: 移除+ remove_confirm: 确定要移除此连接吗?+ add_connection: 添加连接+ syncing: 正在同步+ select_country: 选择国家/地区...+ country_label: 国家/地区+ lunchflow_panel:+ step_1_html: 前往 %{link} 并创建一个 API key。+ step_2: 将您的 key 粘贴到下方并连接。+ step_3: 然后前往账户,将同步到账户进行关联。+ api_key_label: API Key+ api_key_placeholder_new: 在此粘贴 API key+ api_key_placeholder_update: 输入新的 API key 以更新+ base_url_label: Base URL(可选)+ base_url_placeholder: https://lunchflow.app/api/v1(默认)+ save_and_connect: 保存并连接+ update_connection: 更新连接+ simplefin_panel:+ step_1_html: 前往 %{link} 获取一次性设置令牌。+ step_2: 将令牌粘贴到下方并连接。+ step_3: 然后前往账户,将同步到账户进行关联。+ setup_token_label: Setup Token+ setup_token_placeholder: 粘贴 SimpleFIN setup token+ save_and_connect: 保存并连接+ plaid_panel:+ step_1_html: 打开 %{link} 并复制您的 Client ID 和 Secret Key。+ step_2: 选择环境。测试请使用 sandbox,真实账户请使用 production。+ step_3: 将凭据粘贴到下方并连接。+ plaid_eu_panel:+ step_1_html: 打开 %{link} 并复制您的 EU Client ID 和 Secret Key。+ not_found: 未找到提供商。+ sync_provider_no_items: 没有可同步的连接。+ ibkr_panel:+ steps:+ step_1: 在您的 IBKR Client Portal 中,前往“Performance & Reports” > “Flex Queries”。+ step_2: 在“Activity Flex Query”区域点击“+”图标创建一个新查询。+ step_3: 为查询命名(例如“Sure Sync”),然后查看下方的 Flex Query 详情并启用列出的部分、字段和配置选项。+ step_4: 保存查询,记下您的“Query ID”,然后使用“Flex Web Service Configuration”区域中的齿轮图标生成访问 Token。+ step_5: 将您的 Query ID 和 Token 粘贴到下方,保存配置,然后前往账户以链接发现的 IBKR 账户。+ flex_query_details:+ eyebrow: Flex Query+ title: 部分、字段与配置+ summary: 展开以查看您的 IBKR Activity Flex Query 必须包含的精确部分、字段和设置。+ sections_heading: 启用这些部分和字段+ configuration_heading: 设置这些查询选项+ sections:+ account_information: 账户信息:Account ID、Currency+ cash_report: 现金报表:+ cash_report_options: 选项:无+ cash_report_fields: 字段:Currency、Ending Cash+ cash_transactions: 现金交易:+ cash_transactions_options: 选项:Dividends、Deposits & Withdrawals、Detail+ cash_transactions_fields: 字段:Amount、Conid、Currency、FX Rate To Base、Report Date、Transaction ID、Type+ change_in_position_value_summary: 仓位价值变动汇总:Currency、End Of Period Value+ net_asset_value: 基础币种下的净资产值(NAV):+ net_asset_value_options: 选项:无+ net_asset_value_fields: 字段:Currency、Report Date、Total+ open_positions: 未平仓位:+ open_positions_options: 选项:Summary+ open_positions_fields: 字段:Asset Class、Conid、Cost Basis Price、Currency、FX Rate To Base、Mark Price、Quantity、Report Date、Security ID、Security ID Type、Side、Symbol+ trades: 交易:+ trades_options: 选项:Execution+ trades_fields: 字段:Asset Class、Buy/Sell、Conid、Currency、FX Rate To Base、IB Commission、IB Commission Currency、Quantity、Symbol、Trade Date、Trade ID、TradePrice、Transaction ID+ configuration:+ models: Models:可选+ format: Format:XML+ period: Period:最近 365 个自然日+ date_format: Date Format:yyyy-MM-dd+ time_format: Time Format:HH:mm:ss+ date_time_separator: Date/Time Separator:;(分号)+ profit_and_loss: Profit and Loss:默认+ all_other_options: 其他所有配置选项:“No”+ report_window_note: IBKR Flex reports 受您在 IBKR 中配置的查询窗口限制。Sure 将从此报告导入完整的当前持仓,以及最多最近 365 天的活动。+ sync: 同步+ disconnect_confirm: 断开 Interactive Brokers?+ query_id_label: Query ID+ query_id_placeholder_new: 输入您的 IBKR Flex Query ID+ query_id_placeholder_existing: 留空以保留当前 Query ID+ token_label: Token+ token_placeholder_new: 输入您的 IBKR Flex Web Service Token+ token_placeholder_existing: 留空以保留当前 Token+ save_configuration: 保存配置+ update_configuration: 更新配置+ status_configured_prefix: "%{summary}。请访问"+ accounts_tab: 账户+ status_configured_suffix: 标签页以管理已发现的账户。+ not_configured: 未配置。diff --git a/config/locales/views/shared/zh-CN.yml b/config/locales/views/shared/zh-CN.ymlindex a84a483792..2f5964b75b 100644--- a/config/locales/views/shared/zh-CN.yml+++ b/config/locales/views/shared/zh-CN.yml@@ -1,24 +1,38 @@---zh-CN:+ concerns:+ self_hostable:+ redis_configured: Redis 现已正确配置!您现在可以设置您的 Sure 应用了。shared:confirm_modal:accept: 确认- body_html: "<p>此操作不可撤销</p>"+ body_html: "<p>此决定无法撤销</p>"cancel: 取消- title: 确定要执行此操作?+ title: 确定吗?money_field:label: 金额exchange_rate_tabs:calculate_rate_tab: 计算汇率- convert_tab: 用汇率转换+ convert_tab: 使用汇率换算destination_amount: 目标金额exchange_rate: 汇率exchange_rate_help: 选择如何输入金额。syncing_notice:- syncing: 账户数据同步中...+ syncing: 账户数据同步中……+ require_admin: 只有管理员才能执行此操作+ custom_confirm:+ default_title: 确定吗?+ default_body: 此操作不可逆。+ default_btn_text: 确认+ family_moniker:+ group_plural: 组+ group_singular: 组+ plural: 家庭+ singular: 家庭+ trend_change:+ no_change: 无变化+ cancel: 取消transaction_tabs:expense: 支出income: 收入transfer: 转账- trend_change:- no_change: 无变化diff --git a/config/locales/views/simplefin_items/zh-CN.yml b/config/locales/views/simplefin_items/zh-CN.ymlindex 1000cdd8d7..65ca9fe272 100644--- a/config/locales/views/simplefin_items/zh-CN.yml+++ b/config/locales/views/simplefin_items/zh-CN.yml@@ -1,71 +1,159 @@---zh-CN:simplefin_items:- complete_account_setup:- all_skipped: 所有账户已跳过。未创建任何账户。- no_accounts: 无待设置账户。- success: 已成功创建 %{count} 个 SimpleFIN 账户!您的交易和投资数据正在后台导入。+ new:+ title: 连接 SimpleFIN+ setup_token: 设置令牌+ setup_token_placeholder: 粘贴您的 SimpleFIN 设置令牌+ connect: 连接+ cancel: 取消create:+ success: SimpleFIN 连接添加成功!您的账户将在后台同步完成后很快显示。errors:blank_token: 请输入 SimpleFIN 设置令牌。+ invalid_token: 设置令牌无效。请确认您已从 SimpleFIN Bridge 复制完整令牌。+ token_compromised: 设置令牌可能已泄露、过期或已使用过。请创建新的令牌。create_failed: 连接失败:%{message}- invalid_token: 设置令牌无效。请检查是否从 SimpleFIN Bridge 复制了完整的令牌。- token_compromised: 设置令牌可能已泄露、过期或已被使用。请创建新令牌。- unexpected: 发生意外错误。请重试或联系支持团队。- success: SimpleFIN 连接已成功添加!您的账户将在后台同步后显示。+ unexpected: 发生意外错误,请稍后再试。destroy:success: SimpleFIN 连接将被移除+ update:+ success: SimpleFIN 连接更新成功!您的账户正在重新连接。+ errors:+ blank_token: 请输入 SimpleFIN 设置令牌。+ invalid_token: 设置令牌无效。请确认您已从 SimpleFIN Bridge 复制完整令牌。+ token_compromised: 设置令牌可能已泄露、过期或已使用过。请创建新的令牌。+ update_failed: 更新连接失败:%{message}+ unexpected: 发生意外错误,请稍后再试。edit:setup_token:- help_text: 令牌应为以字母和数字开头的长字符串label: SimpleFIN 设置令牌:- placeholder: 在此粘贴您的 SimpleFIN 设置令牌...- link_existing_account:- errors:- invalid_simplefin_account: 所选 SimpleFIN 账户无效- only_manual: 只能关联手动账户- success: 账户已成功关联到 SimpleFIN- new:+ placeholder: 在此粘贴您的 SimpleFIN 设置令牌……+ help_text: 令牌应为以字母和数字开头的长字符串+ title: 更新 SimpleFIN 连接+ header_subtitle: 获取新的设置令牌以重新连接您的 SimpleFIN 账户+ connection_needs_update: 您的 SimpleFIN 连接需要更新:+ step_1_html: 前往 <a href="https://bridge.simplefin.org/simplefin/create" target="_blank" rel="noopener noreferrer" class="text-link hover:text-link underline">SimpleFIN Bridge</a> 创建新的设置令牌+ step_2: 复制令牌并粘贴到下方+ step_3: 点击“更新”以恢复访问+ update: 更新cancel: 取消- connect: 连接- setup_token: 设置令牌- setup_token_placeholder: 粘贴您的 SimpleFIN 设置令牌- title: 连接 SimpleFIN- select_existing_account:- all_accounts_already_linked: 所有 SimpleFIN 账户似乎均已关联。+ setup_accounts:+ title: 设置您的 SimpleFIN 账户+ header_subtitle: 为导入的账户选择正确的账户类型+ choose_account_type: 为每个 SimpleFIN 账户选择正确的账户类型:+ account_type_checking_savings: 支票账户或储蓄账户+ account_type_checking_savings_desc: 普通银行账户+ account_type_credit_card: 信用卡+ account_type_credit_card_desc: 信用卡账户+ account_type_investment: 投资账户+ account_type_investment_desc: 券商、401(k)、IRA 账户+ account_type_loan: 贷款或抵押贷款+ account_type_loan_desc: 债务账户+ account_type_other_asset: 其他资产+ account_type_other_asset_desc: 其他所有类型+ transaction_history_title: 交易历史:+ transaction_history_description_html: SimpleFIN 通常会提供<strong>60–90 天</strong>的交易历史,具体取决于您的银行。完成初始设置后,新的交易将继续自动同步。历史数据可用性因机构和账户类型而异。+ account_type_label: 账户类型:+ create_accounts: 创建账户+ creating_accounts: 正在创建账户……cancel: 取消- check_provider_health: 检查服务提供商状态- currently_linked_to: "当前关联到:%{account_name}"- description: 选择一个 SimpleFIN 账户与您的现有账户关联- link_account: 关联账户- no_accounts_found: 此家庭未找到 SimpleFIN 账户。- title: 将 %{account_name} 关联到 SimpleFIN- unlink_to_move: 如需移动关联,请先从账户操作菜单中解除当前关联。- wait_for_sync: 如果您刚刚连接或同步完成,请等待同步完成后再试。+ account_card:+ balance: 余额+ activity:+ recent:+ one: 1 笔交易 • 最近于 %{when}+ other: "%{count} 笔交易 • 最近于 %{when}"+ dormant: "%{days} 天内无活动"+ empty: 尚未导入交易+ likely_closed: 无近期活动且余额为零——这可能是已关闭或已替换的卡片+ today: 今天+ yesterday: 昨天+ days_ago:+ one: 1 天前+ other: "%{count} 天前"+ stale_accounts:+ title: 不再属于 SimpleFIN 的账户+ description: 这些账户仍存在于您的数据库中,但已不再由 SimpleFIN 提供。这种情况可能发生在上游账户配置变更时。+ action_prompt: 您希望怎么处理?+ action_delete: 删除账户及其所有交易+ action_move: 将交易移动到:+ action_skip: 暂时跳过+ transaction_count:+ one: "%{count} 笔交易"+ other: "%{count} 笔交易"+ complete_account_setup:+ all_skipped: 所有账户都已跳过。未创建任何账户。+ no_accounts: 没有可设置的账户。+ success:+ one: 成功创建 %{count} 个 SimpleFIN 账户!您的交易和持仓正在后台导入。+ other: 成功创建 %{count} 个 SimpleFIN 账户!您的交易和持仓正在后台导入。+ stale_accounts_processed: 过期账户:已删除 %{deleted} 个,已移动 %{moved} 个。+ stale_accounts_errors:+ one: "%{count} 个过期账户操作失败,请查看日志了解详情。"+ other: "%{count} 个过期账户操作失败,请查看日志了解详情。"simplefin_item:add_new: 添加新连接confirm_accept: 删除连接- confirm_body: 此操作将永久删除该组下的所有账户及相关数据。- confirm_title: 确认删除 SimpleFIN 连接?+ confirm_body: 这将永久删除此组中的所有账户及其相关数据。+ confirm_title: 删除 SimpleFIN 连接?delete: 删除- deletion_in_progress: "(删除进行中...)"+ deletion_in_progress: (正在删除中……)error: 同步数据时发生错误- no_accounts_description: 此连接尚未同步任何账户。+ no_accounts_description: 此连接尚未包含任何已同步账户。no_accounts_title: 未找到账户- requires_update: 需要重新认证+ requires_update: 重新连接+ setup_needed: 新账户已准备就绪,需要设置+ setup_description: 为您新导入的 SimpleFIN 账户选择账户类型。setup_action: 设置新账户- setup_description: 请为您新导入的 SimpleFIN 账户选择账户类型。- setup_needed: 新账户待设置+ setup_accounts_menu: 设置账户+ more_accounts_available:+ one: 还有 %{count} 个账户可设置+ other: 还有 %{count} 个账户可设置+ accounts_skipped_tooltip: 某些账户因同步错误被跳过+ accounts_skipped_label: 已跳过:%{count}+ rate_limited_ago: (%{time} 前被限流)+ rate_limited_recently: 最近被限流status: 上次同步于 %{timestamp} 前status_never: 从未同步- status_with_summary: 同步于 %{timestamp} 前 • %{summary}- syncing: 同步中...- update: 更新连接- update:+ status_with_summary: 上次同步于 %{timestamp} 前 • %{summary}+ syncing: 正在同步……+ update: 更新+ stale_pending_note: (不计入预算)+ stale_pending_accounts: 在:%{accounts}+ reconciled_details_note: (详情请查看同步摘要)+ duplicate_accounts_skipped: 某些账户因重复被跳过——请使用“链接现有账户”进行合并。+ select_existing_account:+ title: 将 %{account_name} 连接到 SimpleFIN+ description: 选择一个 SimpleFIN 账户以连接到您现有的账户+ cancel: 取消+ link_account: 连接账户+ no_accounts_found: 此 %{moniker} 未找到任何 SimpleFIN 账户。+ wait_for_sync: 如果您刚刚连接或同步,请等待同步完成后再试。+ unlink_to_move: 若要移动连接,请先在账户操作菜单中取消其连接。+ all_accounts_already_linked: 所有 SimpleFIN 账户似乎都已连接。+ currently_linked_to: 当前连接到:%{account_name}+ check_provider_health: 请检查您的 API 凭据和同步状态。+ link_existing_account:+ success: 账户已成功连接到 SimpleFINerrors:- blank_token: 请输入 SimpleFIN 设置令牌。- invalid_token: 设置令牌无效。请检查是否从 SimpleFIN Bridge 复制了完整的令牌。- token_compromised: 设置令牌可能已泄露、过期或已被使用。请创建新令牌。- unexpected: 发生意外错误。请重试或联系支持团队。- update_failed: 更新连接失败:%{message}- success: SimpleFIN 连接更新成功!您的账户正在重新连接中。+ only_manual: 只有手动账户才能连接+ different_provider: 此账户已连接到其他提供商。请先取消与该提供商的连接,然后再连接到 SimpleFIN。+ invalid_simplefin_account: 所选 SimpleFIN 账户无效+ dismiss_replacement_suggestion:+ dismissed: 已忽略替换建议+ replacement_prompt:+ title: 您的 %{institution} 卡片可能已被替换+ description: “%{account_name}” 连接到 “%{old_name}”,该卡片近期没有活动且余额为零。现在,同一机构中有一张新卡 “%{new_name}” 已激活。重新关联可保留您的历史记录。+ relink: 重新关联到新卡+ confirm_title: 重新关联到新卡?+ confirm_body: “%{account_name}” 将连接到 “%{new_name}”。您的交易历史将保留,未来交易将来自新卡。+ dismiss_aria: 忽略替换建议+ reconciled_status:+ message:+ one: 已勾稽 %{count} 笔重复待处理交易+ other: 已勾稽 %{count} 笔重复待处理交易+ stale_pending_status:+ message:+ one: 1 笔待处理交易早于 %{days} 天+ other: "%{count} 笔待处理交易早于 %{days} 天"diff --git a/config/locales/views/snaptrade_items/zh-CN.yml b/config/locales/views/snaptrade_items/zh-CN.ymlnew file mode 100644index 0000000000..caac3138db--- /dev/null+++ b/config/locales/views/snaptrade_items/zh-CN.yml@@ -0,0 +1,190 @@+---+zh-CN:+ snaptrade_items:+ default_name: "SnapTrade 连接"+ link_accounts:+ use_setup_flow: 请改用账户设置流程+ create:+ success: SnapTrade 配置成功。+ update:+ success: SnapTrade 配置已更新。+ 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 尚未配置。+ 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 账户中。+ delete_orphaned_user:+ success: 孤立注册已成功删除。+ failed: 删除孤立注册失败。+ 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: 已关联到:+ 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 等),并提供带活动标签和成本基础的完整交易历史。"+ setup_title: "设置说明:"+ step_1_html: "在 <a href=\"https://dashboard.snaptrade.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-primary underline\">dashboard.snaptrade.com</a> 创建账户"+ step_2: "从仪表盘复制您的 Client ID 和 Consumer Key"+ step_3: "在下方输入您的凭据并点击保存"+ step_4: "前往账户页面,使用“连接另一个券商”来关联您的投资账户"+ free_tier_warning: "SnapTrade 免费套餐覆盖 5 个券商连接。更多功能请在 SnapTrade 升级。"+ client_id_label: "Client ID"+ client_id_placeholder: "输入您的 SnapTrade Client ID"+ client_id_update_placeholder: "输入新的 Client ID 以更新"+ consumer_key_label: "Consumer Key"+ consumer_key_placeholder: "输入您的 SnapTrade Consumer Key"+ consumer_key_update_placeholder: "输入新的 Consumer Key 以更新"+ save_button: "保存配置"+ update_button: "更新配置"+ status_connected:+ one: "%{count} 个来自 SnapTrade 的账户"+ other: "%{count} 个来自 SnapTrade 的账户"+ status_needs_registration: "凭据已保存。完成设置后即可连接券商。"+ 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: "删除连接"+ orphaned_users_title:+ one: "%{count} 个孤立注册"+ other: "%{count} 个孤立注册"+ orphaned_users_description: "这些是之前使用您连接名额的 SnapTrade 用户注册。删除它们可释放名额。"+ orphaned_user: "孤立注册"+ delete_orphaned_user: "删除"+ delete_orphaned_user_title: "删除孤立注册?"+ delete_orphaned_user_body: "这将永久删除该孤立的 SnapTrade 用户及其所有券商连接,释放连接名额。"+ delete_orphaned_user_confirm: "删除注册"+ 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: 活动正在后台获取中。对于新的券商连接,这可能需要最多一分钟。\ No newline at end of filediff --git a/config/locales/views/sophtron_items/zh-CN.yml b/config/locales/views/sophtron_items/zh-CN.ymlnew file mode 100644index 0000000000..51e6dcc6e5--- /dev/null+++ b/config/locales/views/sophtron_items/zh-CN.yml@@ -0,0 +1,313 @@+---+zh-CN:+ sophtron_items:+ defaults:+ name: Sophtron 连接+ new:+ title: 连接 Sophtron+ user_id: User ID+ user_id_placeholder: 粘贴您的 Sophtron User ID+ access_key: Access Key+ access_key_placeholder: 粘贴您的 Sophtron Access Key+ connect: 连接+ cancel: 取消+ create:+ success: Sophtron 连接创建成功+ destroy:+ success: Sophtron 连接已移除+ update:+ success: Sophtron 连接更新成功!您的账户正在重新连接。+ errors:+ blank_user_id: 请输入 Sophtron User ID。+ invalid_user_id: 无效的 User ID。请检查您是否从 Sophtron 复制了完整的 User ID。+ user_id_compromised: 该 User ID 可能已泄露、过期或已使用。请创建一个新的。+ blank_access_key: 请输入 Sophtron Access Key。+ invalid_access_key: 无效的 Access Key。请检查您是否从 Sophtron 复制了完整的 Access Key。+ access_key_compromised: 该 Access Key 可能已泄露、过期或已使用。请创建一个新的。+ update_failed: "更新连接失败:%{message}"+ unexpected: 发生意外错误。请重试或联系支持。+ edit:+ user_id:+ label: "Sophtron User ID:"+ placeholder: "请在此粘贴您的 Sophtron User ID..."+ help_text: "User ID 应该是以字母和数字开头的长字符串"+ access_key:+ label: "Sophtron Access Key:"+ placeholder: "请在此粘贴您的 Sophtron Access Key..."+ help_text: "Access Key 应该是以字母和数字开头的长字符串"+ index:+ title: Sophtron 连接+ loading:+ loading_message: 正在加载 Sophtron 账户...+ loading_title: 正在加载+ link_accounts:+ all_already_linked:+ one: 选定账户(%{names})已关联+ other: 所有 %{count} 个选定账户都已关联:%{names}+ api_error: "API 连接错误"+ invalid_account_names:+ one: 无法关联空名称账户+ other: 无法关联 %{count} 个空名称账户+ link_failed: 关联账户失败+ no_accounts_selected: 请至少选择一个账户+ partial_invalid: "成功关联 %{created_count} 个账户,%{already_linked_count} 个已关联,%{invalid_count} 个账户名称无效"+ partial_success: "成功关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联:%{already_linked_names}"+ success:+ one: "成功关联 %{count} 个账户"+ other: "成功关联 %{count} 个账户"+ no_credentials_configured: "请先在提供商设置中配置您的 Sophtron API User ID 和 Access Key。"+ no_accounts_found: 未找到账户。请检查您的 Access Key 配置。+ no_access_key: Sophtron Access Key 未配置。请在设置中配置。+ no_user_id: Sophtron User ID 未配置。请在设置中配置。+ no_institution_connected: 请先使用 Sophtron 连接一个银行机构。+ connect:+ cancel: 取消+ captcha: 验证码+ connect: 连接+ institution_search_label: 机构+ institution_search_placeholder: 按银行名称搜索+ no_institutions: 未找到匹配的机构。+ password: 密码+ search: 搜索+ search_too_short: 请至少输入两个字符进行搜索。+ title: 连接 Sophtron 机构+ username: 用户名+ connect_institution:+ api_error: "Sophtron 连接失败:%{message}"+ missing_parameters: 请选择一个机构并输入您的银行登录凭据。+ connection_status:+ api_error: "API 连接错误:%{message}"+ attempt: 第 %{attempt} 次,共 %{max} 次+ check_again: 再次检查+ failed: Sophtron 无法完成此机构连接。+ failed_timeout: 在机构完成登录时,Sophtron 超时。+ timeout: Sophtron 未能在预期时间内完成连接。您可以再次检查,或稍后重连。+ title: 正在连接 Sophtron+ waiting: Sophtron 仍在连接您的机构。+ mfa:+ captcha: 验证码文本+ captcha_alt: Sophtron 验证码+ phone_confirmed: 我已通过电话确认+ submit: 提交+ title: Sophtron 验证+ token: 验证码+ submit_mfa:+ api_error: "验证失败:%{message}"+ invalid_security_answers: 安全问题答案缺失或过长。+ unknown_challenge: 未知的 Sophtron 验证步骤。+ sophtron_item:+ accounts_need_setup: 账户需要设置+ automatic_sync: 使用自动同步+ delete: 删除连接+ deletion_in_progress: 正在删除...+ error: 错误+ no_accounts_description: 此连接尚未关联任何账户。+ no_accounts_title: 无账户+ manual_sync: 手动同步+ manual_sync_action: 需要手动同步+ manual_sync_action_for: "为 %{institution} 需要手动同步"+ automatic_sync_for: "为 %{institution} 使用自动同步"+ setup_action: 设置新账户+ setup_description: 已关联 %{linked} / %{total} 个账户。请选择新导入的 Sophtron 账户类型。+ setup_needed: 新账户已准备好设置+ status: "%{timestamp} 前已同步"+ status_never: 从未同步+ status_with_summary: "%{timestamp} 前上次同步 • %{summary}"+ sync_now: 立即同步+ syncing: 正在同步...+ total: 总计+ unlinked: 未关联+ preload_accounts:+ preload_accounts: 预加载账户+ api_error: "API 连接错误"+ unexpected_error: "发生意外错误"+ no_credentials_configured: "请先在提供商设置中配置您的 Sophtron API User ID 和 Access Key。"+ no_accounts_found: 未找到账户。请检查您的 Access Key 配置。+ no_access_key: Sophtron Access Key 未配置。请在设置中配置。+ no_user_id: Sophtron User ID 未配置。请在设置中配置。+ select_accounts:+ accounts_selected: 已选择账户+ api_error: "API 连接错误"+ unexpected_error: "发生意外错误"+ cancel: 取消+ configure_name_in_sophtron: 无法导入 - 请先在 Sophtron 中配置账户名称+ description: 选择您想链接到 %{product_name} 账户的账户。+ link_accounts: 链接所选账户+ no_accounts_found: 未找到账户。请检查您的 Access Key 配置。+ no_access_key: Sophtron Access Key 未配置。请在设置中配置。+ no_user_id: Sophtron User ID 未配置。请在设置中配置。+ no_credentials_configured: "请先在提供商设置中配置您的 Sophtron API User ID 和 Access Key。"+ no_institution_connected: 请先使用 Sophtron 连接一个银行机构。+ no_name_placeholder: (无名称)+ title: 选择 Sophtron 账户+ select_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ all_accounts_already_linked: 所有 Sophtron 账户都已关联+ api_error: "API 连接错误"+ cancel: 取消+ configure_name_in_sophtron: 无法导入 - 请先在 Sophtron 中配置账户名称+ description: 选择一个 Sophtron 账户与此账户关联。交易将自动同步并去重。+ link_account: 关联账户+ no_account_specified: 未指定账户+ no_accounts_found: 未找到 Sophtron 账户。请检查您的 Access Key 配置。+ no_access_key: Sophtron Access Key 未配置。请在设置中配置。+ no_user_id: Sophtron User ID 未配置。请在设置中配置。+ no_institution_connected: 请先使用 Sophtron 连接一个银行机构。+ no_name_placeholder: (无名称)+ title: 将 %{account_name} 与 Sophtron 关联+ unexpected_error: "发生意外错误"+ link_existing_account:+ account_already_linked: 此账户已关联到某个提供商+ api_error: "API 连接错误"+ unexpected_error: "发生意外错误"+ invalid_account_name: 无法关联空名称账户+ sophtron_account_already_linked: 此 Sophtron 账户已关联到另一个账户+ sophtron_account_not_found: 未找到 Sophtron 账户+ missing_parameters: 缺少必需参数+ no_institution_connected: 请先使用 Sophtron 连接一个银行机构。+ success: "已成功将 %{account_name} 与 Sophtron 关联"+ setup_accounts:+ account_type_label: "账户类型:"+ all_accounts_linked: "您的所有 Sophtron 账户都已完成设置。"+ api_error: "API 连接错误"+ unexpected_error: "发生意外错误"+ fetch_failed: "获取账户失败"+ no_accounts_to_setup: "没有需要设置的账户"+ no_access_key: "Sophtron Access Key 未配置。请检查您的连接设置。"+ no_user_id: "Sophtron User ID 未配置。请检查您的连接设置。"+ no_institution_connected: "Sophtron 机构尚未连接。"+ account_types:+ skip: 跳过此账户+ depository: 支票账户或储蓄账户+ credit_card: 信用卡+ investment: 投资账户+ loan: 贷款或抵押贷款+ other_asset: 其他资产+ subtype_labels:+ depository: "账户子类型:"+ credit_card: ""+ investment: "投资类型:"+ loan: "贷款类型:"+ other_asset: ""+ subtype_messages:+ credit_card: "信用卡将自动设为信用卡账户。"+ other_asset: "其他资产无需额外选项。"+ balance: 余额+ cancel: 取消+ choose_account_type: "为每个 Sophtron 账户选择正确的账户类型:"+ create_accounts: 创建账户+ creating_accounts: 正在创建账户...+ historical_data_range: "历史数据范围:"+ subtitle: 为您导入的账户选择正确的账户类型+ sync_start_date_help: 选择您希望向前同步交易历史的时间范围。最多可用 3 年历史记录。+ sync_start_date_label: "从以下日期开始同步交易:"+ title: 设置您的 Sophtron 账户+ complete_account_setup:+ all_skipped: "所有账户都已跳过,未创建任何账户。"+ creation_failed: "创建账户失败"+ api_error: "API 连接错误"+ unexpected_error: "发生意外错误"+ no_accounts: "没有需要设置的账户。"+ success: "成功创建 %{count} 个账户。"+ sync:+ already_running: Sophtron 手动同步正在进行中。+ api_error: "Sophtron 手动同步失败:%{message}"+ failed: Sophtron 手动同步失败+ no_linked_accounts: 此 Sophtron 机构没有任何已关联账户可同步。+ processing_failed: Sophtron 手动同步无法处理刷新后的交易。+ success: 已开始同步+ toggle_manual_sync:+ success_disabled: Sophtron 机构将自动同步。+ success_enabled: Sophtron 机构现在需要手动同步。+ manual_sync_complete:+ close: 关闭+ description: 账户余额会在后台继续更新完成。+ message: 交易已在 Sophtron 验证后下载。+ title: Sophtron 同步已开始+ sophtron_setup_required:+ title: 需要设置 Sophtron+ message: >+ 要完成 Sophtron 连接设置,请前往提供商设置页面,并按照说明授权和配置您的 Sophtron 连接。+ go_to_provider_settings: 前往提供商设置+ heading: "未配置 User ID 和 Access Key"+ description: "在链接 Sophtron 账户之前,您需要先配置 Sophtron User ID 和 Access Key。"+ setup_steps_title: "设置步骤:"+ step_1_html: "前往 <strong>设置 → 银行同步提供商</strong>"+ step_2_html: "找到 <strong>Sophtron</strong> 区块"+ step_3_html: "输入您的 Sophtron User ID 和 Access Key"+ step_4: "返回这里链接您的账户"+ api_error:+ title: "Sophtron 连接错误"+ unable_to_connect: "无法连接到 Sophtron"+ institution_unable_to_connect: "无法连接到该机构"+ common_issues_title: "常见问题:"+ incorrect_user_id: "User ID 错误:请在提供商设置中核对您的 User ID"+ invalid_access_key: "Access Key 无效:请在提供商设置中检查您的 Access Key"+ expired_credentials: "凭据已过期:请从 Sophtron 生成新的 User ID 和 Access Key"+ network_issue: "网络问题:请检查您的互联网连接"+ service_down: "服务不可用:Sophtron API 可能暂时不可用"+ bad_credentials: "银行登录凭据:请检查用户名和密码是否正确"+ verification_code: "验证码:请确保在过期前输入了最新验证码"+ institution_timeout: "机构超时:银行登录页未能及时完成"+ unsupported_mfa: "MFA 支持:Sophtron 可能不支持该机构当前的验证流程"+ check_provider_settings: "检查提供商设置"+ try_again: "请再次尝试连接"+ select_option: "选择 %{type}"+ subtype: "子类型"+ type: "类型"+ sophtron_panel:+ setup_instructions_title: "设置说明:"+ setup_instructions:+ step_1_html: '访问 <a href="%{url}" target="_blank" rel="noopener noreferrer" class="link">Sophtron</a> 获取您的 API 凭据'+ step_2: "从 Sophtron 账户设置中复制您的 User ID 和 Access Key"+ step_3: "将凭据粘贴到下方并点击保存;Sure 会自动创建或复用您的 Sophtron Customer ID"+ field_descriptions_title: "字段说明:"+ field_descriptions:+ user_id_html: "<strong>User ID:</strong>您的 Sophtron User ID 凭据"+ access_key_html: "<strong>Access Key:</strong>您的 Sophtron Access Key 凭据"+ base_url_html: "<strong>Base URL:</strong>Sophtron API 端点 URL,通常为 https://api.sophtron.com/api"+ fields:+ user_id:+ label: "User ID"+ placeholder_new: "粘贴您的 Sophtron User ID"+ placeholder_edit: "••••••••"+ access_key:+ label: "Access Key"+ placeholder_new: "粘贴您的 Sophtron Access Key"+ placeholder_edit: "••••••••"+ base_url:+ label: "Base URL"+ placeholder: "https://api.sophtron.com/api"+ save: "保存配置"+ update: "更新配置"+ syncer:+ manual_sync_required: "此机构需要手动进行 Sophtron 同步;自动同步时将跳过这些账户。"+ importing_accounts: "正在从 Sophtron 导入账户..."+ checking_account_configuration: "正在检查账户配置..."+ accounts_need_setup: "%{count} 个账户需要设置"+ processing_transactions: "正在处理已关联账户的交易..."+ calculating_balances: "正在计算已关联账户的余额..."+ sophtron_entry:+ processor:+ unknown_transaction: "未知交易"+ render_connection_timeout:+ timeout: "连接超时。请重试。"+ redirect_after_account_link:+ invalid_account_names:+ one: "无法关联 %{count} 个空名称账户"+ other: "无法关联 %{count} 个空名称账户"+ partial_invalid: "已关联 %{created_count} 个账户。%{already_linked_count} 个已关联,%{invalid_count} 个名称无效。"+ partial_success: "已关联 %{created_count} 个账户。%{already_linked_count} 个账户已关联。"+ success:+ one: "成功关联 %{count} 个账户。"+ other: "成功关联 %{count} 个账户。"+ all_already_linked:+ one: "所选账户已关联"+ other: "所有 %{count} 个所选账户都已关联"+ link_failed: "关联账户失败"+ start_manual_sync:+ already_running: "同步已在进行中。"+ no_linked_accounts: "没有可同步的已关联账户。"+ api_error: "API 错误:%{message}"+ start_manual_sync_for_account:+ failed: "同步账户失败"diff --git a/config/locales/views/splits/zh-CN.yml b/config/locales/views/splits/zh-CN.ymlnew file mode 100644index 0000000000..a42d4063a8--- /dev/null+++ b/config/locales/views/splits/zh-CN.yml@@ -0,0 +1,47 @@+---+zh-CN:+ splits:+ new:+ title: 拆分交易+ description: 将此交易拆分成多个条目,并分别使用不同的分类和金额。+ submit: 拆分交易+ cancel: 取消+ add_row: 添加拆分+ remove_row: 移除+ remaining: 剩余+ amounts_must_match: 拆分金额必须等于原始交易金额。+ name_label: 名称+ name_placeholder: 拆分名称+ amount_label: 金额+ category_label: 分类+ uncategorized: (未分类)+ original_name: "名称:"+ original_date: "日期:"+ original_amount: "金额"+ split_number: "拆分 #%{number}"+ create:+ success: 交易拆分成功+ not_splittable: 此交易无法拆分。+ destroy:+ success: 交易取消拆分成功+ show:+ title: 拆分条目+ description: 这笔交易已拆分为以下条目。+ button_title: 拆分交易+ button_description: 将此交易拆分成多个条目,并分别使用不同的分类和金额。+ button: 拆分+ unsplit_title: 取消拆分交易+ unsplit_button: 取消拆分+ unsplit_confirm: 这将删除所有拆分条目并恢复原始交易。+ edit:+ title: 编辑拆分+ description: 修改此交易的拆分条目。+ submit: 更新拆分+ not_split: 此交易未被拆分。+ update:+ success: 拆分更新成功+ child:+ title: 拆分的一部分+ description: 此条目属于一个拆分交易。+ edit_split: 编辑拆分+ unsplit: 取消拆分diff --git a/config/locales/views/trades/zh-CN.yml b/config/locales/views/trades/zh-CN.ymlindex c735daadd8..44570f5357 100644--- a/config/locales/views/trades/zh-CN.yml+++ b/config/locales/views/trades/zh-CN.yml@@ -5,34 +5,53 @@ zh-CN:account: 转账账户(可选)account_prompt: 搜索账户amount: 金额- holding: 股票代码+ fee: 交易手续费+ holding: 代码+ holding_optional: 代码(可选)price: 每股价格qty: 数量submit: 添加交易ticker_placeholder: AAPL- type: 交易类型+ type: 类型+ type_buy: 买入+ type_sell: 卖出+ type_deposit: 存入+ type_withdrawal: 提现+ type_dividend: 分红+ type_interest: 利息+ dividend_requires_security: 分红需要证券header:buy: 买入- current_market_price_label: 当前市价+ sell: 卖出+ dividend: 分红+ interest: 利息+ current_market_price_label: 当前市场价overview: 概览purchase_price_label: 买入价格purchase_qty_label: 买入数量- sell: 卖出- symbol_label: 股票代码+ symbol_label: 代码total_return_label: 未实现盈亏new:title: 新建交易show:- additional: 附加信息+ additional: 其他+ amount_label: 金额+ buy: 买入+ category_label: 分类cost_per_share_label: 每股成本date_label: 日期delete: 删除- delete_subtitle: 此操作不可撤销+ fee_label: 交易手续费+ delete_subtitle: 此操作无法撤销delete_title: 删除交易details: 详情- exclude_subtitle: 此交易将不计入报表和计算+ provider_disabled_warning: 价格更新已暂停——%{provider} 提供商已禁用。请在设置中重新启用,或将持仓重新映射到其他提供商。+ exclude_subtitle: 此交易不会计入报表和计算exclude_title: 从分析中排除+ no_category: 无分类note_label: 备注- note_placeholder: 在此添加额外备注...+ note_placeholder: 在此添加其他备注...quantity_label: 数量+ sell: 卖出settings: 设置+ type_label: 类型diff --git a/config/locales/views/transactions/zh-CN.yml b/config/locales/views/transactions/zh-CN.ymlindex 11fa2e3e59..01138ef0fb 100644--- a/config/locales/views/transactions/zh-CN.yml+++ b/config/locales/views/transactions/zh-CN.yml@@ -1,40 +1,271 @@---zh-CN:transactions:+ bulk_updates:+ new:+ cancel: 取消+ category_label: 分类+ category_prompt: 选择分类+ date_label: 日期+ header_title: 编辑交易+ merchant_label: 商户+ merchant_prompt: 选择商户+ name_label: 名称+ name_placeholder: 输入一个名称,该名称将应用于所选交易+ none: (无)+ notes_label: 备注+ notes_placeholder: 输入将应用于所选交易的备注+ overview: 概览+ save: 保存+ tags_label: 标签+ transactions_section: 交易+ unknown_name: 未知交易+ selection_bar:+ duplicate: 重复+ edit: 编辑+ selected: 已选中form:+ details: 详情account: 账户account_prompt: 选择账户amount: 金额category: 分类+ category_label: 分类category_prompt: 选择分类date: 日期description: 描述- description_placeholder: 请输入交易描述- details: 详情+ description_placeholder: 描述交易expense: 支出income: 收入- none: "(无)"+ merchant_label: 商户+ none: (无)note_label: 备注- note_placeholder: 请输入备注+ note_placeholder: 输入备注submit: 添加交易tags_label: 标签transfer: 转账+ create:+ created: 交易已创建+ update:+ updated: 交易已更新+ new:+ new_transaction: 新建交易+ show:+ keep_both: 不,保留两笔+ loan_payment: 贷款还款+ mark_recurring: 标记为循环+ mark_recurring_subtitle: 将此交易跟踪为循环交易。金额差异会根据过去 6 个月的相似交易自动计算。+ mark_recurring_title: 循环交易+ merge_duplicate: 是,合并它们+ potential_duplicate_description: 这笔待处理交易可能与下方已入账交易相同。如果是这样,请合并以避免重复计算。+ potential_duplicate_title: 检测到可能的重复项+ transfer: 转账+ account_label: 账户+ amount: 金额+ category_label: 分类+ date_label: 日期+ delete: 删除+ delete_subtitle: 这将永久删除该交易,影响您的历史余额,并且无法撤销。+ delete_title: 删除交易+ details: 详情+ attachments: 附件+ exclude: 排除+ exclude_description: 被排除的交易将从预算计算和报表中移除。+ activity_type: 活动类型+ activity_type_description: 投资活动类型(买入、卖出、分红等)。可自动检测或手动设置。+ one_time_title: 一次性%{type}+ one_time_description: 一次性交易将从某些预算计算和报表中排除,以帮助您看清真正重要的内容。+ convert_to_trade_title: 转换为证券交易+ convert_to_trade_description: 将此交易转换为带证券详情的买入或卖出交易,以用于投资组合跟踪。+ convert_to_trade_button: 转换为交易+ transfer_matcher_description: 将此交易与其他账户中的对应交易关联。+ pending_duplicate_merger_title: 已入账交易的重复项?+ pending_duplicate_merger_description: 手动将此待处理交易与其已入账版本合并。+ pending_duplicate_merger_button: 打开合并器+ merchant_label: 商户+ name_label: 名称+ nature: 类型+ none: (无)+ note_label: 备注+ note_placeholder: 输入备注+ overview: 概览+ settings: 设置+ tags_label: 标签+ tab_transactions: 交易+ tab_upcoming: 待发生+ uncategorized: (未分类)+ additional_details: 其他详情+ payee: 收款方+ description: 描述+ memo: 备忘录+ provider_extras: 提供商附加信息+ transfer_or_debt_payment: 转账还是债务还款?+ open_matcher: 打开匹配器+ convert: 转换+ activity_labels:+ buy: 买入+ sell: 卖出+ sweep_in: 资金划入+ sweep_out: 资金划出+ dividend: 分红+ reinvestment: 再投资+ interest: 利息+ fee: 费用+ transfer: 转账+ contribution: 供款+ withdrawal: 提取+ exchange: 兑换+ other: 其他+ mark_recurring: 标记为循环+ mark_recurring_subtitle: 将此交易跟踪为循环交易。金额差异会根据过去 6 个月的相似交易自动计算。+ mark_recurring_title: 循环交易+ potential_duplicate_title: 检测到可能的重复项+ keep_both: 不,保留两笔+ split_parent_row:+ split_label: 拆分+ transfer_match:+ auto_matched: 自动匹配+ auto_matched_short: 自/配+ confirm_match: 确认匹配+ payment_confirmed: 付款已确认+ reject_match: 拒绝匹配+ transfer_confirmed: 转账已确认+ merge_duplicate:+ success: 交易已成功合并+ failure: 无法合并交易+ dismiss_duplicate:+ success: 已保留为独立交易+ failure: 无法忽略重复建议+ pending_duplicate_merge:+ possible_duplicate: 重复?+ possible_duplicate_short: 重?+ review_recommended: 建议复核+ review_recommended_short: 复核+ confirm_title: 与已入账交易合并(%{posted_amount})+ reject_title: 保持为独立交易+ summary:+ total_transactions: 交易总数+ income: 收入+ expenses: 支出+ inflow: 流入+ outflow: 流出header:edit_categories: 编辑分类edit_imports: 编辑导入edit_merchants: 编辑商户edit_tags: 编辑标签import: 导入- transaction:- linked_with_provider: 已与 %{provider} 关联index:- import: 导入+ title: 交易transaction: 交易- transactions: 交易记录- new:+ transactions: 交易+ import: 导入+ new_rule: 新建规则+ edit_rules: 编辑规则+ edit_categories: 编辑分类+ edit_tags: 编辑标签+ edit_merchants: 编辑商户+ edit_imports: 编辑导入new_transaction: 新建交易+ categorize_button:+ one: 分类(1)+ other: 分类(%{count})+ categorizes:+ show:+ exit: 退出+ skip: 跳过+ remaining:+ one: 还剩 1 笔未分类交易+ other: 还剩 %{count} 笔未分类交易+ transaction_count:+ one: 1 笔交易+ other: "%{count} 笔交易"+ transactions_hint: 取消勾选可排除交易,或直接在该行中为其分配其他分类。+ assign_category: 分配分类+ assign_category_prompt: → 分配+ filter_placeholder: 搜索分类...+ col_transaction: 交易+ col_date: 日期+ col_amount: 金额+ col_category: 分类+ type_income: 收入+ type_expense: 支出+ create_rule_label: 创建分类规则+ rule_description_prefix: 未来名称包含以下内容的 %{type} 交易+ rule_description_suffix: 也应使用此分类。+ no_categories: 没有匹配的分类+ all_done: 所有交易都已分类+ create:+ categorized:+ one: 1 笔交易已分类+ other: "%{count} 笔交易已分类"+ rule_creation_failed: 交易已分类,但规则无法创建(可能已存在)。+ entry_row:+ include_checkbox: 包含 %{name}+ assign_category_select: 为 %{name} 分配分类+ list:+ drag_drop_title: 拖放 CSV 即可导入+ drag_drop_subtitle: 直接上传交易+ transaction: 交易+ transactions: 交易+ toggle_recurring_section: 切换待发生循环交易+ search:+ filters:+ account: 账户+ date: 日期+ type: 类型+ status: 状态+ amount: 金额+ category: 分类+ tag: 标签+ merchant: 商户+ convert_to_trade:+ title: 转换为证券交易+ description: 将此交易转换为带证券详情的交易+ date_label: 日期:+ account_label: 账户:+ amount_label: 金额:+ security_label: 证券+ security_prompt: 选择一只证券...+ security_custom: + 输入自定义代码+ security_not_listed_hint: 找不到您的证券?请在列表底部选择“输入自定义代码”。+ ticker_placeholder: AAPL+ ticker_hint: 输入股票/ETF 代码(例如 AAPL、MSFT)+ ticker_search_placeholder: 搜索代码...+ ticker_search_hint: 可按代码或公司名称搜索,或直接输入自定义代码+ price_mismatch_title: 价格可能不匹配+ price_mismatch_message: "您的价格(%{entered_price}/股)与 %{ticker} 当前市场价格(%{market_price})差异较大。如果这看起来不对,您可能选错了证券——请尝试使用“输入自定义代码”指定正确的证券。"+ quantity_label: 数量(股)+ quantity_placeholder: 例如 20+ quantity_hint: 交易的股数+ price_label: 每股价格+ price_placeholder: 例如 52.15+ price_hint: 每股价格(%{currency})+ qty_or_price_hint: 至少输入数量或价格之一。另一个值将根据交易金额(%{amount})计算。+ trade_type_label: 交易类型+ trade_type_hint: 买入或卖出证券+ exchange_label: 交易所(可选)+ exchange_placeholder: XNAS+ exchange_hint: 留空以自动识别+ cancel: 取消+ submit: 转换为交易+ success: 交易已转换为证券交易+ conversion_note: "由交易转换而来:%{original_name}(%{original_date})"+ errors:+ not_investment_account: 只有投资账户中的交易才能转换为证券交易+ already_converted: 此交易已转换或已排除+ enter_ticker: 请输入证券代码+ security_not_found: 所选证券已不存在。请选择其他证券。+ select_security: 请选择或输入证券+ enter_qty_or_price: 请输入数量或每股价格之一。另一个值将根据交易金额计算。+ invalid_qty_or_price: 数量或价格无效。请输入合法的正值。+ conversion_failed: 转换交易失败:%{error}+ unexpected_error: 转换过程中发生意外错误:%{error}searches:filters:+ date_filter:+ start_date: 开始日期+ end_date: 结束日期amount_filter:equal_to: 等于greater_than: 大于@@ -43,13 +274,18 @@ zh-CN:badge:expense: 支出income: 收入- on_or_after: 在 %{date} 或之后- on_or_before: 在 %{date} 或之前+ on_or_after: 于 %{date} 当日或之后+ on_or_before: 于 %{date} 当日或之前transfer: 转账+ confirmed: 已确认+ pending: 待处理type_filter:expense: 支出income: 收入transfer: 转账+ status_filter:+ confirmed: 已确认+ pending: 待处理menu:account_filter: 账户amount_filter: 金额@@ -59,6 +295,7 @@ zh-CN:clear_filters: 清除筛选date_filter: 日期merchant_filter: 商户+ status_filter: 状态tag_filter: 标签type_filter: 类型search:@@ -67,26 +304,23 @@ zh-CN:less_than: 小于form:toggle_selection_checkboxes: 切换所有复选框- show:- account_label: 账户- amount: 金额- category_label: 分类- date_label: 日期- delete: 删除- delete_subtitle: 此操作将永久删除该交易,影响历史余额数据,且不可恢复。- delete_title: 删除交易- details: 详情- mark_recurring: 标记为定期交易- mark_recurring_subtitle: 将此交易标记为定期交易跟踪。金额波动将根据过去6个月的类似交易自动计算。- mark_recurring_title: 定期交易设置- merchant_label: 商户- name_label: 名称- nature: 类型- none: "(无)"- note_label: 备注- note_placeholder: 请输入备注- overview: 概览- settings: 设置- tags_label: 标签- uncategorized: "(未分类)"- toggle_recurring_section: 切换即将发生的定期交易显示+ search_placeholder: 搜索交易...+ filter: 筛选+ attachments:+ cannot_exceed: 每笔交易不能超过 %{count} 个附件+ uploaded_one: 附件上传成功+ uploaded_many: 成功上传 %{count} 个附件+ failed_upload: 上传附件失败:%{error}+ no_files_selected: 未选择要上传的文件+ attachment_deleted: 附件删除成功+ failed_delete: 删除附件失败:%{error}+ upload_failed: 上传附件失败。请重试或联系支持。+ delete_failed: 删除附件失败。请重试或联系支持。+ upload: 上传+ no_attachments: 还没有附件+ select_up_to: 选择最多 %{count} 个文件(图片或 PDF,每个最大 %{size}MB)• 已使用 %{used} / %{count}+ files:+ one: 文件(1)+ other: 文件(%{count})+ browse_to_add: 浏览并添加文件+ max_reached: 已达到最大文件数(%{count}/%{max})。删除现有文件后才能上传另一个。diff --git a/config/locales/views/transfer_matches/zh-CN.yml b/config/locales/views/transfer_matches/zh-CN.ymlnew file mode 100644index 0000000000..67e3e7c85f--- /dev/null+++ b/config/locales/views/transfer_matches/zh-CN.yml@@ -0,0 +1,24 @@+---+zh-CN:+ transfer_matches:+ create:+ success: 转账已创建+ new:+ header:+ title: 匹配转账或付款+ subtitle: 将另一账户中的对应交易进行匹配,若不存在则创建一笔。+ from_account: 来源账户+ from_account_named: "来源账户:%{name}"+ to_account: 目标账户+ to_account_named: "目标账户:%{name}"+ outflow_transaction: 流出交易+ inflow_transaction: 流入交易+ create_transfer_match: 创建转账匹配+ matching_fields:+ select_method: 选择一种交易匹配方式。+ match_existing_recommended: 匹配现有交易(推荐)+ create_new_transaction: 创建新交易+ matching_method: 匹配方式+ matching_transaction: 匹配交易+ target_account: 目标账户+ no_matching_transactions: 我们未能在您的其他账户中找到可匹配的交易。请选择一个账户,我们会为您创建一笔新的流入交易。diff --git a/config/locales/views/valuations/zh-CN.yml b/config/locales/views/valuations/zh-CN.ymlindex 2cc6bfc63d..d0b1efc7ac 100644--- a/config/locales/views/valuations/zh-CN.yml+++ b/config/locales/views/valuations/zh-CN.yml@@ -1,33 +1,60 @@---zh-CN:valuations:+ confirmation_contents:+ this_will: 这将把账户价值在+ to_colon: 改为:+ total_account_value: 账户总价值+ holdings_value: 持仓价值+ brokerage_cash: 券商现金+ account_balance: 账户余额+ credit_card_balance: 信用卡余额+ loan_balance: 贷款余额+ property_value: 房产价值+ vehicle_value: 车辆价值+ crypto_balance: 加密资产余额+ asset_value: 资产价值+ liability_balance: 负债余额+ balance: 余额+ on: 在+ to: 到+ recalculate_notice: 所有未来的交易和余额都将根据此%{change_or_update}重新计算。+ change: 变更+ update: 更新+ create:+ account_updated: 账户已更新+ update:+ account_updated: 账户已更新+ entry_updated: 条目已更新+ errors:+ amount_required: 需要金额form:amount: 金额submit: 添加余额更新header:balance: 余额index:- change: 变动+ change: 变更date: 日期- new_entry: 新建记录- no_valuations: 此账户暂无估值记录+ new_entry: 新条目+ no_valuations: 此账户尚无估值valuations: 估值value: 价值new:- amount: 金额- submit: 提交- title: 新建余额记录+ title: 新余额show:amount: 金额+ amount_label: 此日期的账户价值date_label: 日期delete: 删除- delete_subtitle: 此操作不可撤销- delete_title: 删除记录+ delete_subtitle: 此操作无法撤销+ delete_title: 删除条目details: 详情name_label: 名称- name_placeholder: 请输入此记录的名称+ name_placeholder: 为此条目输入名称note_label: 备注- note_placeholder: 添加此记录的其他详细信息+ note_placeholder: 为此条目添加任何补充详情overview: 概览settings: 设置- opening_balance: 初始余额+ opening_balance: 开始余额+ update_value: 更新价值