Changes between Version 3 and Version 4 of Submitting/Python


Ignore:
Timestamp:
06/11/14 20:38:39 (11 years ago)
Author:
annakrat
Comment:

formatting

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Python

    v3 v4  
    152152#!python
    153153#normal message:
    154 grass.message("Done")
     154grass.message(_("Done"))
    155155
    156156# warning:
    157     grass.warning("No input values found, using default values")
     157grass.warning(_("No input values found, using default values"))
    158158
    159159# error:
    160     grass.error("No map found")
     160grass.error(_("No map found"))
    161161
    162162# fatal error:
     
    164164
    165165# debug output (use g.gisenv to enable/disable)
    166     grass.debug("Our calculated value is: %d" % value)
     166grass.debug(_("Our calculated value is: %d" % value))
    167167}}}
    168168