themes: add locales for theme reset

Origin commit data
------------------
Commit: 8b055d5011
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
This commit is contained in:
2018-04-11 23:58:15 +02:00
committed by vanhofen
parent ac513a9cc0
commit 8322e722ca
5 changed files with 8 additions and 1 deletions

View File

@@ -385,6 +385,7 @@ colorthememenu.menu_hints Hinweisfenster
colorthememenu.misc Sonstiges
colorthememenu.name Themename
colorthememenu.neutrino_theme Theme zurücksetzen
colorthememenu.neutrino_theme_hint Setzt auf das Standard-Theme zurück.
colorthememenu.question Aktuelles Theme beibehalten?
colorthememenu.save aktuelles Theme speichern
colorthememenu.select1 Benutzer Theme

View File

@@ -385,6 +385,7 @@ colorthememenu.menu_hints Hint box
colorthememenu.misc Misc
colorthememenu.name Theme name
colorthememenu.neutrino_theme Reset theme
colorthememenu.neutrino_theme_hint Reset to default theme.
colorthememenu.question Use selected theme?
colorthememenu.save Save current theme
colorthememenu.select1 User theme

View File

@@ -186,7 +186,10 @@ int CThemes::Show()
themes.addIntroItems(LOCALE_COLORTHEMEMENU_HEAD2);
//set default theme
themes.addItem(new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, NULL, this, "default_theme", CRCInput::RC_red));
std::string default_theme = DEFAULT_THEME;
CMenuForwarder* fw = new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, default_theme.c_str(), this, "default_theme", CRCInput::RC_red);
themes.addItem(fw);
fw->setHint("", LOCALE_COLORTHEMEMENU_NEUTRINO_THEME_HINT);
initThemesMenu(themes);

View File

@@ -412,6 +412,7 @@ typedef enum
LOCALE_COLORTHEMEMENU_MISC,
LOCALE_COLORTHEMEMENU_NAME,
LOCALE_COLORTHEMEMENU_NEUTRINO_THEME,
LOCALE_COLORTHEMEMENU_NEUTRINO_THEME_HINT,
LOCALE_COLORTHEMEMENU_QUESTION,
LOCALE_COLORTHEMEMENU_SAVE,
LOCALE_COLORTHEMEMENU_SELECT1,

View File

@@ -412,6 +412,7 @@ const char * locale_real_names[] =
"colorthememenu.misc",
"colorthememenu.name",
"colorthememenu.neutrino_theme",
"colorthememenu.neutrino_theme_hint",
"colorthememenu.question",
"colorthememenu.save",
"colorthememenu.select1",