Hi Markus, Carlos.
Sorry for not understanding problem at first.
This problem was laughting in our face all time - that string is
incorrect and thus can not be extracted from source. Attached patch
fixes problem.
WBR,
Maris.
2008/1/13, Markus Neteler <[EMAIL PROTECTED]>:
> Maris,
>
> the problem is that they don't appear in the po files/template.
>
> Markus
>
> On Jan 13, 2008 12:13 PM, Maris Nartiss <[EMAIL PROTECTED]> wrote:
> > They are already marked for translation.
> > At
> http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/gui/tcltk/gis.m/mapcanvas.tcl?rev=29624&root=grass-osgeo&view=markup
> > look for: [G_msg " --segment length = $out_seg\n"]
> >
> > Maris.
> >
> > 2008/1/13, Carlos Dávila <[EMAIL PROTECTED]>:
> >
> > > Hello all
> > > I would like to add "--segment length" and "cumulative length" strings
> > > from /gui/tcltk/gis.m/mapcanvas.tcl to po files. I've been checking
> code
> > > and testing, trying to guess how to add them, but I didn't succeed.
> > > Could you help me with this?
> > > Regards
> > > Carlos
> > >
> > >
> > > _______________________________________________
> > > grass-dev mailing list
> > > [email protected]
> > > http://lists.osgeo.org/mailman/listinfo/grass-dev
> > >
> >
> > _______________________________________________
> > grass-dev mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
> >
>
>
>
> --
> Open Source Geospatial Foundation
> http://www.osgeo.org/
> http://www.grassbook.org/
>
Index: gui/tcltk/gis.m/mapcanvas.tcl
===================================================================
--- gui/tcltk/gis.m/mapcanvas.tcl (revision 29676)
+++ gui/tcltk/gis.m/mapcanvas.tcl (working copy)
@@ -1058,8 +1058,8 @@
set ewres [lindex $region 5]
if { $nsres == $ewres } {
- set MapCanvas::regionstr [format [G_msg "Display: rows=%d columns=%d resolution=%g $mapunits"] \
- $rows $cols $nsres]
+ set MapCanvas::regionstr [format [G_msg "Display: rows=%d columns=%d resolution=%g %s"] \
+ $rows $cols $nsres $mapunits]
} else {
set MapCanvas::regionstr [format [G_msg "Display: rows=%d cols=%d N-S res=%g E-W res=%g"] \
$rows $cols $nsres $ewres]
@@ -1684,9 +1684,9 @@
monitor_annotate $measurement_annotation_handle \
- [G_msg " --segment length = $out_seg\n"]
+ [format [G_msg " --segment length = %s\n"] $out_seg]
monitor_annotate $measurement_annotation_handle \
- [G_msg "cumulative length = $out_tot\n"]
+ [format [G_msg "cumulative length = %s\n"] $out_tot]
set linex1 $linex2
set liney1 $liney2
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev