From wiggy at codespeak.net Sun Jun 3 12:17:14 2007
From: wiggy at codespeak.net (wiggy at codespeak.net)
Date: Sun, 3 Jun 2007 12:17:14 +0200 (CEST)
Subject: [kupu-checkins] r44000 - kupu/trunk/kupu/plone/profiles/default
Message-ID: <20070603101714.57C7180DA@code0.codespeak.net>
Author: wiggy
Date: Sun Jun 3 12:17:13 2007
New Revision: 44000
Modified:
kupu/trunk/kupu/plone/profiles/default/import_steps.xml
Log:
Add a dependency on the typeinfo step. This is needed since our resources need to verify types
Modified: kupu/trunk/kupu/plone/profiles/default/import_steps.xml
==============================================================================
--- kupu/trunk/kupu/plone/profiles/default/import_steps.xml (original)
+++ kupu/trunk/kupu/plone/profiles/default/import_steps.xml Sun Jun 3 12:17:13 2007
@@ -4,6 +4,7 @@
handler="Products.kupu.plone.exportimport.importKupuSettings"
title="Kupu Settings">
+
Import Kupu settings
From limi at codespeak.net Tue Jun 5 10:38:10 2007
From: limi at codespeak.net (limi at codespeak.net)
Date: Tue, 5 Jun 2007 10:38:10 +0200 (CEST)
Subject: [kupu-checkins] r44036 - kupu/trunk/kupu/common
Message-ID: <20070605083810.864AF80A5@code0.codespeak.net>
Author: limi
Date: Tue Jun 5 10:38:09 2007
New Revision: 44036
Modified:
kupu/trunk/kupu/common/kupubeforeunload.js
Log:
Make sure the word "discard" is in the unload protection. Unfortunately, there is text we cannot touch in this dialog box (it comes from the browser), which makes more verbose than we want. :(
Modified: kupu/trunk/kupu/common/kupubeforeunload.js
==============================================================================
--- kupu/trunk/kupu/common/kupubeforeunload.js (original)
+++ kupu/trunk/kupu/common/kupubeforeunload.js Tue Jun 5 10:38:09 2007
@@ -3,9 +3,9 @@
var BeforeUnloadHandler = function() {
var self = this;
- this.message = "Your form has not been saved. All changes you have made will be lost";
+ this.message = "Discard changes? If you click OK, any changes you have made will be lost.";
if (window._) {
- this.message = _("Your form has not been saved. All changes you have made will be lost");
+ this.message = _("Discard changes? If you click OK, any changes you have made will be lost.");
};
this.forms = [];
this.chkId = [];
From kupu-checkins at codespeak.net Wed Jun 13 11:56:04 2007
From: kupu-checkins at codespeak.net (kupu-checkins at codespeak.net)
Date: Wed, 13 Jun 2007 11:56:04 +0200 (CEST)
Subject: [kupu-checkins] June 2007 - Father's Day Specials
Message-ID: <20070613085654.8050.qmail@pptp-89-189-145-118.ufanet.ru>
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/kupu-checkins/attachments/20070613/713e51d5/attachment.htm
From hannosch at codespeak.net Sun Jun 17 14:23:59 2007
From: hannosch at codespeak.net (hannosch at codespeak.net)
Date: Sun, 17 Jun 2007 14:23:59 +0200 (CEST)
Subject: [kupu-checkins] r44318 - in kupu/trunk/kupu: doc i18n
Message-ID: <20070617122359.79DFB80C3@code0.codespeak.net>
Author: hannosch
Date: Sun Jun 17 14:23:57 2007
New Revision: 44318
Modified:
kupu/trunk/kupu/doc/CHANGES.txt
kupu/trunk/kupu/i18n/kupu-ja.po
kupu/trunk/kupu/i18n/kupuconfig-ja.po
Log:
Updated the Japanese translation files, thx to Tyam.
Modified: kupu/trunk/kupu/doc/CHANGES.txt
==============================================================================
--- kupu/trunk/kupu/doc/CHANGES.txt (original)
+++ kupu/trunk/kupu/doc/CHANGES.txt Sun Jun 17 14:23:57 2007
@@ -4,6 +4,8 @@
- Recent
+ - Updated the Japanese translation files, thx to Tyam.
+
- Added in some support for inserting Flash content.
- Media objects may now have a list of classes (specific to the portal type).
Modified: kupu/trunk/kupu/i18n/kupu-ja.po
==============================================================================
--- kupu/trunk/kupu/i18n/kupu-ja.po (original)
+++ kupu/trunk/kupu/i18n/kupu-ja.po Sun Jun 17 14:23:57 2007
@@ -37,7 +37,7 @@
#: /common/kupu.pox:None
msgid "Recursion detected when counting column position"
-msgstr "?????????????Recursion?????????"
+msgstr "??????????????????????"
#: /common/kupu.pox:None
msgid "List style changed"
@@ -49,11 +49,11 @@
#: /common/kupu.pox:None
msgid "click to unfold"
-msgstr ""
+msgstr "???????????????"
#: /common/kupu.pox:None
msgid "You have unsaved changes. Do you want to save before leaving the page?"
-msgstr "???????????????????????????????????"
+msgstr "???????????????????????????????????"
#: /common/kupu.pox:None
msgid "Table row removed"
@@ -65,7 +65,7 @@
#: /common/kupu.pox:None
msgid "Color chosen"
-msgstr "???"
+msgstr "??????"
#: /common/kupu.pox:None
msgid "Table row added"
@@ -73,7 +73,7 @@
#: /common/kupu.pox:None
msgid "Error saving document"
-msgstr "?????????????????????"
+msgstr "?????????????????"
#: /common/kupu.pox:None
msgid "No destination URL available!"
@@ -85,7 +85,7 @@
#: /common/kupu.pox:None
msgid "No row to delete"
-msgstr "?????????????"
+msgstr "?????????????"
#: /common/kupu.pox:None
msgid "Delete Table"
@@ -93,7 +93,7 @@
#: /common/kupu.pox:None
msgid "Cleanup done, sending document to server"
-msgstr "??????????????????????????"
+msgstr "??????????????????????"
#: /common/kupu.pox:None
msgid "Image tool initialized"
@@ -109,7 +109,7 @@
#: /common/kupu.pox:None
msgid "Create link"
-msgstr "?????"
+msgstr "??????"
#: /common/kupu.pox:None
msgid "Starting HTML cleanup"
@@ -117,15 +117,15 @@
#: /common/kupu.pox:None
msgid "Not inside a definition list element!"
-msgstr "???????????????????"
+msgstr "?????????????????"
#: /common/kupu.pox:None
msgid "Link modified"
-msgstr "???????????"
+msgstr "????????????"
#: /common/kupu.pox:None
msgid "Illegal or missing width entry in column info!"
-msgstr ""
+msgstr "???????????????????????????"
#: /common/kupu.pox:None
msgid "Request sent to server"
@@ -140,25 +140,25 @@
"exception ${message} while registering an event handler for element "
"${element}, event ${event}, method ${method}"
msgstr ""
-"??????????????????????? ${message}${element}, event "
-"${event}, method ${method}"
+"????????????????????? ${message} ???"
+"${element}, event ${event}, method ${method}"
#: /common/kupu.pox:None
msgid "Error loading translation (status ${status} ), falling back to english"
msgstr ""
-"????? po ?????????????????status ${status}??????"
-"????"
+"??????????????????????status ${status}??"
+"??????????????"
#: /common/kupu.pox:None
msgid "Start node offset detected in a node without children!"
-msgstr "Start node offset detected in a node without children!"
+msgstr "???????????????????????!"
#: /common/kupu.pox:None
msgid "Deprecation warning: KupuTool._selectSelectItem"
-msgstr "????: KupuTool._selectSelectItem"
+msgstr "?????????: KupuTool._selectSelectItem"
#: /common/kupu.pox:None
-msgid "Couldn\\'t set design mode. Kupu will not work on this browser."
+msgid "Couldn??'t set design mode. Kupu will not work on this browser."
msgstr ""
"????????????????Kupu ?????????????????"
@@ -176,9 +176,8 @@
"settings. For more information, read http://www.mozilla.org/editor/midasdemo/"
"securityprefs.html"
msgstr ""
-"Mozilla ??????????????JavaScript ???????????????"
-"??????????? http://www.mozilla.org/editor/midasdemo/ ??????"
-"???"
+"Mozilla ????????????JavaScript ??????????????????"
+"???????? http://www.mozilla.org/editor/midasdemo/ ?????????"
#: /common/kupu.pox:None
msgid "Property tool initialized"
@@ -194,7 +193,7 @@
#: /common/kupu.pox:None
msgid "items"
-msgstr ""
+msgstr "????"
#: /common/kupu.pox:None
msgid "Row repeated"
@@ -202,7 +201,7 @@
#: /common/kupu.pox:None
msgid "Cut"
-msgstr "??"
+msgstr "????"
#: /common/kupu.pox:None
msgid "Table removed"
@@ -226,7 +225,7 @@
#: /common/kupu.pox:None
msgid "Invalid table size"
-msgstr "??????????"
+msgstr "??????????????"
#: /common/kupu.pox:None
msgid "Error placing back selection"
@@ -246,7 +245,7 @@
"settings. For more information, read http://www.mozilla.org/editor/midasdemo/"
"securityprefs.html"
msgstr ""
-"Mizilla ??????????????JavaScript ???????????????"
+"Mozilla ??????????????JavaScript ???????????????"
"??????????? http://www.mozilla.org/editor/midasdemo/ ??????"
"???"
@@ -264,21 +263,21 @@
#: /common/kupu.pox:None
msgid "Row repeat turned off"
-msgstr "????????"
+msgstr "??????????"
#: /common/kupu.pox:None
msgid ""
"There was a problem initializing the drawers. Most likely the XSLT or XML "
-"files aren\\'t available. If this is not the Kupu demo version, check your "
+"files aren??'t available. If this is not the Kupu demo version, check your "
"files or the service that provide them (error: ${error})."
msgstr ""
"??????????????????????? XSLT ? XML ?????????"
"??????????????? Kupu ???????????????????"
-"?error: ${error}????????????????????????"
+"?error: ${error}????????????????????????"
#: /common/kupu.pox:None
msgid "Deprecation warning: KupuToolBox._selectSelectItem"
-msgstr "????: KupuToolBox._selectSelectItem"
+msgstr "?????????: KupuToolBox._selectSelectItem"
#: /common/kupu.pox:None
msgid ""
@@ -286,8 +285,8 @@
"settings. For more information, read http://www.mozilla.org/editor/midasdemo/"
"securityprefs.html"
msgstr ""
-"Mozilla ??????????????JavaScript ???????????????"
-"?????????? http://www.mozilla.org/editor/midasdemo/ ???????"
+"Mozilla ??????????????JavaScript ?????????????????"
+"???????? http://www.mozilla.org/editor/midasdemo/ ???????"
"??"
#: /common/kupu.pox:None
@@ -300,16 +299,16 @@
#: /common/kupu.pox:None
msgid ""
-"Error saving your data.\\nResponse status: ${status}.\\nCheck your server "
+"Error saving your data.??nResponse status: ${status}.??nCheck your server "
"log for more information."
msgstr ""
-"??????????????\\nResponse status: ${status}??????????"
-"??????????????"
+"????????????????nResponse status: ${status}"
+"????????????????????????"
#: /common/kupu.pox:None
msgid "This feature requires pop-ups to be enabled on your browser!"
msgstr ""
-"?????????????????????????pop-up??????????"
+"????????????????????????pop-up??????????"
"???????"
#: /common/kupu.pox:None
@@ -318,7 +317,7 @@
#: /common/kupu.pox:None
msgid "View source"
-msgstr "?????"
+msgstr "??????"
#: /common/kupu.pox:None
msgid "Table tool initialized"
@@ -338,7 +337,7 @@
#: /common/kupu.pox:None
msgid "click to fold"
-msgstr ""
+msgstr "??????????????"
#: /common/kupu.pox:None
msgid "Create image"
@@ -366,23 +365,22 @@
#: /common/kupu.pox:None
msgid "Error loading data, status ${status}"
-msgstr "???????????status ${status"
+msgstr "???????????status ${status}"
#: /common/kupu.pox:None
msgid ""
-"Could not set status bar message, check your browser\\'s security settings."
+"Could not set status bar message, check your browser??'s security settings."
msgstr ""
"??????????????????????????????????????"
"??????????"
#: /common/kupu.pox:None
msgid "End node offset detected in a node without children!"
-msgstr "End node offset detected in a node without children!"
+msgstr "???????????????????????!"
#: /common/kupu.pox:None
msgid "Your form has not been saved. All changes you have made will be lost"
-msgstr ""
-"????????????????????????????????????"
+msgstr "?????????????????????????????"
#: /common/kupu.pox:None
msgid "Link added"
@@ -398,11 +396,11 @@
#: /common/kupu.pox:None
msgid "Not inside a table!"
-msgstr "???????????"
+msgstr "???????????"
#: /common/kupu.pox:None
msgid "Selection not inside the node!"
-msgstr "????????????????????"
+msgstr "?????????????????"
#: /common/kupu.pox:None
msgid "Delete link"
@@ -466,12 +464,14 @@
msgstr "?????"
# Default: ""
-# "Select an image from your computer and click ok to have it\n"
-# " automatically uploaded to selected folder and inserted into the\n"
+# "Select an image from your computer and click ok to have it?n"
+# " automatically uploaded to selected folder and inserted into the?n"
# " editor."
#: /common/kupudrawers/drawer.xsl:None
msgid "imagedrawer_upload_instructions"
msgstr ""
+"??????????????????????????????n"
+"????????????????????????????????"
# Default: "Upload ..."
#: /common/kupudrawers/drawer.xsl:None
@@ -491,7 +491,7 @@
# Default: "ALT-text"
#: /common/kupudrawers/drawer.xsl:None
msgid "imagedrawer_upload_alt_text"
-msgstr "ALT-text"
+msgstr "ALT????????"
# Default: "search"
#: /common/kupudrawers/drawer.xsl:None
@@ -519,11 +519,11 @@
#: /default/colorchooser.kupu:None
msgid "text color: alt-f"
-msgstr "?????: alt-f"
+msgstr "???:alt-f"
#: /default/colorchooser.kupu:None
msgid "background color: alt-h"
-msgstr "???: alt-h"
+msgstr "???:alt-h"
# Default: "Row"
#: /default/drawers.kupu:None
@@ -542,7 +542,7 @@
#: /default/drawers.kupu:None
msgid "external link"
-msgstr "??????????"
+msgstr "?????"
# Default: "Columns"
#: /default/drawers.kupu:None
@@ -561,7 +561,7 @@
#: /default/drawers.kupu:None
msgid "External Link"
-msgstr "??????????"
+msgstr "?????"
# Default: "Left"
#: /default/drawers.kupu:None
@@ -570,7 +570,7 @@
#: /default/drawers.kupu:None
msgid "Preview"
-msgstr "????"
+msgstr "?????"
# Default: "Rows"
#: /default/drawers.kupu:None
@@ -618,11 +618,11 @@
#: /default/drawers.kupu:None /common/kupudrawers/drawer.xsl:None
msgid "(none)"
-msgstr ""
+msgstr "(??)"
#: /default/drawers.kupu:None /common/kupudrawers/drawer.xsl:None
msgid "Ok"
-msgstr "Ok"
+msgstr "??"
#: /default/drawers.kupu:None /common/kupudrawers/drawer.xsl:None
msgid "Cancel"
@@ -630,7 +630,7 @@
#: /default/drawers.kupu:None
msgid "Listing"
-msgstr ""
+msgstr "?????"
# Default: "Add"
#: /default/drawers.kupu:None
@@ -639,7 +639,7 @@
#: /default/drawers.kupu:None
msgid "Grid"
-msgstr ""
+msgstr "??????"
# Default: "Remove"
#: /default/drawers.kupu:None
@@ -648,11 +648,11 @@
#: /default/drawers.kupu:None
msgid "Data"
-msgstr ""
+msgstr "?????"
#: /default/drawers.kupu:None
msgid "Plain"
-msgstr ""
+msgstr "????"
# Default: "Table Class"
#: /default/drawers.kupu:None
@@ -661,7 +661,7 @@
#: /default/drawers.kupu:None /default/toolboxes.kupu:None
msgid "Link the highlighted text to this URL:"
-msgstr "??????????????URL:"
+msgstr "?????URL:"
#: /default/drawers.kupu:None /silva/toolboxes.kupu:None
msgid "image"
@@ -685,25 +685,25 @@
#: /default/toolbar.kupu:None
msgid "zoom: alt-x"
-msgstr ""
+msgstr "???: alt-x"
# Default: "1"
#: /default/toolbar.kupu:None
msgid "list-decimal"
-msgstr "1"
+msgstr "1(??)"
# Default: "A"
#: /default/toolbar.kupu:None
msgid "list-upperalpha"
-msgstr "A"
+msgstr "A(??????????)"
#: /default/toolbar.kupu:None
msgid "Heading 1"
msgstr "???1"
#: /default/toolbar.kupu:None
-msgid "superscript: alt-+"
-msgstr "???: alt-+"
+msgid "Superscript: Access key (Alt or Ctrl) + +"
+msgstr "?????:????(Alt???Ctrl)+-"
# Default: "○"
#: /default/toolbar.kupu:None
@@ -711,8 +711,8 @@
msgstr "○"
#: /default/toolbar.kupu:None
-msgid "bold: alt-b"
-msgstr "??: alt-b"
+msgid "Bold: Access key (Alt or Ctrl) + B"
+msgstr "??:????(Alt???Ctrl)+B"
#: /default/toolbar.kupu:None
msgid "Formatted"
@@ -721,12 +721,12 @@
# Default: "a"
#: /default/toolbar.kupu:None
msgid "list-loweralpha"
-msgstr "a"
+msgstr "a(??????????)"
# Default: "no bullet"
#: /default/toolbar.kupu:None
msgid "list-nobullet"
-msgstr "?????"
+msgstr "????"
# Default: "i"
#: /default/toolbar.kupu:None
@@ -742,8 +742,8 @@
msgstr "?????"
#: /default/toolbar.kupu:None
-msgid "undo: alt-z"
-msgstr "??: alt-z"
+msgid "Undo: Access key (Alt or Ctrl) + Z"
+msgstr "????:????(Alt???Ctrl)+Z"
# Default: "●"
#: /default/toolbar.kupu:None
@@ -751,8 +751,8 @@
msgstr "●"
#: /default/toolbar.kupu:None
-msgid "definition list: alt-="
-msgstr "?????: alt-="
+msgid "Definition list: Access key (Alt or Ctrl) + ="
+msgstr "?????:????(Alt???Ctrl)+="
#: /default/toolbar.kupu:None
msgid "indent: alt->"
@@ -767,12 +767,12 @@
msgstr "??"
#: /default/toolbar.kupu:None
-msgid "left justify: alt-l"
-msgstr "???: alt-l"
+msgid "Left justify: Access key (Alt or Ctrl) + L"
+msgstr "???:????(Alt???Ctrl)+L"
#: /default/toolbar.kupu:None
-msgid "right justify: alt-r"
-msgstr "???: alt-r"
+msgid "Right justify: Access key (Alt or Ctrl) + R"
+msgstr "???:????(Alt???Ctrl)+R"
#: /default/toolbar.kupu:None
msgid "outdent: alt-<"
@@ -788,20 +788,20 @@
msgstr "??: alt-u"
#: /default/toolbar.kupu:None
-msgid "redo: alt-y"
-msgstr "???: alt-y"
+msgid "Redo: Access key (Alt or Ctrl) + Y"
+msgstr "????:????(Alt???Ctrl)+Y"
#: /default/toolbar.kupu:None
-msgid "subscript: alt--"
-msgstr "???: alt--"
+msgid "Subscript: Access key (Alt or Ctrl) + -"
+msgstr "?????:????(Alt???Ctrl)+-"
#: /default/toolbar.kupu:None
-msgid "center justify: alt-c"
-msgstr "????: alt-c"
+msgid "Center justify: Access key (Alt or Ctrl) + C"
+msgstr "????:????(Alt???Ctrl)+C"
#: /default/toolbar.kupu:None
-msgid "unordered list: alt-*"
-msgstr "????: alt-*"
+msgid "Unordered list: Access key (Alt or Ctrl) + *"
+msgstr "????:????(Alt???Ctrl)+*"
#: /default/toolbar.kupu:None
msgid "Heading 3"
@@ -824,20 +824,21 @@
msgstr "???4"
#: /default/toolbar.kupu:None
-msgid "numbered list: alt-#"
-msgstr "??????: alt-#"
+msgid "Numbered list: Access key (Alt or Ctrl) + #"
+msgstr "??????:????(Alt???Ctrl)+#"
#: /default/toolbar.kupu:None
-msgid "italic: alt-i"
-msgstr "??: alt-i"
+msgid "Italic: Access key (Alt or Ctrl) + I"
+msgstr "??:????(Alt???Ctrl)+I"
# Default: "I"
#: /default/toolbar.kupu:None
msgid "list-upperroman"
-msgstr "I??????????"
+msgstr "I(????????)"
#: /default/toolboxes.kupu:None
-msgid "Headings:"
+#msgid "Headings:"
+msgid "Heading:"
msgstr "???"
#: /default/toolboxes.kupu:None
@@ -958,83 +959,84 @@
#: /silva/drawers.kupu:None
msgid "Insert image"
-msgstr ""
+msgstr "?????"
#: /silva/drawers.kupu:None
msgid "Insert link"
-msgstr ""
+msgstr "??????"
#: /silva/toolboxes.kupu:None
msgid "typographical characters"
-msgstr ""
+msgstr "???"
#: /silva/toolboxes.kupu:None
msgid "external source"
-msgstr ""
+msgstr "?????"
#: /silva/toolboxes.kupu:None
msgid "abbreviations and acronyms"
-msgstr ""
+msgstr "???????"
#: /silva/toolboxes.kupu:None
msgid "save"
-msgstr ""
+msgstr "??"
#: /silva/toolboxes.kupu:None
msgid "index item"
-msgstr ""
+msgstr "?????????????"
#: /silva/toolboxes.kupu:None
msgid "properties"
-msgstr ""
+msgstr "?????"
#: /silva/toolboxes.kupu:None
msgid "non-standard characters"
-msgstr ""
+msgstr "?????????"
#: /silva/toolboxes.kupu:None
msgid "link"
-msgstr ""
+msgstr "???"
#: /silva/toolboxes.kupu:None
msgid "citation"
-msgstr ""
+msgstr "??"
#: /silva/toolboxes.kupu:None
msgid "cleanup"
-msgstr ""
+msgstr "???????"
#: /silva/toolboxes.kupu:None
-msgid "table of contents"
-msgstr ""
+#msgid "table of contents"
+msgid "Table of contents"
+msgstr "??"
#: /silva/xmlconfig.kupu:None
msgid "Convert single quotes to curly ones"
-msgstr ""
+msgstr "???????????????"
#: /silva/xmlconfig.kupu:None
msgid "Reduce whitespace in source"
-msgstr ""
+msgstr "???????????????"
#: /silva/xmlconfig.kupu:None
msgid "Convert double dashes to m-dashes"
-msgstr ""
+msgstr "?????m-???????"
#: /silva/xmlconfig.kupu:None
msgid "Convert single dashes to n-dashes"
-msgstr ""
+msgstr "?????n-???????"
#: /silva/xmlconfig.kupu:None
msgid "Convert double quotes to curly ones"
-msgstr ""
+msgstr "??????????????"
#: /widgeteer/browser.kupu:None
msgid "link: alt-a"
-msgstr ""
+msgstr "????alt-a"
#: /widgeteer/browser.kupu:None
msgid "image: alt-m"
-msgstr ""
+msgstr "???alt-m"
#~ msgid "Home"
#~ msgstr "???"
@@ -1059,3 +1061,89 @@
#~ msgid "data"
#~ msgstr "???"
+
+
+# ??Sprint????
+#: /default/toolbar.kupu:None
+msgid "Decrease quote level: Access key (Alt or Ctrl) + <"
+msgstr "???????:????(Alt???Ctrl)+<"
+
+#: /default/toolbar.kupu:None
+msgid "Increase quote level: Access key (Alt or Ctrl) + >"
+msgstr "?????:????(Alt???Ctrl)+>"
+
+#: /default/toolbar.kupu:None
+msgid "Insert internal link"
+msgstr "????????"
+
+#: /default/toolbar.kupu:None
+msgid "Insert external link"
+msgstr "????????"
+
+#: /default/toolbar.kupu:None
+msgid "Insert anchors"
+msgstr "??????????"
+
+#: /default/toolbar.kupu:None
+msgid "Insert table"
+msgstr "????"
+
+#: /default/toolbar.kupu:None
+msgid "Check spelling"
+msgstr "???????"
+
+#: /default/toolbar.kupu:None
+msgid "Switch between visual editor and HTML view"
+msgstr "??????????HTML???????"
+
+#: /default/toolbar.kupu:None
+msgid "Heading"
+msgstr "???"
+
+#: /default/toolbar.kupu:None
+msgid "Subheading"
+msgstr "????"
+
+#: /default/toolbar.kupu:None
+msgid "Literal"
+msgstr "????"
+
+#: /default/toolbar.kupu:None
+msgid "Discreet"
+msgstr "???"
+
+#: /default/toolbar.kupu:None
+msgid "Pull-quote"
+msgstr "??"
+
+#: /default/toolbar.kupu:None
+msgid "Call-out"
+msgstr "??"
+
+##: /default/toolbar.kupu:None
+#msgid "(remove style)"
+#msgstr "??????"
+
+#: /default/toolbar.kupu:None
+msgid "Highlight"
+msgstr "?????"
+
+##: /default/toolbar.kupu:None
+#msgid "Character styles"
+#msgstr "????????"
+
+#: /common/kupudrawers/drawer.xsl:None
+msgid "anchordrawer_title"
+msgstr "???????"
+
+#: /common/kupudrawers/drawer.xsl:None
+msgid "Link to anchor"
+msgstr "???????"
+
+#: /common/kupudrawers/drawer.xsl:None
+msgid "toggle all"
+msgstr "?????/???"
+
+#: /common/kupudrawers/drawer.xsl:None
+msgid "Numbering"
+msgstr "??????"
Modified: kupu/trunk/kupu/i18n/kupuconfig-ja.po
==============================================================================
--- kupu/trunk/kupu/i18n/kupuconfig-ja.po (original)
+++ kupu/trunk/kupu/i18n/kupuconfig-ja.po Sun Jun 17 14:23:57 2007
@@ -1,6 +1,6 @@
# Translation of kupuconfig-ja.po to Japanese
# Suzuki Takanori 2005
-# J 2005
+# J 2005-2007
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
@@ -427,3 +427,110 @@
msgid "Documentation"
msgstr "??????"
+msgid "Links"
+msgstr "???"
+
+msgid "Toolbar"
+msgstr "?????"
+
+#.
+#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "legend_caption"
+msgstr "????????"
+
+#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "label_refbrowser"
+msgstr "?????????????????"
+
+#.
+#. Images which are linked using UID based links may be automatically captioned.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "notice_help_captioning"
+msgstr "UID??????????????????????????????"
+
+#.
+#. If you enable this option a transform to hide UIDs and support image
+#. captioning from client browsers will also be enabled (see image captioning documentation). If the
+#. transform does not enable itself automatically you may need to update
+#. your PortalTransforms product.
+#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "help_captioning"
+msgstr "If you enable this option a transform to hide UIDs and support image captioning from client browsers will also be enabled (see image captioning documentation). If the transform does not enable itself automatically you may need to update your PortalTransforms product."
+
+#. Fields which could support image captioning:
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "fields_not_support_caption"
+msgstr "???????????????????"
+
+#. Fields which use kupu but do not support image captioning:
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "fiels_not_support_caption_in_kupu"
+msgstr "kupu????????????????????????????"
+
+#.
Replace
+#. ATReferenceBrowser widget with a widget which uses
+#. Kupu's drawers instead of a popup window.
+#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "help_refbrowser"
+msgstr "Replace ATReferenceBrowser widget with a widget which uses Kupu's drawers instead of a popup window."
+
+#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt
+msgid "label_refbrowser_2"
+msgstr "Kupu?Reference Browser?????"
+
+#.
+#. You may enter an expression to control the visibility of all buttons together.
+#. It should return a list of visible button ids, or None to leave all buttons visible.
+#. The visibility rules below are then applied to further filter out individual buttons.
+#. You might use this to restrict a particular class of users to a subset of kupu functions.
+#.
+#.
Control the global visibility of toolbar buttons from this screen. If no expression is entered, only checked buttons are visible. Enter an expression for finer control of visibility. Individual fields may also whitelist or blacklist buttons: see the field schema.
+#.
Values available in expressions includes 'field' as well as the usual names
+#. e.g. to restrict the drawer buttons to users with the appropriate permissions give imagelibdrawer-button and linklibdrawer-button the expression:
+#. python:member and member.has_permission('Kupu: Query libraries',portal)
+#.
Also on this screen are urls for each type which can be previewed as an image. The expression may use object_url and portal_type, but should not attempt to access the object directly. The resulting URL should ideally return an image no larger than 128 pixels square.
+#: c:\zopep21\Products\kupu\plone\resource_types.pt
+msgid "text_resource_types3"
+msgstr ""
From duncan at codespeak.net Wed Jun 20 17:06:22 2007
From: duncan at codespeak.net (duncan at codespeak.net)
Date: Wed, 20 Jun 2007 17:06:22 +0200 (CEST)
Subject: [kupu-checkins] r44391 - kupu/trunk/kupu/common
Message-ID: <20070620150622.0640E810F@code0.codespeak.net>
Author: duncan
Date: Wed Jun 20 17:06:21 2007
New Revision: 44391
Modified:
kupu/trunk/kupu/common/kupudrawers.js
Log:
Typo when changing name of loop variable
Modified: kupu/trunk/kupu/common/kupudrawers.js
==============================================================================
--- kupu/trunk/kupu/common/kupudrawers.js (original)
+++ kupu/trunk/kupu/common/kupudrawers.js Wed Jun 20 17:06:21 2007
@@ -375,7 +375,7 @@
dummy.innerHTML = embed.value;
try {
for (var j=dummy.childNodes.length-1; j >= 0; j--) {
- var c = dummy.childNodes[i];
+ var c = dummy.childNodes[j];
if (/^\//.test(c.nodeName))
{
dummy.removeChild(c);
From duncan at codespeak.net Fri Jun 22 12:44:39 2007
From: duncan at codespeak.net (duncan at codespeak.net)
Date: Fri, 22 Jun 2007 12:44:39 +0200 (CEST)
Subject: [kupu-checkins] r44423 - in kupu/trunk/kupu: common default
plone/kupu_plone_layer
Message-ID: <20070622104439.37A8D80D8@code0.codespeak.net>
Author: duncan
Date: Fri Jun 22 12:44:38 2007
New Revision: 44423
Modified:
kupu/trunk/kupu/common/kupubasetools.js
kupu/trunk/kupu/common/kupudrawers.js
kupu/trunk/kupu/common/kupudrawerstyles.css
kupu/trunk/kupu/common/kupuhelpers.js
kupu/trunk/kupu/default/drawers.kupu
kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html
Log:
Added a 'manage anchors' tab to the anchor drawer so you can add/remove anchors without having to link to them on the same page.
Modified: kupu/trunk/kupu/common/kupubasetools.js
==============================================================================
--- kupu/trunk/kupu/common/kupubasetools.js (original)
+++ kupu/trunk/kupu/common/kupubasetools.js Fri Jun 22 12:44:38 2007
@@ -2874,10 +2874,33 @@
return paras;
};
-proto.getAnchor = function(node) {
- /* Returns the anchor for a node, creating one if reqd. */
+proto.getAnchorsInUse = function() {
+ var doc = this.editor.getInnerDocument();
+ var anchors = doc.getElementsByTagName('a');
+ var inuse = {};
+ for (var i = 0; i < anchors.length; i++) {
+ var m = (/(.*)(#.*)$/.exec(anchors[i].href));
+ /* TODO: filter out external links */
+ if (m) { inuse[m[2]] = 1; };
+ }
+ return inuse;
+}
+
+proto.removeAnchor = function(node) {
+ var anchors = node.getElementsByTagName('a');
+ if (anchors.length > 0) {
+ var anchor = anchors[0];
+ anchor.removeAttribute('name');
+ if (anchor.href) return;
+ anchor.parentNode.removeChild(anchor);
+ };
+}
+proto.getAnchor = function(node, ifexists) {
+ /* Returns the anchor for a node, creating one if reqd. unless
+ * ifexists is set*/
var anchors = node.getElementsByTagName('a');
if (anchors.length > 0) return anchors[0].name;
+ if (ifexists) return;
var anchor = Sarissa.getText(node, true).strip().truncate(40).
replace(/[^\w]+/g, '-').toLowerCase().replace(/-$/,'') || 'anchor';
Modified: kupu/trunk/kupu/common/kupudrawers.js
==============================================================================
--- kupu/trunk/kupu/common/kupudrawers.js (original)
+++ kupu/trunk/kupu/common/kupudrawers.js Fri Jun 22 12:44:38 2007
@@ -1581,7 +1581,10 @@
this.tool.fillStyleSelect(this.style2);
this.tool.fillStyleSelect(this.ostyle);
};
- this.getMode = function() {
+ this.getMode = function() { /* tab 0, 1, or 2 */
+ if (/kupu-ins-bm/.test(this.panel.className)) return 0;
+ if (/kupu-anchor/.test(this.panel.className)) return 1;
+ return 2;
return !!(/kupu-ins-bm/.test(this.panel.className));
};
@@ -1589,7 +1592,10 @@
var nodes = this.paralist.getElementsByTagName('input');
var state = this.checkall.checked;
for (var i = 0; i < nodes.length; i++) {
- nodes[i].checked = state;
+ var n = nodes[i];
+ if (n.type=="checkbox" && !n.disabled) {
+ nodes[i].checked = state;
+ };
};
};
@@ -1601,9 +1607,9 @@
this.styleNames = ['', ''];
- var isSingle = this.getMode();
+ var mode = this.getMode();
var s = ['', ''];
- for (var idx=0; idx < (isSingle?1:2); idx++) {
+ for (var idx=0; idx < (mode==2?2:1); idx++) {
var sel = this['style'+(idx+1)];
var i = sel.selectedIndex;
if (i >= 0) {
@@ -1612,21 +1618,43 @@
}
}
+ if (mode==1) {
+ var inuse = this.tool.getAnchorsInUse();
+ }
var paras = (this.nodelist = this.tool.grubParas(s[0], s[1]));
for (var i = 0; i < paras.length; i++) {
var node = paras[i][0];
var text = Sarissa.getText(node, true).strip().truncate(60);
if (!text) continue;
var content = document.createTextNode(text);
-
+ var anchor = '';
+ if (mode==1) {
+ anchor = this.tool.getAnchor(node, true);
+ if (anchor) {
+ anchor = '#'+anchor;
+ }
+ }
+ var checked;
+ switch (mode) {
+ case 0: checked = i==0; break;
+ case 1: checked = !!anchor; break;
+ case 2: checked = this.checkall.checked; break;
+ }
var control = el('input', {
- 'type': isSingle?"radio":"checkbox",
- 'checked': isSingle?i==0:this.checkall.checked,
- 'name': "kupu-bm-paralist"});
-
- var div = el('div',
- { 'className': "kupu-bm-level" + paras[i][1] },
- [el('label', [control, el('span', [content])])]);
+ 'type': (mode==0)?"radio":"checkbox",
+ checked: checked, title:'hello',
+ name: "kupu-bm-paralist"});
+ if (anchor && inuse && inuse[anchor]) {
+ control.disabled = true;
+ }
+
+ var inner = [control, el('span', [content])];
+ if (anchor) {
+ inner.push(el('a', {href:anchor, className:'kupu-anchor-link',onclick:'return false;',
+ title:_('Right click to copy link')}, [anchor]));
+ };
+ var div = el('div', {className: "kupu-bm-level" + paras[i][1] },
+ [el('label', inner)]);
this.paralist.appendChild(div);
};
@@ -1637,27 +1665,30 @@
this.focusElement();
};
this.save = function() {
- var isSingle = this.getMode();
+ var mode = this.getMode();
var selected = this.paralist.getElementsByTagName('input');
var ed = this.editor;
ed.resumeEditing();
- if (!isSingle) {
+ if (mode==2) {
var toc = ed.newElement('ul');
};
var lvl1=0, lvl2=0;
for (var i = 0; i < selected.length; i++) {
+ var nodeinfo = this.nodelist[i];
+ var node = nodeinfo[0];
+ var level = nodeinfo[1];
if (selected[i].checked) {
- var nodeinfo = this.nodelist[i];
- var node = nodeinfo[0];
- var level = nodeinfo[1];
var a = this.tool.getAnchor(node);
var caption = Sarissa.getText(node, true).strip().truncate(140);
- if (isSingle) {
+ switch (mode) {
+ case 0:
this.tool.createLink('#'+a, null, null, null, caption);
break;
- } else {
+ case 1:
+ break;
+ case 2:
/* Insert TOC entry here */
var number;
if (level==0) {
@@ -1678,10 +1709,15 @@
}
toc.lastChild.appendChild(li);
};
+ break;
};
+ } else {
+ if (mode==1) {
+ this.tool.removeAnchor(node);
+ }
};
};
- if (!isSingle && toc.firstChild) {
+ if (mode==2 && toc.firstChild) {
var o = this.ostyle.selectedIndex;
if (o > 0) {
var ostyle = this.ostyle.options[o].value.split('|');
Modified: kupu/trunk/kupu/common/kupudrawerstyles.css
==============================================================================
--- kupu/trunk/kupu/common/kupudrawerstyles.css (original)
+++ kupu/trunk/kupu/common/kupudrawerstyles.css Fri Jun 22 12:44:38 2007
@@ -296,8 +296,10 @@
opacity:0.5;
filter:alpha(opacity=50);
}
-.kupu-ins-bm #kupu-bm-sel2, .kupu-ins-bm .kupu-bm-heading,
-.kupu-ins-bm .kupu-bm-helptoc,.kupu-toc .kupu-bm-helpanchor,
+.kupu-ins-bm .hide-ins-bm, .kupu-anchor .hide-anchor, .kupu-toc .hide-toc {
+ display: none;
+}
+
.image-dimensions {
display: none;
}
@@ -348,3 +350,6 @@
padding: 1px 0px 1px 16px;
font-style: italic;
}
+a.kupu-anchor-link {
+ margin-left: 1em;
+}
Modified: kupu/trunk/kupu/common/kupuhelpers.js
==============================================================================
--- kupu/trunk/kupu/common/kupuhelpers.js (original)
+++ kupu/trunk/kupu/common/kupuhelpers.js Fri Jun 22 12:44:38 2007
@@ -96,7 +96,11 @@
if (arg.length===undefined) {
if (!_SARISSA_IS_IE) {
for (var attr in arg) {
- node[attr] = arg[attr];
+ if (/^on/.test(attr)) {
+ node.setAttribute(attr, arg[attr]);
+ } else {
+ node[attr] = arg[attr];
+ };
};
};
} else {
Modified: kupu/trunk/kupu/default/drawers.kupu
==============================================================================
--- kupu/trunk/kupu/default/drawers.kupu (original)
+++ kupu/trunk/kupu/default/drawers.kupu Fri Jun 22 12:44:38 2007
@@ -276,6 +276,7 @@
Select a paragraph style then choose a paragraph and Ok to insert a link to that location.
-
+
Select one or two paragraph styles, then Ok to insert a table of contents.
+
+ Anchors are created for checked paragraphs and
+ removed for unchecked paragraphs when you press Ok.
+ Anchors in use on this page may not be deleted.
+
Select a paragraph style then choose a paragraph and Ok to insert a link to that location.
-
+
Select one or two paragraph styles, then Ok to insert a table of contents.
+
+ Anchors are created for checked paragraphs and
+ removed for unchecked paragraphs when you press Ok.
+ Anchors in use on this page may not be deleted.
+
In the form below, you may manage the list of drawer libraries for
-the Kupu editor. Each property of a library is dynamically expanded at
-execution time using TALES expressions. That way it is possible, to
-support libraries like Current folder or My folder
-very easily.
-
Libraries with ids that begin with an underscore will not display in the initial library list.
- _search will be used to set the icon and title for search results.
- The first $ character in the title will be replaced by the search string.
- _selection will be used to set the icon and title for the current selection.
-
-
The title string may contain html <br> tags to put a line break in the title (not the xhtml <br/> form),
- but otherwise tags are not interpreted.
-
-
-
-
-
-
-
-
-
-
The following variables are available in the TALES expressions:
-
-
-
-
object
-
The current context object
-
-
-
object_url
-
The URL of the current context object
-
-
-
folder
-
The folder the context object is located in
-
-
-
folder_url
-
The URL of the folder the context object is located in
+ In the form below, you may manage the list of drawer libraries for
+ the Kupu editor. Each property of a library is dynamically expanded at
+ execution time using TALES expressions. That way it is possible, to
+ support libraries like Current folder or My folder
+ very easily.
+
+ Libraries with ids that begin with an underscore will not display in the initial library list.
+ _search will be used to set the icon and title for search results.
+ The first $ character in the title will be replaced by the search string.
+ _selection will be used to set the icon and title for the current selection.
+
+
+ The title string may contain html <br> tags to put a line break in the title (not the xhtml <br/> form),
+ but otherwise tags are not interpreted.
+