From: Alexis O'C. <ale...@co...> - 2005-07-20 09:36:04
|
Looking at the stuff that was checked in yesterday at about 19/07/05 16:47 with the comment 'Localised'. (My vague understanding is that this is maybe stuff Leeds did, but Alistair checked in on their behalf, which is why I'm sending this to the list, rather than an individual) is duff. The problem is that certain calls to Facility which represent method arguments (rather than user-displayed text) have been localised. A good example is the following (original): <call> <target method="insert"><variable name="facility"/></target> <parameters> <variable name="request"/> <variable name="writer"/> <literal type="String">stylesheet</literal> <literal type="String"></literal> </parameters> </call> This is basically facility.insert(request, writer, "stylesheet", ""). It should not be changed to the following: <call> <target method="insert"><variable name="facility"/></target> <parameters> <variable name="request"/> <variable name="writer"/> <literal type="String"><localise d="page.stylesheet"/></literal> <literal type="String"></literal> </parameters> </call> This will work as expected for English. When you change the language to French, the insert() method will have no idea of what to insert when called with the argument "le sheet de style". The files that are affected are the following: tomcatadd/webapps/bodington/templates/style_default/building/main.html tomcatadd/webapps/bodington/templates/style_default/directory/consentconfirm.html tomcatadd/webapps/bodington/templates/style_default/directory/consentform.html tomcatadd/webapps/bodington/templates/style_default/floor/main.html tomcatadd/webapps/bodington/templates/style_default/mediadocument/menu.html tomcatadd/webapps/bodington/templates/style_default/password/x509check.html tomcatadd/webapps/bodington/templates/style_default/room/main.html tomcatadd/webapps/bodington/templates/style_default/site/main.html tomcatadd/webapps/bodington/templates/style_default/suite/main.html Prehaps if this was someone from Leeds, they can check this in to CVS as themselves and then we all know who to pat on the back when they've got them right ;-). -- + - - - - - - - - - - - - - - - - - - - - - - - - - - - + | Alexis O'Connor, VLE Developer (http://bodington.org) | | OUCS, 13 Banbury Road, Oxford, OX2 6NN, UK. | | Tel. +44 (0)1865 283661 | + - - - - - - - - - - - - - - - - - - - - - - - - - - - + |