[Xerte-dev] Re: Wizard Language FIles

Tom Reijnders reijnders at tor.nl
Fri Feb 1 10:42:52 GMT 2013


Oops, sorry Julian, my mistake. They should have been in the 
wizard_en-GB.xml file. I apparently forgot to commit those.

Committed.
(and included)

Op 1-2-2013 10:29, Julian Tenney schreef:
>
> To add, in the wizard code I see this:
>
> Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0];
>
> Alert.noLabel = wizard.languageData.Alert[0].nolabel[0];
>
> Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], 
> wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], 
> Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES);
>
>                 } else {
>
> Alert.okLabel = wizard.languageData.Alert[0].oklabel[0];
>
> Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], 
> wizard.languageData.Alert[0].deletenode[0].error[0].title[0]);
>
> The wizard is loading language from /languages/wizard_en-GB.xml
>
> That file does not contain anything the code above can use.
>
> Do I have the right file?
>
> I've added language data to it and it works now, so I think I've done 
> it right, but unsure why it was missing in the first place.
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130201/c3c327fd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wizard_en-GB.xml
Type: text/xml
Size: 4308 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130201/c3c327fd/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wizard_nl-NL.xml
Type: text/xml
Size: 4658 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130201/c3c327fd/attachment-0001.xml>


More information about the Xerte-dev mailing list