Add remove current wallet action to utilities#1245
Conversation
|
Hi, the How To Build doc can be found here: https://github.com/BeamMW/beam-ui/wiki/How-to-build-Beam-desktop-UI If you run into issues with the setup, you can join https://t.me/beamdevsupport and we'll assist you. Please make sure that everything works as expected. |
| parent: main | ||
| settingsViewModel: viewModel | ||
| //% "Confirm wallet removal" | ||
| dialogTitle: qsTrId("settings-remove-wallet-password-title") |
There was a problem hiding this comment.
it's necessary to update translation files for this string. translation files are updated automatically when the project is built. but don't forget to add to git
| id: removeWalletConfirmationDialog | ||
| parent: main | ||
| //% "Remove current wallet" | ||
| title: qsTrId("settings-remove-wallet") |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
| //% "Remove current wallet" | ||
| title: qsTrId("settings-remove-wallet") | ||
| //% "All data will be erased. Make sure you've saved your seed phrase if you want to restore this wallet later on!" | ||
| text: qsTrId("settings-remove-wallet-confirm-message") + "\n\n" + |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
| //% "All data will be erased. Make sure you've saved your seed phrase if you want to restore this wallet later on!" | ||
| text: qsTrId("settings-remove-wallet-confirm-message") + "\n\n" + | ||
| //% "Are you sure you want to remove your wallet?" | ||
| qsTrId("settings-remove-wallet-confirm-question") |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
| //% "Are you sure you want to remove your wallet?" | ||
| qsTrId("settings-remove-wallet-confirm-question") | ||
| //% "proceed" | ||
| okButtonText: qsTrId("settings-remove-wallet-proceed") |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
| //% "Enter your password to remove the wallet" | ||
| passwordPlaceholderText: qsTrId("settings-remove-wallet-password-placeholder") | ||
| //% "remove" | ||
| okButtonText: qsTrId("settings-remove-wallet-password-button") |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
| dialogTitle: qsTrId("settings-remove-wallet-password-title") | ||
| dialogMessage: "" | ||
| //% "Enter your password to remove the wallet" | ||
| passwordPlaceholderText: qsTrId("settings-remove-wallet-password-placeholder") |
There was a problem hiding this comment.
do the same as for settings-remove-wallet-password-title
Fixes #823.
Summary:
Verification:
git diff --check.