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

rename swap fees to spread factors in more places #3458

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion packages/web/components/pool-detail/base-pool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const BasePoolDetails: FunctionComponent<{
</div>
<div className="space-y-2">
<span className="body2 gap-2 text-osmoverse-400">
{t("pool.swapFee")}
{t("pool.spreadFactor")}
</span>
<h4 className="text-osmoverse-100">
{pool.spreadFactor.maxDecimals(2).toString()}
Expand Down
2 changes: 1 addition & 1 deletion packages/web/components/pool-detail/share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const SharePool: FunctionComponent<{ pool: Pool }> = observer(
</div>
<div className="space-y-2">
<span className="body2 gap-2 text-osmoverse-400">
{t("pool.swapFee")}
{t("pool.spreadFactor")}
</span>
<h4 className="text-osmoverse-100">
{pool.spreadFactor.toString()}
Expand Down
8 changes: 4 additions & 4 deletions packages/web/localizations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
"dailyEarnAmount": "{amount} / day",
"delegated": "delegated",
"details": "Details",
"earnSwapFees": "Earn swap fees",
"earnSwapFees": "Earn spread rewards",
"earnSwapFeesCaption": "Convert your tokens into shares and earn on every swap.",
"from": "from",
"incentives": "Incentives",
Expand All @@ -624,7 +624,7 @@
"swap": "Trade Pair",
"spreadFactor": "Spread Factor",
"swapFee": "Swap fee",
"swapFees": "swap fees",
"swapFees": "spread rewards",
"title": "Pool #{id}",
"unbond": "Unbond",
"unbonding": "unbonding",
Expand Down Expand Up @@ -664,7 +664,7 @@
"three": "Step {step} / {nbStep} - Confirm pool ratio and token amount",
"two": "Step {step} / {nbStep} - Input amount to add"
},
"swapFee": "Set Swap Fee",
"swapFee": "Set Spread Factor",
"title": "Create New Pool",
"token": "Token",
"undersandCost": "I understand that creating a new pool will cost {POOL_CREATION_FEE}.",
Expand All @@ -680,7 +680,7 @@
"priceOsmo": "OSMO Price",
"rewardDistribution": "Reward distribution in",
"aprBreakdown": {
"swapFees": "Swap fees",
"swapFees": "Spread rewards",
"boost": "Boost",
"superfluid": "Superfluid",
"externalBoost": "External Boost",
Expand Down
Loading