mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
chore: create Preferences menu GAM entry and l18n
This commit is contained in:
parent
34cbd4218e
commit
e11bef1eff
2 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ pub const APP_NAME_SHELLCHAT: &'static str = "shellchat";
|
|||
pub const APP_MENU_NAME: &'static str = "app menu";
|
||||
pub const KBD_MENU_NAME: &'static str = "keyboard menu";
|
||||
pub const WIFI_MENU_NAME: &'static str = "WLAN menu";
|
||||
pub const PREFERENCES_MENU_NAME: &'static str = "Preferences menu";
|
||||
|
||||
/// UX context registry. Names here are authorized by the GAM to have Canvases.
|
||||
pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
||||
|
|
@ -57,6 +58,7 @@ pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
|||
APP_MENU_NAME,
|
||||
KBD_MENU_NAME,
|
||||
WIFI_MENU_NAME,
|
||||
PREFERENCES_MENU_NAME,
|
||||
];
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||
|
|
|
|||
|
|
@ -174,6 +174,10 @@
|
|||
"ja": "WiFiメニュー...",
|
||||
"zh": "无线网络菜单..."
|
||||
},
|
||||
"mainmenu.preferences": {
|
||||
"en": "Preferences",
|
||||
"en-tts": "Preferences"
|
||||
},
|
||||
"mainmenu.backlighton": {
|
||||
"en": "Backlight on",
|
||||
"ja": "バックライト点灯",
|
||||
|
|
|
|||
Loading…
Reference in a new issue