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

fix(core/i18n): optimize i18n text entries #590

Open
wants to merge 2 commits into
base: touch
Choose a base branch
from
Open
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 core/src/apps/common/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PathSchema:
REPLACEMENTS = {
"account": "0-2147483647", # origin "0-100"
"change": "0,1",
"address_index": "0-1000000",
"address_index": "0-2147483647", # origin "0-1000000"
}

WILDCARD_RANGES = {
Expand Down
6 changes: 3 additions & 3 deletions core/src/trezor/lvglui/i18n/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
BUTTON__CANCEL = 6
# Confirm
BUTTON__CONFIRM = 7
# Using a strong PIN to protects your wallet from unauthorized physical access
# .
# Using a strong PIN to protect your wallet from unauthorized physical access.
CHECK__SETUP_SET_A_PIN__1 = 8
# Keeping your PIN secured, be sure to store it separate from recovery phrase.
# Keep your PIN secure, and be sure to store it separately from your recovery
# phrase.
CHECK__SETUP_SET_A_PIN__2 = 9
# Set a PIN
TITLE__SET_A_PIN = 10
Expand Down
4 changes: 2 additions & 2 deletions core/src/trezor/lvglui/i18n/locales/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"Restore Wallet",
"Cancel",
"Confirm",
"Using a strong PIN to protects your wallet from unauthorized physical access.",
"Keeping your PIN secured, be sure to store it separate from recovery phrase.",
"Using a strong PIN to protect your wallet from unauthorized physical access.",
"Keep your PIN secure, and be sure to store it separately from your recovery phrase.",
"Set a PIN",
"Enter New PIN",
"Enter PIN Again",
Expand Down
Loading