Skip to content

Commit a60c6dc

Browse files
authored
Merge pull request #1696 from chainapsis/sam/intl-next-to-swap
Update related texts after modifying swap page button label
2 parents 84e22c7 + 4ad88b6 commit a60c6dc

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

apps/extension/src/languages/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,11 @@
438438
"page.ibc-transfer.add-channel-modal.channel-id-placeholder": "Source Channel ID",
439439

440440
"page.ibc-swap.title.swap": "Swap",
441-
"page.ibc-swap.button.next": "Swap",
441+
"page.ibc-swap.button.swap": "Swap",
442442
"page.ibc-swap.error.no-route-found": "No routes found for this swap",
443-
"page.ibc-swap.warning.unable-to-populate-price": "Unable to retrieve {assets} price from Coingecko. Check the fiat values of input and output from other sources before clicking \"Next\".",
443+
"page.ibc-swap.warning.unable-to-populate-price": "Unable to retrieve {assets} price from Coingecko. Check the fiat values of input and output from other sources before clicking \"Swap\".",
444444
"page.ibc-swap.warning.high-price-impact-title": "{inPrice} on {srcChain} → {outPrice} on {dstChain}",
445-
"page.ibc-swap.warning.high-price-impact": "Big drop in USD value detected due to low liquidity. Review your trade, or click \"Next\" to continue.",
445+
"page.ibc-swap.warning.high-price-impact": "Big drop in USD value detected due to low liquidity. Review your trade, or click \"Swap\" to continue.",
446446
"page.ibc-swap.components.swap-asset-info.from": "From",
447447
"page.ibc-swap.components.swap-asset-info.to": "To",
448448
"page.ibc-swap.components.swap-asset-info.max-asset": "Max: {asset}",

apps/extension/src/languages/ko.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,11 @@
432432
"page.ibc-transfer.add-channel-modal.channel-id-placeholder": "채널 ID를 입력하세요.",
433433

434434
"page.ibc-swap.title.swap": "토큰 교환",
435-
"page.ibc-swap.button.next": "스왑",
435+
"page.ibc-swap.button.swap": "스왑",
436436
"page.ibc-swap.error.no-route-found": "이 교환에 맞는 경로가 검색되지 않습니다.",
437-
"page.ibc-swap.warning.unable-to-populate-price": "{assets}의 가격을 알 수 없습니다. \"다음\"을 누르기 전에 각각 통화 가치를 확인하십시오.",
437+
"page.ibc-swap.warning.unable-to-populate-price": "{assets}의 가격을 알 수 없습니다. \"스왑\"을 누르기 전에 각각 통화 가치를 확인하십시오.",
438438
"page.ibc-swap.warning.high-price-impact-title": "{inPrice} ({srcChain}) → {outPrice} ({dstChain})",
439-
"page.ibc-swap.warning.high-price-impact": "교환 후 자산의 USD 가치가 유동성 부족으로 인해 크게 하락합니다. 그래도 계속 진행하시려면 \"다음\"을 클릭하세요.",
439+
"page.ibc-swap.warning.high-price-impact": "교환 후 자산의 USD 가치가 유동성 부족으로 인해 크게 하락합니다. 그래도 계속 진행하시려면 \"스왑\"을 클릭하세요.",
440440
"page.ibc-swap.components.swap-asset-info.from": "교환할 자산",
441441
"page.ibc-swap.components.swap-asset-info.to": "교환 후 받을 자산",
442442
"page.ibc-swap.components.swap-asset-info.max-asset": "최대: {asset}",

apps/extension/src/languages/zh-cn.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,11 @@
396396
"page.ibc-transfer.add-channel-modal.channel-id-placeholder": "源通道ID",
397397

398398
"page.ibc-swap.title.swap": "兑换",
399-
"page.ibc-swap.button.next": "交换",
399+
"page.ibc-swap.button.swap": "交换",
400400
"page.ibc-swap.error.no-route-found": "找不到此兑换的路线",
401-
"page.ibc-swap.warning.unable-to-populate-price": "无法从Coingecko检索到{assets}的价格。在点击“下一步”之前从其他来源检查输入和输出的法定价值。",
401+
"page.ibc-swap.warning.unable-to-populate-price": "无法从Coingecko检索到{assets}的价格。在点击“交换”之前从其他来源检查输入和输出的法定价值。",
402402
"page.ibc-swap.warning.high-price-impact-title": "{inPrice} ({srcChain}) → {outPrice} ({dstChain})",
403-
"page.ibc-swap.warning.high-price-impact": "由于流动性不足,兑换后的资产美元价值将大幅下降。若仍要继续,请点击\"下一步\"",
403+
"page.ibc-swap.warning.high-price-impact": "由于流动性不足,兑换后的资产美元价值将大幅下降。若仍要继续,请点击\"交换\"",
404404
"page.ibc-swap.components.swap-asset-info.from": "",
405405
"page.ibc-swap.components.swap-asset-info.to": "",
406406
"page.ibc-swap.components.swap-asset-info.max-asset": "最多:{asset}",

apps/extension/src/pages/ibc-swap/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ export const IBCSwapPage: FunctionComponent = observer(() => {
21072107
shouldTopUp && remainingText
21082108
? remainingText
21092109
: intl.formatMessage({
2110-
id: "page.ibc-swap.button.next",
2110+
id: "page.ibc-swap.button.swap",
21112111
})
21122112
}
21132113
color="primary"

0 commit comments

Comments
 (0)