- glcdsetup: localize clock options

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-06-14 18:44:44 +02:00
committed by Thilo Graf
parent e10be35000
commit d6b0cf6b49
7 changed files with 23 additions and 7 deletions

View File

@@ -221,10 +221,10 @@ bool GLCD_Menu::changeNotify (const neutrino_locale_t OptionName, void *Data)
#define ONOFFSEC_OPTION_COUNT 3
static const CMenuOptionChooser::keyval ONOFFSEC_OPTIONS[ONOFFSEC_OPTION_COUNT] = {
{ 0, LOCALE_OPTIONS_OFF },
{ 1, LOCALE_OPTIONS_ON },
// { 2, LOCALE_CLOCK_SECONDS },
{ 3, LOCALE_OPTIONS_ON } // FIXME
{ nGLCD::CLOCK_OFF, LOCALE_OPTIONS_OFF },
{ nGLCD::CLOCK_DIGITAL_HM, LOCALE_GLCD_CLOCK_DIGITAL_HM },
// { nGLCD::CLOCK_DIGITAL_HMS, LOCALE_GLCD_CLOCK_DIGITAL_HMS },
{ nGLCD::CLOCK_ANALOG, LOCALE_GLCD_CLOCK_ANALOG }
};
void GLCD_Menu::GLCD_Menu_Settings()