From e11bef1effdbc6ad97a6eae5444b601d53ef1d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Thu, 27 Oct 2022 14:55:56 +0200 Subject: [PATCH] chore: create Preferences menu GAM entry and l18n --- services/gam/src/lib.rs | 2 ++ services/status/locales/i18n.json | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/services/gam/src/lib.rs b/services/gam/src/lib.rs index c53417d7b..91cda362b 100644 --- a/services/gam/src/lib.rs +++ b/services/gam/src/lib.rs @@ -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)] diff --git a/services/status/locales/i18n.json b/services/status/locales/i18n.json index 1ee454d8e..f71eeffd9 100644 --- a/services/status/locales/i18n.json +++ b/services/status/locales/i18n.json @@ -174,6 +174,10 @@ "ja": "WiFiメニュー...", "zh": "无线网络菜单..." }, + "mainmenu.preferences": { + "en": "Preferences", + "en-tts": "Preferences" + }, "mainmenu.backlighton": { "en": "Backlight on", "ja": "バックライト点灯",