Skip to content

Commit

Permalink
refactor: update button label to use "Continue" instead of "Confirm"
Browse files Browse the repository at this point in the history
  • Loading branch information
amitabh94 committed Oct 22, 2024
1 parent 66b64ad commit f9101cf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ exports[`StakeConfirmationView render matches snapshot 1`] = `
}
}
>
Confirm
Continue
</Text>
</TouchableOpacity>
</View>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('FooterButtonGroup', () => {
);

expect(getByText(strings('stake.cancel'))).toBeDefined();
expect(getByText(strings('stake.confirm'))).toBeDefined();
expect(getByText(strings('stake.continue'))).toBeDefined();

expect(toJSON()).toMatchSnapshot();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const FooterButtonGroup = ({ valueWei, action }: FooterButtonGroupProps) => {
<Button
label={
<Text variant={TextVariant.BodyMDMedium} color={TextColor.Inverse}>
{strings('stake.confirm')}
{strings('stake.continue')}
</Text>
}
style={styles.button}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ exports[`FooterButtonGroup navigates to Asset page when cancel is pressed 1`] =
}
}
>
Confirm
Continue
</Text>
</TouchableOpacity>
</View>
Expand Down Expand Up @@ -182,7 +182,7 @@ exports[`FooterButtonGroup render matches snapshot 1`] = `
}
}
>
Confirm
Continue
</Text>
</TouchableOpacity>
</View>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ exports[`ConfirmationFooter render matches snapshot 1`] = `
}
}
>
Confirm
Continue
</Text>
</TouchableOpacity>
</View>
Expand Down
3 changes: 2 additions & 1 deletion locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3365,7 +3365,8 @@
"terms_of_service": "Terms of service",
"risk_disclosure": "Risk disclosure",
"cancel": "Cancel",
"confirm": "Confirm"
"confirm": "Confirm",
"continue": "Continue"
},
"default_settings": {
"title": "Your Wallet is ready",
Expand Down

0 comments on commit f9101cf

Please sign in to comment.