Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

feat(i18n): add zh-CN translations for accounts, investments, recurring, and providers (#5707)

Kenrick Tandrian37b8fff1c0e9
diff --git a/config/locales/models/account/zh-CN.yml b/config/locales/models/account/zh-CN.yml
index 9338b7c9a0..875cb48074 100644
--- a/config/locales/models/account/zh-CN.yml
+++ b/config/locales/models/account/zh-CN.yml
@@ -10,6 +10,12 @@ zh-CN:
logo: "图标"
name: "名称"
subtype: "子类型"
+ depository:
+ subtype: "账户类型"
+ investment:
+ subtype: "投资类型"
+ loan:
+ subtype: "贷款类型"
errors:
models:
account:
diff --git a/config/locales/models/enable_banking_item/zh-CN.yml b/config/locales/models/enable_banking_item/zh-CN.yml
new file mode 100644
index 0000000000..4712ef7d45
--- /dev/null
+++ b/config/locales/models/enable_banking_item/zh-CN.yml
@@ -0,0 +1,6 @@
+---
+zh-CN:
+ activerecord:
+ attributes:
+ enable_banking_item:
+ client_certificate: 私钥
diff --git a/config/locales/models/mercury_item/zh-CN.yml b/config/locales/models/mercury_item/zh-CN.yml
new file mode 100644
index 0000000000..49133ede5e
--- /dev/null
+++ b/config/locales/models/mercury_item/zh-CN.yml
@@ -0,0 +1,9 @@
+---
+zh-CN:
+ activerecord:
+ errors:
+ models:
+ mercury_item:
+ attributes:
+ base_url:
+ official_hosts_only: 必须留空,或为 https://api.mercury.com/api/v1 或 https://api-sandbox.mercury.com/api/v1
diff --git a/config/locales/models/provider/zh-CN.yml b/config/locales/models/provider/zh-CN.yml
index 176fea630e..7a42131f63 100644
--- a/config/locales/models/provider/zh-CN.yml
+++ b/config/locales/models/provider/zh-CN.yml
@@ -27,3 +27,9 @@ zh-CN:
unsupported_property: Chimnie 仅评估住宅房产;此 UPRN 属于商业或商住混合房产。
unauthorized: Chimnie 拒绝了该 API 密钥。请在“设置 → 自托管”中检查密钥。
insufficient_balance: 您的 Chimnie 账户余额不足以处理此请求。
+ terrascoutx:
+ errors:
+ no_property: TerraScoutX 找不到与此地址匹配的房产。
+ no_valuation: TerraScoutX 未返回此房产的估值。
+ location_mismatch: TerraScoutX 匹配到了门牌号或邮编不同的房产。请仔细核对地址。
+ insecure_url: TERRASCOUTX_URL 必须使用 https://。
diff --git a/config/locales/models/provider_warnings/zh-CN.yml b/config/locales/models/provider_warnings/zh-CN.yml
index b817f81701..c74af5baea 100644
--- a/config/locales/models/provider_warnings/zh-CN.yml
+++ b/config/locales/models/provider_warnings/zh-CN.yml
@@ -27,3 +27,6 @@ zh-CN:
truelayer_scheduling_failed:
one: "TrueLayer 导入:无法为 %{count} 个账户计划余额更新"
other: "TrueLayer 导入:无法为 %{count} 个账户计划余额更新"
+ enable_banking_history_truncated:
+ one: "Enable Banking:无法获取 %{count} 个账户的完整交易历史,因此较早的交易可能缺失"
+ other: "Enable Banking:无法获取 %{count} 个账户的完整交易历史,因此较早的交易可能缺失"
diff --git a/config/locales/models/recurring_transaction/zh-CN.yml b/config/locales/models/recurring_transaction/zh-CN.yml
index 4ee0eb094d..3304230b13 100644
--- a/config/locales/models/recurring_transaction/zh-CN.yml
+++ b/config/locales/models/recurring_transaction/zh-CN.yml
@@ -21,10 +21,13 @@ zh-CN:
same_as_source: 不能与源账户相同
family_mismatch: 必须与源账户属于同一家庭
wrong_family: 必须属于该家庭
+ bank_reference:
+ needs_account_and_expense: 仅适用于已指定账户的支出账单,因为它将与该账户的付款记录进行匹配
attributes:
recurring_transaction:
payment_url: 付款链接
frequency_interval: 重复间隔
+ bank_reference: 银行参考号
recurring_transactions:
allocator:
missing_rate: 从 %{from} 到 %{to} 没有可用汇率;请明确输入金额
@@ -33,3 +36,4 @@ zh-CN:
entry_exhausted: 此交易的全部金额已应用至其他待付账款
already_allocated: 此交易已应用至该账单
exceeds_remaining: "%{amount} 超出了本周期剩余的 %{remaining}"
+ split_counterpart_allocated: 此交易已拆分,且原始支出或其某个拆分项已应用至账单
diff --git a/config/locales/models/sophtron_item/zh-CN.yml b/config/locales/models/sophtron_item/zh-CN.yml
new file mode 100644
index 0000000000..338cf14cc9
--- /dev/null
+++ b/config/locales/models/sophtron_item/zh-CN.yml
@@ -0,0 +1,9 @@
+---
+zh-CN:
+ activerecord:
+ errors:
+ models:
+ sophtron_item:
+ attributes:
+ base_url:
+ official_hosts_only: 必须留空,或为 https://api.sophtron.com/api
diff --git a/config/locales/views/accounts/zh-CN.yml b/config/locales/views/accounts/zh-CN.yml
index f91672ce0d..757d090e81 100644
--- a/config/locales/views/accounts/zh-CN.yml
+++ b/config/locales/views/accounts/zh-CN.yml
@@ -88,6 +88,17 @@ zh-CN:
exclude_from_reports: 从所有报表中排除
enable_category_matcher_label: 启用分类匹配器
enable_category_matcher_hint: 启用后,提供商建议的分类将应用于导入的交易。禁用则新交易保持未分类。
+ cost_basis_method_label: 成本基础计算方式
+ cost_basis_method_hint: 决定卖出交易如何匹配其对应的买入份额。更改该设置会重新计算历史已实现收益以及当前持仓的平均成本。若卖出份额的成本未知,其收益将显示为未知。
+ cost_basis_methods:
+ average: 平均成本法
+ fifo: 先进先出法(FIFO)
+ reconcile_all:
+ success:
+ one: 已将 %{count} 笔交易标记为%{status}。
+ other: 已将 %{count} 笔交易标记为%{status}。
+ invalid_status: 请选择有效的核对状态。
+ not_manual_account: 批量核对仅适用于手动录入的账户。
index:
accounts: 账户
financekit_accounts:
@@ -139,7 +150,6 @@ zh-CN:
activity:
amount: 金额
balance: 余额
- confirmed: 已确认
date: 日期
entries: 条记录
entry: 条记录
@@ -151,11 +161,9 @@ zh-CN:
new_transaction: 新交易记录
new_transfer: 新转账
no_entries: 未找到记录
- pending: 待处理
search:
placeholder: 按名称搜索记录
search_placeholder: 按名称搜索记录
- status: 状态
title: 活动
chart:
balance: 余额
@@ -172,6 +180,13 @@ zh-CN:
import_trades: 导入交易
import_transactions: 导入交易记录
manage: 管理账户
+ reconcile_all:
+ cleared: 全部标记为已核实
+ confirm_accept: 全部标记为%{status}
+ confirm_body: 此操作会更改该账户中每一笔交易的核对状态。已上传的对账单不受影响。
+ confirm_title: 将所有交易标记为%{status}?
+ reconciled: 全部标记为已核对
+ unreconciled: 全部标记为未核对
sharing: 共享
statements: 对账单
exclude_from_reports: 从所有报表中排除
diff --git a/config/locales/views/bills/zh-CN.yml b/config/locales/views/bills/zh-CN.yml
index 718f0f201a..5f1e7d681b 100644
--- a/config/locales/views/bills/zh-CN.yml
+++ b/config/locales/views/bills/zh-CN.yml
@@ -44,6 +44,9 @@ zh-CN:
rule_aliases: "同时匹配 %{names}"
rule_detected: "匹配名为 %{name} 的交易"
rule_learned_tolerance: "金额与常规金额相差在 %{percent} 以内的交易将匹配此账单"
+ once_kind_hint: 将此交易标记为“一次性”以避免计入您的平均值。
+ rule_reference: "无论金额或日期如何,备注中包含“%{reference}”的付款均匹配此账单"
+ rule_reference_only: "无论金额或日期如何,仅备注中包含“%{reference}”的付款匹配此账单"
history_title: 最近 12 个月
history_aria: 最近 12 个月的付款记录
key_metrics: 每年
@@ -97,6 +100,7 @@ zh-CN:
match:
same_merchant: 相同商户
name_matches: 名称匹配
+ reference: "付款备注包含“%{reference}”"
same_transfer: 转入同一账户
exact_amount: 金额完全一致
amount_off: "相差 %{amount}"
diff --git a/config/locales/views/credit_cards/zh-CN.yml b/config/locales/views/credit_cards/zh-CN.yml
index 8312f12a76..cb324eeb47 100644
--- a/config/locales/views/credit_cards/zh-CN.yml
+++ b/config/locales/views/credit_cards/zh-CN.yml
@@ -42,16 +42,25 @@ zh-CN:
annual_percentage_rate: "年化利率 (APR)"
apr: "年利率"
balance_carried_label: "滚存余额"
+ balance_updates: "余额更新"
charges: "消费记账"
estimated_interest_label: "预估利息"
monthly_rate_label: "月利率"
per_month: "%{amount}/月"
- closes_on: "下一期账单日 %{date}"
+ closes_on_days:
+ zero: "账单结账日 %{date}(今天)"
+ one: "账单结账日 %{date}(1 天后)"
+ other: "账单结账日 %{date}(%{count} 天后)"
credit_toward_next: "计入下一期账单的贷记"
- due_on: "%{date} 到期"
+ due_overdue_days:
+ one: "%{date} 到期(已逾期 1 天)"
+ other: "%{date} 到期(已逾期 %{count} 天)"
+ due_on_days:
+ zero: "%{date} 到期(今天)"
+ one: "%{date} 到期(1 天后)"
+ other: "%{date} 到期(%{count} 天后)"
edit_card_details: "编辑卡片详情"
- payments_credits: "还款/入账"
- remaining_due: "剩余待还 %{amount}"
+ payments_applied: "已计入还款"
scheduled_payment: "计划于 %{date} 还款 %{amount}"
since_last_statement: "自上一期账单以来"
statement_balance: "账单余额"
diff --git a/config/locales/views/enable_banking_items/zh-CN.yml b/config/locales/views/enable_banking_items/zh-CN.yml
index a44e64a96f..d3a9228b15 100644
--- a/config/locales/views/enable_banking_items/zh-CN.yml
+++ b/config/locales/views/enable_banking_items/zh-CN.yml
@@ -75,6 +75,23 @@ zh-CN:
creating_accounts: 正在创建账户...
cancel: 取消
psd2_savings_notice: 根据 PSD2 规则,部分储蓄账户可能需要额外授权。
+ skip_notice: 系统会记住已跳过的账户:在您将它们关联到账户之前,Sure 将停止导入这些账户。
+ account_types:
+ skip: 跳过此账户
+ depository: 支票或储蓄账户
+ credit_card: 信用卡
+ investment: 投资账户
+ loan: 贷款或抵押贷款
+ other_asset: 其他资产
+ subtype_labels:
+ depository: 账户子类型:
+ investment: 投资类型:
+ loan: 贷款类型:
+ subtype_messages:
+ credit_card: 信用卡将自动设置为信用卡账户。
+ other_asset: 其他资产将设置为常规资产。
+ select_subtype: 选择子类型
+ select_type: 选择类型
new:
link_enable_banking_title: 连接 Enable Banking
session_expired: 会话已过期 - 需要重新授权
diff --git a/config/locales/views/holding_lots/zh-CN.yml b/config/locales/views/holding_lots/zh-CN.yml
new file mode 100644
index 0000000000..96db5bc96c
--- /dev/null
+++ b/config/locales/views/holding_lots/zh-CN.yml
@@ -0,0 +1,9 @@
+---
+zh-CN:
+ holding_lots:
+ provider_cost: 您的提供商已提供此持仓的成本,因此无法手动设置其批次成本。
+ update:
+ success: 批次成本已更新。
+ error: 请输入该批次的总成本(零或以上)。
+ unlock:
+ success: 已清除手动设置的成本。
diff --git a/config/locales/views/holdings/zh-CN.yml b/config/locales/views/holdings/zh-CN.yml
index d1ead336ea..09380fc0cf 100644
--- a/config/locales/views/holdings/zh-CN.yml
+++ b/config/locales/views/holdings/zh-CN.yml
@@ -101,3 +101,14 @@ zh-CN:
last_price_update: 最后价格更新
syncing: 正在同步...
never: 从未
+ lots:
+ title: 持仓批次
+ opening: 首次交易前已持有
+ unknown: 单价未知
+ per_unit: "每单位 %{amount}"
+ total_cost_label: 此批次总成本
+ total_cost_hint: 您获得该批次时的总花费。删除其对应交易将移除此批次及您设置的成本。
+ save: 保存
+ unlock: 清除手动成本
+ provider_cost_hint: 您的提供商已提供此持仓的成本,因此无法手动设置其批次成本。
+ provider_cost_clear_hint: 您此前设置的成本仍可清除。
diff --git a/config/locales/views/imports/zh-CN.yml b/config/locales/views/imports/zh-CN.yml
index 5c599461fb..3315e789b0 100644
--- a/config/locales/views/imports/zh-CN.yml
+++ b/config/locales/views/imports/zh-CN.yml
@@ -26,6 +26,15 @@ zh-CN:
split_badge: 拆分
empty_state_primary: 此 QIF 文件中未找到任何分类或标签。
empty_state_secondary: 所有交易都将以无分类或无标签的形式导入。
+ selection_list_changed_title: 分类和标签已变化
+ selection_list_changed_description: 使用新的日期格式后,文件中包含的分类或标签有所不同。请检查下方选择;所有条目均已重新勾选。
+ unknown_account_type_name: "“%{type}”"
+ unknown_account_type_title:
+ one: 未知账户类型
+ other: 未知账户类型
+ unknown_account_type_description:
+ one: "此 QIF 文件包含 %{product_name} 无法识别的账户类型 %{types}。其交易将按银行账户导入。"
+ other: "此 QIF 文件包含 %{product_name} 无法识别的账户类型 %{types}。它们的交易将按银行账户导入。"
submit: 继续审核
cleans:
show:
@@ -225,6 +234,8 @@ zh-CN:
tag_mapping_description: 将导入文件中的所有标签分配到 %{product_name} 中现有的标签。您也可以添加新标签,或将其保留为未分类。
tag_mapping_title: 分配您的标签
uploads:
+ sample_csv:
+ unavailable: 此导入类型没有可用的示例 CSV。
handle_qif_upload:
qif_uploaded: QIF 文件上传成功。
qif_account_required: 请为 QIF 导入选择一个账户
diff --git a/config/locales/views/indexa_capital_items/zh-CN.yml b/config/locales/views/indexa_capital_items/zh-CN.yml
index f59c271dda..f8f91ec8a3 100644
--- a/config/locales/views/indexa_capital_items/zh-CN.yml
+++ b/config/locales/views/indexa_capital_items/zh-CN.yml
@@ -217,6 +217,7 @@ zh-CN:
subtitle: 为您导入的账户选择正确的账户类型
sync_start_date_help: 选择您希望向前同步交易历史的时间范围。
sync_start_date_label: "从以下日期开始同步交易:"
+ skip_notice: 未勾选的账户将被跳过:在您将它们关联到账户之前,Sure 将停止拉取这些账户的数据。
title: 设置您的 Indexa Capital 账户
complete_account_setup:
all_skipped: 所有账户都已跳过,未创建任何账户。
diff --git a/config/locales/views/loans/zh-CN.yml b/config/locales/views/loans/zh-CN.yml
index 3532a762a7..8d0e8c0a7f 100644
--- a/config/locales/views/loans/zh-CN.yml
+++ b/config/locales/views/loans/zh-CN.yml
@@ -125,3 +125,25 @@ zh-CN:
type: 类型
unknown: 未知
edit_loan_details: 编辑贷款详情
+ subtypes:
+ auto:
+ long: 汽车贷款
+ short: 汽车贷款
+ business:
+ long: 商业贷款
+ short: 商业贷款
+ home_equity:
+ long: 房屋净值贷款
+ short: 房屋净值
+ line_of_credit:
+ long: 信用额度
+ short: 信用额度
+ mortgage:
+ long: 抵押贷款
+ short: 抵押贷款
+ other:
+ long: 其他贷款
+ short: 其他贷款
+ student:
+ long: 学生贷款
+ short: 学生贷款
diff --git a/config/locales/views/portfolios/zh-CN.yml b/config/locales/views/portfolios/zh-CN.yml
index 51c89056bb..a9fba6d652 100644
--- a/config/locales/views/portfolios/zh-CN.yml
+++ b/config/locales/views/portfolios/zh-CN.yml
@@ -5,8 +5,30 @@ zh-CN:
add_account: 添加投资账户
description: 您计入财务与报表中的券商、退休和加密货币账户及其余额会在此列出。
title: 暂无可显示的投资账户
+ holdings:
+ columns:
+ account: 账户
+ accounts: 账户
+ avg_cost: 平均成本
+ cost_basis_per_share: 每股成本基础
+ day_change: 当日涨跌
+ qty: 数量
+ security: 证券
+ unrealized: 未实现盈亏
+ value: 市值
+ weight: 占比
+ day_change_partial: "涵盖 %{covered} / %{total} 个持仓"
+ label: 持仓
+ missing_cost_basis: 无成本基础
+ missing_cost_basis_hint: 至少有一个持仓缺少已知成本基础。平均成本和回报仅涵盖有成本基础的持仓。
+ no_cost_basis: 无成本基础
+ open_position: 打开
+ position_missing_cost_basis_hint: 此持仓缺少已知成本基础,因此没有平均成本,且未计入该行的回报。
+ positions_caption: "按账户列出的 %{ticker} 持仓"
+ toggle_positions: "显示 %{ticker} 的持仓"
sections:
accounts: 账户
+ holdings: 持仓
show:
section_aria: "%{title} 分区。按 Enter 或空格键抓取以重新排序,然后使用方向键移动。"
sections_aria: 投资组合分区
diff --git a/config/locales/views/properties/zh-CN.yml b/config/locales/views/properties/zh-CN.yml
index 51201d1b35..af889eb5cb 100644
--- a/config/locales/views/properties/zh-CN.yml
+++ b/config/locales/views/properties/zh-CN.yml
@@ -26,12 +26,17 @@ zh-CN:
rentcast: RentCast
realie: Realie
chimnie: Chimnie
+ terrascoutx: TerraScoutX
new:
title: 手动输入房产
next: 下一步
avm_option: "通过 %{provider} 添加"
avm_title: "通过 %{provider} 添加房产"
avm_description: "输入房产名称及其地址。%{provider} 将为您查询房产详情并估算市值。"
+ avm_descriptions:
+ terrascoutx: "输入房产名称及其地址。%{provider} 将从最新税册中查询房产详情和县评估官评估价,而非当前市场估价。"
+ avm_roll_value_notes:
+ terrascoutx: "%{provider} 报告的是最新税册中的县评估官评估价,而非当前市场估价,因此可能与实际售价存在差异。"
avm_us_only: "%{provider} 仅支持位于美国的房产。"
avm_uk_only: "%{provider} 仅支持位于英国的住宅房产。"
avm_uprn_label: "UPRN"
@@ -98,6 +103,8 @@ zh-CN:
market_value: 市值
purchase_price: 购入价格
trend: 趋势
+ trend_in_currency: "以 %{currency} 计价的趋势"
+ rate_unavailable: 暂无可用汇率
unknown: 未知
year_built: 建造年份
edit_account_details: 编辑账户详情
diff --git a/config/locales/views/recurring_allocations/zh-CN.yml b/config/locales/views/recurring_allocations/zh-CN.yml
index 415260bc9f..9f55afb0a1 100644
--- a/config/locales/views/recurring_allocations/zh-CN.yml
+++ b/config/locales/views/recurring_allocations/zh-CN.yml
@@ -5,6 +5,7 @@ zh-CN:
missing_rate: 无可用汇率;请明确输入金额
already_allocated: 该交易已应用于此账单
entry_exhausted: 该交易的全部金额已应用于其他应付款项
+ split_counterpart_allocated: 该交易已拆分,且原始支出或其某个拆分项已应用于账单
invalid: 无法记录此笔付款
create:
success: 付款已应用
diff --git a/config/locales/views/recurring_occurrences/zh-CN.yml b/config/locales/views/recurring_occurrences/zh-CN.yml
index 2cd0efbb6e..84364330d9 100644
--- a/config/locales/views/recurring_occurrences/zh-CN.yml
+++ b/config/locales/views/recurring_occurrences/zh-CN.yml
@@ -28,6 +28,9 @@ zh-CN:
no_candidates: 没有附近的交易可关联。
no_search_results: "未找到匹配“%{query}”的交易。"
link_payment: 关联付款
+ amount_left: "剩余 %{amount}"
+ used_up: 已用完
+ used_up_hint: 其他账单已用完此交易的全部金额。
not_this_one: 不是这笔
cant_find: 找不到该交易?
manual_explainer: 当此处没有匹配的交易时,您可以记录已知发生的付款。
diff --git a/config/locales/views/recurring_transactions/zh-CN.yml b/config/locales/views/recurring_transactions/zh-CN.yml
index d6d58c19fc..159378d0f3 100644
--- a/config/locales/views/recurring_transactions/zh-CN.yml
+++ b/config/locales/views/recurring_transactions/zh-CN.yml
@@ -20,6 +20,7 @@ zh-CN:
annual: 每年
custom: 自定义安排
interval: 自定义间隔
+ once: 仅一次
frequency_interval_units:
weekly: 周
monthly: 个月
@@ -37,6 +38,8 @@ zh-CN:
every_n_years: "每 %{interval} 年的 %{month} %{day} 日"
custom: 自定义安排
last_day: 最后一天
+ once: 仅一次
+ once_on: "仅于 %{date} 一次"
identify_patterns: 识别模式
cleanup_stale: 清理过期项
actions:
@@ -153,8 +156,20 @@ zh-CN:
frequency_second_day_label: 以及第几天
frequency_weekday_label: "在"
frequency_month_label: "于"
+ bank_reference_label: 银行参考号
+ bank_reference_placeholder: 合同号或客户编号
+ bank_reference_hint: 付款备注(附言)中的固定标识。只要该账户上的付款备注包含此标识,无论金额或日期如何都会匹配此账单(除非该付款带有与绑定商户不同的商户)。请使用至少 3 个字符的独特标识。
+ reference_only_label: 仅按参考号匹配
+ reference_only_hint: 忽略账单名称和收款方;仅匹配备注中包含该参考号的付款。需要填写银行参考号。
+ once_on_label: 到期日
+ income_once_on_label: 日期
+ once_hint: 仅于此日期到期一次,不会重复。将该交易标记为“一次性”以避免计入您的平均值。
+ income_once_hint: 仅于此日期到账一次,不会重复。将该交易标记为“一次性”以避免计入您的平均值。
+ once_new_hint: 仅于上方日期到期一次,不会重复。将该交易标记为“一次性”以避免计入您的平均值。
+ income_once_new_hint: 仅于上方日期到账一次,不会重复。将该交易标记为“一次性”以避免计入您的平均值。
update:
success: 账单已更新
+ once_date_locked: 此付款已有记录,因此无法更改其日期。
success_with_siblings:
one: "账单已更新,付款链接已复制到另外 1 笔账单"
other: "账单已更新,付款链接已复制到另外 %{count} 笔账单"
diff --git a/config/locales/views/rules/zh-CN.yml b/config/locales/views/rules/zh-CN.yml
index a3e7d2fdd9..e9ce5849ac 100644
--- a/config/locales/views/rules/zh-CN.yml
+++ b/config/locales/views/rules/zh-CN.yml
@@ -70,6 +70,8 @@ zh-CN:
on_or_after: "%{resource} 在 %{date} 当日或之后"
stop_processing: 停止
stop_processing_hint: 列表靠后的规则不会更改此规则匹配的交易。
+ apply_immediately: 立即
+ apply_immediately_hint: 在手动创建或编辑交易、批量编辑、分类页面、通过 API 或由助手操作后,连同其上方处于激活状态的规则一起立即运行。
form:
rule_name_label: 规则名称(可选)
rule_name_placeholder: 为此规则输入名称
@@ -81,6 +83,8 @@ zh-CN:
then: 然后
stop_processing_label: 停止处理后续规则
stop_processing_description: 列表中靠后的规则不会更改此规则匹配的交易。
+ apply_immediately_label: 立即应用于新增和更改的交易
+ apply_immediately_description: 在手动创建或编辑交易、批量编辑、分类页面、通过 API 或由助手操作后立即运行,并仍会在夜间运行。
group_label: 分组(可选)
group_select_label: 分组
no_group: 无分组
@@ -173,6 +177,7 @@ zh-CN:
execution_types:
manual: 手动
scheduled: 定时
+ immediate: 立即
statuses:
pending: 待处理
success: 成功
@@ -184,6 +189,8 @@ zh-CN:
confirm_button: 重置缓存
success: AI 缓存正在清除,这可能需要一点时间。
condition_filters:
+ transaction_additional_detail:
+ label: 其他详情(键=值)
transaction_type:
income: 收入
expense: 支出
diff --git a/config/locales/views/snaptrade_items/zh-CN.yml b/config/locales/views/snaptrade_items/zh-CN.yml
index 8b4272abbd..834da475dc 100644
--- a/config/locales/views/snaptrade_items/zh-CN.yml
+++ b/config/locales/views/snaptrade_items/zh-CN.yml
@@ -2,6 +2,9 @@
zh-CN:
snaptrade_items:
default_name: "SnapTrade 连接"
+ personal_key:
+ success: "SnapTrade 个人 API 密钥已保存。正在同步您的账户..."
+ missing_fields: "请同时输入 SnapTrade Client ID 和 Consumer Key。"
destroy:
success: "SnapTrade 连接已安排删除。"
connect:
@@ -150,6 +153,13 @@ zh-CN:
oauth_status_ready: "授权 Sure 读取您的 SnapTrade 账户数据。"
oauth_status_ready_device: "使用设备代码授权 Sure 读取您的 SnapTrade 账户数据。"
oauth_status_authorized: "已完成 SnapTrade 授权。"
+ oauth_status_personal_key: "正在使用您的 SnapTrade 个人 API 密钥进行同步。通过 OAuth 授权会将此连接切换为 OAuth。"
+ oauth_alternative: "为他人运行 Sure?请改用注册 SnapTrade OAuth 应用的方式:"
+ personal_key_title: "SnapTrade 个人 API 密钥"
+ personal_key_description_html: '为您自己的券商账户使用免费的个人密钥。在 <a href="https://dashboard.snaptrade.com" target="_blank" rel="noopener noreferrer" class="underline">dashboard.snaptrade.com</a> 创建密钥,并将 Client ID 和 Consumer Key 粘贴到此处。'
+ personal_key_client_id_label: "Client ID"
+ personal_key_consumer_key_label: "Consumer Key"
+ personal_key_save_button: "保存密钥"
oauth_connect_button: "通过 SnapTrade 连接"
oauth_device_button: "使用设备代码"
oauth_reauthorize_button: "重新授权"
diff --git a/config/locales/views/tags/zh-CN.yml b/config/locales/views/tags/zh-CN.yml
index b510e7000d..80b746075d 100644
--- a/config/locales/views/tags/zh-CN.yml
+++ b/config/locales/views/tags/zh-CN.yml
@@ -17,7 +17,6 @@ zh-CN:
delete_all: 删除全部
menu:
label: 编辑标签
- loading: 正在加载标签...
new:
new: 新建标签
summary:
diff --git a/config/locales/views/trades/zh-CN.yml b/config/locales/views/trades/zh-CN.yml
index 577676f05b..ed697386d7 100644
--- a/config/locales/views/trades/zh-CN.yml
+++ b/config/locales/views/trades/zh-CN.yml
@@ -67,6 +67,9 @@ zh-CN:
note_label: 备注
note_placeholder: 在此添加其他备注...
quantity_label: 数量
+ lot_label: 卖出所属批次
+ lot_oldest_first: 最早批次优先
+ lot_option: "%{date} · %{qty},价格 %{price}"
sell: 卖出
settings: 设置
type_label: 类型
diff --git a/config/locales/views/transactions/zh-CN.yml b/config/locales/views/transactions/zh-CN.yml
index 0efc0087b6..877dc048f8 100644
--- a/config/locales/views/transactions/zh-CN.yml
+++ b/config/locales/views/transactions/zh-CN.yml
@@ -22,6 +22,7 @@ zh-CN:
save: 保存
tags_label: 标签
transactions_section: 交易
+ transfer_fields_hint: 对于转账,日期和商户保持不变。分类仅适用于允许设置分类的转出记录。
unknown_name: 未知交易
selection_bar:
duplicate: 重复
@@ -60,6 +61,7 @@ zh-CN:
submit: 添加交易
tag_search_placeholder: 搜索或创建标签
tags_label: 标签
+ tags_save_error: 无法保存标签。请再次更改以重试,或刷新页面。
transfer: 转账
create:
created: 交易已创建
@@ -266,6 +268,7 @@ zh-CN:
type: 类型
status: 状态
reconcile_status: 核对状态
+ reconcile_status_hint: 仅包含手动录入的账户。
amount: 金额
category: 分类
tag: 标签
@@ -373,6 +376,7 @@ zh-CN:
category_filter: 分类
clear_filters: 清除筛选
date_filter: 日期
+ loading: 正在加载筛选条件...
merchant_filter: 商户
reconcile_status_filter: 核对状态
status_filter: 状态
diff --git a/config/locales/views/transfers/zh-CN.yml b/config/locales/views/transfers/zh-CN.yml
index 40fa01935c..975e22c09d 100644
--- a/config/locales/views/transfers/zh-CN.yml
+++ b/config/locales/views/transfers/zh-CN.yml
@@ -44,7 +44,7 @@ zh-CN:
from: 从
to: 到
date: 日期
- amount: 金额
+ transaction: 交易
category: 分类
uncategorized: 未分类
total: 总计
diff --git a/config/locales/views/users/zh-CN.yml b/config/locales/views/users/zh-CN.yml
index 3b4da5f8a7..4ab1983fef 100644
--- a/config/locales/views/users/zh-CN.yml
+++ b/config/locales/views/users/zh-CN.yml
@@ -1,6 +1,5 @@
---
zh-CN:
- no_pending_change: 当前没有待处理的邮箱更改请求!
users:
destroy:
success: 您的账户已删除。