|
Rockbox mail archiveSubject: RE: [PATCH] french translationsRE: [PATCH] french translations
From: Olivier BUTLER <obutler_at_unim.fr.memec.com>
Date: Mon, 16 Sep 2002 11:30:12 +0200 is the way to manage CONST strings have been decided ? - pointers ? - compile-time option ? - ....... Olivier -----Message d'origine----- De : Eric Lassauge [mailto:eric.lassauge_at_g2i.com] Envoyé : lundi 16 septembre 2002 11:00 À : rockbox_at_cool.haxx.se Objet : [PATCH] french translations Hi everybody, you'll find included a quick and dirty hack for translating all strings in rockbox. I created an ugly macro for all strings (the famous _() function) with an item for each language (for example _("parameters","parametres") ) and a define to select the string at compile time. It can certainly be better: - use runtime strings (aka port a simplified GNU gettext) - use better pre-processing (aka like GNU gettext but on compile time) ... but it works (at least for me on a Jukebox 6000 player) Feel free to send me comments French web page at http://lassauge.free.fr/rockbox/ -- +-----------------------------------------------+ | Eric Lassauge <lassauge_at_mail.dotcom.fr> | | http://lassauge.free.fr/ | +-----------------------------------------------+ | TRASYS G2I - Responsable Pôle Logiciel Bord | | <eric.lassauge_at_g2i.com> | | Tél. : 05.61.00.92.60 - Fax. : 05.61.39.17.65 | +-----------------------------------------------+ | GIE ADELE - Responsable Technique | | eric.lassauge_at_gieadele.com | +-----------------------------------------------+ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________Received on 2002-09-16 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |