diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-05 19:19:39 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-05 19:19:39 +0000 |
commit | b3113674819cd8daf44750d129c5d8298e830df0 (patch) | |
tree | ebc7ec9e096e309ef79834802eed28ff9c22fd41 /apps/features.txt | |
parent | e70f7f4ca857e9e88a6e076360b6c9c235d7739b (diff) | |
download | rockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.gz rockbox-b3113674819cd8daf44750d129c5d8298e830df0.zip |
*** 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.txt | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/apps/features.txt b/apps/features.txt new file mode 100644 index 0000000000..59d24be13d --- /dev/null +++ b/apps/features.txt | |||
@@ -0,0 +1,159 @@ | |||
1 | /* This file controls which strings are included when rockbox is built and | ||
2 | when the .lng and .voice files are built. That means that a change in this | ||
3 | file will break compatiblity with older .lng and .voice files and that those | ||
4 | version numbers should be updated. It also means that changing defines in | ||
5 | the various config*.h files could also break back compatiblity */ | ||
6 | |||
7 | #if defined(HAVE_AGC) | ||
8 | agc | ||
9 | #endif | ||
10 | |||
11 | #if defined(HAVE_RTC_ALARM) | ||
12 | alarm | ||
13 | #endif | ||
14 | |||
15 | #if defined(HAVE_BACKLIGHT_BRIGHTNESS) | ||
16 | backlight_brightness | ||
17 | #endif | ||
18 | |||
19 | #if defined(HAVE_BACKLIGHT_PWM_FADING) | ||
20 | backlight_fade | ||
21 | #endif | ||
22 | |||
23 | #if BATTERY_TYPES_COUNT > 1 | ||
24 | battery_types | ||
25 | #endif | ||
26 | |||
27 | #if defined(HAVE_DIRCACHE) | ||
28 | dircache | ||
29 | #endif | ||
30 | |||
31 | #if defined(HAVE_FLASH_STORAGE) | ||
32 | flash_storage | ||
33 | #endif | ||
34 | |||
35 | #if defined(HAVE_HEADPHONE_DETECTION) | ||
36 | headphone_detection | ||
37 | #endif | ||
38 | |||
39 | #if defined(HAS_BUTTON_HOLD) | ||
40 | hold_button | ||
41 | #endif | ||
42 | |||
43 | #if defined(HAVE_LCD_BITMAP) | ||
44 | lcd_bitmap | ||
45 | #endif | ||
46 | |||
47 | #if defined(HAVE_LCD_CHARCELLS) | ||
48 | lcd_charcell | ||
49 | #endif | ||
50 | |||
51 | #if LCD_DEPTH > 1 | ||
52 | lcd_non-mono | ||
53 | #endif | ||
54 | |||
55 | #if defined(HAVE_LCD_COLOR) | ||
56 | lcd_color | ||
57 | #endif | ||
58 | |||
59 | #if defined(HAVE_LCD_FLIP) | ||
60 | lcd_flip | ||
61 | #endif | ||
62 | |||
63 | #if defined(HAVE_LCD_INVERT) || defined(HAVE_REMOTE_LCD) | ||
64 | lcd_invert | ||
65 | #endif | ||
66 | |||
67 | #if defined(HAVE_LCD_SLEEP) | ||
68 | lcd_sleep | ||
69 | #endif | ||
70 | |||
71 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | ||
72 | masf | ||
73 | #endif | ||
74 | |||
75 | #if (CONFIG_CODEC == MAS3507D) | ||
76 | masd | ||
77 | #endif | ||
78 | |||
79 | #if defined(HAVE_PITCHSCREEN) | ||
80 | pitchscreen | ||
81 | #endif | ||
82 | |||
83 | #if defined(HAVE_MULTIVOLUME) | ||
84 | multivolume | ||
85 | #endif | ||
86 | |||
87 | #if defined(HAVE_QUICKSCREEN) | ||
88 | quickscreen | ||
89 | #endif | ||
90 | |||
91 | #if defined(CONFIG_TUNER) | ||
92 | radio | ||
93 | #endif | ||
94 | |||
95 | #if (CONFIG_KEYPAD == RECORDER_PAD) | ||
96 | recorder_pad | ||
97 | #if defined(CONFIG_TUNER) | ||
98 | radio_screen_button_bar | ||
99 | #endif | ||
100 | #endif | ||
101 | |||
102 | #if defined(HAVE_RECORDING) | ||
103 | recording | ||
104 | #if CONFIG_CODEC == SWCODEC | ||
105 | recording_swcodec | ||
106 | #else | ||
107 | recording_hwcodec | ||
108 | #endif | ||
109 | #endif | ||
110 | |||
111 | #if defined(HAVE_REMOTE_LCD) | ||
112 | remote | ||
113 | #endif | ||
114 | |||
115 | #if defined(HAVE_REMOTE_LCD_TICKING) | ||
116 | remote_ticking | ||
117 | #endif | ||
118 | |||
119 | #if CONFIG_RTC | ||
120 | rtc | ||
121 | #endif | ||
122 | |||
123 | #if defined(HAVE_SCROLLWHEEL) | ||
124 | scrollwheel | ||
125 | #endif | ||
126 | |||
127 | #if defined(SIMULATOR) | ||
128 | sim | ||
129 | #endif | ||
130 | |||
131 | #if defined(ARCHOS_RECORDER) || defined(ARCHOS_PLAYER) | ||
132 | soft_shutdown | ||
133 | #endif | ||
134 | |||
135 | #if defined(HAVE_SPDIF_POWER) | ||
136 | spdif_power | ||
137 | #endif | ||
138 | |||
139 | #if CONFIG_CODEC == SWCODEC | ||
140 | swcodec | ||
141 | #else | ||
142 | hwcodec | ||
143 | #endif | ||
144 | |||
145 | #if defined(HAVE_TAGCACHE) | ||
146 | tagcache | ||
147 | #endif | ||
148 | |||
149 | #if defined(HAVE_TC_RAMCACHE) | ||
150 | tc_ramcache | ||
151 | #endif | ||
152 | |||
153 | #if CONFIG_CHARGING || defined(SIMULATOR) | ||
154 | charging | ||
155 | #if defined(HAVE_USB_POWER) || defined(SIMULATOR) | ||
156 | usb_charging | ||
157 | #endif | ||
158 | #endif | ||
159 | |||