Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/webserver: Update static chinese translations #3071

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 104 additions & 10 deletions client/core/locale_ntfn.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ var zhCN = map[Topic]*translation{
},
TopicSendSuccess: {
subject: intl.Translation{T: "提款已发送"},
template: intl.Translation{T: "%s %s (%s) 的提款已成功完成。硬币 ID = %s"},
template: intl.Translation{T: "已成功发送 %s %s 到 %s。交易 ID = %s"}, // alt. %s %s (%s) 的提款已成功完成。硬币 ID = %s
},
TopicOrderLoadFailure: {
subject: intl.Translation{T: "请求加载失败"},
Expand All @@ -650,14 +650,14 @@ var zhCN = map[Topic]*translation{
subject: intl.Translation{T: "下达市价单"},
template: intl.Translation{T: "以市场价格 (%[3]s) 出售 %[1]s %[2]s"},
},
// [qty, ticker, rate string, token], RETRANSLATE.
// [qty, ticker, rate string, token], RETRANSLATE -> Retranslated.
TopicBuyOrderPlaced: {
subject: intl.Translation{T: "已下订单"},
template: intl.Translation{T: "Buying %s %s, = %s (%s)"},
template: intl.Translation{T: "购买 %s %s,价格 = %s(%s)"},
},
TopicSellOrderPlaced: {
subject: intl.Translation{T: "已下订单"},
template: intl.Translation{T: "Selling %s %s,值 = %s (%s)"},
template: intl.Translation{T: "卖出 %s %s,价格 = %s(%s)"}, // alt. Selling %s %s,值 = %s (%s)
},
TopicMissingMatches: {
subject: intl.Translation{T: "订单缺失匹配"},
Expand Down Expand Up @@ -693,23 +693,23 @@ var zhCN = map[Topic]*translation{
},
TopicBuyOrderCanceled: {
subject: intl.Translation{T: "订单取消"},
template: intl.Translation{T: "买入 %s-%s %s 订单已被取消 (%s)"}, // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s)
template: intl.Translation{T: " %s-%s 上的买单 %s 已被取消(%s)"}, // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s) alt2. 买入 %s-%s 的 %s 订单已被取消 (%s)
},
TopicSellOrderCanceled: {
subject: intl.Translation{T: "订单取消"},
template: intl.Translation{T: "卖出 %s-%s %s 订单已被取消 (%s)"}, // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s)
template: intl.Translation{T: " %s-%s 上的卖单,价格为 %s,已被取消(%s)"}, // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s) alt2. 卖出 %s-%s 的 %s 订单已被取消 (%s)
},
TopicBuyMatchesMade: {
subject: intl.Translation{T: "匹配完成"},
template: intl.Translation{T: "买入 %s-%s %.1f%% 的订单已完成 (%s)"}, // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s)
template: intl.Translation{T: " %s-%s 上的买单已完成 %.1f%%(%s)"}, // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s)
},
TopicSellMatchesMade: {
subject: intl.Translation{T: "匹配完成"},
template: intl.Translation{T: "卖出 %s-%s %.1f%% 的订单已完成 (%s)"}, // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s)
template: intl.Translation{T: " %s-%s 上的卖单已完成 %.1f%%%s)"}, // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s) alt 2. 卖出 %s-%s %.1f%% 的订单已完成 (%s)
},
TopicSwapSendError: {
subject: intl.Translation{T: "发送交换时出错"},
template: intl.Translation{T: "在以 %[3]s 的顺序发送价值 %[1]s %[2]s 的输出的交换时遇到错误"}, // ? 在订单 %s 上发送价值 %.8f %s 的交换输出时遇到错误
template: intl.Translation{T: "发送 %s 时遇到错误:%v"}, // ? 在订单 %s 上发送价值 %.8f %s 的交换输出时遇到错误
},
TopicInitError: {
subject: intl.Translation{T: "交易错误"},
Expand Down Expand Up @@ -769,7 +769,7 @@ var zhCN = map[Topic]*translation{
},
TopicFailedCancel: {
subject: intl.Translation{T: "取消失败"},
template: intl.Translation{T: "取消订单 %s 的订单 %s 处于 Epoque 状态 2 个 epoques,现在已被删除。"},
template: intl.Translation{T: "订单 %s 的取消请求失败,现已删除。订单 %s 的取消请求失败,现已删除。"}, // alt. 取消订单 %s 的订单 %s 处于 Epoque 状态 2 个 epoques,现在已被删除。
},
TopicAuditTrouble: {
subject: intl.Translation{T: "审计时的问题"},
Expand Down Expand Up @@ -843,6 +843,100 @@ var zhCN = map[Topic]*translation{
subject: intl.Translation{T: "来自DEX的消息"},
template: intl.Translation{T: "%s: %s"},
},
// Inserted
TopicDexConnectivity: {
subject: intl.Translation{T: "互联网连接"},
template: intl.Translation{T: "您与 %s 的互联网连接不稳定,请检查您的网络连接", Notes: "args: [host]"},
},
TopicWalletPeersWarning: {
subject: intl.Translation{T: "钱包网络问题"},
template: intl.Translation{T: "%v 钱包没有网络对等节点!", Notes: "args: [asset name]"},
},
TopicAsyncOrderFailure: {
subject: intl.Translation{T: "订单处理错误"},
template: intl.Translation{T: "ID 为 %v 的正在处理订单失败:%v", Notes: "args: order ID, error]"},
},
TopicWalletCommsWarning: {
subject: intl.Translation{T: "钱包连接问题"},
template: intl.Translation{T: "无法与 %v 钱包通信!原因:%v", Notes: "args: [asset name, error message]"},
},
TopicBondWalletNotConnected: {
subject: intl.Translation{T: "债券钱包未连接"},
template: intl.Translation{T: "所选债券资产 %s 的钱包未连接"},
},
TopicOrderQuantityTooHigh: {
subject: intl.Translation{T: "超出交易限制"},
template: intl.Translation{T: "订单数量超出 %s 当前的交易限制", Notes: "args: [host]"},
},
TopicWalletPeersRestored: {
subject: intl.Translation{T: "钱包连接已恢复"},
template: intl.Translation{T: "%v 钱包已重新建立连接。", Notes: "args: [asset name]"},
},
// End Inserted
// START NEW
TopicQueuedCreationFailed: {
subject: intl.Translation{T: "创建代币钱包失败"},
template: intl.Translation{T: "成功创建 %s 钱包后,创建 %s 钱包失败", Notes: "args: [parentSymbol, tokenSymbol]"},
},
TopicRedemptionResubmitted: {
subject: intl.Translation{T: "赎回请求已重新提交"},
template: intl.Translation{T: "您在订单 %s 中的匹配 %s 赎回请求已重新提交"},
},
TopicSwapRefunded: {
subject: intl.Translation{T: "兑换已退款"},
template: intl.Translation{T: "订单 %s 中的匹配 %s 已被对方退款"},
},
TopicRedemptionConfirmed: {
subject: intl.Translation{T: "赎回已确认"},
template: intl.Translation{T: "您在订单 %s 中的匹配 %s 赎回请求已确认"},
},
TopicWalletTypeDeprecated: {
subject: intl.Translation{T: "钱包已禁用"},
template: intl.Translation{T: "您的 %s 钱包类型不再受支持,请创建一个新钱包。"},
},
TopicOrderResumeFailure: {
subject: intl.Translation{T: "恢复订单失败"},
template: intl.Translation{T: "恢复交易处理失败:%v"},
},
TopicBondConfirming: {
subject: intl.Translation{T: "正在确认债券"},
template: intl.Translation{T: "正在等待 %d 个确认,以将债券 %v (%s) 发布到 %s", Notes: "args: [reqConfs, bondCoinStr, assetID, acct.host]"},
},
TopicBondConfirmed: {
subject: intl.Translation{T: "债券已确认"},
template: intl.Translation{T: "新等级 = %d(目标等级 = %d)", Notes: "args: [effectiveTier, targetTier]"},
},
TopicBondExpired: {
subject: intl.Translation{T: "债券已过期"},
template: intl.Translation{T: "新等级 = %d (目标 = %d)。", Notes: "args: [effectiveTier, targetTier]"},
},
TopicBondRefunded: {
subject: intl.Translation{T: "债券已退款"},
template: intl.Translation{T: "债券 %v 为 %v 已退款,扣除交易费后追回 %v 的 %v", Notes: "args: [bondIDStr, acct.host, refundCoinStr, refundVal, Amount]"},
},
TopicBondPostError: {
subject: intl.Translation{T: "债券发布错误"},
template: intl.Translation{T: "保税后 请求错误(将重试):%v (%T)", Notes: "args: [err, err]"},
},
TopicBondPostErrorConfirm: {
subject: intl.Translation{T: "债券发布错误"},
template: intl.Translation{T: "在等待 %s 的债券确认时遇到错误:%v"},
},
TopicDexAuthErrorBond: {
subject: intl.Translation{T: "身份验证错误"},
template: intl.Translation{T: "债券已确认,但连接验证失败:%v", Notes: "args: [err]"},
},
TopicAccountRegTier: {
subject: intl.Translation{T: "账户已注册"},
template: intl.Translation{T: "新等级 = %d", Notes: "args: [effectiveTier]"},
},
TopicUnknownBondTierZero: {
subject: intl.Translation{T: "发现未知债券"},
template: intl.Translation{
T: "发现未知的 %s 债券并已添加到活跃债券中,但在 %s 的 DEX 上您的目标等级为零。请在设置中设置您的目标等级,以便保持债券并启用自动续期。",
Notes: "args: [bond asset, dex host]",
},
},
}

var plPL = map[Topic]*translation{
Expand Down
Loading
Loading