Browse Source

use full strings in wxGUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46362 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
4e5ba813ad
1 changed files with 13 additions and 0 deletions
  1. 13 0
      SUBMITTING_PYTHON

+ 13 - 0
SUBMITTING_PYTHON

@@ -171,6 +171,19 @@ COPYRIGHT: (C) 2007 John Doe, and by the GRASS Development Team
 
     - 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@lists.osgeo.org