[GRASS-SVN] r29704 - grass/trunk/gui/tcltk/gis.m
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 13 18:12:36 EST 2008
Author: cdavilam
Date: 2008-01-13 18:12:36 -0500 (Sun, 13 Jan 2008)
New Revision: 29704
Modified:
grass/trunk/gui/tcltk/gis.m/mapcanvas.tcl
Log:
Patched to solve error causing some strings not extracted for
internationalization (thanks to Maris Nartiss)
Modified: grass/trunk/gui/tcltk/gis.m/mapcanvas.tcl
===================================================================
--- grass/trunk/gui/tcltk/gis.m/mapcanvas.tcl 2008-01-13 22:59:44 UTC (rev 29703)
+++ grass/trunk/gui/tcltk/gis.m/mapcanvas.tcl 2008-01-13 23:12:36 UTC (rev 29704)
@@ -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
More information about the grass-commit
mailing list