mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -385,6 +385,7 @@ colorthememenu.menu_hints Hinweisfenster
|
|||||||
colorthememenu.misc Sonstiges
|
colorthememenu.misc Sonstiges
|
||||||
colorthememenu.name Themename
|
colorthememenu.name Themename
|
||||||
colorthememenu.neutrino_theme Theme zurücksetzen
|
colorthememenu.neutrino_theme Theme zurücksetzen
|
||||||
|
colorthememenu.neutrino_theme_hint Setzt auf das Standard-Theme zurück.
|
||||||
colorthememenu.question Aktuelles Theme beibehalten?
|
colorthememenu.question Aktuelles Theme beibehalten?
|
||||||
colorthememenu.save aktuelles Theme speichern
|
colorthememenu.save aktuelles Theme speichern
|
||||||
colorthememenu.select1 Benutzer Theme
|
colorthememenu.select1 Benutzer Theme
|
||||||
|
@@ -385,6 +385,7 @@ colorthememenu.menu_hints Hint box
|
|||||||
colorthememenu.misc Misc
|
colorthememenu.misc Misc
|
||||||
colorthememenu.name Theme name
|
colorthememenu.name Theme name
|
||||||
colorthememenu.neutrino_theme Reset theme
|
colorthememenu.neutrino_theme Reset theme
|
||||||
|
colorthememenu.neutrino_theme_hint Reset to default theme.
|
||||||
colorthememenu.question Use selected theme?
|
colorthememenu.question Use selected theme?
|
||||||
colorthememenu.save Save current theme
|
colorthememenu.save Save current theme
|
||||||
colorthememenu.select1 User theme
|
colorthememenu.select1 User theme
|
||||||
|
@@ -186,7 +186,10 @@ int CThemes::Show()
|
|||||||
themes.addIntroItems(LOCALE_COLORTHEMEMENU_HEAD2);
|
themes.addIntroItems(LOCALE_COLORTHEMEMENU_HEAD2);
|
||||||
|
|
||||||
//set default theme
|
//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);
|
initThemesMenu(themes);
|
||||||
|
|
||||||
|
@@ -412,6 +412,7 @@ typedef enum
|
|||||||
LOCALE_COLORTHEMEMENU_MISC,
|
LOCALE_COLORTHEMEMENU_MISC,
|
||||||
LOCALE_COLORTHEMEMENU_NAME,
|
LOCALE_COLORTHEMEMENU_NAME,
|
||||||
LOCALE_COLORTHEMEMENU_NEUTRINO_THEME,
|
LOCALE_COLORTHEMEMENU_NEUTRINO_THEME,
|
||||||
|
LOCALE_COLORTHEMEMENU_NEUTRINO_THEME_HINT,
|
||||||
LOCALE_COLORTHEMEMENU_QUESTION,
|
LOCALE_COLORTHEMEMENU_QUESTION,
|
||||||
LOCALE_COLORTHEMEMENU_SAVE,
|
LOCALE_COLORTHEMEMENU_SAVE,
|
||||||
LOCALE_COLORTHEMEMENU_SELECT1,
|
LOCALE_COLORTHEMEMENU_SELECT1,
|
||||||
|
@@ -412,6 +412,7 @@ const char * locale_real_names[] =
|
|||||||
"colorthememenu.misc",
|
"colorthememenu.misc",
|
||||||
"colorthememenu.name",
|
"colorthememenu.name",
|
||||||
"colorthememenu.neutrino_theme",
|
"colorthememenu.neutrino_theme",
|
||||||
|
"colorthememenu.neutrino_theme_hint",
|
||||||
"colorthememenu.question",
|
"colorthememenu.question",
|
||||||
"colorthememenu.save",
|
"colorthememenu.save",
|
||||||
"colorthememenu.select1",
|
"colorthememenu.select1",
|
||||||
|
Reference in New Issue
Block a user