Changes between Version 13 and Version 14 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 06/22/10 21:12:16 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v13 v14 25 25 == Internationalisation == 26 26 27 * All user-visib be strings should be Internationalised: {{{T("My string")}}}27 * All user-visible strings should be Internationalised: {{{T("My string")}}} 28 28 * Remember to {{{str()}}} them before concatenating with strings (such as HTML tags): {{{"<p>" + str(T("My String")) + "</p>"}}} 29 29 * All labels should be Internationalised in {{{controllers/module.py def resource()}}}: {{{table.field.label = T("My Label")}}}