Skip to content

Commit

Permalink
add alpha notes
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Dec 27, 2023
1 parent eeb39b8 commit ab399ce
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
28 changes: 16 additions & 12 deletions core/src/modules/wallet_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ impl ModuleT for WalletCreate {
}

ui.label("");
ui.checkbox(&mut this.context.import_legacy, i18n("I have a legacy account"));
ui.label(i18n("Select this option if your wallet was create"));
ui.label(i18n("via KDX or kaspanet.io web wallet"));
ui.checkbox(&mut this.context.import_legacy, i18n("I have a 12 word mnemonic legacy account"));
ui.label(i18n("Select this option if your wallet was created"));
ui.label(i18n("using KDX or kaspanet.io web wallet"));
ui.label(RichText::new("NOT SUPPORTED IN THIS ALPHA RELEASE").size(10.).color(warning_color()));

if !this.context.import_legacy {
ui.label("");
Expand All @@ -247,21 +248,24 @@ impl ModuleT for WalletCreate {
// ui.label("");
// if ui.large_button("MultiSig account").clicked() {
// }
}

ui.label("");
ui.checkbox(&mut this.context.import_with_bip39_passphrase, i18n("Your mnemonic is protected with a bip39 passphrase"));
ui.label("");
ui.checkbox(&mut this.context.import_with_bip39_passphrase, i18n("Your mnemonic is protected with a bip39 passphrase"));

ui.label("");
ui.checkbox(&mut this.context.import_advanced, i18n("Advanced Options"));
if this.context.import_advanced {
ui.label("");
if ui.large_button(i18n("secp256k1 keypair")).clicked() {
this.context.word_count = WordCount::Words12;
submit = true;
ui.checkbox(&mut this.context.import_advanced, i18n("Advanced Options"));
if this.context.import_advanced {
ui.label("");
if ui.large_button_enabled(false, i18n("secp256k1 keypair")).clicked() {
this.context.word_count = WordCount::Words12;
submit = true;
}
ui.label(RichText::new("NOT SUPPORTED IN THIS ALPHA RELEASE").size(10.).color(warning_color()));
}
}



})
.with_footer(|_this,_ui| {
})
Expand Down
14 changes: 8 additions & 6 deletions resources/i18n/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"vi": "Vietnamese",
"fil": "Filipino",
"fa": "Farsi",
"nl": "Dutch",
"lt": "Lithuanian",
"sv": "Swedish",
"es": "Español",
"pa": "Panjabi",
"uk": "Ukrainian",
"nl": "Dutch",
"pa": "Panjabi",
"af": "Afrikaans",
"et": "Esti",
"en": "English",
Expand Down Expand Up @@ -60,14 +60,14 @@
"pt": {},
"hi": {},
"nl": {},
"fi": {},
"vi": {},
"fil": {},
"pa": {},
"fa": {},
"fi": {},
"lt": {},
"sv": {},
"es": {},
"pa": {},
"uk": {},
"af": {},
"et": {},
Expand Down Expand Up @@ -175,11 +175,11 @@
"We would also like to thank the following developers and community members for making this possible:": "We would also like to thank the following developers and community members for making this possible:",
"Enable optional BIP39 passphrase": "Enable optional BIP39 passphrase",
"Enter account name (optional)": "Enter account name (optional)",
"Network Peers": "Network Peers",
"gRPC Tx/s": "gRPC Tx/s",
"Skip": "Skip",
"This project relies on the support of the community.": "This project relies on the support of the community.",
"Skip": "Skip",
"Json Handshake Failures": "Json Handshake Failures",
"Network Peers": "Network Peers",
"wRPC JSON Rx/s": "wRPC JSON Rx/s",
"Your mnemonic is protected with a bip39 passphrase": "Your mnemonic is protected with a bip39 passphrase",
"Too many words in the": "Too many words in the",
Expand Down Expand Up @@ -246,6 +246,7 @@
"UTXOs:": "UTXOs:",
"Submitted Blocks": "Submitted Blocks",
"Connection": "Connection",
"I have a 12 word mnemonic legacy account": "I have a 12 word mnemonic legacy account",
"Show balances in alternate currencies for testnet coins": "Show balances in alternate currencies for testnet coins",
"Testnet-11 (10 BPS)": "Testnet-11 (10 BPS)",
"If not specified, the account will be represented by the numeric id.": "If not specified, the account will be represented by the numeric id.",
Expand Down Expand Up @@ -337,6 +338,7 @@
"gRPC Rx": "gRPC Rx",
"We would also like to thank the following community members for making this possible:": "We would also like to thank the following community members for making this possible:",
"Processed Bodies": "Processed Bodies",
"The following will guide you through the process of creating or importing a wallet.": "The following will guide you through the process of creating or importing a wallet.",
"Stor Write": "Stor Write",
"Total Rx/s": "Total Rx/s",
"MT": "MT",
Expand Down

0 comments on commit ab399ce

Please sign in to comment.