Changes between Version 3 and Version 4 of Submitting/Python
- Timestamp:
- 06/11/14 20:38:39 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Submitting/Python
v3 v4 152 152 #!python 153 153 #normal message: 154 grass.message( "Done")154 grass.message(_("Done")) 155 155 156 156 # warning: 157 grass.warning("No input values found, using default values")157 grass.warning(_("No input values found, using default values")) 158 158 159 159 # error: 160 grass.error("No map found")160 grass.error(_("No map found")) 161 161 162 162 # fatal error: … … 164 164 165 165 # debug output (use g.gisenv to enable/disable) 166 grass.debug("Our calculated value is: %d" % value)166 grass.debug(_("Our calculated value is: %d" % value)) 167 167 }}} 168 168