mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- timeshift: unify config keywords and locales
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -389,17 +389,17 @@ void CRecordSetup::showRecordTimeShiftSetup(CMenuWidget *menu_ts)
|
||||
mc->setHint("", LOCALE_MENU_HINT_RECORD_TIMESHIFT_PAUSE);
|
||||
menu_ts->addItem(mc);
|
||||
|
||||
CMenuOptionNumberChooser * mn = new CMenuOptionNumberChooser(LOCALE_EXTRA_AUTO_TIMESHIFT, &g_settings.auto_timeshift, true, 0, 300, NULL);
|
||||
CMenuOptionNumberChooser * mn = new CMenuOptionNumberChooser(LOCALE_EXTRA_TIMESHIFT_AUTO, &g_settings.timeshift_auto, true, 0, 300, NULL);
|
||||
mn->setNumberFormat(g_Locale->getText(LOCALE_WORD_AFTER) + std::string(" %d ") + g_Locale->getText(LOCALE_UNIT_SHORT_SECOND));
|
||||
mn->setLocalizedValue(0, LOCALE_OPTIONS_OFF);
|
||||
mn->setHint("", LOCALE_MENU_HINT_RECORD_TIMESHIFT_AUTO);
|
||||
menu_ts->addItem(mn);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_EXTRA_AUTO_DELETE, &g_settings.auto_delete, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc = new CMenuOptionChooser(LOCALE_EXTRA_TIMESHIFT_DELETE, &g_settings.timeshift_delete, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_RECORD_TIMESHIFT_DELETE);
|
||||
menu_ts->addItem(mc);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_EXTRA_TEMP_TIMESHIFT, &g_settings.temp_timeshift, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc = new CMenuOptionChooser(LOCALE_EXTRA_TIMESHIFT_TEMP, &g_settings.timeshift_temp, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_RECORD_TIMESHIFT_TEMP);
|
||||
menu_ts->addItem(mc);
|
||||
|
||||
|
Reference in New Issue
Block a user