Changes between Version 124 and Version 125 of Event/2011/GCI


Ignore:
Timestamp:
12/14/11 10:53:17 (13 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Event/2011/GCI

    v124 v125  
    353353  {{{T("The item %(item)s is not available in %(place)s.") % {"item": item, "place": location.name}}}}[[br]]
    354354  This is better because the word order is not the same in all languages -- in the second form, the translator can move where the variables are inserted.
    355 * Identify any strings that have not been wrapped in T()
    356  * Note: Not all strings need to be localized, and some definitely should not be:
    357   * Strings that are used as keys in dicts, e.g. `{"this_is_a_key": 5}`, should not be localized.
    358   * A string that is intended to be in one specific language should not be localized (e.g. the Language names in the Language selector in {{{deployment-templates/models/000_config.py}}}).
     355* Look at strings that have not been wrapped in {{{T( )}}} to see if they ought to be. But be cautious: Not all strings need to be localized, and some definitely should not be:
     356 * Strings that are used as keys in dicts, e.g. `{"this_is_a_key": 5}`, should not be localized.
     357 * A string that is intended to be in one specific language should not be localized (e.g. the Language names in the Language selector in {{{deployment-templates/models/000_config.py}}}).
    359358* Consider improving consistency of wording / terminology - don't use different strings that mean the same thing, e.g. if there is {{{T("My name is")}}} in one place, avoid using {{{T("I am called")}}} somewhere else.
    360359