[Xerte-dev] Re: Wizard Language FIles

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Feb 1 10:45:16 GMT 2013


NO worries. The files are also missing the 'Cancel' prompt for the button that shows during media upload.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 01 February 2013 10:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Wizard Language FIles

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<mailto: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/b05bf57d/attachment-0001.html>


More information about the Xerte-dev mailing list