[GRASS-dev] i18N guisection bug
Maris Nartiss
maris.gis at gmail.com
Wed Oct 17 17:17:07 EDT 2007
Hi,
it comes from wrong regexp in gui.tcl file. Attached patch fixes problem.
Maris.
2007/10/17, Markus Neteler <neteler at itc.it>:
>
> 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:
>
> general/g.region/cmd/main.c:136
> 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");
>
> Questions:
> - 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.
> ?
> Markus
> --
> 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.
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui.regexp.patch
Type: text/x-diff
Size: 653 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20071018/5d3f0bf9/gui.regexp.bin
More information about the grass-dev
mailing list