-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
Thousand amount separator #2394
Comments
Having a hardcoded locale scheme for a thousand separator when sats are used should be trivial. We want to avoid locale's that support spaces. Then a single scheme can cover the majority of cases. @matejcik We would like to avoid spaces for security POV? |
We don't respect locale on Trezor firmware and always use |
Then we can go simply with |
QA OK TT OK Info:
|
@bosomt |
With the use of
sat
units, there was a need to implement thousand separators for amount in Trezor Suite.trezor/trezor-suite#5545
The user needs to see the amount in the Suite and on the Trezor device in the same format for control when sending a transaction.
Most required is
en-us
formatting (like i.e.123,456.78
) but more general solution would be even better for the future.Acceptance criteria
Given I view my coins in sats
When I prepare a transaction for 4000 sats
And I press Review & Send
Then I should see 'Confirm sending 4,000 sat' on the Trezor
Model 1
Given I see 'Confirm sending 4,000 sat'
When I tap 'Confirm'
Then I should see 'Really send 4,153 sat'
Model T
Given I see 'Confirm sending 4,000 sat'
When I tap 'Confirm'
Then I should see 'Total amount: 4,153 sat'
The text was updated successfully, but these errors were encountered: