Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 45559 invoked from network); 3 Nov 2005 15:03:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 15:03:47 -0000 Received: (qmail 32714 invoked by uid 500); 3 Nov 2005 14:39:00 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 29786 invoked by uid 500); 3 Nov 2005 14:38:19 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 27829 invoked by uid 99); 3 Nov 2005 14:36:55 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Nov 2005 06:36:06 -0800 Received: (qmail 13316 invoked by uid 65534); 3 Nov 2005 14:35:45 -0000 Message-ID: <20051103143545.13310.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r330548 [109/132] - in /cocoon/whiteboard/maven2/cocoon-flat-layout: ./ cocoon-ajax-block/ cocoon-ajax-block/api/ cocoon-ajax-block/api/src/ cocoon-ajax-block/api/src/main/ cocoon-ajax-block/api/src/main/java/ cocoon-ajax-block/api/src/main... Date: Thu, 03 Nov 2005 14:00:48 -0000 To: cvs@cocoon.apache.org From: jheymans@apache.org X-Mailer: svnmailer-1.0.5 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/nl.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/nl.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/nl.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/nl.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,90 @@ +// I18N constants + +// LANG: "nl", ENCODING: UTF-8 | ISO-8859-1 +// Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "nl", + + tooltips: { + bold: "Vet", + italic: "Cursief", + underline: "Onderstrepen", + strikethrough: "Doorhalen", + subscript: "Subscript", + superscript: "Superscript", + justifyleft: "Links uitlijnen", + justifycenter: "Centreren", + justifyright: "Rechts uitlijnen", + justifyfull: "Uitvullen", + insertorderedlist: "Nummering", + insertunorderedlist: "Opsommingstekens", + outdent: "Inspringing verkleinen", + indent: "Inspringing vergroten", + forecolor: "Tekstkleur", + hilitecolor: "Achtergrondkleur", + inserthorizontalrule: "Horizontale lijn", + createlink: "Hyperlink invoegen/aanpassen", + insertimage: "Afbeelding invoegen/aanpassen", + inserttable: "Tabel invoegen", + htmlmode: "HTML broncode", + popupeditor: "Vergroot Editor", + about: "Over deze editor", + showhelp: "HTMLArea help", + textindicator: "Huidige stijl", + undo: "Ongedaan maken", + redo: "Herhalen", + cut: "Knippen", + copy: "Kopiëren", + paste: "Plakken", + lefttoright: "Tekstrichting links naar rechts", + righttoleft: "Tekstrichting rechts naar links" + }, + + buttons: { + "ok": "OK", + "cancel": "Annuleren" + }, + + msg: { + "Path": "Pad", + "TEXT_MODE": "Je bent in TEKST-mode. Gebruik de [<>] knop om terug te keren naar WYSIWYG-mode.", + + "IE-sucks-full-screen" : + // translate here + "Fullscreen-mode veroorzaakt problemen met Internet Explorer door bugs in de webbrowser " + + "die we niet kunnen omzeilen. Hierdoor kunnen de volgende effecten optreden: verknoeide teksten, " + + "een verlies aan editor-functionaliteit en/of willekeurig vastlopen van de webbrowser. " + + "Als u Windows 95 of 98 gebruikt, is het zeer waarschijnlijk dat u een algemene beschermingsfout " + + "('General Protection Fault') krijgt en de computer opnieuw zal moeten opstarten.\n\n" + + "U bent gewaarschuwd. Druk OK als u toch nog de Fullscreen-editor wil gebruiken." + }, + + dialogs: { + "Cancel" : "Annuleren", + "Insert/Modify Link" : "Hyperlink invoegen/aanpassen", + "New window (_blank)" : "Nieuw venster (_blank)", + "None (use implicit)" : "Geen", + "OK" : "OK", + "Other" : "Ander", + "Same frame (_self)" : "Zelfde frame (_self)", + "Target:" : "Doel:", + "Title (tooltip):" : "Titel (tooltip):", + "Top frame (_top)" : "Bovenste frame (_top)", + "URL:" : "URL:", + "You must enter the URL where this link points to" : "Geef de URL in waar de link naar verwijst" + } +}; + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/nl.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/no.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/no.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/no.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/no.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,79 @@ +// Norwegian version for htmlArea v3.0 - pre1 +// - translated by ses +// Additional translations by Håvard Wigtil +// term´s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "no", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understreket", + strikethrough: "Gjennomstreket", + subscript: "Nedsenket", + superscript: "Opphøyet", + justifyleft: "Venstrejuster", + justifycenter: "Midtjuster", + justifyright: "Høyrejuster", + justifyfull: "Blokkjuster", + insertorderedlist: "Nummerert liste", + insertunorderedlist: "Punktliste", + outdent: "Reduser innrykk", + indent: "Øke innrykk", + forecolor: "Tekstfarge", + hilitecolor: "Bakgrundsfarge", + inserthorizontalrule: "Vannrett linje", + createlink: "Lag lenke", + insertimage: "Sett inn bilde", + inserttable: "Sett inn tabell", + htmlmode: "Vis kildekode", + popupeditor: "Vis i eget vindu", + about: "Om denne editor", + showhelp: "Hjelp", + textindicator: "Nåværende stil", + undo: "Angrer siste redigering", + redo: "Gjør om siste angring", + cut: "Klipp ut område", + copy: "Kopier område", + paste: "Lim inn", + lefttoright: "Fra venstre mot høyre", + righttoleft: "Fra høyre mot venstre" + }, + + buttons: { + "ok": "OK", + "cancel": "Avbryt" + }, + + msg: { + "Path": "Tekstvelger", + "TEXT_MODE": "Du er i tekstmodus Klikk på [<>] for å gå tilbake til WYSIWIG.", + "IE-sucks-full-screen" : + // translate here + "Visning i eget vindu har kjente problemer med Internet Explorer, " + + "på grunn av problemer med denne nettleseren. Mulige problemer er et uryddig " + + "skjermbilde, manglende editorfunksjoner og/eller at nettleseren crasher. Hvis du bruker Windows 95 eller Windows 98 " + + "er det også muligheter for at Windows will crashe.\n\n" + + "Trykk 'OK' hvis du vil bruke visning i eget vindu på tross av denne advarselen." + }, + + dialogs: { + "Cancel" : "Avbryt", + "Insert/Modify Link" : "Rediger lenke", + "New window (_blank)" : "Eget vindu (_blank)", + "None (use implicit)" : "Ingen (bruk standardinnstilling)", + "OK" : "OK", + "Other" : "Annen", + "Same frame (_self)" : "Samme ramme (_self)", + "Target:" : "Mål:", + "Title (tooltip):" : "Tittel (tooltip):", + "Top frame (_top)" : "Toppramme (_top)", + "URL:" : "Adresse:", + "You must enter the URL where this link points to" : "Du må skrive inn en adresse som denne lenken skal peke til" + } +}; + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/no.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pl.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pl.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pl.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pl.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,36 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "pl", + + tooltips: { + bold: "Pogrubienie", + italic: "Pochylenie", + underline: "Podkreœlenie", + strikethrough: "Przekreœlenie", + subscript: "Indeks dolny", + superscript: "Indeks górny", + justifyleft: "Wyrównaj do lewej", + justifycenter: "Wyœrodkuj", + justifyright: "Wyrównaj do prawej", + justifyfull: "Wyjustuj", + orderedlist: "Numerowanie", + unorderedlist: "Wypunktowanie", + outdent: "Zmniejsz wciêcie", + indent: "Zwiêksz wciêcie", + forecolor: "Kolor czcionki", + backcolor: "Kolor t³a", + horizontalrule: "Linia pozioma", + createlink: "Wstaw adres sieci Web", + insertimage: "Wstaw obraz", + inserttable: "Wstaw tabelê", + htmlmode: "Edycja WYSIWYG/w Ÿródle strony", + popupeditor: "Pe³ny ekran", + about: "Informacje o tym edytorze", + help: "Pomoc", + textindicator: "Obecny styl" + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pl.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pt_br.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pt_br.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pt_br.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pt_br.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,37 @@ +// I18N constants +// Brazilian Portuguese Translation by Alex Piaz + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "pt_br", + + tooltips: { + bold: "Negrito", + italic: "Itálico", + underline: "Sublinhado", + strikethrough: "Tachado", + subscript: "Subescrito", + superscript: "Sobrescrito", + justifyleft: "Alinhar à Esquerda", + justifycenter: "Centralizar", + justifyright: "Alinhar à Direita", + justifyfull: "Justificar", + orderedlist: "Lista Numerada", + unorderedlist: "Lista Marcadores", + outdent: "Diminuir Indentação", + indent: "Aumentar Indentação", + forecolor: "Cor da Fonte", + backcolor: "Cor do Fundo", + horizontalrule: "Linha Horizontal", + createlink: "Inserir Link", + insertimage: "Inserir Imagem", + inserttable: "Inserir Tabela", + htmlmode: "Ver Código-Fonte", + popupeditor: "Expandir Editor", + about: "Sobre", + help: "Ajuda", + textindicator: "Estilo Atual" + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/pt_br.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ro.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ro.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ro.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ro.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,80 @@ +// I18N constants + +// LANG: "ro", ENCODING: UTF-8 +// Author: Mihai Bazon, http://dynarch.com/mishoo + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "ro", + + tooltips: { + bold: "Îngroşat", + italic: "Italic", + underline: "Subliniat", + strikethrough: "Tăiat", + subscript: "Indice jos", + superscript: "Indice sus", + justifyleft: "Aliniere la stânga", + justifycenter: "Aliniere pe centru", + justifyright: "Aliniere la dreapta", + justifyfull: "Aliniere în ambele părÅ£i", + orderedlist: "Listă ordonată", + unorderedlist: "Listă marcată", + outdent: "Micşorează alineatul", + indent: "Măreşte alineatul", + forecolor: "Culoarea textului", + hilitecolor: "Culoare de fundal", + horizontalrule: "Linie orizontală", + createlink: "Inserează/modifică link", + insertimage: "Inserează/modifică imagine", + inserttable: "Inserează un tabel", + htmlmode: "Sursa HTML / WYSIWYG", + popupeditor: "Maximizează editorul", + about: "Despre editor", + showhelp: "DocumentaÅ£ie (devel)", + textindicator: "Stilul curent", + undo: "Anulează ultima acÅ£iune", + redo: "Reface ultima acÅ£iune anulată", + cut: "Taie în clipboard", + copy: "Copie în clipboard", + paste: "Aduce din clipboard", + lefttoright: "DirecÅ£ia de scriere: stânga - dreapta", + righttoleft: "DirecÅ£ia de scriere: dreapta - stânga" + }, + + buttons: { + "ok": "OK", + "cancel": "Anulează" + }, + + msg: { + "Path": "Calea", + "TEXT_MODE": "Eşti în modul TEXT. Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG." + }, + + dialogs: { + "Cancel" : "Renunţă", + "Insert/Modify Link" : "Inserează/modifcă link", + "New window (_blank)" : "Fereastră nouă (_blank)", + "None (use implicit)" : "Nimic (foloseşte ce-i implicit)", + "OK" : "Acceptă", + "Other" : "Alt target", + "Same frame (_self)" : "Aceeaşi fereastră (_self)", + "Target:" : "Å¢inta:", + "Title (tooltip):" : "Titlul (tooltip):", + "Top frame (_top)" : "Fereastra principală (_top)", + "URL:" : "URL:", + "You must enter the URL where this link points to" : "Trebuie să introduceÅ£i un URL" + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ro.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ru.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ru.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ru.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ru.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "ru", ENCODING: UTF-8 | ISO-8859-1 +// Author: Yulya Shtyryakova, + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "ru", + + tooltips: { + bold: "Полужирный", + italic: "Наклонный", + underline: "Подчеркнутый", + strikethrough: "Перечеркнутый", + subscript: "Нижний индекс", + superscript: "Верхний индекс", + justifyleft: "По левому краю", + justifycenter: "По центру", + justifyright: "По правому краю", + justifyfull: "По ширине", + insertorderedlist: "Нумерованный лист", + insertunorderedlist: "Маркированный лист", + outdent: "Уменьшить отступ", + indent: "Увеличить отступ", + forecolor: "Цвет шрифта", + hilitecolor: "Цвет фона", + horizontalrule: "Горизонтальный разделитель", + createlink: "Вставить гиперссылку", + insertimage: "Вставить изображение", + inserttable: "Вставить таблицу", + htmlmode: "Показать Html-код", + popupeditor: "Увеличить редактор", + about: "О редакторе", + showhelp: "Помощь", + textindicator: "Текущий стиль", + undo: "Отменить", + redo: "Повторить", + cut: "Вырезать", + copy: "Копировать", + paste: "Вставить" + }, + + buttons: { + "ok": "OK", + "cancel": "Отмена" + }, + + msg: { + "Path": "Путь", + "TEXT_MODE": "Вы в режиме отображения Html-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим." + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/ru.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/se.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/se.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/se.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/se.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,38 @@ +// Swedish version for htmlArea v3.0 - Alpha Release +// - translated by pat +// term´s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "se", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understruken", + strikethrough: "Genomstruken", + subscript: "Nedsänkt", + superscript: "Upphöjd", + justifyleft: "Vänsterjustera", + justifycenter: "Centrera", + justifyright: "Högerjustera", + justifyfull: "Marginaljustera", + orderedlist: "Numrerad lista", + unorderedlist: "Punktlista", + outdent: "Minska indrag", + indent: "Öka indrag", + forecolor: "Textfärg", + backcolor: "Bakgrundsfärg", + horizontalrule: "Vågrät linje", + createlink: "Infoga länk", + insertimage: "Infoga bild", + inserttable: "Infoga tabell", + htmlmode: "Visa källkod", + popupeditor: "Visa i eget fönster", + about: "Om denna editor", + help: "Hjälp", + textindicator: "Nuvarande stil" + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/se.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/si.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/si.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/si.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/si.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "si", ENCODING: ISO-8859-2 +// Author: Tomaz Kregar, x_tomo_x@email.si + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "si", + + tooltips: { + bold: "Krepko", + italic: "Le¾eèe", + underline: "Podèrtano", + strikethrough: "Preèrtano", + subscript: "Podpisano", + superscript: "Nadpisano", + justifyleft: "Poravnaj levo", + justifycenter: "Na sredino", + justifyright: "Poravnaj desno", + justifyfull: "Porazdeli vsebino", + orderedlist: "O¹tevilèevanje", + unorderedlist: "Oznaèevanje", + outdent: "Zmanj¹aj zamik", + indent: "Poveèaj zamik", + forecolor: "Barva pisave", + hilitecolor: "Barva ozadja", + horizontalrule: "Vodoravna èrta", + createlink: "Vstavi hiperpovezavo", + insertimage: "Vstavi sliko", + inserttable: "Vstavi tabelo", + htmlmode: "Preklopi na HTML kodo", + popupeditor: "Poveèaj urejevalnik", + about: "Vizitka za urejevalnik", + showhelp: "Pomoè za urejevalnik", + textindicator: "Trenutni slog", + undo: "Razveljavi zadnjo akcijo", + redo: "Uveljavi zadnjo akcijo", + cut: "Izre¾i", + copy: "Kopiraj", + paste: "Prilepi" + }, + + buttons: { + "ok": "V redu", + "cancel": "Preklièi" + }, + + msg: { + "Path": "Pot", + "TEXT_MODE": "Si v tekstovnem naèinu. Uporabi [<>] gumb za prklop nazaj na WYSIWYG." + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/si.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/vn.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/vn.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/vn.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/vn.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,51 @@ +// I18N constants : Vietnamese +// LANG: "en", ENCODING: UTF-8 +// Author: Nguyễn Đình Nam, + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "vn", + + tooltips: { + bold: "Đậm", + italic: "Nghiêng", + underline: "Gạch Chân", + strikethrough: "Gạch Xóa", + subscript: "Viết Xuống Dưới", + superscript: "Viết Lên Trên", + justifyleft: "Căn Trái", + justifycenter: "Căn Giữa", + justifyright: "Căn Phải", + justifyfull: "Căn Đều", + orderedlist: "Danh Sách Có Thứ Tá»±", + unorderedlist: "Danh Sách Phi Thứ Tá»±", + outdent: "Lùi Ra Ngoài", + indent: "Thụt Vào Trong", + forecolor: "Màu Chữ", + backcolor: "Màu Nền", + horizontalrule: "Dòng Kẻ Ngang", + createlink: "Tạo Liên Kết", + insertimage: "Chèn Ảnh", + inserttable: "Chèn Bảng", + htmlmode: "Chế Độ Mã HTML", + popupeditor: "Phóng To Ô Soạn Thảo", + about: "Tá»± Giới Thiệu", + showhelp: "Giúp Đỡ", + textindicator: "Định Dạng Hiện Thời", + undo: "Undo", + redo: "Redo", + cut: "Cắt", + copy: "Copy", + paste: "Dán" + }, + buttons: { + "ok": "OK", + "cancel": "Hủy" + }, + msg: { + "Path": "Đường Dẫn", + "TEXT_MODE": "Bạn đang ở chế độ text. Sá»­ dụng nút [<>] để chuyển lại chế độ WYSIWIG." + } +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/lang/vn.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/license.txt URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/license.txt?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/license.txt (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/license.txt Thu Nov 3 05:41:06 2005 @@ -0,0 +1,30 @@ +htmlArea License (based on BSD license) +Copyright (c) 2002-2004, interactivetools.com, inc. +Copyright (c) 2003-2004 dynarch.com +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3) Neither the name of interactivetools.com, inc. nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/license.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/make-release.pl URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/make-release.pl?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/make-release.pl (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/make-release.pl Thu Nov 3 05:41:06 2005 @@ -0,0 +1,263 @@ +#! /usr/bin/perl -w +# $Id: make-release.pl,v 1.1 2004/02/06 10:10:07 ugo Exp $ + +# Script for creating a distribution archive. Based on make-release.pl from +# jscalendar. + +# Author: Mihai Bazon, http://dynarch.com/mishoo +# NO WARRANTIES WHATSOEVER. READ GNU LGPL. + +# This file requires HTML::Mason; this module is used for automatic +# substitution of the version/release number as well as for selection of the +# changelog (at least in the file release-notes.html). It might not work +# without HTML::Mason. + +use strict; +# use diagnostics; +use HTML::Mason; +use File::Find; +use XML::Parser; +use Data::Dumper; + +my $verbosity = 1; + +my $tmpdir = '/tmp'; + +my $config = parseXML("project-config.xml"); +speak(3, Data::Dumper::Dumper($config)); + +my ($project, $version, $release, $basename); + +$project = $config->{project}{ATTR}{title}; +$version = $config->{project}{version}{DATA}; +$release = $config->{project}{release}{DATA}; +$basename = "$project-$version"; +$basename .= "-$release" if ($release); + +speak(1, "Project: $basename"); + +## create directory tree +my ($basedir); +{ + # base directory + $basedir = "$tmpdir/$basename"; + if (-d $basedir) { + speak(-1, "$basedir already exists, removing... >:-]\n"); + system "rm -rf $basedir"; + } +} + +process_directory(); + +## make the ZIP file +chdir "$basedir/.."; +speak(1, "Making ZIP file /tmp/$basename.zip"); +system ("zip -r $basename.zip $basename > /dev/null"); +system ("ls -la /tmp/$basename.zip"); + +## remove the basedir +system("rm -rf $basedir"); + +## back +#chdir $cwd; + + + +### SUBROUTINES + +# handle _one_ file +sub process_one_file { + my ($attr, $target) = @_; + + $target =~ s/\/$//; + $target .= '/'; + my $destination = $target.$attr->{REALNAME}; + + # copy file first + speak(1, " copying $attr->{REALNAME}"); + system "cp $attr->{REALNAME} $destination"; + + my $masonize = $attr->{masonize} || ''; + if ($masonize =~ /yes|on|1/i) { + speak(1, " > masonizing to $destination..."); + my $args = $attr->{args} || ''; + my @vars = split(/\s*,\s*/, $args); + my %args = (); + foreach my $i (@vars) { + $args{$i} = eval '$'.$i; + speak(1, " > argument: $i => $args{$i}"); + } + my $outbuf; + my $interp = HTML::Mason::Interp->new ( comp_root => $target, + out_method => \$outbuf ); + $interp->exec("/$attr->{REALNAME}", %args); + open (FILE, "> $destination"); + print FILE $outbuf; + close (FILE); + } +} + +# handle some files +sub process_files { + my ($files, $target) = @_; + + # proceed with the explicitely required files first + my %options = (); + foreach my $i (@{$files}) { + $options{$i->{ATTR}{name}} = $i->{ATTR}; + } + + foreach my $i (@{$files}) { + my @expanded = glob "$i->{ATTR}{name}"; + foreach my $file (@expanded) { + $i->{ATTR}{REALNAME} = $file; + if (defined $options{$file}) { + unless (defined $options{$file}->{PROCESSED}) { + speak(1, "EXPLICIT FILE: $file"); + $options{$file}->{REALNAME} = $file; + process_one_file($options{$file}, $target); + $options{$file}->{PROCESSED} = 1; + } + } else { + speak(2, "GLOB: $file"); + process_one_file($i->{ATTR}, $target); + $options{$file} = 2; + } + } + } +} + +# handle _one_ directory +sub process_directory { + my ($dir, $path) = @_; + my $cwd = '..'; # ;-) + + (defined $dir) || ($dir = '.'); + (defined $path) || ($path = ''); + speak(2, "DIR: $path$dir"); + $dir =~ s/\/$//; + $dir .= '/'; + + unless (-d $dir) { + speak(-1, "DIRECTORY '$dir' NOT FOUND, SKIPPING"); + return 0; + } + + # go where we have stuff to do + chdir $dir; + + my $target = $basedir; + ($path =~ /\S/) && ($target .= "/$path"); + ($dir ne './') && ($target .= $dir); + + speak(1, "*** Creating directory: $target"); + mkdir $target; + + unless (-f 'makefile.xml') { + speak(-1, "No makefile.xml in this directory"); + chdir $cwd; + return 0; + } + my $config = parseXML("makefile.xml"); + speak(3, Data::Dumper::Dumper($config)); + + my $tmp = $config->{files}{file}; + if (defined $tmp) { + my $files; + if (ref($tmp) eq 'ARRAY') { + $files = $tmp; + } else { + $files = [ $tmp ]; + } + process_files($files, $target); + } + + $tmp = $config->{files}{dir}; + if (defined $tmp) { + my $subdirs; + if (ref($tmp) eq 'ARRAY') { + $subdirs = $tmp; + } else { + $subdirs = [ $tmp ]; + } + foreach my $i (@{$subdirs}) { + process_directory($i->{ATTR}{name}, $path.$dir); + } + } + + # get back to our previous location + chdir $cwd; +} + +# this does all the XML parsing shit we'll need for our little task +sub parseXML { + my ($filename) = @_; + my $rethash = {}; + + my @tagstack; + + my $handler_start = sub { + my ($parser, $tag, @attrs) = @_; + my $current_tag = {}; + $current_tag->{NAME} = $tag; + $current_tag->{DATA} = ''; + push @tagstack, $current_tag; + if (scalar @attrs) { + my $attrs = {}; + $current_tag->{ATTR} = $attrs; + while (scalar @attrs) { + my $name = shift @attrs; + my $value = shift @attrs; + $attrs->{$name} = $value; + } + } + }; + + my $handler_char = sub { + my ($parser, $data) = @_; + if ($data =~ /\S/) { + $tagstack[$#tagstack]->{DATA} .= $data; + } + }; + + my $handler_end = sub { + my $current_tag = pop @tagstack; + if (scalar @tagstack) { + my $tmp = $tagstack[$#tagstack]->{$current_tag->{NAME}}; + if (defined $tmp) { + ## better build an array, there are more elements with this tagname + if (ref($tmp) eq 'ARRAY') { + ## oops, the ARRAY is already there, just add the new element + push @{$tmp}, $current_tag; + } else { + ## create the array "in-place" + $tagstack[$#tagstack]->{$current_tag->{NAME}} = [ $tmp, $current_tag ]; + } + } else { + $tagstack[$#tagstack]->{$current_tag->{NAME}} = $current_tag; + } + } else { + $rethash->{$current_tag->{NAME}} = $current_tag; + } + }; + + my $parser = new XML::Parser + ( Handlers => { Start => $handler_start, + Char => $handler_char, + End => $handler_end } ); + $parser->parsefile($filename); + + return $rethash; +} + +# print somethign according to the level of verbosity +# receives: verbosity_level and message +# prints message if verbosity_level >= $verbosity (global) +sub speak { + my ($v, $t) = @_; + if ($v < 0) { + print STDERR "\033[1;31m!! $t\033[0m\n"; + } elsif ($verbosity >= $v) { + print $t, "\n"; + } +} Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/make-release.pl ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/makefile.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/makefile.xml?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/makefile.xml (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/makefile.xml Thu Nov 3 05:41:06 2005 @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/makefile.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/css.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/css.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/css.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/css.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,116 @@ +// Simple CSS (className) plugin for the editor +// Sponsored by http://www.miro.com.au +// Implementation by Mihai Bazon, http://dynarch.com/mishoo. +// +// (c) dynarch.com 2003 +// Distributed under the same terms as HTMLArea itself. +// This notice MUST stay intact for use (see license.txt). +// +// $Id: css.js 125518 2005-01-18 17:13:55Z reinhard $ + +function CSS(editor, params) { + this.editor = editor; + var cfg = editor.config; + var toolbar = cfg.toolbar; + var self = this; + var i18n = CSS.I18N; + var plugin_config = params[0]; + var combos = plugin_config.combos; + + var first = true; + for (var i = combos.length; --i >= 0;) { + var combo = combos[i]; + var id = "CSS-class" + i; + var css_class = { + id : id, + options : combo.options, + action : function(editor) { self.onSelect(editor, this, combo.context, combo.updatecontextclass); }, + refresh : function(editor) { self.updateValue(editor, this); }, + context : combo.context + }; + cfg.registerDropdown(css_class); + + // prepend to the toolbar + toolbar[1].splice(0, 0, first ? "separator" : "space"); + toolbar[1].splice(0, 0, id); + if (combo.label) + toolbar[1].splice(0, 0, "T[" + combo.label + "]"); + first = false; + } +}; + +CSS._pluginInfo = { + name : "CSS", + version : "1.0", + developer : "Mihai Bazon", + developer_url : "http://dynarch.com/mishoo/", + c_owner : "Mihai Bazon", + sponsor : "Miro International", + sponsor_url : "http://www.miro.com.au", + license : "htmlArea" +}; + +CSS.prototype.onSelect = function(editor, obj, context, updatecontextclass) { + var tbobj = editor._toolbarObjects[obj.id]; + var index = tbobj.element.selectedIndex; + var className = tbobj.element.value; + + // retrieve parent element of the selection + var parent = editor.getParentElement(); + var surround = true; + + var is_span = (parent && parent.tagName.toLowerCase() == "span"); + var update_parent = (context && updatecontextclass && parent && parent.tagName.toLowerCase() == context); + + if (update_parent) { + parent.className = className; + editor.updateToolbar(); + return; + } + + if (is_span && index == 0 && !/\S/.test(parent.style.cssText)) { + while (parent.firstChild) { + parent.parentNode.insertBefore(parent.firstChild, parent); + } + parent.parentNode.removeChild(parent); + editor.updateToolbar(); + return; + } + + if (is_span) { + // maybe we could simply change the class of the parent node? + if (parent.childNodes.length == 1) { + parent.className = className; + surround = false; + // in this case we should handle the toolbar updation + // ourselves. + editor.updateToolbar(); + } + } + + // Other possibilities could be checked but require a lot of code. We + // can't afford to do that now. + if (surround) { + // shit happens ;-) most of the time. this method works, but + // it's dangerous when selection spans multiple block-level + // elements. + editor.surroundHTML("", ""); + } +}; + +CSS.prototype.updateValue = function(editor, obj) { + var select = editor._toolbarObjects[obj.id].element; + var parent = editor.getParentElement(); + if (typeof parent.className != "undefined" && /\S/.test(parent.className)) { + var options = select.options; + var value = parent.className; + for (var i = options.length; --i >= 0;) { + var option = options[i]; + if (value == option.value) { + select.selectedIndex = i; + return; + } + } + } + select.selectedIndex = 0; +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/css.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/en.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/en.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/en.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/en.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,2 @@ +// none yet; this file is a stub. +CSS.I18N = {}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/en.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/makefile.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/makefile.xml?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/makefile.xml (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/makefile.xml Thu Nov 3 05:41:06 2005 @@ -0,0 +1,5 @@ + + + + + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/lang/makefile.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/makefile.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/makefile.xml?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/makefile.xml (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/makefile.xml Thu Nov 3 05:41:06 2005 @@ -0,0 +1,7 @@ + + + + + + + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/CSS/makefile.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/1.pl URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/1.pl?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/1.pl (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/1.pl Thu Nov 3 05:41:06 2005 @@ -0,0 +1,38 @@ +#! /usr/bin/perl -w + +use strict; + +my $file = 'context-menu.js'; +my $outfile = $file.'-i18n'; +my $langfile = 'en.js'; + +open FILE, "<$file"; +#open OUTFILE, ">$outfile"; +#open LANGFILE, ">$langfile"; +my %texts = (); +while () { + if (/"(.*?)"/) { + my $inline = $_; + chomp $inline; + my $key = $1; + my $val = $1; + print "Key: [$key]: "; + my $line = ; + if (defined $line) { + chomp $line; + if ($line =~ /(\S+)/) { + $key = $1; + print "-- using $key\n"; + } + $texts{$val} = $key; + } else { + print " -- skipped...\n"; + } + } +} +#close LANGFILE; +#close OUTFILE; +close FILE; + +print "\n\n\n"; +print '"', join("\"\n\"", sort keys %texts), '"', "\n"; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/1.pl ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/context-menu.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/context-menu.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/context-menu.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/context-menu.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,416 @@ +// Context Menu Plugin for HTMLArea-3.0 +// Sponsored by www.americanbible.org +// Implementation by Mihai Bazon, http://dynarch.com/mishoo/ +// +// (c) dynarch.com 2003. +// Distributed under the same terms as HTMLArea itself. +// This notice MUST stay intact for use (see license.txt). +// +// $Id: context-menu.js 125518 2005-01-18 17:13:55Z reinhard $ + +HTMLArea.loadStyle("menu.css", "ContextMenu"); + +function ContextMenu(editor) { + this.editor = editor; +}; + +ContextMenu._pluginInfo = { + name : "ContextMenu", + version : "1.0", + developer : "Mihai Bazon", + developer_url : "http://dynarch.com/mishoo/", + c_owner : "dynarch.com", + sponsor : "American Bible Society", + sponsor_url : "http://www.americanbible.org", + license : "htmlArea" +}; + +ContextMenu.prototype.onGenerate = function() { + var self = this; + var doc = this.editordoc = this.editor._iframe.contentWindow.document; + HTMLArea._addEvents(doc, ["contextmenu"], + function (event) { + return self.popupMenu(HTMLArea.is_ie ? self.editor._iframe.contentWindow.event : event); + }); + this.currentMenu = null; +}; + +ContextMenu.prototype.getContextMenu = function(target) { + var self = this; + var editor = this.editor; + var config = editor.config; + var menu = []; + var tbo = this.editor.plugins.TableOperations; + if (tbo) tbo = tbo.instance; + var i18n = ContextMenu.I18N; + + var selection = editor.hasSelectedText(); + if (selection) + menu.push([ i18n["Cut"], function() { editor.execCommand("cut"); }, null, config.btnList["cut"][1] ], + [ i18n["Copy"], function() { editor.execCommand("copy"); }, null, config.btnList["copy"][1] ]); + menu.push([ i18n["Paste"], function() { editor.execCommand("paste"); }, null, config.btnList["paste"][1] ]); + + var currentTarget = target; + var elmenus = []; + + var link = null; + var table = null; + var tr = null; + var td = null; + var img = null; + + function tableOperation(opcode) { + tbo.buttonPress(editor, opcode); + }; + + for (; target; target = target.parentNode) { + var tag = target.tagName; + if (!tag) + continue; + tag = tag.toLowerCase(); + switch (tag) { + case "img": + img = target; + elmenus.push(null, + [ i18n["Image Properties"], + function() { + editor._insertImage(img); + }, + i18n["Show the image properties dialog"], + config.btnList["insertimage"][1] ] + ); + break; + case "a": + link = target; + elmenus.push(null, + [ i18n["Modify Link"], + function() { editor.execCommand("createlink", true); }, + i18n["Current URL is"] + ': ' + link.href, + config.btnList["createlink"][1] ], + + [ i18n["Check Link"], + function() { window.open(link.href); }, + i18n["Opens this link in a new window"] ], + + [ i18n["Remove Link"], + function() { + if (confirm(i18n["Please confirm that you want to unlink this element."] + "\n" + + i18n["Link points to:"] + " " + link.href)) { + while (link.firstChild) + link.parentNode.insertBefore(link.firstChild, link); + link.parentNode.removeChild(link); + } + }, + i18n["Unlink the current element"] ] + ); + break; + case "td": + td = target; + if (!tbo) break; + elmenus.push(null, + [ i18n["Cell Properties"], + function() { tableOperation("TO-cell-prop"); }, + i18n["Show the Table Cell Properties dialog"], + config.btnList["TO-cell-prop"][1] ] + ); + break; + case "tr": + tr = target; + if (!tbo) break; + elmenus.push(null, + [ i18n["Row Properties"], + function() { tableOperation("TO-row-prop"); }, + i18n["Show the Table Row Properties dialog"], + config.btnList["TO-row-prop"][1] ], + + [ i18n["Insert Row Before"], + function() { tableOperation("TO-row-insert-above"); }, + i18n["Insert a new row before the current one"], + config.btnList["TO-row-insert-above"][1] ], + + [ i18n["Insert Row After"], + function() { tableOperation("TO-row-insert-under"); }, + i18n["Insert a new row after the current one"], + config.btnList["TO-row-insert-under"][1] ], + + [ i18n["Delete Row"], + function() { tableOperation("TO-row-delete"); }, + i18n["Delete the current row"], + config.btnList["TO-row-delete"][1] ] + ); + break; + case "table": + table = target; + if (!tbo) break; + elmenus.push(null, + [ i18n["Table Properties"], + function() { tableOperation("TO-table-prop"); }, + i18n["Show the Table Properties dialog"], + config.btnList["TO-table-prop"][1] ], + + [ i18n["Insert Column Before"], + function() { tableOperation("TO-col-insert-before"); }, + i18n["Insert a new column before the current one"], + config.btnList["TO-col-insert-before"][1] ], + + [ i18n["Insert Column After"], + function() { tableOperation("TO-col-insert-after"); }, + i18n["Insert a new column after the current one"], + config.btnList["TO-col-insert-after"][1] ], + + [ i18n["Delete Column"], + function() { tableOperation("TO-col-delete"); }, + i18n["Delete the current column"], + config.btnList["TO-col-delete"][1] ] + ); + break; + case "body": + elmenus.push(null, + [ i18n["Justify Left"], + function() { editor.execCommand("justifyleft"); }, null, + config.btnList["justifyleft"][1] ], + [ i18n["Justify Center"], + function() { editor.execCommand("justifycenter"); }, null, + config.btnList["justifycenter"][1] ], + [ i18n["Justify Right"], + function() { editor.execCommand("justifyright"); }, null, + config.btnList["justifyright"][1] ], + [ i18n["Justify Full"], + function() { editor.execCommand("justifyfull"); }, null, + config.btnList["justifyfull"][1] ] + ); + break; + } + } + + if (selection && !link) + menu.push(null, [ i18n["Make link"], + function() { editor.execCommand("createlink", true); }, + i18n["Create a link"], + config.btnList["createlink"][1] ]); + + for (var i in elmenus) + menu.push(elmenus[i]); + + menu.push(null, + [ i18n["Remove the"] + " <" + currentTarget.tagName + "> " + i18n["Element"], + function() { + if (confirm(i18n["Please confirm that you want to remove this element:"] + " " + currentTarget.tagName)) { + var el = currentTarget; + var p = el.parentNode; + p.removeChild(el); + if (HTMLArea.is_gecko) { + if (p.tagName.toLowerCase() == "td" && !p.hasChildNodes()) + p.appendChild(editor._doc.createElement("br")); + editor.forceRedraw(); + editor.focusEditor(); + editor.updateToolbar(); + if (table) { + var save_collapse = table.style.borderCollapse; + table.style.borderCollapse = "collapse"; + table.style.borderCollapse = "separate"; + table.style.borderCollapse = save_collapse; + } + } + } + }, + i18n["Remove this node from the document"] ]); + return menu; +}; + +ContextMenu.prototype.popupMenu = function(ev) { + var self = this; + var i18n = ContextMenu.I18N; + if (this.currentMenu) + this.currentMenu.parentNode.removeChild(this.currentMenu); + function getPos(el) { + var r = { x: el.offsetLeft, y: el.offsetTop }; + if (el.offsetParent) { + var tmp = getPos(el.offsetParent); + r.x += tmp.x; + r.y += tmp.y; + } + return r; + }; + function documentClick(ev) { + ev || (ev = window.event); + if (!self.currentMenu) { + alert(i18n["How did you get here? (Please report!)"]); + return false; + } + var el = HTMLArea.is_ie ? ev.srcElement : ev.target; + for (; el != null && el != self.currentMenu; el = el.parentNode); + if (el == null) + self.closeMenu(); + //HTMLArea._stopEvent(ev); + //return false; + }; + var keys = []; + function keyPress(ev) { + ev || (ev = window.event); + HTMLArea._stopEvent(ev); + if (ev.keyCode == 27) { + self.closeMenu(); + return false; + } + var key = String.fromCharCode(HTMLArea.is_ie ? ev.keyCode : ev.charCode).toLowerCase(); + for (var i = keys.length; --i >= 0;) { + var k = keys[i]; + if (k[0].toLowerCase() == key) + k[1].__msh.activate(); + } + }; + self.closeMenu = function() { + self.currentMenu.parentNode.removeChild(self.currentMenu); + self.currentMenu = null; + HTMLArea._removeEvent(document, "mousedown", documentClick); + HTMLArea._removeEvent(self.editordoc, "mousedown", documentClick); + if (keys.length > 0) + HTMLArea._removeEvent(self.editordoc, "keypress", keyPress); + if (HTMLArea.is_ie) + self.iePopup.hide(); + }; + var target = HTMLArea.is_ie ? ev.srcElement : ev.target; + var ifpos = getPos(self.editor._iframe); + var x = ev.clientX + ifpos.x; + var y = ev.clientY + ifpos.y; + + var div; + var doc; + if (!HTMLArea.is_ie) { + doc = document; + } else { + // IE stinks + var popup = this.iePopup = window.createPopup(); + doc = popup.document; + doc.open(); + doc.write(""); + doc.close(); + } + div = doc.createElement("div"); + if (HTMLArea.is_ie) + div.unselectable = "on"; + div.oncontextmenu = function() { return false; }; + div.className = "htmlarea-context-menu"; + if (!HTMLArea.is_ie) + div.style.left = div.style.top = "0px"; + doc.body.appendChild(div); + + var table = doc.createElement("table"); + div.appendChild(table); + table.cellSpacing = 0; + table.cellPadding = 0; + var parent = doc.createElement("tbody"); + table.appendChild(parent); + + var options = this.getContextMenu(target); + for (var i = 0; i < options.length; ++i) { + var option = options[i]; + var item = doc.createElement("tr"); + parent.appendChild(item); + if (HTMLArea.is_ie) + item.unselectable = "on"; + else item.onmousedown = function(ev) { + HTMLArea._stopEvent(ev); + return false; + }; + if (!option) { + item.className = "separator"; + var td = doc.createElement("td"); + td.className = "icon"; + var IE_IS_A_FUCKING_SHIT = '>'; + if (HTMLArea.is_ie) { + td.unselectable = "on"; + IE_IS_A_FUCKING_SHIT = " unselectable='on' style='height=1px'> "; + } + td.innerHTML = ""; + var td1 = td.cloneNode(true); + td1.className = "label"; + item.appendChild(td); + item.appendChild(td1); + } else { + var label = option[0]; + item.className = "item"; + item.__msh = { + item: item, + label: label, + action: option[1], + tooltip: option[2] || null, + icon: option[3] || null, + activate: function() { + self.closeMenu(); + self.editor.focusEditor(); + this.action(); + } + }; + label = label.replace(/_([a-zA-Z0-9])/, "$1"); + if (label != option[0]) + keys.push([ RegExp.$1, item ]); + label = label.replace(/__/, "_"); + var td1 = doc.createElement("td"); + if (HTMLArea.is_ie) + td1.unselectable = "on"; + item.appendChild(td1); + td1.className = "icon"; + if (item.__msh.icon) + td1.innerHTML = ""; + var td2 = doc.createElement("td"); + if (HTMLArea.is_ie) + td2.unselectable = "on"; + item.appendChild(td2); + td2.className = "label"; + td2.innerHTML = label; + item.onmouseover = function() { + this.className += " hover"; + self.editor._statusBarTree.innerHTML = this.__msh.tooltip || ' '; + }; + item.onmouseout = function() { this.className = "item"; }; + item.oncontextmenu = function(ev) { + this.__msh.activate(); + if (!HTMLArea.is_ie) + HTMLArea._stopEvent(ev); + return false; + }; + item.onmouseup = function(ev) { + var timeStamp = (new Date()).getTime(); + if (timeStamp - self.timeStamp > 500) + this.__msh.activate(); + if (!HTMLArea.is_ie) + HTMLArea._stopEvent(ev); + return false; + }; + //if (typeof option[2] == "string") + //item.title = option[2]; + } + } + + if (!HTMLArea.is_ie) { + var dx = x + div.offsetWidth - window.innerWidth + 4; + var dy = y + div.offsetHeight - window.innerHeight + 4; + if (dx > 0) x -= dx; + if (dy > 0) y -= dy; + div.style.left = x + "px"; + div.style.top = y + "px"; + } else { + // determine the size (did I mention that IE stinks?) + var foobar = document.createElement("div"); + foobar.className = "htmlarea-context-menu"; + foobar.innerHTML = div.innerHTML; + document.body.appendChild(foobar); + var w = foobar.offsetWidth; + var h = foobar.offsetHeight; + document.body.removeChild(foobar); + this.iePopup.show(ev.screenX, ev.screenY, w, h); + } + + this.currentMenu = div; + this.timeStamp = (new Date()).getTime(); + + HTMLArea._addEvent(document, "mousedown", documentClick); + HTMLArea._addEvent(this.editordoc, "mousedown", documentClick); + if (keys.length > 0) + HTMLArea._addEvent(this.editordoc, "keypress", keyPress); + + HTMLArea._stopEvent(ev); + return false; +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/context-menu.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/de.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/de.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/de.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/de.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,59 @@ +// I18N constants + +// LANG: "de", ENCODING: UTF-8 | ISO-8859-1 + +// translated: <]{MJ}[> i@student.ethz.ch + + +ContextMenu.I18N = { + // Items that appear in menu. Please note that an underscore (_) + // character in the translation (right column) will cause the following + // letter to become underlined and be shortcut for that menu option. + + "Cut" : "Ausschneiden", + "Copy" : "Kopieren", + "Paste" : "Einfügen", + "Image Properties" : "_Bild Einstellungen...", + "Modify Link" : "_Link ändern...", + "Check Link" : "Link testen...", + "Remove Link" : "Link entfernen...", + "Cell Properties" : "Z_ellen Einstellungen...", + "Row Properties" : "Ze_ilen Einstellungen...", + "Insert Row Before" : "Zeile einfügen v_or Position", + "Insert Row After" : "Zeile einfügen n_ach Position", + "Delete Row" : "Zeile löschen", + "Table Properties" : "_Tabellen Einstellungen...", + "Insert Column Before" : "Spalte einfügen vo_r Position", + "Insert Column After" : "Spalte einfügen na_ch Position", + "Delete Column" : "Spalte löschen", + "Justify Left" : "Links ausrichten", + "Justify Center" : "Zentriert", + "Justify Right" : "Rechts ausrichten", + "Justify Full" : "Blocksatz", + "Make link" : "Lin_k erstellen...", + "Remove the" : "", + "Element" : "Element entfernen...", + + // Other labels (tooltips and alert/confirm box messages) + + "Please confirm that you want to remove this element:" : "Wollen sie dieses Element wirklich entfernen ?", + "Remove this node from the document" : "Dieses Element aus dem Dokument entfernen", + "How did you get here? (Please report!)" : "How did you get here? (Please report!)", + "Show the image properties dialog" : "Fenster für die Bild-Einstellungen anzeigen", + "Modify URL" : "URL ändern", + "Current URL is" : "Aktuelle URL ist", + "Opens this link in a new window" : "Diesen Link in neuem Fenster öffnen", + "Please confirm that you want to unlink this element." : "Wollen sie diesen Link wirklich entfernen ?", + "Link points to:" : "Link zeigt auf:", + "Unlink the current element" : "Link auf Element entfernen", + "Show the Table Cell Properties dialog" : "Zellen-Einstellungen anzeigen", + "Show the Table Row Properties dialog" : "Zeilen-Einstellungen anzeigen", + "Insert a new row before the current one" : "Zeile einfügen vor der aktuellen Position", + "Insert a new row after the current one" : "Zeile einfügen nach der aktuellen Position", + "Delete the current row" : "Zeile löschen", + "Show the Table Properties dialog" : "Show the Table Properties dialog", + "Insert a new column before the current one" : "Spalte einfügen vor der aktuellen Position", + "Insert a new column after the current one" : "Spalte einfügen nach der aktuellen Position", + "Delete the current column" : "Spalte löschen", + "Create a link" : "Link erstellen" +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/de.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/el.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/el.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/el.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/el.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,57 @@ +// I18N constants + +// LANG: "el", ENCODING: UTF-8 | ISO-8859-7 +// Author: Dimitris Glezos, dimitris@glezos.com + +ContextMenu.I18N = { + // Items that appear in menu. Please note that an underscore (_) + // character in the translation (right column) will cause the following + // letter to become underlined and be shortcut for that menu option. + + "Cut" : "Αποκοπή", + "Copy" : "Αντιγραφή", + "Paste" : "Επικόλληση", + "Image Properties" : "Ιδιότητες Εικόνας...", + "Modify Link" : "Τροποποίηση συνδέσμου...", + "Check Link" : "Έλεγχος συνδέσμων...", + "Remove Link" : "Διαγραφή συνδέσμου...", + "Cell Properties" : "Ιδιότητες κελιού...", + "Row Properties" : "Ιδιότητες γραμμής...", + "Insert Row Before" : "Εισαγωγή γραμμής πριν", + "Insert Row After" : "Εισαγωγή γραμμής μετά", + "Delete Row" : "Διαγραφή γραμμής", + "Table Properties" : "Ιδιότητες πίνακα...", + "Insert Column Before" : "Εισαγωγή στήλης πριν", + "Insert Column After" : "Εισαγωγή στήλης μετά", + "Delete Column" : "Διαγραφή στήλης", + "Justify Left" : "Στοίχηση Αριστερά", + "Justify Center" : "Στοίχηση Κέντρο", + "Justify Right" : "Στοίχηση Δεξιά", + "Justify Full" : "Πλήρης Στοίχηση", + "Make link" : "Δημιουργία συνδέσμου...", + "Remove the" : "Αφαίρεση", + "Element" : "στοιχείου...", + + // Other labels (tooltips and alert/confirm box messages) + + "Please confirm that you want to remove this element:" : "Είστε βέβαιος πως θέλετε να αφαιρέσετε το στοιχείο ", + "Remove this node from the document" : "Αφαίρεση αυτού του κόμβου από το έγγραφο", + "How did you get here? (Please report!)" : "Πώς ήρθατε μέχρι εδώ; (Παρακαλούμε αναφέρετε το!)", + "Show the image properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες εικόνας", + "Modify URL" : "Τροποποίηση URL", + "Current URL is" : "Το τρέχων URL είναι", + "Opens this link in a new window" : "Ανοίγει αυτό τον σύνδεσμο σε ένα νέο παράθυρο", + "Please confirm that you want to unlink this element." : "Είστε βέβαιος πως θέλετε να αφαιρέσετε τον σύνδεσμο από αυτό το στοιχείο:", + "Link points to:" : "Ο σύνδεμος οδηγεί εδώ:", + "Unlink the current element" : "Αφαίρεση συνδέσμου από το παρών στοιχείο", + "Show the Table Cell Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες κελιού Πίνακα", + "Show the Table Row Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες γραμμής Πίνακα", + "Insert a new row before the current one" : "Εισαγωγή μιας νέας γραμμής πριν την επιλεγμένη", + "Insert a new row after the current one" : "Εισαγωγή μιας νέας γραμμής μετά την επιλεγμένη", + "Delete the current row" : "Διαγραφή επιλεγμένης γραμμής", + "Show the Table Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες Πίνακα", + "Insert a new column before the current one" : "Εισαγωγή νέας στήλης πριν την επιλεγμένη", + "Insert a new column after the current one" : "Εισαγωγή νέας στήλης μετά την επιλεγμένη", + "Delete the current column" : "Διαγραφή επιλεγμένης στήλης", + "Create a link" : "Δημιουργία συνδέσμου" +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/el.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/en.js URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/en.js?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/en.js (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/en.js Thu Nov 3 05:41:06 2005 @@ -0,0 +1,66 @@ +// I18N constants + +// LANG: "en", ENCODING: UTF-8 | ISO-8859-1 +// Author: Mihai Bazon, http://dynarch.com/mishoo + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +ContextMenu.I18N = { + // Items that appear in menu. Please note that an underscore (_) + // character in the translation (right column) will cause the following + // letter to become underlined and be shortcut for that menu option. + + "Cut" : "Cut", + "Copy" : "Copy", + "Paste" : "Paste", + "Image Properties" : "_Image Properties...", + "Modify Link" : "_Modify Link...", + "Check Link" : "Chec_k Link...", + "Remove Link" : "_Remove Link...", + "Cell Properties" : "C_ell Properties...", + "Row Properties" : "Ro_w Properties...", + "Insert Row Before" : "I_nsert Row Before", + "Insert Row After" : "In_sert Row After", + "Delete Row" : "_Delete Row", + "Table Properties" : "_Table Properties...", + "Insert Column Before" : "Insert _Column Before", + "Insert Column After" : "Insert C_olumn After", + "Delete Column" : "De_lete Column", + "Justify Left" : "Justify Left", + "Justify Center" : "Justify Center", + "Justify Right" : "Justify Right", + "Justify Full" : "Justify Full", + "Make link" : "Make lin_k...", + "Remove the" : "Remove the", + "Element" : "Element...", + + // Other labels (tooltips and alert/confirm box messages) + + "Please confirm that you want to remove this element:" : "Please confirm that you want to remove this element:", + "Remove this node from the document" : "Remove this node from the document", + "How did you get here? (Please report!)" : "How did you get here? (Please report!)", + "Show the image properties dialog" : "Show the image properties dialog", + "Modify URL" : "Modify URL", + "Current URL is" : "Current URL is", + "Opens this link in a new window" : "Opens this link in a new window", + "Please confirm that you want to unlink this element." : "Please confirm that you want to unlink this element.", + "Link points to:" : "Link points to:", + "Unlink the current element" : "Unlink the current element", + "Show the Table Cell Properties dialog" : "Show the Table Cell Properties dialog", + "Show the Table Row Properties dialog" : "Show the Table Row Properties dialog", + "Insert a new row before the current one" : "Insert a new row before the current one", + "Insert a new row after the current one" : "Insert a new row after the current one", + "Delete the current row" : "Delete the current row", + "Show the Table Properties dialog" : "Show the Table Properties dialog", + "Insert a new column before the current one" : "Insert a new column before the current one", + "Insert a new column after the current one" : "Insert a new column after the current one", + "Delete the current column" : "Delete the current column", + "Create a link" : "Create a link" +}; Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/en.js ------------------------------------------------------------------------------ svn:eol-style = native Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/makefile.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/makefile.xml?rev=330548&view=auto ============================================================================== --- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/makefile.xml (added) +++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/makefile.xml Thu Nov 3 05:41:06 2005 @@ -0,0 +1,4 @@ + + + + Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-forms-block/impl/src/main/resources/org/apache/cocoon/forms/resources/htmlarea/plugins/ContextMenu/lang/makefile.xml ------------------------------------------------------------------------------ svn:eol-style = native