summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-02-03 20:12:50 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-07-20 08:48:35 +0200
commit55eb1c54ebe33faa8b1eb8c527d5644961ca78dc (patch)
tree81b5a4f89cfc867bc73901c7cccffc89baf3c3ff /apps/lang
parent9c17734394177791d1101e31aed7537c81e610b6 (diff)
downloadrockbox-55eb1c54ebe33faa8b1eb8c527d5644961ca78dc.tar.gz
rockbox-55eb1c54ebe33faa8b1eb8c527d5644961ca78dc.zip
FS#7704 - Talk support for plugins
Original patch by Mario Lang Heavily updated by Igor Poretsky Further updated by myself This patch breaks binary API compatibility by placing the new functions where they make the most logical sense. IMO this is the better approach to take given the scope of the changes needed for talk support. Since binary API is changing, the patch also moves some other functions around to more logical locations. As well as voice support in plugins, this patch voice-enables several simple plugins. There will be follow-up patches for many plugins that build on this one. Change-Id: I18070c06e77e8a3c016c2eb6b6c5dbe6633b9b54
Diffstat (limited to 'apps/lang')
-rw-r--r--apps/lang/english.lang382
-rw-r--r--apps/lang/lang.make2
2 files changed, 380 insertions, 4 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index 265fcd6844..7a3b257429 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -1255,19 +1255,22 @@
1255</phrase> 1255</phrase>
1256<phrase> 1256<phrase>
1257 id: LANG_DITHERING 1257 id: LANG_DITHERING
1258 desc: in the sound settings menu 1258 desc: in the sound settings and some other menus
1259 user: core 1259 user: core
1260 <source> 1260 <source>
1261 *: none 1261 *: none
1262 swcodec: "Dithering" 1262 swcodec: "Dithering"
1263 lcd_bitmap: "Dithering"
1263 </source> 1264 </source>
1264 <dest> 1265 <dest>
1265 *: none 1266 *: none
1266 swcodec: "Dithering" 1267 swcodec: "Dithering"
1268 lcd_bitmap: "Dithering"
1267 </dest> 1269 </dest>
1268 <voice> 1270 <voice>
1269 *: none 1271 *: none
1270 swcodec: "Dithering" 1272 swcodec: "Dithering"
1273 lcd_bitmap: "Dithering"
1271 </voice> 1274 </voice>
1272</phrase> 1275</phrase>
1273<phrase> 1276<phrase>
@@ -8259,7 +8262,7 @@
8259 *: "Incompatible model" 8262 *: "Incompatible model"
8260 </dest> 8263 </dest>
8261 <voice> 8264 <voice>
8262 *: "" 8265 *: "Incompatible model"
8263 </voice> 8266 </voice>
8264</phrase> 8267</phrase>
8265<phrase> 8268<phrase>
@@ -8273,7 +8276,7 @@
8273 *: "Incompatible version" 8276 *: "Incompatible version"
8274 </dest> 8277 </dest>
8275 <voice> 8278 <voice>
8276 *: "" 8279 *: "Incompatible version"
8277 </voice> 8280 </voice>
8278</phrase> 8281</phrase>
8279<phrase> 8282<phrase>
@@ -8287,7 +8290,7 @@
8287 *: "Plugin returned error" 8290 *: "Plugin returned error"
8288 </dest> 8291 </dest>
8289 <voice> 8292 <voice>
8290 *: "" 8293 *: "Plugin returned error"
8291 </voice> 8294 </voice>
8292</phrase> 8295</phrase>
8293<phrase> 8296<phrase>
@@ -14051,3 +14054,374 @@
14051 pitchscreen: "Time stretch" 14054 pitchscreen: "Time stretch"
14052 </voice> 14055 </voice>
14053</phrase> 14056</phrase>
14057<phrase>
14058 id: LANG_REMOTE_CONTROL
14059 desc: Item for menus
14060 user: core
14061 <source>
14062 *: "Remote Control"
14063 </source>
14064 <dest>
14065 *: "Remote Control"
14066 </dest>
14067 <voice>
14068 *: "Remote Control"
14069 </voice>
14070</phrase>
14071<phrase>
14072 id: LANG_NO_REM_CONTROL
14073 desc: Item for menus
14074 user: core
14075 <source>
14076 *: "No Rem. Control"
14077 </source>
14078 <dest>
14079 *: "No Rem. Control"
14080 </dest>
14081 <voice>
14082 *: "No Remote Control"
14083 </voice>
14084</phrase>
14085<phrase>
14086 id: LANG_OUT_OF_CONTROL
14087 desc: Item for menus
14088 user: core
14089 <source>
14090 *: "Out of Control"
14091 </source>
14092 <dest>
14093 *: "Out of Control"
14094 </dest>
14095 <voice>
14096 *: "Out of Control"
14097 </voice>
14098</phrase>
14099<phrase>
14100 id: LANG_2_KEY_CONTROL
14101 desc: Item for menus
14102 user: core
14103 <source>
14104 *: "2 Key Control"
14105 </source>
14106 <dest>
14107 *: "2 Key Control"
14108 </dest>
14109 <voice>
14110 *: "2 Key Control"
14111 </voice>
14112</phrase>
14113<phrase>
14114 id: LANG_4_KEY_CONTROL
14115 desc: Item for menus
14116 user: core
14117 <source>
14118 *: "4 Key Control"
14119 </source>
14120 <dest>
14121 *: "4 Key Control"
14122 </dest>
14123 <voice>
14124 *: "4 Key Control"
14125 </voice>
14126</phrase>
14127<phrase>
14128 id: LANG_PLAY_WORMLET
14129 desc: For wormlet menu
14130 user: core
14131 <source>
14132 *: none
14133 lcd_bitmap: "Play Wormlet!"
14134 </source>
14135 <dest>
14136 *: none
14137 lcd_bitmap: "Play Wormlet!"
14138 </dest>
14139 <voice>
14140 *: none
14141 lcd_bitmap: "Play Wormlet!"
14142 </voice>
14143</phrase>
14144<phrase>
14145 id: LANG_NUMBER_OF_WORMS
14146 desc: For wormlet menu
14147 user: core
14148 <source>
14149 *: none
14150 lcd_bitmap: "Number of Worms"
14151 </source>
14152 <dest>
14153 *: none
14154 lcd_bitmap: "Number of Worms"
14155 </dest>
14156 <voice>
14157 *: none
14158 lcd_bitmap: "Number of Worms"
14159 </voice>
14160</phrase>
14161<phrase>
14162 id: LANG_WORM_GROWTH_PER_FOOD
14163 desc: For wormlet menu
14164 user: core
14165 <source>
14166 *: none
14167 lcd_bitmap: "Worm Growth Per Food"
14168 </source>
14169 <dest>
14170 *: none
14171 lcd_bitmap: "Worm Growth Per Food"
14172 </dest>
14173 <voice>
14174 *: none
14175 lcd_bitmap: "Worm Growth Per Food"
14176 </voice>
14177</phrase>
14178<phrase>
14179 id: LANG_WORM_SPEED
14180 desc: For wormlet menu
14181 user: core
14182 <source>
14183 *: none
14184 lcd_bitmap: "Worm Speed"
14185 </source>
14186 <dest>
14187 *: none
14188 lcd_bitmap: "Worm Speed"
14189 </dest>
14190 <voice>
14191 *: none
14192 lcd_bitmap: "Worm Speed"
14193 </voice>
14194</phrase>
14195<phrase>
14196 id: LANG_ARGHS_PER_FOOD
14197 desc: For wormlet menu
14198 user: core
14199 <source>
14200 *: none
14201 lcd_bitmap: "Arghs Per Food"
14202 </source>
14203 <dest>
14204 *: none
14205 lcd_bitmap: "Arghs Per Food"
14206 </dest>
14207 <voice>
14208 *: none
14209 lcd_bitmap: "Arghs Per Food"
14210 </voice>
14211</phrase>
14212<phrase>
14213 id: LANG_ARGH_SIZE
14214 desc: For wormlet menu
14215 user: core
14216 <source>
14217 *: none
14218 lcd_bitmap: "Argh Size"
14219 </source>
14220 <dest>
14221 *: none
14222 lcd_bitmap: "Argh Size"
14223 </dest>
14224 <voice>
14225 *: none
14226 lcd_bitmap: "Argh Size"
14227 </voice>
14228</phrase>
14229<phrase>
14230 id: LANG_FOOD_SIZE
14231 desc: For wormlet menu
14232 user: core
14233 <source>
14234 *: none
14235 lcd_bitmap: "Food Size"
14236 </source>
14237 <dest>
14238 *: none
14239 lcd_bitmap: "Food Size"
14240 </dest>
14241 <voice>
14242 *: none
14243 lcd_bitmap: "Food Size"
14244 </voice>
14245</phrase>
14246<phrase>
14247 id: LANG_NUMBER_OF_PLAYERS
14248 desc: For game menus
14249 user: core
14250 <source>
14251 *: "Number of Players"
14252 </source>
14253 <dest>
14254 *: "Number of Players"
14255 </dest>
14256 <voice>
14257 *: "Number of Players"
14258 </voice>
14259</phrase>
14260<phrase>
14261 id: LANG_CONTROL_STYLE
14262 desc: In various menus
14263 user: core
14264 <source>
14265 *: "Control Style"
14266 </source>
14267 <dest>
14268 *: "Control Style"
14269 </dest>
14270 <voice>
14271 *: "Control Style"
14272 </voice>
14273</phrase>
14274<phrase>
14275 id: LANG_REVERT_TO_DEFAULT_SETTINGS
14276 desc: In various menus
14277 user: core
14278 <source>
14279 *: "Revert to Default Settings"
14280 </source>
14281 <dest>
14282 *: "Revert to Default Settings"
14283 </dest>
14284 <voice>
14285 *: "Revert to Default Settings"
14286 </voice>
14287</phrase>
14288<phrase>
14289 id: LANG_MENU_QUIT
14290 desc: in various menus
14291 user: core
14292 <source>
14293 *: "Quit"
14294 </source>
14295 <dest>
14296 *: "Quit"
14297 </dest>
14298 <voice>
14299 *: "Quit"
14300 </voice>
14301</phrase>
14302<phrase>
14303 id: LANG_MENU_DISPLAY_OPTIONS
14304 desc: in various menus
14305 user: core
14306 <source>
14307 *: "Display Options"
14308 </source>
14309 <dest>
14310 *: "Display Options"
14311 </dest>
14312 <voice>
14313 *: "Display Options"
14314 </voice>
14315</phrase>
14316<phrase>
14317 id: LANG_PREVTRACK
14318 desc: in playback control menu
14319 user: core
14320 <source>
14321 *: "Previous Track"
14322 </source>
14323 <dest>
14324 *: "Previous Track"
14325 </dest>
14326 <voice>
14327 *: "Previous Track"
14328 </voice>
14329</phrase>
14330<phrase>
14331 id: LANG_PLAYPAUSE
14332 desc: in playback control menu
14333 user: core
14334 <source>
14335 *: "Pause / Play"
14336 </source>
14337 <dest>
14338 *: "Pause / Play"
14339 </dest>
14340 <voice>
14341 *: "Pause / Play"
14342 </voice>
14343</phrase>
14344<phrase>
14345 id: LANG_STOP_PLAYBACK
14346 desc: in playback control menu
14347 user: core
14348 <source>
14349 *: "Stop Playback"
14350 </source>
14351 <dest>
14352 *: "Stop Playback"
14353 </dest>
14354 <voice>
14355 *: "Stop Playback"
14356 </voice>
14357</phrase>
14358<phrase>
14359 id: LANG_NEXTTRACK
14360 desc: in playback control menu
14361 user: core
14362 <source>
14363 *: "Next Track"
14364 </source>
14365 <dest>
14366 *: "Next Track"
14367 </dest>
14368 <voice>
14369 *: "Next Track"
14370 </voice>
14371</phrase>
14372<phrase>
14373 id: LANG_CHANGE_VOLUME
14374 desc: in playback control menu
14375 user: core
14376 <source>
14377 *: "Change Volume"
14378 </source>
14379 <dest>
14380 *: "Change Volume"
14381 </dest>
14382 <voice>
14383 *: "Change Volume"
14384 </voice>
14385</phrase>
14386<phrase>
14387 id: LANG_CHANGE_SHUFFLE_MODE
14388 desc: in playback control menu
14389 user: core
14390 <source>
14391 *: "Shuffle Mode"
14392 </source>
14393 <dest>
14394 *: "Shuffle Mode"
14395 </dest>
14396 <voice>
14397 *: "Shuffle Mode"
14398 </voice>
14399</phrase>
14400<phrase>
14401 id: LANG_CHANGE_REPEAT_MODE
14402 desc: in playback control menu
14403 user: core
14404 <source>
14405 *: "Change Repeat Mode"
14406 </source>
14407 <dest>
14408 *: "Change Repeat Mode"
14409 </dest>
14410 <voice>
14411 *: "Change Repeat Mode"
14412 </voice>
14413</phrase>
14414<phrase>
14415 id: LANG_PLAYBACK_CONTROL
14416 desc: in playback control menu
14417 user: core
14418 <source>
14419 *: "Playback Control"
14420 </source>
14421 <dest>
14422 *: "Playback Control"
14423 </dest>
14424 <voice>
14425 *: "Playback Control"
14426 </voice>
14427</phrase>
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index cee2456b5d..ee01c5742a 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -42,6 +42,8 @@ $(BUILDDIR)/lang/lang.h: $(APPSDIR)/lang/$(LANGUAGE).lang $(BUILDDIR)/apps/featu
42 perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $< 42 perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $<
43$(BUILDDIR)/lang/lang_core.c: $(BUILDDIR)/lang/lang.h 43$(BUILDDIR)/lang/lang_core.c: $(BUILDDIR)/lang/lang.h
44 44
45$(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h
46
45# NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express 47# NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express
46# the fact that the two files are created as the result of one invocation of the rule 48# the fact that the two files are created as the result of one invocation of the rule
47$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features 49$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features