chore: fix more typos, add french dictionary to vscode workspace settings

This commit is contained in:
bunnie 2022-12-13 22:49:25 +08:00
parent 1d94968b2f
commit 283ea1de0d
4 changed files with 6 additions and 5 deletions

View file

@ -14,5 +14,6 @@
"**/CVS": true, "**/CVS": true,
"**/.DS_Store": true, "**/.DS_Store": true,
"**/Thumbs.db": true, "**/Thumbs.db": true,
} },
"cSpell.language": "en,fr"
} }

View file

@ -109,7 +109,7 @@ impl<'a> ShellCmdApi<'a> for Keys {
"pddbrecycle" => { "pddbrecycle" => {
// erase the page table, which should effectively trigger a reformat on the next boot // erase the page table, which should effectively trigger a reformat on the next boot
self.spinor.bulk_erase(xous::PDDB_LOC, 1024 * 1024).expect("couldn't erase page table"); self.spinor.bulk_erase(xous::PDDB_LOC, 1024 * 1024).expect("couldn't erase page table");
write!(ret, "PDDB page table ereased").unwrap(); write!(ret, "PDDB page table erased").unwrap();
} }
#[cfg(feature="spinortest")] #[cfg(feature="spinortest")]
"spinortest" => { "spinortest" => {

View file

@ -753,7 +753,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
write!(ret, "{}", s.as_str().unwrap()).unwrap(); write!(ret, "{}", s.as_str().unwrap()).unwrap();
} }
_ => { _ => {
log::error!("got unecognized message type in callback handler") log::error!("got unrecognized message type in callback handler")
} }
} }
Ok(Some(ret)) Ok(Some(ret))

View file

@ -238,8 +238,8 @@
"zh": "设置本地时区" "zh": "设置本地时区"
}, },
"mainmenu.shutdown_confirm": { "mainmenu.shutdown_confirm": {
"en": "Confirm shutdown:\n🔌Device will reamin off until a charging cable is plugged in. Proceed?", "en": "Confirm shutdown:\n🔌Device will remain off until a charging cable is plugged in. Proceed?",
"en-tts": "Confirm shutdown:\n🔌Device will reamin off until a charging cable is plugged in. Proceed?", "en-tts": "Confirm shutdown:\n🔌Device will remain off until a charging cable is plugged in. Proceed?",
"fr": "Confirmez l’arrêt:\n🔌L’appareil s’éteindra jusqu’à ce qu’un câble de charge soit branché. Continuez?", "fr": "Confirmez l’arrêt:\n🔌L’appareil s’éteindra jusqu’à ce qu’un câble de charge soit branché. Continuez?",
"ja": "シャットダウンの確認:\n🔌充電ケーブルが差し込まれるまで、デバイスはオフのままになります。続行しますか?", "ja": "シャットダウンの確認:\n🔌充電ケーブルが差し込まれるまで、デバイスはオフのままになります。続行しますか?",
"zh": "确认关机:\n🔌设备将保持关闭状态,直到插入充电线。继续?" "zh": "确认关机:\n🔌设备将保持关闭状态,直到插入充电线。继续?"