Merge branch 'backups' into main

This commit is contained in:
bunnie 2022-07-14 04:46:21 +08:00
commit 04f34c6320
2 changed files with 4 additions and 2 deletions

View file

@ -114,7 +114,7 @@
"en-tts": "Root keys already initialized."
},
"rootkeys.confirm": {
"en": "🔐Create passwords for your Precursor device🔐\n\nYou will be prompted for two passwords:\n\t1. Device unlock PIN code\n\t2. System update passphrase.\n\nAre you ready?",
"en": "🔐 Create passwords for Precursor 🔐\n\nYou will be prompted for two passwords:\n\t1. Device unlock PIN code\n\t2. System update passphrase.\n\nAre you ready?",
"ja": "これにより、Precursorデバイスのルートキーが初期化されます。\n\n2つのパスワードの入力を求められます。\n\t1.デバイスのロック解除PINコード\n\t2.システムアップデートパスフレーズ。\n\n準備はいいですか?",
"zh": "仅当您准备好信 任此设备时才 应继续",
"en-tts": "You should only proceed with this operation if you are ready to trust this device."

View file

@ -558,8 +558,10 @@ fn main() -> ! {
modals.add_list_item(t!("rootkeys.confirm.no", xous::LANG)).expect("modals error");
if deferred_response.is_some() {
modals.add_list_item(t!("rootkeys.confirm.dont_ask", xous::LANG)).expect("modals error");
log::info!("{}ROOTKEY.INITQ3,{}", xous::BOOKEND_START, xous::BOOKEND_END);
} else {
log::info!("{}ROOTKEY.CONFIRM,{}", xous::BOOKEND_START, xous::BOOKEND_END);
}
log::info!("{}ROOTKEY.CONFIRM,{}", xous::BOOKEND_START, xous::BOOKEND_END);
match modals.get_radiobutton(t!("rootkeys.confirm", xous::LANG)) {
Ok(response) => {
if response == t!("rootkeys.confirm.no", xous::LANG) {