mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
Messages: add localized osd timeout option for interactive/static messages
TODO: add locales for hints
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6ecaf855b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1461,6 +1461,7 @@ typedef enum
|
||||
LOCALE_MENU_HINT_SW_UPDATE,
|
||||
LOCALE_MENU_HINT_THEME,
|
||||
LOCALE_MENU_HINT_TIMEOUTS,
|
||||
LOCALE_MENU_HINT_TIMEOUTS_STATIC_MESSAGES,
|
||||
LOCALE_MENU_HINT_TIMER_FOLLOWSCREENINGS,
|
||||
LOCALE_MENU_HINT_TIMERS,
|
||||
LOCALE_MENU_HINT_TIMEZONE,
|
||||
|
@@ -1461,6 +1461,7 @@ const char * locale_real_names[] =
|
||||
"menu.hint_sw_update",
|
||||
"menu.hint_theme",
|
||||
"menu.hint_timeouts",
|
||||
"menu.hint_timeouts_static_messages",
|
||||
"menu.hint_timer_followscreenings",
|
||||
"menu.hint_timers",
|
||||
"menu.hint_timezone",
|
||||
|
@@ -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