summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/deutsch.lang18
-rw-r--r--apps/lang/english.lang6
-rw-r--r--apps/settings_menu.c21
3 files changed, 30 insertions, 15 deletions
diff --git a/apps/lang/deutsch.lang b/apps/lang/deutsch.lang
index 2a4dde6..81a95bc 100644
--- a/apps/lang/deutsch.lang
+++ b/apps/lang/deutsch.lang
@@ -3291,3 +3291,21 @@ desc: use track gain if shuffle mode is on, album gain otherwise
eng: "Track gain if shuffling"
voice: "Titellautstärke beim Mischen"
new: "Titellautstärke beim Mischen"
+
+id: LANG_DIRCACHE_ENABLE
+desc: in directory cache settings
+eng: "Directory cache"
+voice: "Verzeichnispuffer"
+new: "Verzeichnispuffer"
+
+id: LANG_DIRCACHE_REBOOT
+desc: when activating directory cache
+eng: "Please reboot to enable the cache"
+voice: ""
+new: "Neustarten, um den Puffer zu aktivieren"
+
+id: LANG_DIRCACHE_BUILDING
+desc: when booting up and rebuilding the cache
+eng: "Scanning disk..."
+voice: ""
+new: "Lese Festplatte..."
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index fbba812..94f434f 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -3301,14 +3301,14 @@ new:
id: LANG_DIRCACHE_ENABLE
desc: in directory cache settings
-eng: "Enable directory cache"
-voice: "Enable directory cache"
+eng: "Directory cache"
+voice: "Directory cache"
new:
id: LANG_DIRCACHE_REBOOT
desc: when activating directory cache
eng: "Please reboot to enable the cache"
-voice: "Please reboot to enable the cache"
+voice: ""
new:
id: LANG_DIRCACHE_BUILDING
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 6ad5274..b6d6b2b 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -76,11 +76,8 @@ void dac_line_in(bool enable);
#ifdef HAVE_CHARGING
static bool car_adapter_mode(void)
{
- return set_bool_options( str(LANG_CAR_ADAPTER_MODE),
- &global_settings.car_adapter_mode,
- STR(LANG_SET_BOOL_YES),
- STR(LANG_SET_BOOL_NO),
- NULL);
+ return set_bool( str(LANG_CAR_ADAPTER_MODE),
+ &global_settings.car_adapter_mode );
}
#endif
@@ -1161,11 +1158,8 @@ static bool runtimedb(void)
bool rc;
bool old = global_settings.runtimedb;
- rc = set_bool_options( str(LANG_RUNTIMEDB_ACTIVE),
- &global_settings.runtimedb,
- STR(LANG_SET_BOOL_YES),
- STR(LANG_SET_BOOL_NO),
- NULL);
+ rc = set_bool( str(LANG_RUNTIMEDB_ACTIVE),
+ &global_settings.runtimedb );
if (old && !global_settings.runtimedb)
rundb_shutdown();
if (!old && global_settings.runtimedb)
@@ -1264,8 +1258,11 @@ static bool beep(void)
#ifdef HAVE_DIRCACHE
static bool dircache(void)
{
- bool result = set_bool(str(LANG_DIRCACHE_ENABLE),
- &global_settings.dircache);
+ bool result = set_bool_options(str(LANG_DIRCACHE_ENABLE),
+ &global_settings.dircache,
+ STR(LANG_ON),
+ STR(LANG_OFF),
+ NULL);
if (!dircache_is_enabled() && global_settings.dircache)
splash(HZ*2, true, str(LANG_DIRCACHE_REBOOT));