[GRASS-dev] i18N guisection bug

Markus Neteler neteler at itc.it
Wed Oct 17 14:53:58 EDT 2007

We discovered that both 6.2 and 6.3 fail in DE locale when starting
for example g.region:

bad window path name ".nb.fGebe_für_Shell-Skript-Weiterverwendung_aus."
bad window path name ".nb.fGebe_für_Shell-Skript-Weiterverwendung_aus."
    while executing
"winfo reqwidth  $path.f$page"
    (procedure "compute_size" line 9)
    invoked from within
"compute_size $path"
    (procedure "NoteBook::_realize" line 7)
    invoked from within
"NoteBook::_realize .nb"
    (command bound to event)

The related .po file contains:

msgid "Print;Shell Script"
msgstr "Gebe für Shell-Skript-Weiterverwendung aus."

and the source code:

        flag.gprint = G_define_flag();
        flag.gprint->key         = 'g';
        flag.gprint->description = _("Print in shell script style");
        flag.gprint->guisection  = _("Print;Shell Script");

- is it correct to apply _() gettext macros to >guisection?
- if so, how to avoid this bug with accented characters/umlauts?

This potentially affects many modules.
View this message in context: http://www.nabble.com/i18N-guisection-bug-tf4642555.html#a13260519
Sent from the Grass - Dev mailing list archive at Nabble.com.

More information about the grass-dev mailing list