Skip to content

Commit

Permalink
update text
Browse files Browse the repository at this point in the history
  • Loading branch information
renfengshi committed Oct 19, 2023
1 parent d34046f commit 3a2af21
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/ui/gui_chain/gui_aptos.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ static uint8_t GetAptosPublickeyIndex(char* rootPath)
if (strcmp(rootPath, "44'/637'/8'/0'/0'") == 0) return XPUB_TYPE_APT_8;
if (strcmp(rootPath, "44'/637'/9'/0'/0'") == 0) return XPUB_TYPE_APT_9;
ASSERT(0);
}
}
17 changes: 14 additions & 3 deletions src/ui/lv_i18n/data_tools/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ connect wallet,connect_wallet_title,Connect Wallet,P2,,
,connect_wallet_select_network,Select Network,,,
,connect_wallet_choose_wallet,Choose Wallet,,,
,connect_wallet_upgrade_hint,Please upgrade to the latest version for access to expanded software wallet compatibility.,,,
,connect_wallet_key_request_fmt,%s Wallet wants to get your public key on your Keystone: ,,,
,,,,,
derivation_path,derivation_path_select_eth,Select the derivation path you’d like to use for Ethereum,,,
,derivation_path_eth_standard_desc,Recommended. Widely adopted across numerous software wallets,,,
,derivation_path_eth_ledger_live_desc,Choose this path if you intend to import a seed phrase from Ledger Live.,,,
Expand Down Expand Up @@ -368,6 +370,9 @@ In short, not reusing addresses safeguards privacy, optimizes transactions, and
,receive_sol_more_t_desc1,"1. Solflare: Widely adopted across numerous Solana wallets. An example of such a wallet is Solflare.
2. Sollet / MathWallet: Choose this path if you intend to import a seed phrase from Sollet / MathWallet. Please note that Keystone supports synchronizing only the initial 10 addresses using this format.
3. Phantom / Exodus: Transition to this path if you manage your digital assets with software wallets like Phantom / Exodus.",,,
,receive_eth_more_t_link1,Learn More,,,
,receive_eth_more_t_qr_title1,Exploring Solana Path Options,,,
,receive_eth_more_t_qr_link1,https://keyst.one/t/3rd/faq,,,
Connect,connect_bw_t,Tutorial,P2,,
,connect_bw_desc,Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet.,P2,,
,connect_bw_title,BlueWallet (Mobile),P2,,
Expand All @@ -382,7 +387,7 @@ Connect,connect_bw_t,Tutorial,P2,,
,connect_mm_link2,https://keyst.one/t/3rd/mmm,P2,,
,connect_mm_qr_title,MetaMask (Extension),P2,,
,connect_mm_qr_link,https://keyst.one/t/3rd/mm,P2,,
,connect_mm_qr_title2,MetaMask Mobile,P2,,
,connect_mm_qr_title2,MetaMask (Mobile),P2,,
,connect_mm_qr_link2,https://keyst.one/t/3rd/mmm,P2,,
,connect_okx_t,Tutorial,P2,,
,connect_okx_desc,Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet.,P2,,
Expand Down Expand Up @@ -456,8 +461,14 @@ Connect,connect_bw_t,Tutorial,P2,,
,connect_keplr_desc,Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet.,P2,,
,connect_keplr_title,Keplr (Extension),P2,,
,connect_keplr_link,https://keyst.one/t/3rd/keplr,P2,,
,connect_keplr_qr_title,Keplr (Extension),P2,,
,connect_keplr_qr_link,https://keyst.one/t/3rd/keplr,P2,,
,connect_keplr_qr_title,Keplr (Extension),,,
,connect_keplr_qr_link,https://keyst.one/t/3rd/keplr,,,
,connect_petra_t,Tutorial,,,
,connect_petra_desc,Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet.,,,
,connect_petra_title,Petra (Extension),,,
,connect_petra_link,https://keyst.one/t/3rd/petra,,,
,connect_petra_qr_title,Petra (Extension),,,
,connect_petra_qr_link,https://keyst.one/t/3rd/petra,,,
Decoding Transaction,tx_details_general_tab_title1,Overview,P2,,
,tx_details_general_tab_title2,Details,P2,,
,tx_details_btc_change_title,Change Address,P2,,
Expand Down
17 changes: 14 additions & 3 deletions src/ui/lv_i18n/en.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
en:
? ''
: ''
Approve: Approve
Attention: Attention
Cancel: Cancel
Expand Down Expand Up @@ -138,7 +140,7 @@ en:
connect_mm_qr_link: https://keyst.one/t/3rd/mm
connect_mm_qr_link2: https://keyst.one/t/3rd/mmm
connect_mm_qr_title: MetaMask (Extension)
connect_mm_qr_title2: MetaMask Mobile
connect_mm_qr_title2: MetaMask (Mobile)
connect_mm_t: Tutorial
connect_mm_title: MetaMask (Extension)
connect_mm_title2: MetaMask (Mobile)
Expand All @@ -154,6 +156,14 @@ en:
connect_okx_t: Tutorial
connect_okx_title: OKX Wallet (Extension)
connect_okx_title2: OKX Wallet (Mobile)
connect_petra_desc: Please use your laptop or mobile to open the link below for
detailed tutorials on how to use Keystone with certain chain specific companion
software wallet.
connect_petra_link: https://keyst.one/t/3rd/petra
connect_petra_qr_link: https://keyst.one/t/3rd/petra
connect_petra_qr_title: Petra (Extension)
connect_petra_t: Tutorial
connect_petra_title: Petra (Extension)
connect_rabby_desc: Please use your laptop or mobile to open the link below for
detailed tutorials on how to use Keystone with certain chain specific companion
software wallet.
Expand Down Expand Up @@ -192,6 +202,8 @@ en:
connect_sushi_title: SushiSwap
connect_wallet_choose_wallet: Choose Wallet
connect_wallet_desc: Scan the QR code with your software wallet
connect_wallet_key_request_fmt: '%s Wallet wants to get your public key on your
Keystone: '
connect_wallet_keystone_hint: "Select networks you\u2019d like to manage in the\
\ software wallet"
connect_wallet_scan: Scan the QR code with your software wallet
Expand Down Expand Up @@ -522,8 +534,7 @@ en:
Ledger Legacy'
receive_eth_more_t_link1: Learn More
receive_eth_more_t_qr_link1: https://keyst.one/t/3rd/faq
receive_eth_more_t_qr_title1: 'Exploring Differences: Standard, Ledger Live, and
Legacy Derivation Paths in Ethereum'
receive_eth_more_t_qr_title1: Exploring Solana Path Options
receive_eth_more_t_title1: '1. Standard Path: This path is widely employed by numerous
software wallets for address generation. Examples of such wallets encompass MetaMask,
Rabby, BitKeep, and Core Wallet.
Expand Down
12 changes: 10 additions & 2 deletions src/ui/lv_i18n/lv_i18n.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ static inline uint32_t op_f(uint32_t val) { UNUSED(val); return 0; }
static inline uint32_t op_t(uint32_t val) { UNUSED(val); return 0; }

static lv_i18n_phrase_t en_singulars[] = {
{"", ""},
{"Approve", "Approve"},
{"Attention", "Attention"},
{"Cancel", "Cancel"},
Expand Down Expand Up @@ -128,7 +129,7 @@ static lv_i18n_phrase_t en_singulars[] = {
{"connect_mm_qr_link", "https://keyst.one/t/3rd/mm"},
{"connect_mm_qr_link2", "https://keyst.one/t/3rd/mmm"},
{"connect_mm_qr_title", "MetaMask (Extension)"},
{"connect_mm_qr_title2", "MetaMask Mobile"},
{"connect_mm_qr_title2", "MetaMask (Mobile)"},
{"connect_mm_t", "Tutorial"},
{"connect_mm_title", "MetaMask (Extension)"},
{"connect_mm_title2", "MetaMask (Mobile)"},
Expand All @@ -142,6 +143,12 @@ static lv_i18n_phrase_t en_singulars[] = {
{"connect_okx_t", "Tutorial"},
{"connect_okx_title", "OKX Wallet (Extension)"},
{"connect_okx_title2", "OKX Wallet (Mobile)"},
{"connect_petra_desc", "Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet."},
{"connect_petra_link", "https://keyst.one/t/3rd/petra"},
{"connect_petra_qr_link", "https://keyst.one/t/3rd/petra"},
{"connect_petra_qr_title", "Petra (Extension)"},
{"connect_petra_t", "Tutorial"},
{"connect_petra_title", "Petra (Extension)"},
{"connect_rabby_desc", "Please use your laptop or mobile to open the link below for detailed tutorials on how to use Keystone with certain chain specific companion software wallet."},
{"connect_rabby_link", "https://keyst.one/t/3rd/rabby"},
{"connect_rabby_qr_link", "https://keyst.one/t/3rd/rabby"},
Expand Down Expand Up @@ -172,6 +179,7 @@ static lv_i18n_phrase_t en_singulars[] = {
{"connect_sushi_title", "SushiSwap"},
{"connect_wallet_choose_wallet", "Choose Wallet"},
{"connect_wallet_desc", "Scan the QR code with your software wallet"},
{"connect_wallet_key_request_fmt", "%s Wallet wants to get your public key on your Keystone: "},
{"connect_wallet_keystone_hint", "Select networks you’d like to manage in the software wallet"},
{"connect_wallet_scan", "Scan the QR code with your software wallet"},
{"connect_wallet_select_network", "Select Network"},
Expand Down Expand Up @@ -400,7 +408,7 @@ static lv_i18n_phrase_t en_singulars[] = {
{"receive_eth_more_t_desc1", "1. Standard Path: This path is widely employed by numerous software wallets for address generation. Examples of such wallets encompass MetaMask, Rabby, BitKeep, and Core Wallet.\n2. Ledger Live: Choose this path if you intend to import a seed phrase from Ledger Live. Please note that Keystone supports synchronizing only the initial 10 addresses using this format.\n3. Ledger Legacy: Transition to this path if you manage your digital assets with Ledger Legacy"},
{"receive_eth_more_t_link1", "Learn More"},
{"receive_eth_more_t_qr_link1", "https://keyst.one/t/3rd/faq"},
{"receive_eth_more_t_qr_title1", "Exploring Differences: Standard, Ledger Live, and Legacy Derivation Paths in Ethereum"},
{"receive_eth_more_t_qr_title1", "Exploring Solana Path Options"},
{"receive_eth_more_t_title1", "1. Standard Path: This path is widely employed by numerous software wallets for address generation. Examples of such wallets encompass MetaMask, Rabby, BitKeep, and Core Wallet.\n2. Ledger Live: Choose this path if you intend to import a seed phrase from Ledger Live. Please note that Keystone supports synchronizing only the initial 10 addresses using this format.\n3. Ledger Legacy: Transition to this path if you manage your digital assets with Ledger Legacy"},
{"receive_eth_receive_main_button", "Generate New Address"},
{"receive_eth_receive_main_title", "Receive ETH"},
Expand Down

0 comments on commit 3a2af21

Please sign in to comment.