Skip to content

Commit

Permalink
Multilanguage support in Engine and Wizard
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@352 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
torinfo committed May 26, 2012
1 parent ec36a58 commit dde34c9
Show file tree
Hide file tree
Showing 7 changed files with 1,151 additions and 1,125 deletions.
Binary file modified MainPreloader.swf
Binary file not shown.
1 change: 0 additions & 1 deletion languages/wizard_en-GB.xml
Expand Up @@ -24,7 +24,6 @@
<btnMoveDown tooltip="Move Down"/>
<btnNext tooltip="Next Item"/>
<btnPreview label="Play" tooltip="Preview"/>
<btnSave tooltip="Save File"/>
<btnPrev tooltip="Previous Item"/>
<icDelete tooltip="Delete" prompt="Delete the item?"/>
<addProp label="Add" />
Expand Down
3 changes: 1 addition & 2 deletions languages/wizard_nl-NL.xml
@@ -1,6 +1,6 @@
<language name="Nederlands" code="nl-nl">
<btnSaveXerte label="Opslaan" tooltip="Project Opslaan" description="Opslaan Knop"/>
<btnPublishXot label="Publiceer" description="Publiceer Knop"/>
<btnPublishXot label="Publiceer" tooltip="Publiceer Project" description="Publiceer Knop"/>
<popupFileUpload title="Bestand kiezen" cancelLabel="Annuleren"/>
<browseImportFile title="Selecteer bestand om te importeren...">
<dialogFilter>Alle Bestanden|*.*|JPG|*.jpg|PNG|*.png|SWF Bestanden|*.swf|Geluidsbestanden|*.mp3|Video|*.flv</dialogFilter>
Expand All @@ -24,7 +24,6 @@
<btnMoveDown tooltip="Verplaats naar beneden"/>
<btnNext tooltip="Volgende item"/>
<btnPreview label="Toon" tooltip="Voorvertoning"/>
<btnSave tooltip="Sla bestand op"/>
<btnPrev tooltip="Vorige item"/>
<icDelete tooltip="Verwijder" prompt="Verwijder dit item?"/>
<addProp label="Voeg in" />
Expand Down
14 changes: 8 additions & 6 deletions modules/xerte/edit.php
@@ -1,6 +1,6 @@
<?php
<?php
/**
*
*
* duplicate page, allows the site to edit a xerte module
*
* @author Patrick Lockley
Expand All @@ -11,7 +11,7 @@


/**
*
*
* Function create folder loop
* This function outputs the xerte editor code
* @param array $row_edit - the mysql query for this folder
Expand Down Expand Up @@ -99,7 +99,7 @@ function bunload(){

template = "<?PHP echo $row_edit['template_id']; ?>";

window_reference.edit_window_close(path,template);
window_reference.edit_window_close(path,template);

}

Expand All @@ -119,8 +119,8 @@ function receive_picture(url){
<img src="website_code/images/edit_xerteLogo.jpg" style="margin-left:10px; float:left" />
<a style="color:#000; font-size:65%" href="javascript:window.moveTo(0,0);window.resizeTo(screen.width,screen.height);"><?PHP echo XERTE_EDIT_MAXIMISE; ?></a>
<img src="website_code/images/edit_UofNLogo.jpg" style="margin-right:10px; float:right" />
</div>
</div>
</div>
</div>
<center>
<div id="flashcontent" style="margin:0 auto">
This text is replaced by the Flash movie.
Expand All @@ -138,6 +138,8 @@ function receive_picture(url){
echo "\n";
echo "so.addVariable(\"rlovariable\", \"$string_for_flash_media\");";
echo "\n";
echo "so.addVariable(\"languagecodevariable\", \"" . $_SESSION['default_language'] . "\");";
echo "\n";
echo "so.addVariable(\"originalpathvariable\", \"$string_for_flash_xwd\");";
echo "\n";
echo "so.addVariable(\"template_id\", \"" . $row_edit['template_id'] . "\");";
Expand Down
Binary file modified modules/xerte/engine/wizard.swf
Binary file not shown.
Binary file modified modules/xerte/export/MainPreloader.swf
Binary file not shown.
2,258 changes: 1,142 additions & 1,116 deletions modules/xerte/parent_templates/Nottingham/data.xwd

Large diffs are not rendered by default.

0 comments on commit dde34c9

Please sign in to comment.