On Sat, Jan 24, 2009 at 6:14 PM, Massimo Maiurana <[email protected]> wrote: > in the modules configuration dialog the modules are grouped in > categories, and these categories are defined in the array in line 39 > of e/src/bin/e_int_config_modules.c. > N_() is used for internazionalization, but unfortunately those > strings are always in english in the configuration dialog, whatever > locale you set. > > by reading this page: > http://www.gnu.org/software/automake/manual/gettext/Special-cases.html#Special-cases > it looks like one should use the gettext() function later when he > walks the array in order to get those strings actually translated, > but as I have no idea on how to use it in the code, could someone > please take a look at it?
Just use _() around the variable holding the string when it gets used, like with any other normal string. > > thanks in advance :) > > -- > Massimo Maiurana massimo<at>ragusa.linux.it > http://massimo.solira.org GPG keyID #7044D601 > > Articolo 33 - [...]Enti e privati hanno il diritto di istituire > scuole ed istituti di educazione, senza oneri per lo Stato.[...] > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
