This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7966 - Incorrect menu captions in playback control menu (always 'Yes')
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Monday, 15 October 2007, 21:41 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 20 October 2007, 23:56 GMT+2
Opened by Bertrik Sikken (bertrik) - Monday, 15 October 2007, 21:41 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 20 October 2007, 23:56 GMT+2
|
DetailsSetup:
* Sansa e260 with r15122 How to reproduce: * Start a game plugin that has an 'Audio Playback' menu, e.g. sokoban or solitaire. * Enter the Audio Playback menu and select either 'Change Volume', 'Enable/disable shuffle' or 'Change repeat mode': menu caption of sub-menu is always 'Yes'. Analysis: * the last argument in all function api->option_screen callbacks (title) is NULL. * 'Yes' is the text for language id 0. |
This task depends upon
Closed by Nils Wallménius (nls)
Saturday, 20 October 2007, 23:56 GMT+2
Reason for closing: Accepted
Saturday, 20 October 2007, 23:56 GMT+2
Reason for closing: Accepted
Here's a simple patch that fixes it. It doesn't do internationalisation though, I get compile errors when I try to #include lang.h
It turns out that plugins don't support internationalisation (yet), so I think using literal strings is a valid way to solve the problem.