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

andi at wyona.com andi at wyona.com
Wed Oct 18 23:13:55 CEST 2006


Author: andi
Date: 2006-10-18 23:13:54 +0200 (Wed, 18 Oct 2006)
New Revision: 19448

Added:
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/preferences.xul
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/preferences.dtd
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/preferences.dtd.xml
Modified:
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/install.rdf
Log:
Added a preferences dialog.


Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/preferences.xul
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/preferences.xul	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/preferences.xul	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,55 @@
+<?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"?>
+<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
+<!--<?xml-stylesheet href="chrome://yulup/skin/preferences.css" type="text/css"?>-->
+
+<!DOCTYPE prefwindow  SYSTEM "chrome://yulup/locale/preferences.dtd">
+
+<prefwindow id="uiYulupPrefWindow"
+            orient="vertical"
+            align="stretch"
+            title="&prefWindow.title;"
+            persist="screenX screenY"
+            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/preferences.js"/>-->
+
+  <prefpane id="uiYulupGeneralPrefPane" label="&generalPrefPane.label;">
+    <groupbox>
+      <caption label="&editorThemeGroupbox.label;"/>
+      <label value="&editorThemeMenulistLabel.label;:" control="uiEditorThemeMenulist"/>
+      <menulist id="uiEditorThemeMenulist">
+        <menupopup>
+          <menuitem label="&editorThemeDefaultTheme.label;"/>
+        </menupopup>
+      </menulist>
+    </groupbox>
+  </prefpane>
+</prefwindow>

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/de/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Einstellungen">
+<!ENTITY generalPrefPane.label "Allgemein">
+<!ENTITY editorThemeGroupbox.label "Editor Aussehen">
+<!ENTITY editorThemeMenulistLabel.label "Aussehen auswählen">
+<!ENTITY editorThemeDefaultTheme.label "Standard">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/en/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Preferences">
+<!ENTITY generalPrefPane.label "General">
+<!ENTITY editorThemeGroupbox.label "Editor Theme">
+<!ENTITY editorThemeMenulistLabel.label "Choose the editor theme">
+<!ENTITY editorThemeDefaultTheme.label "Default">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/es/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Preferences">
+<!ENTITY generalPrefPane.label "General">
+<!ENTITY editorThemeGroupbox.label "Editor Theme">
+<!ENTITY editorThemeMenulistLabel.label "Choose the editor theme">
+<!ENTITY editorThemeDefaultTheme.label "Default">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/fr/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Preferences">
+<!ENTITY generalPrefPane.label "General">
+<!ENTITY editorThemeGroupbox.label "Editor Theme">
+<!ENTITY editorThemeMenulistLabel.label "Choose the editor theme">
+<!ENTITY editorThemeDefaultTheme.label "Default">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/ku/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Preferences">
+<!ENTITY generalPrefPane.label "General">
+<!ENTITY editorThemeGroupbox.label "Editor Theme">
+<!ENTITY editorThemeMenulistLabel.label "Choose the editor theme">
+<!ENTITY editorThemeDefaultTheme.label "Default">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/preferences.dtd
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/preferences.dtd	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/tr/preferences.dtd	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,5 @@
+<!ENTITY prefWindow.title "Yulup Preferences">
+<!ENTITY generalPrefPane.label "General">
+<!ENTITY editorThemeGroupbox.label "Editor Theme">
+<!ENTITY editorThemeMenulistLabel.label "Choose the editor theme">
+<!ENTITY editorThemeDefaultTheme.label "Default">

Added: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/preferences.dtd.xml
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/preferences.dtd.xml	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/locale/xml/preferences.dtd.xml	2006-10-18 21:13:54 UTC (rev 19448)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<dtd xmlns="http://yulup.wyona.org/1.0">
+
+  <entity id="prefWindow.title">
+    <name xml:lang="en">Yulup Preferences</name>
+    <name xml:lang="de">Yulup Einstellungen</name>
+  </entity>
+
+  <entity id="generalPrefPane.label">
+    <name xml:lang="en">General</name>
+    <name xml:lang="de">Allgemein</name>
+  </entity>
+
+  <entity id="editorThemeGroupbox.label">
+    <name xml:lang="en">Editor Theme</name>
+    <name xml:lang="de">Editor Aussehen</name>
+  </entity>
+
+  <entity id="editorThemeMenulistLabel.label">
+    <name xml:lang="en">Choose the editor theme</name>
+    <name xml:lang="de">Aussehen auswählen</name>
+  </entity>
+
+  <entity id="editorThemeDefaultTheme.label">
+    <name xml:lang="en">Default</name>
+    <name xml:lang="de">Standard</name>
+  </entity>
+
+</dtd>

Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/install.rdf
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/install.rdf	2006-10-18 20:34:39 UTC (rev 19447)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/install.rdf	2006-10-18 21:13:54 UTC (rev 19448)
@@ -63,6 +63,7 @@
     <em:contributor>Michael Wechner (Wyona Inc.)</em:contributor>
     <em:contributor>Gregor Imboden (Wyona Inc.)</em:contributor>
     <em:contributor>Thomas Comiotto (University of Zurich)</em:contributor>
+    <em:optionsURL>chrome://yulup/content/preferences.xul</em:optionsURL>
     <em:iconURL>chrome://yulup/skin/icons/yulup-logo.png</em:iconURL>
     <em:homepageURL>http://www.yulup.org/</em:homepageURL>
     <em:updateURL>http://www.yulup.org/download/update.rdf</em:updateURL>




More information about the Phoenix-commits mailing list