Skip to content

Commit

Permalink
Fix content overflow on zh-tw (#1028)
Browse files Browse the repository at this point in the history
* Fix content overflow on zh-tw

* Fix content overflow on languages with Unicode/full width chars

* Add missing entry
  • Loading branch information
PikachuEXE authored Nov 21, 2022
1 parent 0fdf061 commit 5a09b28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/web/components/chart/price-breakdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const PriceBreakdownChart: FunctionComponent<{

return (
<div key={index} className={classNames("flex flex-col gap-2.5")}>
<div>
<div className="whitespace-nowrap">
<span className="subtitle1 text-osmoverse-400">{label}</span>
<h5 className="text-osmoverse-100">
{price.maxDecimals(0).toString()}
Expand Down
17 changes: 9 additions & 8 deletions packages/web/localizations/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"earnMore": "鎖定以賺取更多",
"dailyEarnAmount": "{amount} / 日",
"putAssetsToWork": "讓你的資產為你工作",
"putAssetsToWorkCaption": "將你的資產加入到此流動性池以解鎖誘人的獎勵,選擇的解除鎖定時間愈長,賺得愈多",
"putAssetsToWorkCaption": "將你的資產加入到此流動性池以解鎖誘人的獎勵,選擇的解鎖時間愈長,賺得愈多",
"learnMore": "了解更多",
"level": "等級 {level}",
"earnSwapFees": "賺取兌換費",
Expand All @@ -124,15 +124,15 @@
"bondLiquidityCaption": "鎖定你的流動性池份額更久以賺取年利率(APR)",
"bondSuperfluidLiquidityCaption": "啟用超流體質押以賺取最多獎勵",
"bondShares": "鎖定份額",
"amountDaysUnbonding": "解除鎖定中 ({numDays} 日)",
"amountDaysUnbonding": "解鎖中 ({numDays} 日)",
"shares": "份額",
"unbonded": "已解除鎖定",
"unbond": "解除鎖定",
"unbonded": "未鎖定",
"unbond": "解鎖",
"bonded": "已鎖定",
"showDetails": "顯示詳情",
"collapseDetails": "收起詳情",
"sharesAvailableIn": "份額解除鎖定還有",
"unbonding": "解除鎖定中",
"sharesAvailableIn": "距份額解鎖還有",
"unbonding": "解鎖中",
"superfluidEarnMore": "要賺取額外 {rate},啟用超流體質押",
"incentives": "獎勵",
"details": "詳情",
Expand All @@ -141,6 +141,7 @@
"delegated": "已質押",
"undelegating": "解除質押中",
"commission": "佣金",
"numDaysRemaining": "剩下{numDays}日",
"from": "來自",
"swapFees": "兌換費",
"7davg": "(7日平均)"
Expand All @@ -162,7 +163,7 @@
"lockToken": {
"title": "鎖定流動性池份額",
"titleInPool": "鎖定流動性池 #{poolId} 的份額",
"selectPeriod": "選擇解除鎖定時間長度",
"selectPeriod": "選擇解鎖時間長度",
"availableToken": "可用",
"amountToBond": "要鎖定的數量",
"superfluidStake": "超流體質押",
Expand All @@ -188,7 +189,7 @@
},
"assets": {
"totalAssets": "總額",
"unbondedAssets": "已解除鎖定",
"unbondedAssets": "未鎖定",
"bondedAssets": "已鎖定",
"stakedAssets": "已質押的OSMO",
"myPools": "我的流動性池",
Expand Down

3 comments on commit 5a09b28

@vercel
Copy link

@vercel vercel bot commented on 5a09b28 Nov 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 5a09b28 Nov 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 5a09b28 Nov 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.