forked from len0rd/rockbox
Changed the dircache option to 'Direcory cache: On/Off' * Synced deutsch.lang * Made some standard boolean yes/no settings more compact.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7601 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1f39f2e748
commit
104d38cd8b
3 changed files with 30 additions and 15 deletions
|
|
@ -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..."
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue