usermenu: fix missing locales testmenu for usermenu

This commit is contained in:
2021-12-14 11:11:25 +01:00
parent 7c92b87672
commit ef2d7f4420
6 changed files with 12 additions and 10 deletions

View File

@@ -2673,6 +2673,7 @@ subtitles.head Untertitel
subtitles.stop Untertitel aus subtitles.stop Untertitel aus
terrestrialsetup.area Region terrestrialsetup.area Region
terrestrialsetup.provider DVB-T Versorgungsbereich terrestrialsetup.provider DVB-T Versorgungsbereich
testmenu Testmenü
timer.eventrecord.msg Die Sendung wurde zur Aufnahme vorgemerkt. timer.eventrecord.msg Die Sendung wurde zur Aufnahme vorgemerkt.
timer.eventrecord.title Aufnahme vormerken timer.eventrecord.title Aufnahme vormerken
timer.eventtimed.msg Die Sendung wurde vorgemerkt. timer.eventtimed.msg Die Sendung wurde vorgemerkt.

View File

@@ -2673,6 +2673,7 @@ subtitles.head Subtitles
subtitles.stop Stop subtitles subtitles.stop Stop subtitles
terrestrialsetup.area Area terrestrialsetup.area Area
terrestrialsetup.provider Terrestrial Provider terrestrialsetup.provider Terrestrial Provider
testmenu Testmenu
timer.eventrecord.msg The event is scheduled for recording.\nTo edit the schedule open the timer list. timer.eventrecord.msg The event is scheduled for recording.\nTo edit the schedule open the timer list.
timer.eventrecord.title Schedule Record timer.eventrecord.title Schedule Record
timer.eventtimed.msg The event is scheduled.\nThe box will power on and \nswitch to this channel at the given time. timer.eventtimed.msg The event is scheduled.\nThe box will power on and \nswitch to this channel at the given time.

View File

@@ -79,7 +79,7 @@
#endif #endif
#include <gui/update_menue.h> #include <gui/update_menue.h>
#include <gui/hdd_menu.h> #include <gui/hdd_menu.h>
//#include <gui/test_menu.h> #include <gui/test_menu.h>
#include <gui/webchannels_setup.h> #include <gui/webchannels_setup.h>
#include <gui/miscsettings_menu.h> #include <gui/miscsettings_menu.h>
@@ -555,13 +555,13 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
menu_item->setHint(NEUTRINO_ICON_HINT_ADZAP, adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP); menu_item->setHint(NEUTRINO_ICON_HINT_ADZAP, adzap_active ? LOCALE_MENU_HINT_ADZAP_ACTIVE : LOCALE_MENU_HINT_ADZAP);
break; break;
} }
// case SNeutrinoSettings::ITEM_TESTMENU: case SNeutrinoSettings::ITEM_TESTMENU:
// { {
// keyhelper.get(&key, &icon); keyhelper.get(&key, &icon);
// menu_item = new CMenuDForwarder(LOCALE_TESTMENU, true, NULL, new CTestMenu(), NULL, key, icon); menu_item = new CMenuDForwarder(LOCALE_TESTMENU, true, NULL, new CTestMenu(), NULL, key, icon);
// // FIXME menu_item->setHint("", NONEXISTANT_LOCALE); // FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
// break; break;
// } }
case -1: // plugin case -1: // plugin
{ {
int number_of_plugins = g_Plugins->getNumberOfPlugins(); int number_of_plugins = g_Plugins->getNumberOfPlugins();

View File

@@ -101,9 +101,7 @@ static keyvals usermenu_items[] =
{ SNeutrinoSettings::ITEM_SWUPDATE, LOCALE_SERVICEMENU_UPDATE, usermenu_show }, { SNeutrinoSettings::ITEM_SWUPDATE, LOCALE_SERVICEMENU_UPDATE, usermenu_show },
{ SNeutrinoSettings::ITEM_LIVESTREAM_RESOLUTION, LOCALE_LIVESTREAM_RESOLUTION, usermenu_show }, { SNeutrinoSettings::ITEM_LIVESTREAM_RESOLUTION, LOCALE_LIVESTREAM_RESOLUTION, usermenu_show },
{ SNeutrinoSettings::ITEM_ADZAP, LOCALE_USERMENU_ITEM_ADZAP, usermenu_show }, { SNeutrinoSettings::ITEM_ADZAP, LOCALE_USERMENU_ITEM_ADZAP, usermenu_show },
#if 0
{ SNeutrinoSettings::ITEM_TESTMENU, LOCALE_TESTMENU, usermenu_show }, { SNeutrinoSettings::ITEM_TESTMENU, LOCALE_TESTMENU, usermenu_show },
#endif
{ SNeutrinoSettings::ITEM_FILEPLAY_AUDIO, LOCALE_MOVIEPLAYER_FILEPLAYBACK_AUDIO, usermenu_show }, { SNeutrinoSettings::ITEM_FILEPLAY_AUDIO, LOCALE_MOVIEPLAYER_FILEPLAYBACK_AUDIO, usermenu_show },
{ SNeutrinoSettings::ITEM_TIMESHIFT, LOCALE_RECORDINGMENU_TIMESHIFT, usermenu_show }, { SNeutrinoSettings::ITEM_TIMESHIFT, LOCALE_RECORDINGMENU_TIMESHIFT, usermenu_show },
{ SNeutrinoSettings::ITEM_MAX, NONEXISTANT_LOCALE, usermenu_show } { SNeutrinoSettings::ITEM_MAX, NONEXISTANT_LOCALE, usermenu_show }

View File

@@ -2700,6 +2700,7 @@ typedef enum
LOCALE_SUBTITLES_STOP, LOCALE_SUBTITLES_STOP,
LOCALE_TERRESTRIALSETUP_AREA, LOCALE_TERRESTRIALSETUP_AREA,
LOCALE_TERRESTRIALSETUP_PROVIDER, LOCALE_TERRESTRIALSETUP_PROVIDER,
LOCALE_TESTMENU,
LOCALE_TIMER_EVENTRECORD_MSG, LOCALE_TIMER_EVENTRECORD_MSG,
LOCALE_TIMER_EVENTRECORD_TITLE, LOCALE_TIMER_EVENTRECORD_TITLE,
LOCALE_TIMER_EVENTTIMED_MSG, LOCALE_TIMER_EVENTTIMED_MSG,

View File

@@ -2700,6 +2700,7 @@ const char * locale_real_names[] =
"subtitles.stop", "subtitles.stop",
"terrestrialsetup.area", "terrestrialsetup.area",
"terrestrialsetup.provider", "terrestrialsetup.provider",
"testmenu",
"timer.eventrecord.msg", "timer.eventrecord.msg",
"timer.eventrecord.title", "timer.eventrecord.title",
"timer.eventtimed.msg", "timer.eventtimed.msg",