[GRASS-SVN] r46362 - grass/trunk
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 22 09:11:19 EDT 2011
Author: martinl
Date: 2011-05-22 06:11:18 -0700 (Sun, 22 May 2011)
New Revision: 46362
Modified:
grass/trunk/SUBMITTING_PYTHON
Log:
use full strings in wxGUI
Modified: grass/trunk/SUBMITTING_PYTHON
===================================================================
--- grass/trunk/SUBMITTING_PYTHON 2011-05-22 13:10:37 UTC (rev 46361)
+++ grass/trunk/SUBMITTING_PYTHON 2011-05-22 13:11:18 UTC (rev 46362)
@@ -171,6 +171,19 @@
- use gcmd.RunCommand() instead of grass.run_command() or grass.read_command()
+ - use full strings, eg.
+
+ if ...:
+ win.SetLabel(_('Name for new 3D raster map to create'))
+ else:
+ win.SetLabel(_('Name for new raster map to create'))
+
+ instead of
+
+ _('Name for new %s to create') % maplabel
+
+ where `maplabel` can be 'raster map' or '3D raster map'
+
14. Tell the other developers about the new code using the following e-mail:
grass-dev at lists.osgeo.org
More information about the grass-commit
mailing list