Markus Neteler wrote:

> 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?

I don't think so. If it's being used for Tk window names, it shouldn't
be localised. If it's also being used for tab titles, the titles
should be localised within the GUI code with G_msg.

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to