Changes between Version 12 and Version 13 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 06/16/10 10:25:16 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v12 v13 23 23 * All files, classes and functions should have docstrings which allow to auto-generate API documentation using [http://epydoc.sourceforge.net epydoc] 24 24 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 25 32 == Tools == 26 33