Skip to content

Commit

Permalink
fix: zh-cn translation (#8899)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhanseng committed Mar 4, 2023
1 parent 5b885f7 commit 848f51b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/mask/shared-ui/locales/en-US.json
Expand Up @@ -466,6 +466,7 @@
"plugin_trader_sales": "Sales (24h)",
"plugin_trader_rank": "Rank #{{rank}}",
"plugin_trader_info": "Info",
"plugin_trader_website": "Website",
"plugin_trader_community": "Community",
"plugin_savings": "Savings",
"plugin_savings_asset": "Asset",
Expand Down
1 change: 1 addition & 0 deletions packages/mask/shared-ui/locales/zh-CN.json
Expand Up @@ -462,6 +462,7 @@
"plugin_trader_sales": "交易量(24h)",
"plugin_trader_rank": "排名 # {{rank}}",
"plugin_trader_info": "信息资料",
"plugin_trader_website": "网站",
"plugin_trader_community": "社区",
"plugin_savings": "储蓄",
"plugin_savings_asset": "资产",
Expand Down
Expand Up @@ -89,7 +89,9 @@ export function CoinMetadataTable(props: CoinMetadataTableProps) {
const { t } = useI18N()
const { classes } = useStyles()

const metadataLinks = [['Website', trending.coin.home_urls]] as Array<[string, string[] | undefined]>
const metadataLinks = [[t('plugin_trader_website'), trending.coin.home_urls]] as Array<
[string, string[] | undefined]
>

const contracts = trending.contracts?.filter((x) => x.chainId) ?? [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/locales/zh-CN.json
Expand Up @@ -128,7 +128,7 @@
"gas_settings_error_max_priority_gas_fee_too_low": "最大优先费用在当前网络环境下过低。",
"gas_settings_error_max_priority_gas_fee_too_high": "最大优先费用过高。您或许支付了超过需要的费用。",
"gas_settings_error_max_priority_gas_fee_imbalance": "最大手续费不能低于最大优先级费用。",
"gas_usd_price": " ≈ {{usd}}",
"gas_usd_price": " ≈ {{- usd}}",
"plugin_default_title": "默认",
"plugin_provider_by": "Provided by",
"plugin_card_frame_default_title": "Web3个人资料",
Expand Down

0 comments on commit 848f51b

Please sign in to comment.