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 "?????" + +#. Captioning +#.
+#: 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?????" + +#.
+#. Please use the Plone HTML filter control panel to set filtering options. +#.
+#: c:\zopep21\Products\kupu\plone\kupu_config.pt +msgid "momi" +msgstr " Plone HTML ???? ????????? ?????????????????????????" + +#.

Kupu Toolbar Configuration

+#: c:\zopep21\Products\kupu\plone\zmi_toolbar.pt +msgid "heading_configuration" +msgstr "Kupu???????" + +#. Global button visibility +#: c:\zopep21\Products\kupu\plone\zmi_toolbar.pt +msgid "legend_link_options" +msgstr "??????????????" + +#.
+#. 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. +#. +#.
+#: c:\zopep21\Products\kupu\plone\zmi_toolbar.pt +msgid "help_link_uid" +msgstr "" + +#. Button visibility +#: c:\zopep21\Products\kupu\plone\zmi_toolbar.pt +msgid "legend_link_options" +msgstr "?????" + +#.
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) +#.
+#.
+#: c:\zopep21\Products\kupu\plone\zmi_toolbar.pt +msgid "help_link_uid" +msgstr "" + +#.

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 @@
@@ -284,8 +285,8 @@ - Modified: kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html ============================================================================== --- kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html (original) +++ kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html Fri Jun 22 12:44:38 2007 @@ -16,7 +16,7 @@ - + @@ -241,7 +241,7 @@ Link the highlighted text to this URL: - +
-
-
+
+
@@ -293,7 +294,7 @@
-
+
@@ -305,17 +306,22 @@
 
-
+
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. +
- + @@ -401,6 +401,7 @@
@@ -409,8 +410,8 @@ - From duncan at codespeak.net Fri Jun 22 14:44:12 2007 From: duncan at codespeak.net (duncan at codespeak.net) Date: Fri, 22 Jun 2007 14:44:12 +0200 (CEST) Subject: [kupu-checkins] r44431 - kupu/trunk/kupu/common Message-ID: <20070622124412.63BE080E9@code0.codespeak.net> Author: duncan Date: Fri Jun 22 14:44:12 2007 New Revision: 44431 Modified: kupu/trunk/kupu/common/kupubasetools.js kupu/trunk/kupu/common/kupudrawers.js Log: Attributes may be encoded Modified: kupu/trunk/kupu/common/kupubasetools.js ============================================================================== --- kupu/trunk/kupu/common/kupubasetools.js (original) +++ kupu/trunk/kupu/common/kupubasetools.js Fri Jun 22 14:44:12 2007 @@ -2881,7 +2881,7 @@ 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; }; + if (m) { inuse[decodeURIComponent(m[2])] = 1; }; } return inuse; } Modified: kupu/trunk/kupu/common/kupudrawers.js ============================================================================== --- kupu/trunk/kupu/common/kupudrawers.js (original) +++ kupu/trunk/kupu/common/kupudrawers.js Fri Jun 22 14:44:12 2007 @@ -1644,7 +1644,7 @@ 'type': (mode==0)?"radio":"checkbox", checked: checked, title:'hello', name: "kupu-bm-paralist"}); - if (anchor && inuse && inuse[anchor]) { + if (anchor && inuse && inuse[decodeURIComponent(anchor)]) { control.disabled = true; } From duncan at codespeak.net Mon Jun 25 11:28:02 2007 From: duncan at codespeak.net (duncan at codespeak.net) Date: Mon, 25 Jun 2007 11:28:02 +0200 (CEST) Subject: [kupu-checkins] r44500 - kupu/trunk/kupu/common Message-ID: <20070625092802.9509280EE@code0.codespeak.net> Author: duncan Date: Mon Jun 25 11:28:02 2007 New Revision: 44500 Modified: kupu/trunk/kupu/common/kupuhelpers.js Log: Applied patch plone ticket #6088: Range.intersectsNode declared obsolete Modified: kupu/trunk/kupu/common/kupuhelpers.js ============================================================================== --- kupu/trunk/kupu/common/kupuhelpers.js (original) +++ kupu/trunk/kupu/common/kupuhelpers.js Mon Jun 25 11:28:02 2007 @@ -977,6 +977,20 @@ selection.addRange(range); }; + //sample kindly snipped from Mozilla's wiki + if( !Range.prototype.intersectsNode ){ + Range.prototype.intersectsNode = function(node) { + var nodeRange = node.ownerDocument.createRange(); + try { + nodeRange.selectNode(node); + } catch (e) { + nodeRange.selectNodeContents(node); + }; + + return this.compareBoundaryPoints(Range.END_TO_START, nodeRange) == -1 && + this.compareBoundaryPoints(Range.START_TO_END, nodeRange) == 1; + }; + }; this.intersectsNode = function(node) { for(var i = 0; i < this.selection.rangeCount; i++ ) { if( this.selection.getRangeAt(i).intersectsNode(node) ) { From duncan at codespeak.net Mon Jun 25 11:31:10 2007 From: duncan at codespeak.net (duncan at codespeak.net) Date: Mon, 25 Jun 2007 11:31:10 +0200 (CEST) Subject: [kupu-checkins] r44501 - kupu/trunk/kupu/plone/profiles/default Message-ID: <20070625093110.6DF9B80EE@code0.codespeak.net> Author: duncan Date: Mon Jun 25 11:31:10 2007 New Revision: 44501 Modified: kupu/trunk/kupu/plone/profiles/default/jsregistry.xml Log: The profile shouldn't be loading the unused kupucontextmenu javascript. Modified: kupu/trunk/kupu/plone/profiles/default/jsregistry.xml ============================================================================== --- kupu/trunk/kupu/plone/profiles/default/jsregistry.xml (original) +++ kupu/trunk/kupu/plone/profiles/default/jsregistry.xml Mon Jun 25 11:31:10 2007 @@ -38,11 +38,6 @@ - Author: duncan Date: Mon Jun 25 11:54:13 2007 New Revision: 44502 Modified: kupu/trunk/kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py kupu/trunk/kupu/plone/plonelibrarytool.py kupu/trunk/kupu/plone/profiles/default/kupu.xml Log: Plone ticket #5985 Kupu should not strip the dir attribute by default. Modified: kupu/trunk/kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py ============================================================================== --- kupu/trunk/kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py (original) +++ kupu/trunk/kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py Mon Jun 25 11:54:13 2007 @@ -53,7 +53,7 @@ 'keep': 1 }, {'tags':(), - 'attributes': ('dir','lang','valign','halign','border','frame', + 'attributes': ('lang','valign','halign','border','frame', 'rules','cellspacing','cellpadding','bgcolor'), 'keep': 1}, Modified: kupu/trunk/kupu/plone/plonelibrarytool.py ============================================================================== --- kupu/trunk/kupu/plone/plonelibrarytool.py (original) +++ kupu/trunk/kupu/plone/plonelibrarytool.py Mon Jun 25 11:54:13 2007 @@ -82,7 +82,7 @@ # Tidy up html by exlcluding lots of things. _excluded_html = [ (('center', 'tt', 'big', 'small', 'basefont', 'font'), ()), - ((), ('dir','lang','valign','halign','border','frame','rules','cellspacing','cellpadding','bgcolor')), + ((), ('lang','valign','halign','border','frame','rules','cellspacing','cellpadding','bgcolor')), (('table','th','td'),('width','height')), ] Modified: kupu/trunk/kupu/plone/profiles/default/kupu.xml ============================================================================== --- kupu/trunk/kupu/plone/profiles/default/kupu.xml (original) +++ kupu/trunk/kupu/plone/profiles/default/kupu.xml Mon Jun 25 11:54:13 2007 @@ -18,7 +18,7 @@ - text-align From duncan at codespeak.net Mon Jun 25 16:15:03 2007 From: duncan at codespeak.net (duncan at codespeak.net) Date: Mon, 25 Jun 2007 16:15:03 +0200 (CEST) Subject: [kupu-checkins] r44509 - in kupu/trunk/kupu: common common/kupudrawers i18n plone Message-ID: <20070625141503.67B5780E0@code0.codespeak.net> Author: duncan Date: Mon Jun 25 16:15:02 2007 New Revision: 44509 Modified: kupu/trunk/kupu/common/kupu.pox kupu/trunk/kupu/common/kupubasetools.js kupu/trunk/kupu/common/kupucnftable.js kupu/trunk/kupu/common/kupudrawers/drawer.xsl kupu/trunk/kupu/common/kupueditor.js kupu/trunk/kupu/i18n/kupu.pot kupu/trunk/kupu/plone/body.kupu kupu/trunk/kupu/plone/kupu_config.pt kupu/trunk/kupu/plone/libraries.pt kupu/trunk/kupu/plone/resource_types.pt kupu/trunk/kupu/plone/wysiwyg_support.kupu kupu/trunk/kupu/plone/zmi_links.pt kupu/trunk/kupu/plone/zmi_toolbar.pt Log: Started i18n cleanup: Removed some of the more verbose log or purely internal log messages. Rebuilt kupu.pox Added missing i18n attributes to Plone files. Modified: kupu/trunk/kupu/common/kupu.pox ============================================================================== --- kupu/trunk/kupu/common/kupu.pox (original) +++ kupu/trunk/kupu/common/kupu.pox Mon Jun 25 16:15:02 2007 @@ -1,190 +1,6 @@ - - - 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 or the service that provide them (error: ${error}). - - - 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 or the service that provide them (error: ${error}). - - - - - Your form has not been saved. All changes you have made will be lost - - - Your form has not been saved. All changes you have made will be lost - - - - - Source edit tool initialized - - - Source edit tool initialized - - - - - Cleaning up HTML... - - - Cleaning up HTML... - - - - - Editor initialized - - - Editor initialized - - - - - Couldn\'t set design mode. Kupu will not work on this browser. - - - Couldn\'t set design mode. Kupu will not work on this browser. - - - - - Please wait while saving document... - - - Please wait while saving document... - - - - - Starting HTML cleanup - - - Starting HTML cleanup - - - - - Cleanup done, sending document to server - - - Cleanup done, sending document to server - - - - - Exception while processing updateState on ${id}: ${msg} - - - Exception while processing updateState on ${id}: ${msg} - - - - - No destination URL available! - - - No destination URL available! - - - - - Request sent to server - - - Request sent to server - - - - - Sending request to server - - - Sending request to server - - - - - Editor not initialized yet! - - - Editor not initialized yet! - - - - - Command ${command} executed - - - Command ${command} executed - - - - - Command ${command} executed with parameter ${param} - - - Command ${command} executed with parameter ${param} - - - - - Browser not supported! - - - Browser not supported! - - - - - Error saving your data.\nResponse status: ${status}.\nCheck your server log for more information. - - - Error saving your data.\nResponse status: ${status}.\nCheck your server log for more information. - - - - - Error saving document - - - Error saving document - - - - - Document saved - - - Document saved - - - - - Error placing back selection - - - Error placing back selection - - - - - Deprecation warning: KupuTool._selectSelectItem - - - Deprecation warning: KupuTool._selectSelectItem - - - - - Deprecation warning: KupuToolBox._selectSelectItem - - - Deprecation warning: KupuToolBox._selectSelectItem - - - + Cutting from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html @@ -192,7 +8,7 @@ Cutting from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html - + Copying from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html @@ -200,7 +16,7 @@ Copying from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html - + Pasting from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html @@ -208,7 +24,7 @@ Pasting from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html - + Cut @@ -216,7 +32,7 @@ Cut - + Copy @@ -224,7 +40,7 @@ Copy - + Paste @@ -232,15 +48,7 @@ Paste - - - Colorchooser tool initialized - - - Colorchooser tool initialized - - - + Color chosen @@ -248,7 +56,7 @@ Color chosen - + No head in document! @@ -256,15 +64,7 @@ No head in document! - - - Property tool initialized - - - Property tool initialized - - - + Properties modified @@ -272,23 +72,7 @@ Properties modified - - - Link tool initialized - - - Link tool initialized - - - - - Link added - - - Link added - - - + Not inside link @@ -296,15 +80,7 @@ Not inside link - - - Link removed - - - Link removed - - - + Delete link @@ -312,7 +88,7 @@ Delete link - + Create link @@ -320,31 +96,7 @@ Create link - - - Link modified - - - Link modified - - - - - Image tool initialized - - - Image tool initialized - - - - - Image inserted - - - Image inserted - - - + Create image @@ -352,7 +104,7 @@ Create image - + Add table @@ -360,7 +112,7 @@ Add table - + Add row @@ -368,7 +120,7 @@ Add row - + Delete row @@ -376,7 +128,7 @@ Delete row - + Add column @@ -384,7 +136,7 @@ Add column - + Delete column @@ -392,7 +144,7 @@ Delete column - + Delete Table @@ -400,7 +152,7 @@ Delete Table - + Invalid table size @@ -408,183 +160,183 @@ Invalid table size - + - Table added + No row to delete - Table added + No row to delete - + - Table row added + No parentcolumn found! - Table row added + No parentcolumn found! - + - No row to delete + Not inside a table! - No row to delete + Not inside a table! - + - Table row removed + Could not set status bar message, check your browser\'s security settings. - Table row removed + Could not set status bar message, check your browser\'s security settings. - + - No parentcolumn found! + View source - No parentcolumn found! + View source - + - tdindex: ${tdindex} + Not inside a definition list element! - tdindex: ${tdindex} + Not inside a definition list element! - + - Table column added + Discard changes? If you click OK, any changes you have made will be lost. - Table column added + Discard changes? If you click OK, any changes you have made will be lost. - + - Table column deleted + Not inside a row! - Table column deleted + Not inside a row! - + - Not inside a table! + Can only preview web urls - Not inside a table! + Can only preview web urls - + - Table removed + Right click to copy link - Table removed + Right click to copy link - + - Recursion detected when counting column position + No destination URL available! - Recursion detected when counting column position + No destination URL available! - + - Table cleaned up + Please wait while saving document... - Table cleaned up + Please wait while saving document... - + - Table tool initialized + Starting HTML cleanup - Table tool initialized + Starting HTML cleanup - + - List style tool initialized + Cleanup done, sending document to server - List style tool initialized + Cleanup done, sending document to server - + - List style changed + Request sent to server - List style changed + Request sent to server - + - Could not set status bar message, check your browser\'s security settings. + Sending request to server - Could not set status bar message, check your browser\'s security settings. + Sending request to server - + - View source + Editor not initialized yet! - View source + Editor not initialized yet! - + - Not inside a definition list element! + Browser not supported! - Not inside a definition list element! + Browser not supported! - + - Zoom tool initialized + Error saving your data.\nResponse status: ${status}.\nCheck your server log for more information. - Zoom tool initialized + Error saving your data.\nResponse status: ${status}.\nCheck your server log for more information. - + - There were no errors. + Error saving document - There were no errors. + Error saving document - + - Error loading data, status ${status} + Document saved - Error loading data, status ${status} + Document saved - + - This feature requires pop-ups to be enabled on your browser! + Couldn\'t set design mode. Kupu will not work on this browser. - This feature requires pop-ups to be enabled on your browser! + Couldn\'t set design mode. Kupu will not work on this browser. - + Unsupported browser! @@ -592,7 +344,7 @@ Unsupported browser! - + exception ${message} while registering an event handler for element ${element}, event ${event}, method ${method} @@ -600,7 +352,7 @@ exception ${message} while registering an event handler for element ${element}, event ${event}, method ${method} - + No element found in the config island! @@ -608,7 +360,7 @@ No element found in the config island! - + Selection not inside the node! @@ -616,7 +368,7 @@ Selection not inside the node! - + Start node offset detected in a node without children! @@ -624,7 +376,7 @@ Start node offset detected in a node without children! - + End node offset detected in a node without children! @@ -632,7 +384,7 @@ End node offset detected in a node without children! - + Start offset out of range! @@ -640,7 +392,7 @@ Start offset out of range! - + End offset out of range! @@ -648,7 +400,7 @@ End offset out of range! - + Offset out of document range @@ -656,76 +408,92 @@ Offset out of document range - + - Error loading translation (status ${status} ), falling back to english + 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 or the service that provide them (error: ${error}). - Error loading translation (status ${status} ), falling back to english + 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 or the service that provide them (error: ${error}). - + - Not inside a row! + Editor initialized - Not inside a row! + Editor initialized - + - Row repeated + You are leaving the editor. Do you want to save your changes? - Row repeated + You are leaving the editor. Do you want to save your changes? - + - Row repeat turned off + Source edit tool initialized - Row repeat turned off + Source edit tool initialized - + - You have unsaved changes. Do you want to save before leaving the page? + Cleaning up HTML... - You have unsaved changes. Do you want to save before leaving the page? + Cleaning up HTML... - + - click to unfold + There were no errors. - click to unfold + There were no errors. - + - click to fold + Error loading data, status ${status} - click to fold + Error loading data, status ${status} - + - Illegal or missing width entry in column info! + This feature requires pop-ups to be enabled on your browser! - Illegal or missing width entry in column info! + This feature requires pop-ups to be enabled on your browser! - + - items + Error loading translation (status ${status} ), falling back to english + + + Error loading translation (status ${status} ), falling back to english + + + + + click to unfold - items + click to unfold + + + + + click to fold + + + click to fold Modified: kupu/trunk/kupu/common/kupubasetools.js ============================================================================== --- kupu/trunk/kupu/common/kupubasetools.js (original) +++ kupu/trunk/kupu/common/kupubasetools.js Mon Jun 25 16:15:02 2007 @@ -72,10 +72,6 @@ }; // private methods addEventHandler = addEventHandler; - - this._selectSelectItem = function(select, item) { - this.editor.logMessage(_('Deprecation warning: KupuTool._selectSelectItem')); - }; } function KupuToolBox() { @@ -90,10 +86,6 @@ this.updateState = function(selNode, event) { /* update the toolbox according to the current iframe's situation */ }; - - this._selectSelectItem = function(select, item) { - this.editor.logMessage(_('Deprecation warning: KupuToolBox._selectSelectItem')); - }; }; function noContextMenu(object) { @@ -837,7 +829,6 @@ addEventHandler(this.hlcolorbutton, "click", this.openHlColorChooser, this); addEventHandler(this.ccwindow, "click", this.chooseColor, this); this.hide(); - this.editor.logMessage(_('Colorchooser tool initialized')); }; this.updateState = function(selNode) { @@ -973,8 +964,6 @@ } } } - - this.editor.logMessage(_('Property tool initialized')); }; this.updateProperties = function() { @@ -1041,7 +1030,6 @@ this.initialize = function(editor) { this.editor = editor; - this.editor.logMessage(_('Link tool initialized')); }; this.createLinkHandler = function(event) { @@ -1134,7 +1122,6 @@ this.updateLink(linkel, url, type, name, target, title); }; } - this.editor.logMessage(_('Link added')); }; this.deleteLink = function() { @@ -1149,8 +1136,6 @@ linkel.parentNode.insertBefore(linkel.childNodes[0], linkel); }; linkel.parentNode.removeChild(linkel); - - this.editor.logMessage(_('Link removed')); }; this.createContextMenuElements = function(selNode, event) { @@ -1223,7 +1208,6 @@ var url = this.input.value; linkel.setAttribute('href', url); - this.editor.logMessage(_('Link modified')); this.editor.updateState(); }; }; @@ -1236,7 +1220,6 @@ this.initialize = function(editor) { /* attach the event handlers */ this.editor = editor; - this.editor.logMessage(_('Image tool initialized')); }; this.createImageHandler = function(event) { @@ -1271,7 +1254,6 @@ img.className = imgclass; }; this.newNode('IMG', img); - this.editor.logMessage(_('Image inserted')); return img; }; @@ -1282,7 +1264,6 @@ 'data':url}, [ed.newElement('param', {name:'movie', value:url})]); this.newNode('OBJECT', obj); - this.editor.logMessage(_('Flash inserted')); }; this.setImageClass = function(imgclass) { @@ -1422,8 +1403,6 @@ this.editor.insertNodeAtSelection(table); this._setTableCellHandlers(table); - - this.editor.logMessage(_('Table added')); return table; }; @@ -1513,8 +1492,6 @@ } else { currtbody.insertBefore(newrow, nextrow); } - - this.editor.logMessage(_('Table row added')); }; this.delTableRow = function() { @@ -1538,8 +1515,6 @@ // remove the row parentrow.parentNode.removeChild(parentrow); - - this.editor.logMessage(_('Table row removed')); }; this.addTableColumn = function() { @@ -1630,7 +1605,6 @@ } } } - this.editor.logMessage(_('Table column added')); }; this.delTableColumn = function() { @@ -1701,7 +1675,6 @@ } } } - this.editor.logMessage(_('Table column deleted')); }; this.delTable = function() { @@ -1713,7 +1686,6 @@ return; }; table.parentNode.removeChild(table); - this.editor.logMessage(_('Table removed')); }; this.setColumnAlign = function(newalign) { @@ -1790,7 +1762,7 @@ } prevsib = prevsib.previousSibling; if (currcolindex > 30) { - alert(_("Recursion detected when counting column position")); + alert("Recursion detected when counting column position"); return; } } @@ -2005,8 +1977,6 @@ if (frows.length) { table.appendChild(tfoot); } - - this.editor.logMessage(_('Table cleaned up')); }; this.fixAllTables = function() { @@ -2080,7 +2050,6 @@ addEventHandler(this.fixallbutton, "click", this.fixAllTables, this); this.addtablediv.style.display = "block"; this.edittablediv.style.display = "none"; - this.editor.logMessage(_('Table tool initialized')); }; this.updateState = function(selNode) { @@ -2228,8 +2197,6 @@ addEventHandler(this.olselect, "change", this.setOrderedListStyle, this); this.olselect.style.display = "none"; } - - this.editor.logMessage(_('List style tool initialized')); }; this._handleStyles = function(currnode, onselect, offselect) { @@ -2300,7 +2267,6 @@ l.setAttribute('type', this.style_to_type[style]); } this.editor.focusDocument(); - this.editor.logMessage(_('List style changed')); }; this.setUnorderedListStyle = function() { @@ -2723,8 +2689,6 @@ var iframe = editor.getInnerDocument(); this.setTabbing(iframe, firstbutton, lastbutton); this.setTabbing(firstbutton, null, editor.getDocument().getWindow()); - - this.editor.logMessage(_('Zoom tool initialized')); }; }; Modified: kupu/trunk/kupu/common/kupucnftable.js ============================================================================== --- kupu/trunk/kupu/common/kupucnftable.js (original) +++ kupu/trunk/kupu/common/kupucnftable.js Mon Jun 25 16:15:02 2007 @@ -18,7 +18,6 @@ }; row.setAttribute('repeatable', 'repeatable'); row.className = 'repeatable'; - this.editor.logMessage(_('Row repeated')); this.updateState(selNode); }; @@ -32,7 +31,6 @@ row.removeAttribute('repeatable'); row.className = ''; row.removeAttribute('class'); - this.editor.logMessage(_('Row repeat turned off')); this.updateState(selNode); }; @@ -94,7 +92,6 @@ addEventHandler(this.fixallbutton, "click", this.tool.fixAllTables, this.tool); this.addtablediv.style.display = "block"; this.edittablediv.style.display = "none"; - this.editor.logMessage(_('Table tool initialized')); }; this.updateState = function(selNode) { Modified: kupu/trunk/kupu/common/kupudrawers/drawer.xsl ============================================================================== --- kupu/trunk/kupu/common/kupudrawers/drawer.xsl (original) +++ kupu/trunk/kupu/common/kupudrawers/drawer.xsl Mon Jun 25 16:15:02 2007 @@ -28,7 +28,7 @@ - Drawer + Drawer @@ -64,7 +64,7 @@ - Drawer + Drawer @@ -394,7 +394,8 @@ @@ -485,8 +486,8 @@ disabled - - + + Modified: kupu/trunk/kupu/common/kupueditor.js ============================================================================== --- kupu/trunk/kupu/common/kupueditor.js (original) +++ kupu/trunk/kupu/common/kupueditor.js Mon Jun 25 16:15:02 2007 @@ -122,7 +122,6 @@ } else { this._setDesignModeWhenReady(); }; - this.logMessage(_('Editor initialized')); }; this.setContextMenu = function(menu) { @@ -188,8 +187,8 @@ break; } else { this.logMessage( - _('Exception while processing updateState on ' + - '${id}: ${msg}', {'id': id, 'msg': e}), 2); + 'Exception while processing updateState on ' + + '${id}: ${msg}', {'id': id, 'msg': e}, 2); }; }; }; @@ -348,13 +347,7 @@ }; }; this.getDocument().execCommand(command, param); - var message = _('Command ${command} executed', {'command': command}); - if (param) { - message = _('Command ${command} executed with parameter ${param}', - {'command': command, 'param': param}); - } this.updateState(); - this.logMessage(message); }; this.getSelection = function() { Modified: kupu/trunk/kupu/i18n/kupu.pot ============================================================================== --- kupu/trunk/kupu/i18n/kupu.pot (original) +++ kupu/trunk/kupu/i18n/kupu.pot Mon Jun 25 16:15:02 2007 @@ -246,10 +246,6 @@ msgstr "" #: /common/kupu.pox:None -msgid "Deprecation warning: KupuToolBox._selectSelectItem" -msgstr "" - -#: /common/kupu.pox:None msgid "Copying from JavaScript is disabled on your Mozilla due to security settings. For more information, read http://www.mozilla.org/editor/midasdemo/securityprefs.html" msgstr "" Modified: kupu/trunk/kupu/plone/body.kupu ============================================================================== --- kupu/trunk/kupu/plone/body.kupu (original) +++ kupu/trunk/kupu/plone/body.kupu Mon Jun 25 16:15:02 2007 @@ -68,7 +68,7 @@ tal:define="floated widget/allow_file_upload | python:1;" tal:attributes="style python:test(floated, 'float:left;;', '');" > @@ -85,7 +85,7 @@ tal:attributes="style python:test(floated, 'float:left;;', '');" > - + - + - - - - - + + + + + - + - -
+ +
- + -
+
- - - -
-   -
- -
-

Kupu Configuration

-
- -
-Link options -
- - - - -
Links to objects -on this site created by Kupu can use unique object ids so that the -links remain valid even if the target object is renamed or moved -elsewhere on the site. - -A portal transform to hide the UIDs from client browsers is -currently operating for the fields: -
-
- -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. - -
- -
- -
-
-Captioning -
- - - -
-Images which are linked using UID based links may be automatically captioned. - -
- -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:
-
-
-Fields which appear to currently support image captioning:
-
-
Fields which use kupu but do not support image captioning:
-
-
-
- -
-Reference Browser -
- - - - -
Replace -ATReferenceBrowser widget with a widget which uses -Kupu's drawers instead of a popup window.
-
- -
-
-Warn before losing changes -
- - - - -
Kupu can install a handler to warn before navigating -away from a page where a form (even the non-Kupu fields) has been edited. -Turn this off to prevent Kupu loading its own handler. -
-
- -
-
-HTML View -
- - - - -
When checked, Kupu's HTML view will display the -filtered HTML which will be sent to the server. Uncheck this box to see the raw HTML generated by the browser. -
-
- -
-
-Styles -
- -
Enter a list of class names to be made available in the table drawer
- - - -
- -
- -
Enter a list of paragraph styles to appear in the style pulldown. Format is title|tag or title|tag|className, one per line.
- - -
-
- -
-HTML Filter - -
- Please use the - Plone HTML filter control panel to set filtering options. -
-
-
-
+
+
@@ -418,7 +419,7 @@
-
+
@@ -430,17 +431,22 @@
 
-
+
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. +
- +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TagsAttributes
-
Enter HTML tags and attributes to be removed when saving documents. (Uncheck to remove entries)
-
- - - - -
- Any tag -
- Whole tag removed -
- - - - - - -
Style Whitelist
-
Enter a list of style elements to be permitted (one per line)
- - -
Class Blacklist
-
Enter a list of classnames to be excluded (one per line)
- - -
- - - - -
- - - - - - - - + > +
  • + Config +
  • + + +
    +   +
    + +
    +

    Kupu Configuration

    +
    + +
    + Link options +
    + + + + +
    Links to objects + on this site created by Kupu can use unique object ids so that the + links remain valid even if the target object is renamed or moved + elsewhere on the site. + + A portal transform to hide the UIDs from client browsers is + currently operating for the fields: +
    +
    + + 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. + +
    + +
    + +
    +
    + Captioning +
    + + + +
    + + Images which are linked using UID based links may be automatically captioned. + + +
    + + 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:
    +
    +
    + Fields which appear to currently support image captioning:
    +
    +
    Fields which use kupu but do not support image captioning:
    +
    +
    +
    +
    + +
    + Reference Browser +
    + + + + +
    Replace + ATReferenceBrowser widget with a widget which uses + Kupu's drawers instead of a popup window.
    +
    +
    + +
    + Warn before losing changes +
    + + + + +
    Kupu can install a handler to warn before navigating + away from a page where a form (even the non-Kupu fields) has been edited. + Turn this off to prevent Kupu loading its own handler. +
    +
    +
    + +
    + HTML View +
    + + + + +
    When checked, Kupu's HTML view will display the + filtered HTML which will be sent to the server. Uncheck this box to see the raw HTML generated by the browser. +
    +
    + +
    +
    + Styles +
    + +
    Enter a list of class names to be made available in the table drawer
    + + + +
    + +
    + +
    Enter a list of paragraph styles to appear in the style pulldown. Format is title|tag or title|tag|className, one per line.
    + + +
    +
    + +
    + HTML Filter + +
    + Please use the + Plone HTML filter control panel + to set filtering options. +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TagsAttributes
    +
    Enter HTML tags and attributes to be removed when saving documents. (Uncheck to remove entries)
    +
    + + + + +
    + Any tag +
    + Whole tag removed +
    + + + + + + +
    Style Whitelist
    +
    Enter a list of style elements to be permitted (one per line)
    + + +
    Class Blacklist
    +
    Enter a list of classnames to be excluded (one per line)
    + + +
    +
    + + +
    +
    + + + + Modified: kupu/trunk/kupu/plone/libraries.pt ============================================================================== --- kupu/trunk/kupu/plone/libraries.pt (original) +++ kupu/trunk/kupu/plone/libraries.pt Mon Jun 25 16:15:02 2007 @@ -1,178 +1,161 @@ - - - -
    -

    Kupu Libraries

    - -

    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.

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ID
    Title
    URI
    Source URI
    Icon URI
    -
    -
    - -

    - - - - -

    - -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ID
    Title
    URI
    Source URI
    Icon URI
    - -

    - -

    -
    - -
    - - - - - - - -
    Default
    - -

    - -

    -
    - -

     

    - -

    The following variables are available in the TALES expressions:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    objectThe current context object
    object_urlThe URL of the current context object
    folderThe folder the context object is located in
    folder_urlThe URL of the folder the context object is located in
    portalThe portal object
    portal_urlURL of the portal
    memberAuthenticated member
    requestRequest
    - -
    - +lang="en" +metal:use-macro="here/kupu_config/macros/master" +i18n:domain="kupuconfig"> + + + +
    +

    Kupu Libraries

    +

    + 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. +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ID
    Title
    URI
    Source URI
    Icon URI
    +
    +
    + +

    + + + + +

    +
    + +
    + + + + + +
    ID