summaryrefslogtreecommitdiff
path: root/apps/features.txt
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
commitb3113674819cd8daf44750d129c5d8298e830df0 (patch)
treeebc7ec9e096e309ef79834802eed28ff9c22fd41 /apps/features.txt
parente70f7f4ca857e9e88a6e076360b6c9c235d7739b (diff)
downloadrockbox-b3113674819cd8daf44750d129c5d8298e830df0.zip
rockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.gz
rockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.bz2
rockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.xz
*** Lang v2 cleanup (FS#6574) ***
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/features.txt')
-rw-r--r--apps/features.txt159
1 files changed, 159 insertions, 0 deletions
diff --git a/apps/features.txt b/apps/features.txt
new file mode 100644
index 0000000..59d24be
--- /dev/null
+++ b/apps/features.txt
@@ -0,0 +1,159 @@
+/* This file controls which strings are included when rockbox is built and
+ when the .lng and .voice files are built. That means that a change in this
+ file will break compatiblity with older .lng and .voice files and that those
+ version numbers should be updated. It also means that changing defines in
+ the various config*.h files could also break back compatiblity */
+
+#if defined(HAVE_AGC)
+agc
+#endif
+
+#if defined(HAVE_RTC_ALARM)
+alarm
+#endif
+
+#if defined(HAVE_BACKLIGHT_BRIGHTNESS)
+backlight_brightness
+#endif
+
+#if defined(HAVE_BACKLIGHT_PWM_FADING)
+backlight_fade
+#endif
+
+#if BATTERY_TYPES_COUNT > 1
+battery_types
+#endif
+
+#if defined(HAVE_DIRCACHE)
+dircache
+#endif
+
+#if defined(HAVE_FLASH_STORAGE)
+flash_storage
+#endif
+
+#if defined(HAVE_HEADPHONE_DETECTION)
+headphone_detection
+#endif
+
+#if defined(HAS_BUTTON_HOLD)
+hold_button
+#endif
+
+#if defined(HAVE_LCD_BITMAP)
+lcd_bitmap
+#endif
+
+#if defined(HAVE_LCD_CHARCELLS)
+lcd_charcell
+#endif
+
+#if LCD_DEPTH > 1
+lcd_non-mono
+#endif
+
+#if defined(HAVE_LCD_COLOR)
+lcd_color
+#endif
+
+#if defined(HAVE_LCD_FLIP)
+lcd_flip
+#endif
+
+#if defined(HAVE_LCD_INVERT) || defined(HAVE_REMOTE_LCD)
+lcd_invert
+#endif
+
+#if defined(HAVE_LCD_SLEEP)
+lcd_sleep
+#endif
+
+#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
+masf
+#endif
+
+#if (CONFIG_CODEC == MAS3507D)
+masd
+#endif
+
+#if defined(HAVE_PITCHSCREEN)
+pitchscreen
+#endif
+
+#if defined(HAVE_MULTIVOLUME)
+multivolume
+#endif
+
+#if defined(HAVE_QUICKSCREEN)
+quickscreen
+#endif
+
+#if defined(CONFIG_TUNER)
+radio
+#endif
+
+#if (CONFIG_KEYPAD == RECORDER_PAD)
+recorder_pad
+#if defined(CONFIG_TUNER)
+radio_screen_button_bar
+#endif
+#endif
+
+#if defined(HAVE_RECORDING)
+recording
+#if CONFIG_CODEC == SWCODEC
+recording_swcodec
+#else
+recording_hwcodec
+#endif
+#endif
+
+#if defined(HAVE_REMOTE_LCD)
+remote
+#endif
+
+#if defined(HAVE_REMOTE_LCD_TICKING)
+remote_ticking
+#endif
+
+#if CONFIG_RTC
+rtc
+#endif
+
+#if defined(HAVE_SCROLLWHEEL)
+scrollwheel
+#endif
+
+#if defined(SIMULATOR)
+sim
+#endif
+
+#if defined(ARCHOS_RECORDER) || defined(ARCHOS_PLAYER)
+soft_shutdown
+#endif
+
+#if defined(HAVE_SPDIF_POWER)
+spdif_power
+#endif
+
+#if CONFIG_CODEC == SWCODEC
+swcodec
+#else
+hwcodec
+#endif
+
+#if defined(HAVE_TAGCACHE)
+tagcache
+#endif
+
+#if defined(HAVE_TC_RAMCACHE)
+tc_ramcache
+#endif
+
+#if CONFIG_CHARGING || defined(SIMULATOR)
+charging
+#if defined(HAVE_USB_POWER) || defined(SIMULATOR)
+usb_charging
+#endif
+#endif
+