[Xerte-dev] Re: Wizard Language FIles

Tom Reijnders reijnders at tor.nl
Fri Feb 1 10:59:38 GMT 2013


This is in there, correct?

<importMedia>
         <filters>
             <allfiles>All Files (*.*)</allfiles>
             <images>Images (*.jpg, *.jpeg, *.png)</images>
             <flash>Flash Files (*.swf)</flash>
             <sound>Sound Files (*.mp3)</sound>
             <video>Video Files (*.flv)</video>
         </filters>
         <title>Select file to import...</title>
         <filter>All Files|*.*|JPG|*.jpg|PNG|*.png|SWF 
Files|*.swf|Sounds|*.mp3|Video|*.flv</filter>
         <btnimport>Import</btnimport>
         <btncancel>Cancel</btncancel>
         <fileexists>
             <prompt>The file {f} already exists.\r\rOverwrite this 
file?</prompt>
             <title>Confirm</title>
         </fileexists>
     </importMedia>


I'll check the flash code to see whether I made a mistake there.

Tom

Op 1-2-2013 11:45, Julian Tenney schreef:
>
> 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
>   
>
>
>
>
>
> _______________________________________________
> 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/2cd7cdda/attachment-0001.html>


More information about the Xerte-dev mailing list