[Phoenix-commits] rev 19322 - in public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome: content locale/de locale/en locale/es locale/fr locale/ku locale/tr locale/xml

andi at wyona.com andi at wyona.com
Thu Oct 12 00:03:03 CEST 2006


Author: andi
Date: 2006-10-12 00:03:01 +0200 (Thu, 12 Oct 2006)
New Revision: 19322

Added:
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.js
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.xul
Modified:
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.js
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.xul
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.js
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.xul
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/sitetree.js
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/editor.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/editor.dtd.xml
Log:
Furhtered the "save document to CMS as" implementation.
Added error reporting to the sitetree in case the root node fails to load.


Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.js
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.js	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.js	2006-10-11 22:03:01 UTC (rev 19322)
@@ -513,15 +513,36 @@
      * @return {Boolean} return true on success, false otherwise
      */
     saveAsToCMS: function () {
-        var serverURI = null;
-        var targetURI = null;
+        var ioService       = null;
+        var serverURIString = null;
+        var serverURI       = null;
+        var targetURI       = null;
 
         /* DEBUG */ dump("Yulup:editor.js:Editor.saveAsToCMS() invoked\n");
 
         //throw new YulupEditorException("Yulup:editor.js:Editor.saveAsToCMS: method not implemented.");
 
         // query for server address
+        serverURIString = ServerURIPrompt.showServerURIDialog();
 
+        if (!serverURIString || serverURIString == "") {
+            return false;
+        }
+
+        ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
+
+        try {
+            serverURI = ioService.newURI(serverURIString, null, null);
+        } catch (exception) {
+            /* DEBUG */ dump("Yulup:editor.js:Editor.saveAsToCMS: server URI \"" + serverURIString + "\" is not a valid URI: " + exception.toString() + "\n");
+            /* DEBUG */ YulupDebug.dumpExceptionToConsole("Yulup:editor.js:Editor.saveAsToCMS", exception);
+
+            // TODO: i18n
+            alert("The entered URI \"" + serverURIString + "\" is not a valid URI.");
+
+            return false;
+        }
+
         // show document upload dialog
         targetURI = ResourceUploadDialog.showDocumentUploadDialog(serverURI, gEditorController.document.getDocumentName());
 
@@ -529,6 +550,9 @@
             // retarget the document to selected URI
             gEditorController.document.retargetTo(targetURI);
 
+            // determine content type
+            
+
             try {
                 gEditorController.document.uploadDocument(gEditorController.model.getDocument(), Editor.documentUploadFinished);
             } catch (exception) {

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.xul
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.xul	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/editor.xul	2006-10-11 22:03:01 UTC (rev 19322)
@@ -81,6 +81,8 @@
           src="chrome://yulup/content/resourceupload.js"/>
   <script type="application/x-javascript"
           src="chrome://yulup/content/progressdialog.js"/>
+  <script type="application/x-javascript"
+          src="chrome://yulup/content/serveruriprompt.js"/>
 
   <commandset id="uiYulupEditorFocusEventCommandset"
               commandupdater="true"

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.js
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.js	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.js	2006-10-11 22:03:01 UTC (rev 19322)
@@ -29,7 +29,7 @@
 const YULUP_RESOURCE_UPLOAD_CHROME_URI = "chrome://yulup/content/resourceupload.xul";
 
 var ResourceUploadDialog = {
-    showFilePicker: function() {
+    showFilePicker: function () {
         var filePicker = null;
         var ret        = null;
 
@@ -46,7 +46,7 @@
         }
     },
 
-    uiYulupEditorResourceUploadOnDialogLoadHandler: function() {
+    uiYulupEditorResourceUploadOnDialogLoadHandler: function () {
         var tree = null;
 
         /* DEBUG */ dump("Yulup:resourceupload.js:ResourceUploadDialog.uiYulupEditorResourceUploadOnDialogLoadHandler() invoked\n");
@@ -59,7 +59,7 @@
 
         tree = document.getElementById("uiYulupResourceUploadTree");
 
-        tree.view = new SitetreeView(window.arguments[1]);
+        tree.view = new SitetreeView(window.arguments[1], ResourceUploadDialog.sitetreeErrorListener);
         tree.view.wrappedJSObject.selectionChangeObserver = ResourceUploadDialog.onSelectionChangeListener;
     },
 
@@ -76,7 +76,7 @@
      * @param  {nsIURI} aURI          the entry URI
      * @return {Undefined} does not have a return value
      */
-    showResourceUploadDialog: function(aURI) {
+    showResourceUploadDialog: function (aURI) {
         var returnObject   = null;
         var mimeService    = null;
         var sourceFile     = null;
@@ -89,6 +89,7 @@
         /* DEBUG */ YulupDebug.ASSERT(aURI != null);
 
         returnObject = {
+            error        : null,
             resourceURI  : null,
             collectionURI: null,
             resourceName : null
@@ -96,6 +97,13 @@
 
         window.openDialog(YULUP_RESOURCE_UPLOAD_CHROME_URI, "yulupResourceUploadDialog", "modal,resizable=yes", true, aURI, returnObject);
 
+        if (returnObject.error) {
+            // TODO: i18n
+            alert("The sitetree failed to load.");
+
+            return;
+        }
+
         if (returnObject.resourceURI && returnObject.collectionURI && returnObject.resourceName) {
             // figure out MIME type
             mimeService = Components.classes["@mozilla.org/mime;1"].getService(Components.interfaces.nsIMIMEService);
@@ -111,6 +119,7 @@
             // construct target URI
             targetURI = returnObject.collectionURI.spec + "/" + returnObject.resourceName;
 
+            // TODO: i18n
             progressDialog = new ProgressDialog(window, "Uploading file", targetURI);
 
             // upload file to server
@@ -125,7 +134,7 @@
      * @param  {String} aDocumentName a proposed name for the document name on the server
      * @return {String} the selected target URI or null if none was selected
      */
-    showDocumentUploadDialog: function(aURI, aDocumentName) {
+    showDocumentUploadDialog: function (aURI, aDocumentName) {
         var returnObject   = null;
         var mimeService    = null;
         var sourceFile     = null;
@@ -138,12 +147,20 @@
         /* DEBUG */ YulupDebug.ASSERT(aURI != null);
 
         returnObject = {
+            error        : null,
             collectionURI: null,
             resourceName : null
         };
 
         window.openDialog(YULUP_RESOURCE_UPLOAD_CHROME_URI, "yulupDocumentUploadDialog", "modal,resizable=yes", false, aURI, returnObject, aDocumentName);
 
+        if (returnObject.error) {
+            // TODO: i18n
+            alert("The sitetree failed to load.");
+
+            return null;
+        }
+
         if (returnObject.collectionURI && returnObject.resourceName) {
             // return target URI
             return returnObject.collectionURI.spec + "/" + returnObject.resourceName;
@@ -152,7 +169,7 @@
         }
     },
 
-    uploadResource: function() {
+    uploadResource: function () {
         var collectionURI = null;
         var resourceURI   = null;
         var resourceName  = null;
@@ -210,6 +227,19 @@
         return false;
     },
 
+    sitetreeErrorListener: function () {
+        returnObject = null;
+
+        if (window.arguments[2]) {
+            returnObject = window.arguments[2];
+
+            returnObject.error = true;
+        }
+
+        // close the dialog
+        document.getElementById("uiYulupEditorResourceUploadDialog").cancelDialog();
+    },
+
     __uploadRequestFinishedHandler: function (aDocumentData, aResponseStatusCode, aRequestFinishedCallback, aResponseHeaders, aException) {
         /* DEBUG */ dump("Yulup:resourceupload.js:ResourceUploadDialog.__uploadRequestFinishedHandler() invoked\n");
 

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.xul
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.xul	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/resourceupload.xul	2006-10-11 22:03:01 UTC (rev 19322)
@@ -67,6 +67,7 @@
             src="chrome://yulup/content/sitetree.js"/>
 
     <stringbundle id="uiYulupOverlayStringbundle" src="chrome://yulup/locale/yulup.properties"/>
+    <stringbundle id="uiYulupEditorStringbundle" src="chrome://yulup/locale/editor.properties"/>
 
     <hbox id="uiYulupResourceSelect" align="center" hidden="true">
       <textbox flex="1" id="uiYulupResourceUploadTextBox"/>

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.js
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.js	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.js	2006-10-11 22:03:01 UTC (rev 19322)
@@ -0,0 +1,92 @@
+/*
+ * ***** BEGIN LICENSE BLOCK *****
+ * Copyright 2006 Wyona AG Zurich
+ *
+ * This file is part of Yulup.
+ *
+ * Yulup is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Yulup is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Yulup; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ * ***** END LICENSE BLOCK *****
+ */
+
+/**
+ * @author Andreas Wuest
+ *
+ */
+
+const YULUP_SERVER_URI_DIALOG_CHROME_URI = "chrome://yulup/content/serveruriprompt.xul";
+
+const SERVERURIPROMPT_FORM_HISTORY_ID = "yulup-serveruriprompt";
+
+var ServerURIPrompt = {
+    onLoadHandler: function () {
+        /* DEBUG */ dump("Yulup:serveruriprompt.js:ServerURIPrompt.onLoadHandler() invoked\n");
+    },
+
+    /**
+     * Show the server URI prompt dialog.
+     *
+     * @return {String} the server URI entered by the user (not checked for validity)
+     */
+    showServerURIDialog: function () {
+        var returnObject   = null;
+
+        /* DEBUG */ dump("Yulup:serveruriprompt.js:ServerURIPrompt.showServerURIDialog() invoked\n");
+
+        returnObject = {
+            serverURI: null
+        };
+
+        window.openDialog(YULUP_SERVER_URI_DIALOG_CHROME_URI, "yulupServerURIDialog", "modal,resizable=no", returnObject);
+
+        return returnObject.serverURI;
+    },
+
+    returnServerURI: function () {
+        var returnObject = null;
+
+        returnObject = window.arguments[0];
+
+        if (returnObject) {
+            returnObject.serverURI = document.getElementById("uiYulupServerURIPromptTextBox").value;
+
+            ServerURIPrompt.addToFormHistory(returnObject.serverURI);
+        }
+
+        return true;
+    },
+
+    /**
+    * Add the textbox value to the form-history
+    *
+    * @param  {String}    aValue the value to store on the form history
+    * @return {Undefined} does not have a return value
+    */
+    addToFormHistory: function (aValue) {
+        var fieldValue  = null;
+        var formHistory = null;
+
+        /* DEBUG */ dump("Yulup:serveruriprompt.js:ServerURIPrompt.addToFormHistory() invoked\n");
+
+        /* DEBUG */ YulupDebug.ASSERT(aValue != null);
+
+        if (aValue && aValue != "") {
+            // get a handle at the form-history component
+            formHistory = Components.classes["@mozilla.org/satchel/form-history;1"].getService(Components.interfaces.nsIFormHistory);
+
+            formHistory.addEntry(SERVERURIPROMPT_FORM_HISTORY_ID, fieldValue);
+        }
+    }
+};

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.xul
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.xul	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/serveruriprompt.xul	2006-10-11 22:03:01 UTC (rev 19322)
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+
+<!--
+# ***** BEGIN LICENSE BLOCK *****
+# Copyright 2006 Wyona AG Zurich
+#
+# This file is part of Yulup.
+#
+# Yulup is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# Yulup is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Yulup; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+# ***** END LICENSE BLOCK *****
+-->
+
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<!DOCTYPE dialog SYSTEM "chrome://yulup/locale/editor.dtd">
+
+<dialog id="uiYulupServerURIDialog"
+        orient="vertical"
+        align="stretch"
+        title="&yulupServerURIDialog.title;"
+        persist="screenX screenY"
+        buttons="cancel, accept"
+        ondialogaccept="return ServerURIPrompt.returnServerURI()"
+        onload="ServerURIPrompt.onLoadHandler()"
+        style="font: -moz-dialog;"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+    <script type="application/x-javascript"
+            src="chrome://yulup/content/common.js"/>
+    <script type="application/x-javascript"
+            src="chrome://yulup/content/serveruriprompt.js"/>
+
+    <label value="&yulupServerURIDialogLabel.label;:" control="uiYulupServerURIPromptTextBox"/>
+    <textbox id="uiYulupServerURIPromptTextBox"
+             autocompletesearchparam="yulup-serveruriprompt"
+             type="autocomplete"
+             autocompletesearch="form-history"
+             onchange="ServerURIPrompt.addToFormHistory(this.value)"/>
+</dialog>

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/sitetree.js
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/sitetree.js	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/sitetree.js	2006-10-11 22:03:01 UTC (rev 19322)
@@ -173,13 +173,16 @@
 /**
   * Instantiates an object of the type SitetreeView.
   *
-  * @param  {nsIURI}           aURI       the sitetree URI
+  * @param  {nsIURI}           aURI           the sitetree URI
+  * @param  {Function}         aErrorListener an error listener which is called if the root node fails to load
   * @return {nsITreeSelection} aSelection the tree selection object
   */
-function SitetreeView(aURI) {
+function SitetreeView(aURI, aErrorListener) {
     var elem = null;
 
-    /* DEBUG */ YulupDebug.ASSERT(aURI != null);
+    /* DEBUG */ YulupDebug.ASSERT(aURI           != null);
+    /* DEBUG */ YulupDebug.ASSERT(aErrorListener != null);
+    /* DEBUG */ YulupDebug.ASSERT(typeof(aErrorListener) == "function");
 
     /* DEBUG */ dump("Yulup:sitetree.js:SitetreeView(\"" + aURI + "\") invoked\n");
 
@@ -189,6 +192,8 @@
     this.rowNodeMap      = new Array();
     this.wrappedJSObject = this;
 
+    this.__errorListener = aErrorListener;
+
     this.__atomService = Components.classes["@mozilla.org/atom-service;1"].getService(Components.interfaces.nsIAtomService);
 
     // load the sitetree XML
@@ -196,7 +201,8 @@
 }
 
 SitetreeView.prototype = {
-    __atomServide          : null,
+    __atomService          : null,
+    __errorListener        : null,
     uri                    : null,
     selection              : null,
     treeBox                : null,
@@ -226,7 +232,8 @@
             baseURI         : aURI,
             parentRow       : aParentRow,
             callbackFunction: this.sitetreeLoadFinished,
-            view            : this
+            view            : this,
+            errorListener   : this.__errorListener
         };
 
         // fetch the sitetree XML file
@@ -311,12 +318,23 @@
                     throw new YulupException(document.getElementById("uiYulupEditorStringbundle").getString("editorDocumentLoadError0.label") + " \"" + aURI + "\".");
             }
         } catch (exception) {
-            /* DEBUG */ YulupDebug.dumpExceptionToConsole("Yulup:sitetree.js:SitetreeView.sitetreeLoadFinished:", exception);
+            /* DEBUG */ YulupDebug.dumpExceptionToConsole("Yulup:sitetree.js:SitetreeView.sitetreeLoadFinished", exception);
 
             //alert(document.getElementById("uiYulupEditorStringbundle").getString("editorDocumentLoadFailure.label") + "\n\n" + exception.message);
 
             // update the model
             aContext.view.updateSitetreeDOM(aContext.parentRow, null);
+
+            if (aContext.parentRow == -1) {
+                // the root node failed to load, this is really bad
+                try {
+                    aContext.errorListener();
+                } catch (exception) {
+                    // we don't want to fail here
+                    /* DEBUG */ YulupDebug.dumpExceptionToConsole("Yulup:sitetree.js:SitetreeView.sitetreeLoadFinished", exception);
+                    /* DEBUG */ Components.utils.reportError(exception);
+                }
+            }
         }
     },
 

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Quelltext">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Dokument wird geöffnet">
+<!ENTITY yulupServerURIDialog.title "Server URI eingeben">
+<!ENTITY yulupServerURIDialogLabel.label "Bitten die URI des Servers angeben, auf den das Dokument hochgeladen werden soll">
 <!ENTITY editOperationCopy.tooltip "Auswahl in Zwischenablage kopieren">
 <!ENTITY editOperationCut.tooltip "Auswahl ausschneiden und in Zwischenablage kopieren">
 <!ENTITY editOperationPaste.tooltip "Aus der Zwischenablage einfügen">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Source">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Opening the document">
+<!ENTITY yulupServerURIDialog.title "Enter server URI">
+<!ENTITY yulupServerURIDialogLabel.label "Enter the URI of the server you want to upload the document to">
 <!ENTITY editOperationCopy.tooltip "Copy selection to clipboard">
 <!ENTITY editOperationCut.tooltip "Cut selection and copy to clipboard">
 <!ENTITY editOperationPaste.tooltip "Paste from clipboard">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Source">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Opening the document">
+<!ENTITY yulupServerURIDialog.title "Enter server URI">
+<!ENTITY yulupServerURIDialogLabel.label "Enter the URI of the server you want to upload the document to">
 <!ENTITY editOperationCopy.tooltip "Copy selection to clipboard">
 <!ENTITY editOperationCut.tooltip "Cut selection and copy to clipboard">
 <!ENTITY editOperationPaste.tooltip "Paste from clipboard">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Source">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Opening the document">
+<!ENTITY yulupServerURIDialog.title "Enter server URI">
+<!ENTITY yulupServerURIDialogLabel.label "Enter the URI of the server you want to upload the document to">
 <!ENTITY editOperationCopy.tooltip "Copy selection to clipboard">
 <!ENTITY editOperationCut.tooltip "Cut selection and copy to clipboard">
 <!ENTITY editOperationPaste.tooltip "Paste from clipboard">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Source">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Opening the document">
+<!ENTITY yulupServerURIDialog.title "Enter server URI">
+<!ENTITY yulupServerURIDialogLabel.label "Enter the URI of the server you want to upload the document to">
 <!ENTITY editOperationCopy.tooltip "Copy selection to clipboard">
 <!ENTITY editOperationCut.tooltip "Cut selection and copy to clipboard">
 <!ENTITY editOperationPaste.tooltip "Paste from clipboard">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/editor.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/editor.dtd	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/editor.dtd	2006-10-11 22:03:01 UTC (rev 19322)
@@ -26,6 +26,8 @@
 <!ENTITY sourceViewTab.label "Source">
 <!ENTITY wysiwygViewTab.label "WYSIWYG">
 <!ENTITY waitDescription.label "Opening the document">
+<!ENTITY yulupServerURIDialog.title "Enter server URI">
+<!ENTITY yulupServerURIDialogLabel.label "Enter the URI of the server you want to upload the document to">
 <!ENTITY editOperationCopy.tooltip "Copy selection to clipboard">
 <!ENTITY editOperationCut.tooltip "Cut selection and copy to clipboard">
 <!ENTITY editOperationPaste.tooltip "Paste from clipboard">

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/editor.dtd.xml
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/editor.dtd.xml	2006-10-11 21:34:16 UTC (rev 19321)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/editor.dtd.xml	2006-10-11 22:03:01 UTC (rev 19322)
@@ -140,6 +140,16 @@
     <name xml:lang="de">Dokument wird geöffnet</name>
   </entity>
 
+  <entity id="yulupServerURIDialog.title">
+    <name xml:lang="en">Enter server URI</name>
+    <name xml:lang="de">Server URI eingeben</name>
+  </entity>
+
+  <entity id="yulupServerURIDialogLabel.label">
+    <name xml:lang="en">Enter the URI of the server you want to upload the document to</name>
+    <name xml:lang="de">Bitten die URI des Servers angeben, auf den das Dokument hochgeladen werden soll</name>
+  </entity>
+
   <entity id="editOperationCopy.tooltip">
     <name xml:lang="en">Copy selection to clipboard</name>
     <name xml:lang="de">Auswahl in Zwischenablage kopieren</name>




More information about the Phoenix-commits mailing list