Changes between Version 16 and Version 17 of Submitting/Python


Ignore:
Timestamp:
01/26/16 02:18:55 (9 years ago)
Author:
marisn
Comment:

How to add comments for translators

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Python

    v16 v17  
    252252}}}
    253253
     254Sometimes the string might have different translation depending on the context (is it a verb or a noun? matching ending of a word for particular gender; etc).
     255To help translators, it is suggested to add a comment explaining the context of string.
     256The comment must start with GTC keyword and must be on a line before string:
     257{{{
     258#!python
     259self.bwizard = wx.Button(...,
     260    # GTC New location
     261    label = _("N&ew"))
     262
     263# GTC %s will be replaced with name of current shell
     264grass.message(_("Running through %s") % shellname)
     265}}}
     266
     267See also locale/README for more information on translation process and related issues.
     268
    254269== Documentation and comments ==
    255270