Hello Juca,
thank you for your eyes. ;-) I retrieved the list of languages by ls command and the special versions came before the general.
the function _ui_languages.init( "/ui/language", languages, langValues, G_N_ELEMENTS(languages), languages[0]); initiates the combo box. Where languages[0] gives the default value for the caption. This is then _("System default")
I modified the combo box widget to also handle pairs of string:string in addition to string:integer.
HTH and thank you again,
Adib. ---
On Tue, Jan 6, 2009 at 12:49 AM, Felipe Sanches <felipe.sanches@...400...> wrote:
I have fixed a bug in this feature. Some language labels where not matching with their respective langcodes: pt, pt_BR, sr, sr@...1894..., es and es_MX where wrong. Also, I would like to ask whether the correct default value shouldnt be "" (that is, langValues[0]) instead of languages[0] (which is _("System default")).
Juca
On Mon, Jan 5, 2009 at 9:27 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2009/1/5 the Adib wrote:
Done. Moved to the "Interface" page. Revision 20459. Adib.
Thanks heaps!
[shameless plug]
While at that, would somebody possibly give a shot to https://bugs.launchpad.net/inkscape/+bug/259480 ?
[/shameless plug]
Alexandre
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel