mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
Messages: add localized osd timeout option for interactive/static messages
TODO: add locales for hints
This commit is contained in:
@@ -863,21 +863,22 @@ typedef struct time_settings_t
|
||||
{
|
||||
const int default_timing;
|
||||
const neutrino_locale_t name;
|
||||
const neutrino_locale_t hint;
|
||||
} time_settings_struct_t;
|
||||
|
||||
const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_COUNT] =
|
||||
{
|
||||
{ 0, LOCALE_TIMING_MENU },
|
||||
{ 60, LOCALE_TIMING_CHANLIST },
|
||||
{ 240, LOCALE_TIMING_EPG },
|
||||
{ 6, LOCALE_TIMING_INFOBAR },
|
||||
{ 0, LOCALE_TIMING_INFOBAR_RADIO },
|
||||
{ 6, LOCALE_TIMING_INFOBAR_MOVIEPLAYER},
|
||||
{ 3, LOCALE_TIMING_VOLUMEBAR },
|
||||
{ 60, LOCALE_TIMING_FILEBROWSER },
|
||||
{ 3, LOCALE_TIMING_NUMERICZAP },
|
||||
{ 6, LOCALE_TIMING_POPUP_MESSAGES},
|
||||
{ 0, LOCALE_TIMING_STATIC_MESSAGES}
|
||||
{ 0, LOCALE_TIMING_MENU, LOCALE_MENU_HINT_OSD_TIMING},//TODO: add hint locales
|
||||
{ 60, LOCALE_TIMING_CHANLIST, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 240, LOCALE_TIMING_EPG, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 6, LOCALE_TIMING_INFOBAR, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 0, LOCALE_TIMING_INFOBAR_RADIO, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 6, LOCALE_TIMING_INFOBAR_MOVIEPLAYER, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 3, LOCALE_TIMING_VOLUMEBAR, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 60, LOCALE_TIMING_FILEBROWSER, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 3, LOCALE_TIMING_NUMERICZAP, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 6, LOCALE_TIMING_POPUP_MESSAGES, LOCALE_MENU_HINT_OSD_TIMING},
|
||||
{ 60, LOCALE_TIMING_STATIC_MESSAGES, LOCALE_MENU_HINT_TIMEOUTS_STATIC_MESSAGES}
|
||||
};
|
||||
|
||||
// lcdd
|
||||
|
Reference in New Issue
Block a user