Skip to content

Commit

Permalink
update text for position cards
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzettler committed Jul 25, 2024
1 parent df3d153 commit 0dc8e2d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/features/governance/PositionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export const PositionCard = ({
<>
<ListItem
key="split"
title="Split"
title={t('gov.positions.split')}
onPress={() => {
setActionsOpen(false)
if (hasActiveVotes) {
Expand All @@ -585,7 +585,7 @@ export const PositionCard = ({
/>
<ListItem
key="transfer"
title="Transfer"
title={t('gov.positions.transfer')}
onPress={() => {
setActionsOpen(false)
if (hasActiveVotes) {
Expand Down Expand Up @@ -614,8 +614,8 @@ export const PositionCard = ({
key="pause"
title={
isConstant
? t('gov.transactions.unpauseLockup')
: t('gov.transactions.pauseLockup')
? t('gov.positions.unpause')
: t('gov.positions.pause')
}
onPress={async () => {
setActionsOpen(false)
Expand Down
12 changes: 8 additions & 4 deletions src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1267,10 +1267,14 @@ export default {
lockedAmount: 'Locked Amount {{amount}} {{symbol}}',
constant: 'Constant',
decaying: 'Decaying',
delegate: 'Delegate',
undelegate: 'Undelegate',
extend: 'Extend',
close: 'Close',
delegate: 'Delegate position',
undelegate: 'Undelegate position',
extend: 'Extend position',
close: 'Close position',
split: 'Split position',
transfer: 'Transfer between positions',
unpause: 'Unlock to start decaying',
pause: 'Pause to stop decaying',
unableToClose: 'Unable to close',
unableToSplit: 'Unable to split',
unableToTransfer: 'Unable to transfer',
Expand Down
2 changes: 1 addition & 1 deletion src/solana/SwapPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const SwapPreview = ({
alignItems="center"
justifyContent="space-between"
>
<Text variant="body2">Min Recieved due to slippage:</Text>
<Text variant="body2">Min Received due to slippage:</Text>
<Text variant="body2" color="green500">
{`~${minReceived.toFixed(outputDecimals)}`}
</Text>
Expand Down

0 comments on commit 0dc8e2d

Please sign in to comment.