diff --git a/lib/I18n/translations/english.yaml b/lib/I18n/translations/english.yaml index 0dbe665e..629a4749 100644 --- a/lib/I18n/translations/english.yaml +++ b/lib/I18n/translations/english.yaml @@ -156,8 +156,13 @@ STR_DST_UNKNOWN: "DST: unknown" STR_REFRESH_FREQ: "Refresh Frequency" STR_REFRESH_AFTER_IMAGE_PAGES: "Refresh after image pages" STR_KOREADER_SYNC: "KOReader Sync" + +STR_SYSTEM_UPDATE: "System Update" +STR_SYSTEM_UPDATE_TYPE1: "CrossPoint++ Updates" STR_CHECK_UPDATES: "Check for updates" +STR_SYSTEM_UPDATE_TYPE2: "Alternative Firmware Updates" STR_INCLUDE_BETA_UPDATES: "Include beta updates" + STR_LANGUAGE: "Language" STR_CLEAR_READING_CACHE: "Clear Reading Cache" STR_USERNAME: "Username" diff --git a/src/activities/settings/SettingsActivity.cpp b/src/activities/settings/SettingsActivity.cpp index b0f3bdb8..2e129416 100644 --- a/src/activities/settings/SettingsActivity.cpp +++ b/src/activities/settings/SettingsActivity.cpp @@ -154,16 +154,21 @@ void SettingsActivity::onEnter() { addToMoved(systemSettings, lastSystemSub, std::move(SettingInfo::Action(StrId::STR_CLEAR_READING_CACHE, SettingAction::ClearCache) .withSubcategory(StrId::STR_MENU_SYS_SYSTEM))); + + addToMoved(systemSettings, lastSystemSub, + std::move(SettingInfo::Separator(StrId::STR_SYSTEM_UPDATE_TYPE1).withSubmenu(StrId::STR_SYSTEM_UPDATE))); addToMoved(systemSettings, lastSystemSub, std::move(SettingInfo::Action(StrId::STR_CHECK_UPDATES, SettingAction::CheckForUpdates) - .withSubcategory(StrId::STR_MENU_SYS_SYSTEM))); + .withSubmenu(StrId::STR_SYSTEM_UPDATE))); if (sawIncludeBetaUpdates) { addToMoved(systemSettings, lastSystemSub, - std::move(includeBetaUpdatesSetting.withSubcategory(StrId::STR_MENU_SYS_SYSTEM))); + std::move(includeBetaUpdatesSetting.withSubmenu(StrId::STR_SYSTEM_UPDATE))); } + addToMoved(systemSettings, lastSystemSub, + std::move(SettingInfo::Separator(StrId::STR_SYSTEM_UPDATE_TYPE2).withSubmenu(StrId::STR_SYSTEM_UPDATE))); addToMoved(systemSettings, lastSystemSub, std::move(SettingInfo::Action(StrId::STR_SD_FIRMWARE_UPDATE, SettingAction::SdFirmwareUpdate) - .withSubcategory(StrId::STR_MENU_SYS_SYSTEM))); + .withSubmenu(StrId::STR_SYSTEM_UPDATE))); addToMoved(systemSettings, lastSystemSub, std::move(SettingInfo::Action(StrId::STR_SYSTEM_INFO, SettingAction::SystemInfo) .withSubcategory(StrId::STR_MENU_SYS_SYSTEM)));