[GRASS-SVN] r44884 -
grass/branches/develbranch_6/visualization/nviz/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 5 12:57:09 EST 2011
Author: marisn
Date: 2011-01-05 09:57:09 -0800 (Wed, 05 Jan 2011)
New Revision: 44884
Modified:
grass/branches/develbranch_6/visualization/nviz/scripts/site_attr.tcl
Log:
NVIZ: Fix bogous localized string formating
Modified: grass/branches/develbranch_6/visualization/nviz/scripts/site_attr.tcl
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/scripts/site_attr.tcl 2011-01-05 17:14:24 UTC (rev 44883)
+++ grass/branches/develbranch_6/visualization/nviz/scripts/site_attr.tcl 2011-01-05 17:57:09 UTC (rev 44884)
@@ -1849,7 +1849,7 @@
"size" {set st_att [Nsite_attr_get_value "ST_ATT_SIZE"]}
"color" {set st_att [Nsite_attr_get_value "ST_ATT_COLOR"]}
"marker" {set st_att [Nsite_attr_get_value "ST_ATT_MARKER"]}
- default {puts "WARNING: Unknown attribute %s!", $_attr]; return $ret_list}
+ default {puts [format [G_msg "WARNING: Unknown attribute %s!"] $_attr]; return $ret_list}
}
for {set nattr 0} {$nattr < $max} {incr nattr} {
More information about the grass-commit
mailing list