Changes between Version 12 and Version 13 of DeveloperGuidelines/CodeConventions


Ignore:
Timestamp:
06/16/10 10:25:16 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/CodeConventions

    v12 v13  
    2323 * All files, classes and functions should have docstrings which allow to auto-generate API documentation using [http://epydoc.sourceforge.net epydoc]
    2424
     25== Internationalisation ==
     26
     27 * All user-visibbe strings should be Internationalised: {{{T("My string")}}}
     28  * Remember to {{{str()}}} them before concatenating with strings (such as HTML tags): {{{"<p>" + str(T("My String")) + "</p>"}}}
     29 * All labels should be Internationalised in {{{controllers/module.py def resource()}}}: {{{table.field.label = T("My Label")}}}
     30 * DeveloperGuidelinesInternationalisation
     31
    2532== Tools ==
    2633