Only enable LANG_ENABLE_SPEAKER if HAVE_SPEAKER is defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-03-02 18:40:11 +00:00
parent f09795091c
commit 09f012a64f
3 changed files with 16 additions and 6 deletions

View file

@ -183,3 +183,7 @@ accessory_supply
#if defined(IPOD_ACCESSORY_PROTOCOL)
serial_port
#endif
#if defined(HAVE_SPEAKER)
speaker
#endif

View file

@ -12406,12 +12406,15 @@
desc: in Settings -> Sound Settings
user:
<source>
*: "Enable Speaker"
*: none
speaker: "Enable Speaker"
</source>
<dest>
*: "Enable Speaker"
*: none
speaker: "Enable Speaker"
</dest>
<voice>
*: "Enable Speaker"
*: none
speaker: "Enable Speaker"
</voice>
</phrase>

View file

@ -12293,12 +12293,15 @@
desc: in Settings -> Sound Settings
user:
<source>
*: "Enable Speaker"
*: none
speaker: "Enable Speaker"
</source>
<dest>
*: "Luidspreker inschakelen"
*: none
speaker: "Luidspreker inschakelen"
</dest>
<voice>
*: "Luidspreker inschakelen"
*: none
speaker: "Luidspreker inschakelen"
</voice>
</phrase>