From: Alexis O'C. <ale...@co...> - 2005-07-27 16:24:38
|
I've just checked in to bodington HEAD updates and modifications to templates and their corresponding resource files, which should leverage a single property to describe the institutional system name, e.g. Bodington, CLAN, WebLearn. This property is called 'institutional.system.name' and is specified in res/generic/template_sites_*.properties. Where appropriate, I also inserted line-breaks into multi-line statements (via use of the magic '\' character) and gave property names more meaningful values. It's probably good if you can get the gist of what a template does without needing the corresponding resource file. Obviously this can wait for another day ( ;-) ), but the use of a 'institutional.system.name' property really requires "compound messages". Different languages may require this name to be at either the front, or at the back. The value within the resource file needs to be itself referring to another parameterized property (the system name). The following links describe this better than I can at present!: http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html http://java.sun.com/j2se/5.0/docs/api/java/text/MessageFormat.html -- + - - - - - - - - - - - - - - - - - - - - - - - - - - - + | Alexis O'Connor, VLE Developer (http://bodington.org) | | OUCS, 13 Banbury Road, Oxford, OX2 6NN, UK. | | Tel. +44 (0)1865 283661 | + - - - - - - - - - - - - - - - - - - - - - - - - - - - + |