chore: create Preferences menu GAM entry and l18n

This commit is contained in:
Gianguido Sorà 2022-10-27 14:55:56 +02:00
parent 34cbd4218e
commit e11bef1eff
2 changed files with 6 additions and 0 deletions

View file

@ -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)]

View file

@ -174,6 +174,10 @@
"ja": "WiFiメニュー...",
"zh": "无线网络菜单..."
},
"mainmenu.preferences": {
"en": "Preferences",
"en-tts": "Preferences"
},
"mainmenu.backlighton": {
"en": "Backlight on",
"ja": "バックライト点灯",