roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r819248 [5/8] - in /roller/trunk/apps/weblogger/web/roller-ui/authoring/editors: ./ xinha-0.95/ xinha-0.95/examples/ xinha-0.95/images/ xinha-0.95/images/de/ xinha-0.95/images/fr/ xinha-0.95/lang/ xinha-0.95/modules/ xinha-0.95/modules/Colo...
Date Sun, 27 Sep 2009 03:11:43 GMT
Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/ru.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/ru.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/ru.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/ru.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,185 @@
+// I18N constants
+
+// LANG: "ru", ENCODING: UTF-8
+// Author: Yulya Shtyryakova, <yulya@vdcom.ru>
+
+// Some additions by: Alexey Kirpichnikov, <alexkir@kiwistudio.ru>
+// I took French version as a source of English phrases because French version was the most comprehensive
+// (fr.js was the largest file, actually) %)
+
+// 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.)
+
+{
+  "Bold": "Полужирный",
+  "Italic": "Наклонный",
+  "Underline": "Подчеркнутый",
+  "Strikethrough": "Перечеркнутый",
+  "Subscript": "Нижний индекс",
+  "Superscript": "Верхний индекс",
+  "Justify Left": "По левому краю",
+  "Justify Center": "По центру",
+  "Justify Right": "По правому краю",
+  "Justify Full": "По ширине",
+  "Ordered List": "Нумерованный список",
+  "Bulleted List": "Маркированный список",
+  "Decrease Indent": "Уменьшить отступ",
+  "Increase Indent": "Увеличить отступ",
+  "Font Color": "Цвет шрифта",
+  "Background Color": "Цвет фона",
+  "Horizontal Rule": "Горизонтальный разделитель",
+  "Insert Web Link": "Вставить гиперссылку",
+  "Insert/Modify Image": "Вставить изображение",
+  "Insert Table": "Вставить таблицу",
+  "Toggle HTML Source": "Показать Html-код",
+  "Enlarge Editor": "Увеличить редактор",
+  "About this editor": "О редакторе",
+  "Help using editor": "Помощь",
+  "Current style": "Текущий стиль",
+  "Undoes your last action": "Отменить",
+  "Redoes your last action": "Повторить",
+  "Cut selection": "Вырезать",
+  "Copy selection": "Копировать",
+  "Paste from clipboard": "Вставить",
+  "Direction left to right": "Направление слева направо",
+  "Direction right to left": "Направление справа налево",
+  "Remove formatting": "Убрать форматирование",
+  "Select all": "Выделить все",
+  "Print document": "Печать",
+  "Clear MSOffice tags": "Удалить разметку MSOffice",
+  "Clear Inline Font Specifications": "Удалить непосредственное задание шрифтов",
+  "Would you like to clear font typefaces?": "Удалить типы шрифтов?",
+  "Would you like to clear font sizes?": "Удалить размеры шрифтов ?",
+  "Would you like to clear font colours?": "Удалить цвета шрифтов ?",
+  "Split Block": "Разделить блок",
+  "Toggle Borders": "Включить/выключить отображение границ",
+  "Save as": "Сохранить как",
+  "Insert/Overwrite": "Вставка/замена",
+  "&mdash; format &mdash;": "&mdash; форматирование &mdash;",
+  "Heading 1": "Заголовок 1",
+  "Heading 2": "Заголовок 2",
+  "Heading 3": "Заголовок 3",
+  "Heading 4": "Заголовок 4",
+  "Heading 5": "Заголовок 5",
+  "Heading 6": "Заголовок 6",
+  "Normal": "Обычный текст",
+  "Address": "Адрес",
+  "Formatted": "Отформатированный текст",
+
+  "&mdash; font &mdash;": "&mdash; шрифт &mdash;",
+  "&mdash; size &mdash;": "&mdash; размер &mdash;",
+
+
+// Диалоги
+
+  "OK": "OK",
+  "Cancel": "Отмена",
+  "Path": "Путь",
+  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Вы в режиме отображения Html-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим.",
+
+"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Кнопка Вставить не работает в браузерах на основе Mozilla (по техническим причинам, связанным с безопасностью). Нажмите Ctrl-V на клавиатуре, чтобы вставить.",
+
+  "Your Document is not well formed. Check JavaScript console for details.": "Ваш документ неправильно сформирован. Посмотрите Консоль JavaScript, чтобы узнать подробности.",
+
+  "Alignment:": "Выравнивание",
+  "Not set": "Не установлено",
+  "Left": "По левому краю",
+  "Right": "По правому краю",
+  "Texttop": "По верхней границе текста",
+  "Absmiddle": "По середине текста",
+  "Baseline": "По нижней границе текста",
+  "Absbottom": "По нижней границе",
+  "Bottom": "По нижнему краю",
+  "Middle": "Посредине",
+  "Top": "По верхнему краю",
+
+  "Layout": "Расположение",
+  "Spacing": "Поля",
+  "Horizontal:": "По горизонтали",
+  "Horizontal padding": "Горизонтальные поля",
+  "Vertical:": "По вертикали",
+  "Vertical padding": "Вертикальные поля",
+  "Border thickness:": "Толщина рамки",
+  "Leave empty for no border": "Оставьте пустым, чтобы убрать рамку",
+
+  //Insert Link
+  "Insert/Modify Link": "Вставка/изменение ссылки",
+  "None (use implicit)": "По умолчанию",
+  "New window (_blank)": "Новое окно (_blank)",
+  "Same frame (_self)": "То же окно (_self)",
+  "Top frame (_top)": "Родительское окно (_top)",
+  "Other": "Другое",
+  "Target:": "Открывать в окне:",
+  "Title (tooltip):": "Всплывающая подсказка",
+  "URL:": "URL:",
+  "You must enter the URL where this link points to": "Вы должны указать URL, на который будет указывать ссылка",
+  "You need to select some text before creating a link": "Вы должны выделить текст, который будет преобразован в ссылку",
+
+  // Insert Table
+  "Insert Table": "Вставка таблицы",
+  "Rows:": "Строки",
+  "Number of rows": "Количество строк",
+  "Cols:": "Столбцы",
+  "Number of columns": "Количество столбцов",
+  "Width:": "Ширина",
+  "Width of the table": "Ширина таблицы",
+  "Percent": "проценты",
+  "Pixels": "пикселы",
+  "Em": "em",
+  "Width unit": "Единицы измерения",
+  "Fixed width columns": "Столбцы фиксированной ширины",
+  "Positioning of this table": "Расположение таблицы",
+  "Cell spacing:": "Расстояние между ячейками",
+  "Space between adjacent cells": "Расстояние между соседними ячейками",
+  "Cell padding:": "Поля в ячейках",
+  "Space between content and border in cell": "Расстояние между границей ячейки и текстом",
+  "You must enter a number of rows": "Вы должны ввести количество строк",
+  "You must enter a number of columns": "Вы должны ввести количество столбцов",
+
+  // Insert Image
+  "Insert Image": "Вставка изображения",
+  "Image URL:": "URL изображения",
+  "Enter the image URL here": "Вставьте адрес изображения",
+  "Preview": "Предварительный просмотр",
+  "Preview the image in a new window": "Предварительный просмотр в отдельном окне",
+  "Alternate text:": "Альтернативный текст",
+  "For browsers that don't support images": "Для браузеров, которые не отображают картинки",
+  "Positioning of this image": "Расположение изображения",
+  "Image Preview:": "Предварительный просмотр",
+  "You must enter the URL": "Вы должны ввести URL",
+
+  // Editor Help
+  "Xinha Help": "Помощь",
+  "Editor Help": "Помощь",
+  "Keyboard shortcuts": "Горячие клавиши",
+  "The editor provides the following key combinations:": "Редактор поддерживает следующие комбинации клавиш:",
+  "ENTER": "ENTER",
+  "new paragraph": "новый абзац",
+  "SHIFT-ENTER": "SHIFT+ENTER",
+  "insert linebreak": "перенос строки",
+  "Set format to paragraph": "Отформатировать абзац",
+  "Clean content pasted from Word": "Очистить текст, вставленный из Word",
+  "Headings": "Заголовки",
+  "Close": "Закрыть",
+
+  // Loading messages
+  "Loading in progress. Please wait !": "Загрузка... Пожалуйста, подождите.",
+  "Constructing main object": "Создание главного объекта",
+  "Constructing object": "Создание объекта",
+  "Register panel right": "Регистрация правой панели",
+  "Register panel left": "Регистрация левой панели",
+  "Register panel top": "Регистрация верхней панели",
+  "Register panel bottom": "Регистрация нижней панели",
+  "Create Toolbar": "Создание панели инструментов",
+  "Create StatusBar": "Создание панели состояния",
+  "Generate Xinha object": "Создание объекта Xinha",
+  "Init editor size": "Инициализация размера редактора",
+  "Init IFrame": "инициализация iframe",
+  "Register plugin $plugin": "Регистрация $plugin"
+};

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sh.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sh.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sh.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sh.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,140 @@
+// I18N constants
+
+// LANG: "sh", ENCODING: UTF-8 | ISO-8859-2
+// Author: Ljuba Ranković, http://www.rankovic.net/ljubar
+
+// 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.)
+
+{
+		"Bold": "Masno",
+		"Italic": "Kurziv",
+		"Underline": "Podvučeno",
+		"Strikethrough": "Precrtano",
+		"Subscript": "Indeks-tekst",
+		"Superscript": "Eksponent-tekst",
+		"Justify Left":"Ravnanje ulevo",
+		"Justify Center": "Ravnanje po simetrali",
+		"Justify Right": "Ravnanje udesno",
+		"Justify Full": "Puno ravnanje",
+		"Ordered List": "Lista sa rednim brojevima",
+		"Bulleted List": "Lista sa simbolima",
+		"Decrease Indent": "smanji uvlačenje",
+		"Increase Indent": "Povećaj uvlačenje",
+		"Font Color": "Boja slova",
+		"Background Color": "Boja pozadine",
+		"Horizontal Rule": "Horizontalna linija",
+		"Insert Web Link": "Dodaj web link",
+		"Insert/Modify Image": "Dodaj/promeni sliku",
+		"Insert Table": "Ubaci tabelu",
+		"Toggle HTML Source": "Prebaci na HTML kod",
+		"Enlarge Editor": "Povećaj editor",
+		"About this editor": "O ovom editoru",
+		"Help using editor": "Pomoć pri korišćenju editora",
+		"Current style": "Važeći stil",
+		"Undoes your last action": "Poništava poslednju radnju",
+		"Redoes your last action": "Vraća poslednju radnju",
+		"Cut selection": "Iseci izabrano",
+		"Copy selection": "Kopiraj izabrano",
+		"Paste from clipboard": "Zalepi iz klipborda",
+		"Direction left to right": "Pravac s leva na desno",
+		"Direction right to left": "Pravac s desna na levo",
+        "Remove formatting": "Ukoni formatiranje",
+        "Select all": "Izaberi sve",
+        "Print document": "Å tampaj dokument",
+        "Clear MSOffice tags": "Obriši MSOffice tagove",
+        "Clear Inline Font Specifications": "Obriši dodeljene osobine fonta",
+        "Split Block": "Podeli blok",
+        "Toggle Borders": "Izmeni okvire",
+
+        "&mdash; format &mdash;": "&mdash; Format &mdash;",
+        "Heading 1": "Zaglavlje 1",
+        "Heading 2": "Zaglavlje 2",
+        "Heading 3": "Zaglavlje 3",
+        "Heading 4": "Zaglavlje 4",
+        "Heading 5": "Zaglavlje 5",
+        "Heading 6": "Zaglavlje 6",
+        "Normal": "Običan",
+        "Address": "Adresa",
+        "Formatted": "Formatiran",
+        
+        // dialogs
+		"OK": "OK",
+		"Cancel": "Poništi",
+		"Path": "Putanja",
+		"You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Nalazite se u TEXT režimu.  Koristite [<>] dugme za povratak na WYSIWYG.",
+
+		"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "",
+
+        "Alignment:": "Ravnanje",
+        "Not set": "Nije postavljeno",
+        "Left": "Levo",
+        "Right": "Desno",
+        "Texttop": "Vrh teksta",
+        "Absmiddle": "Apsolutna sredina",
+        "Baseline": "Donja linija",
+        "Absbottom": "Apsolutno dno",
+        "Bottom": "Dno",
+        "Middle": "Sredina",
+        "Top": "Vrh",
+
+        "Layout": "Prelom",
+        "Spacing": "Razmak",
+        "Horizontal:": "Po horizontali",
+        "Horizontal padding": "Horizontalno odstojanje",
+        "Vertical:": "Po vertikali",
+        "Vertical padding": "Vertikalno odstojanje",
+        "Border thickness:": "Debljina okvira",
+        "Leave empty for no border": "Ostavi prazno kad nema okvira",
+		
+        // Insert Link
+		"Insert/Modify Link": "Dodaj/promeni Link",
+		"None (use implicit)": "koristi podrazumevano",
+		"New window (_blank)": "Novom prozoru (_blank)",
+		"Same frame (_self)": "Isti frejm (_self)",
+		"Top frame (_top)": "Glavni frejm (_top)",
+		"Other": "Drugo",
+		"Target:": "Otvori u:",
+		"Title (tooltip):": "Naziv (tooltip):",
+		"URL:": "URL:",
+		"You must enter the URL where this link points to": "Morate uneti URL na koji vodi ovaj link",
+		
+        // Insert Table
+        "Insert Table": "Ubaci tabelu",
+        "Rows:": "Redovi",
+        "Number of rows": "Broj redova",
+        "Cols:": "Kolone",
+        "Number of columns": "Broj kolona",
+        "Width:": "Å irina",
+        "Width of the table": "Å irina tabele",
+        "Percent": "Procenat",
+        "Pixels": "Pikseli",
+        "Em": "Em",
+        "Width unit": "Jedinica Å¡irine",
+        "Fixed width columns": "Fiksirana Å¡irina kolona",
+        "Positioning of this table": "Postavljanje ove tabele",
+        "Cell spacing:": "Rastojanje ćelija",
+        "Space between adjacent cells": "Rastojanje naspramnih ćelija",
+        "Cell padding:": "Unutrašnja odstojanja u ćeliji",
+        "Space between content and border in cell": "Rastojanje između sadržaja i okvira ćelije",
+
+        // Insert Image
+        "Insert Image": "Ubaci sliku",
+        "Image URL:": "URL slike",
+        "Enter the image URL here": "Unesite URL slike ovde",
+        "Preview": "Pregled",
+        "Preview the image in a new window": "Pregledaj sliku u novom prozoru",
+        "Alternate text:": "Alternativni tekst",
+        "For browsers that don't support images": "Za pretraživače koji ne podržavaju slike",
+        "Positioning of this image": "Postavljanje ove slike",
+        "Image Preview:": "Pregled slike",
+        
+        // Select Color popup
+		"Select Color": "Izaberite boju"
+};

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/si.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/si.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/si.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/si.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,50 @@
+// I18N constants
+
+// LANG: "si", ENCODING: UTF-8
+// 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.)
+
+{
+  "Bold": "Krepko",
+  "Italic": "Ležeče",
+  "Underline": "Podčrtano",
+  "Strikethrough": "Prečrtano",
+  "Subscript": "Podpisano",
+  "Superscript": "Nadpisano",
+  "Justify Left": "Poravnaj levo",
+  "Justify Center": "Na sredino",
+  "Justify Right": "Poravnaj desno",
+  "Justify Full": "Porazdeli vsebino",
+  "Ordered List": "Oštevilčevanje",
+  "Bulleted List": "Označevanje",
+  "Decrease Indent": "Zmanjšaj zamik",
+  "Increase Indent": "Povečaj zamik",
+  "Font Color": "Barva pisave",
+  "Background Color": "Barva ozadja",
+  "Horizontal Rule": "Vodoravna črta",
+  "Insert Web Link": "Vstavi hiperpovezavo",
+  "Insert/Modify Image": "Vstavi sliko",
+  "Insert Table": "Vstavi tabelo",
+  "Toggle HTML Source": "Preklopi na HTML kodo",
+  "Enlarge Editor": "Povečaj urejevalnik",
+  "About this editor": "Vizitka za urejevalnik",
+  "Help using editor": "Pomoč za urejevalnik",
+  "Current style": "Trenutni slog",
+  "Undoes your last action": "Razveljavi zadnjo akcijo",
+  "Redoes your last action": "Uveljavi zadnjo akcijo",
+  "Cut selection": "Izreži",
+  "Copy selection": "Kopiraj",
+  "Paste from clipboard": "Prilepi",
+  "OK": "V redu",
+  "Cancel": "Prekliči",
+  "Path": "Pot",
+  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Si v tekstovnem načinu.  Uporabi [<>] gumb za prklop nazaj na WYSIWYG."
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sr.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sr.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sr.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sr.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,140 @@
+// I18N constants
+
+// LANG: "sh", ENCODING: UTF-8 | ISO-8859-5
+// Author: Ljuba Ranković, http://www.rankovic.net/ljubar
+
+// 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.)
+
+{
+		"Bold": "Масно",
+		"Italic": "Курзив",
+		"Underline": "Подвучено",
+		"Strikethrough": "Прецртано",
+		"Subscript": "Индекс-текст",
+		"Superscript": "Експонент-текст",
+		"Justify Left": "Равнање улево",
+		"Justify Center": "Равнање по симетрали",
+		"Justify Right": "Равнање удесно",
+		"Justify Full": "Пуно равнање",
+		"Ordered List": "Листа са редним бројевима",
+		"Bulleted List": "Листа са симболима",
+		"Decrease Indent": "Смањи увлачење",
+		"Increase Indent": "Повећај увлачење",
+		"Font Color": "Боја слова",
+		"Background Color": "Боја позадине",
+		"Horizontal Rule": "Хоризонтална линија",
+		"Insert Web Link": "додај веб линк",
+		"Insert/Modify Image": "додај/промени слику",
+		"Insert Table": "Убаци табелу",
+		"Toggle HTML Source": "Пребаци на приказ ХТМЛ кода",
+		"Enlarge Editor": "Повећај едитор",
+		"About this editor": "О овом едитору",
+		"Help using editor": "Помоћ при коришћењу едитора",
+		"Current style": "Важећи стил",
+		"Undoes your last action": "Поништава последњу радњу",
+		"Redoes your last action": "Враћа последњу радњу",
+		"Cut selection": "Исеци изабрано",
+		"Copy selection": "Копирај изабрано",
+		"Paste from clipboard": "Залепи из клипборда",
+		"Direction left to right": "Правац с лева на десно",
+		"Direction right to left": "Правац с десна на лево",
+        "Remove formatting": "Уклони форматирање",
+        "Select all": "Изабери све",
+        "Print document": "Штампај документ",
+        "Clear MSOffice tags": "Обриши MSOffice тагове",
+        "Clear Inline Font Specifications": "Обриши примењене особине фонта",
+        "Split Block": "Подели блок",
+        "Toggle Borders": "Пребаци оквирне линије",
+
+        "&mdash; format &mdash;": "&mdash; Format &mdash;",
+        "Heading 1": "Заглавље 1",
+        "Heading 2": "Заглавље 2",
+        "Heading 3": "Заглавље 3",
+        "Heading 4": "Заглавље 4",
+        "Heading 5": "Заглавље 5",
+        "Heading 6": "Заглавље 6",
+        "Normal": "обичан",
+        "Address": "адреса",
+        "Formatted": "форматиран",		
+		
+        // dialogs
+		"OK": "OK",
+		"Cancel": "Поништи",
+		"Path": "Путања",
+		"You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.":    "Налазите се у ТЕКСТ режиму.  Користите [<>] дугме за повратак на ШВТИД (WYSIWYG).",
+
+		"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Дугме 'залепи' не ради у претраживачима породице Mozilla (из разлога сигурности). Притисните CTRL-V на тастатури да директно залепите.",
+		
+        "Alignment:": "Равнање",
+        "Not set": "Није постављено",
+        "Left": "Лево",
+        "Right": "Десно",
+        "Texttop": "Врх текста",
+        "Absmiddle": "Апсолутна средина",
+        "Baseline": "Доња линија",
+        "Absbottom": "Апсолутно дно",
+        "Bottom": "Дно",
+        "Middle": "Средина",
+        "Top": "Врх",
+
+        "Layout": "Прелом",
+        "Spacing": "Размак",
+        "Horizontal:": "По хоризонтали",
+        "Horizontal padding": "Хортизонтално одстојање",
+        "Vertical:": "По вертикали",
+        "Vertical padding": "Вертикално одстојање",
+        "Border thickness:": "Дебљина оквира",
+        "Leave empty for no border": "Остави празно кад нема оквира",
+
+        // Insert Link
+		"Insert/Modify Link": "додај/промени линк",
+		"None (use implicit)": "користи подразумевано",
+		"New window (_blank)": "Новом прозору (_blank)",
+		"Same frame (_self)": "Исти фрејм (_self)",
+		"Top frame (_top)": "Главни фрејм (_top)",
+		"Other": "Друго",
+		"Target:": "Отвори у:",
+		"Title (tooltip):": "Назив (tooltip):",
+		"URL:": "УРЛ:",
+		"You must enter the URL where this link points to": "Морате унети УРЛ на који води овај линк",
+
+        // Insert Table
+        "Insert Table": "Убаци табелу",
+        "Rows:": "Редови",
+        "Number of rows": "Број редова",
+        "Cols:": "Колоне",
+        "Number of columns": "Број колона",
+        "Width:": "Ширина",
+        "Width of the table": "Ширина табеле",
+        "Percent": "Процената",
+        "Pixels": "Пиксела",
+        "Em": "Ем",
+        "Width unit": "Јединица ширине",
+        "Fixed width columns": "Фиксирана ширина колоне",
+        "Positioning of this table": "Постављање ове табеле",
+        "Cell spacing:": "Размак између ћелија",
+        "Space between adjacent cells": "Размак између наспрамних ћелија",
+        "Cell padding:": "Унутрашња одстојања од ивица ћелије",
+        "Space between content and border in cell": "Растојање између садржаја у ћелији и њеног оквира",
+
+        // Insert Image
+        "Insert Image": "Убаци слику",
+        "Image URL:": "УРЛ слике",
+        "Enter the image URL here": "Унесите УРЛ слике овде",
+        "Preview": "Преглед",
+        "Preview the image in a new window": "Прегледај слику у новом прозору",
+        "Alternate text:": "алтернативни текст",
+        "For browsers that don't support images": "За претраживаче који не подржавају слике",
+        "Positioning of this image": "Постављање ове слике",
+        "Image Preview:": "Преглед слике",
+
+        // Select Color popup
+		"Select Color": "Изабери боју"
+};

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sv.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sv.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sv.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/sv.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,116 @@
+// I18N constants
+// LANG: "sv", ENCODING: UTF-8
+
+// Swedish version for htmlArea v3.0
+// Initital translation by pat <pat@engvall.nu>
+// Synced with additional contants in rev. 477 (Mar 2006) by Thomas Loo <tloo@saltstorm.net>
+
+{
+  "Bold": "Fet",
+  "Italic": "Kursiv",
+  "Underline": "Understruken",
+  "Strikethrough": "Genomstruken",
+  "Subscript": "Nedsänkt",
+  "Superscript": "Upphöjd",
+  "Justify Left": "Vänsterjustera",
+  "Justify Center": "Centrera",
+  "Justify Right": "Högerjustera",
+  "Justify Full": "Marginaljustera",
+  "Ordered List": "Numrerad lista",
+  "Bulleted List": "Punktlista",
+  "Decrease Indent": "Minska indrag",
+  "Increase Indent": "Öka indrag",
+  "Font Color": "Textfärg",
+  "Background Color": "Bakgrundsfärg",
+  "Horizontal Rule": "Vågrät linje",
+  "Insert Web Link": "Infoga länk",
+  "Insert/Modify Image": "Infoga bild",
+  "Toggle HTML Source": "Visa källkod",
+  "Enlarge Editor": "Visa i eget fönster",
+  "About this editor": "Om denna editor",
+  "Help using editor": "Hjälp",
+  "Current style": "Nuvarande stil",
+
+  "Undoes your last action": "Ångra kommando",
+  "Redoes your last action": "Upprepa kommando",
+  "Select all": "Markera allt",
+  "Print document": "Skriv ut",
+  "Clear MSOffice tags": "Städa bort MS Office taggar",
+  "Clear Inline Font Specifications": "Rensa inbäddad typsnittsinformation",
+  "Remove formatting": "Rensa formattering",
+  "Toggle Borders": "Objektramar",
+  "Split Block": "Dela block",
+  "Direction left to right": "Vänster till höger",
+  "Direction right to left": "Höger till vänster",
+
+  "Insert/Overwrite": "Infoga/Skriv över",
+  "OK": "OK",
+  "Cancel": "Avbryt",
+  "Path": "Objekt",
+  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Du befinner dig i texläge. Klicka på ikonen [<>] ovan för att växla tillbaka till WYSIWIG läge",
+  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Visning i fullskärmsläga fungerar dåligt i din webläsare. Möjliga problem resulterar i en ryckig editor, saknade editorfunktioner och/eller att webläsaren kraschar. Om du använder Windows 95/98 finns också möjligheten att Windows kraschar.\n\nTryck ",
+  "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Denna knapp fungerar ej i Mozillabaserad webläsare, använd istället snabbtangenterna CTRL-V på tangentbordet för att klistra in.",
+
+  "Insert/Modify Link": "Redigera länk",
+  "New window (_blank)": "Nytt fönster (_blank)",
+  "None (use implicit)": "Ingen (använd standardinställing)",
+  "Other": "Annan",
+  "Same frame (_self)": "Samma ram (_self)",
+  "Target:": "MÃ¥l:",
+  "Title (tooltip):": "Titel (tooltip):",
+  "Top frame (_top)": "Toppram (_top)",
+  "URL:": "Sökväg:",
+  "You must enter the URL where this link points to": "Du måsta ange en adress till vilken länken skall peka på",
+  "Would you like to clear font typefaces?": "Radera alla typsnittsinformation ?",
+  "Would you like to clear font sizes?": "Radera alla fontstorlekar ?",
+  "Would you like to clear font colours?": "Ta bort all textfärger ?",
+
+  "You need to select some text before creating a link": "Du måsta markera ett objekt att applicera länken på!",
+
+  // Insert Table
+  "Insert Table": "Infoga tabell",
+  "Rows:": "Rader:",
+  "Number of rows": "Antal rader",
+  "Cols:": "Kolumner:",
+  "Number of columns": "Antal kolumner",
+  "Width:": "Bredd:",
+  "Width of the table": "Tabellbredd",
+  "Percent": "Procent",
+  "Pixels": "Pixlar",
+  "Em": "",
+  "Width unit": "Breddenheter",
+  "Fixed width columns": "Fixerad bredd",
+  "Alignment:": "Marginaljustering",
+  "Positioning of this table": "Tabellposition",
+  "Border thickness:": "Ramtjocklek",
+  "Leave empty for no border": "Lämna fältet tomt för att undvika ramar",
+  "Spacing": "Cellegenskaper",
+  "Cell spacing:": "Cellmarginaler:",
+  "Space between adjacent cells": "Utrymme mellan celler",
+  "Cell padding:": "Cellindrag:",
+  "Space between content and border in cell": "Utrymme mellan ram och cellinnehåll",
+  "You must enter a number of rows": "Ange ental rader",
+  "You must enter a number of columns": "Ange antal kolumner",
+
+  // Editor Help
+  "Keyboard shortcuts": "Snabbtangenter",
+  "The editor provides the following key combinations:": "Editorn nyttjar följande kombinationer:",
+  "new paragraph": "Ny paragraf ",
+  "insert linebreak": "Infoga radbrytning ",
+  "Set format to paragraph": "Aktivera paragrafläge",
+  "Clean content pasted from Word": "Rensa innehåll inklistrat från MS Word",
+  "Headings": "Skapa standardrubrik",
+  "Cut selection": "Klipp ut markering",
+  "Copy selection": "Kopiera  markering",
+  "Paste from clipboard": "Klistra in",
+  "Close": "Stäng",
+
+  // Loading messages
+  "Loading in progress. Please wait !": "Editorn laddas. Vänta...",
+  "Constructing main object": "Skapar huvudobjekt",
+  "Create Toolbar": "Skapar verktygspanel",
+  "Register panel right": "Registerar panel höger",
+  "Register panel left": "Registerar panel vänster",
+  "Register panel top": "Registerar toppanel",
+  "Register panel bottom": "Registerar fotpanel"
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/th.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/th.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/th.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/th.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,50 @@
+// I18N constants
+
+// LANG: "th", ENCODING: UTF-8
+// Author: Suchin Prasongbundit, <suchin@joolsoft.com>
+
+// 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.)
+
+{
+  "Bold": "ตัวหนา",
+  "Italic": "ตัวเอียง",
+  "Underline": "ขีดเส้นใต้",
+  "Strikethrough": "ขีดทับ",
+  "Subscript": "ตัวห้อย",
+  "Superscript": "ตัวยก",
+  "Justify Left": "จัดชิดซ้าย",
+  "Justify Center": "จัดกึ่งกลาง",
+  "Justify Right": "จัดชิดขวา",
+  "Justify Full": "จัดเต็มขอบ",
+  "Ordered List": "เลขลำดับ",
+  "Bulleted List": "ลำดับ",
+  "Decrease Indent": "ลดย่อหน้า",
+  "Increase Indent": "เพิ่มย่อหน้า",
+  "Font Color": "สีขอบแบบอักษร",
+  "Background Color": "สีพื้นหลัง",
+  "Horizontal Rule": "เส้นกึ่งกลาง",
+  "Insert Web Link": "ิเพิ่มลิ้งค์",
+  "Insert/Modify Image": "เพิ่ม/แก้ไขภาพ",
+  "Insert Table": "เพิ่มตาราง",
+  "Toggle HTML Source": "สลับการแสดงโค้ด HTML",
+  "Enlarge Editor": "ขยายให้เต็มจอ",
+  "About this editor": "เกี่ยวกับโปรแกรมนี้",
+  "Help using editor": "การใช้งานโปรแกรม",
+  "Current style": "รูปแบบปัจจุบัน",
+  "Undoes your last action": "ย้อนกลับ",
+  "Redoes your last action": "ทำซ้ำ",
+  "Cut selection": "ตัดส่วนที่เลือก",
+  "Copy selection": "สำเนาส่วนที่เลือก",
+  "Paste from clipboard": "วางจากคลิปบอร์ด",
+  "OK": "ตกลง",
+  "Cancel": "ยกเลิก",
+  "Path": "เส้นทาง",
+  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "คุณอยู่ในโหมดธรรมดา กดที่ปุ่ม [<>] เพื่อสลับกลับไปยังโหมดพิมพ์งานแบบเวิร์ด"
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/vn.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/vn.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/vn.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/lang/vn.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,56 @@
+// I18N constants : Vietnamese
+// LANG: "en", ENCODING: UTF-8
+// Author: Nguyễn Đình Nam, <hncryptologist@yahoo.com>
+// Modified 21/07/2004 by Phạm Mai Quân <pmquan@4vn.org>
+
+{
+  "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",
+  "Justify Left": "Căn Trái",
+  "Justify Center": "Căn Giữa",
+  "Justify Right": "Căn Phải",
+  "Justify Full": "Căn Đều",
+  "Ordered List": "Danh Sách Có Thứ Tự (1, 2, 3)",
+  "Bulleted List": "Danh Sách Phi Thứ Tự (Chấm đầu dòng)",
+  "Decrease Indent": "Lùi Ra Ngoài",
+  "Increase Indent": "Thụt Vào Trong",
+  "Font Color": "Màu Chữ",
+  "Background Color": "Màu Nền",
+  "Horizontal Rule": "Dòng Kẻ Ngang",
+  "Insert Web Link": "Tạo Liên Kết",
+  "Insert/Modify Image": "Chèn Ảnh",
+  "Insert Table": "Chèn Bảng",
+  "Toggle HTML Source": "Chế Độ Mã HTML",
+  "Enlarge Editor": "Phóng To Ô Soạn Thảo",
+  "About this editor": "Tự Giới Thiệu",
+  "Help using editor": "Giúp Đỡ",
+  "Current style": "Định Dạng Hiện Thời",
+  "Undoes your last action": "Hủy thao tác trước",
+  "Redoes your last action": "Lấy lại thao tác vừa bỏ",
+  "Cut selection": "Cắt",
+  "Copy selection": "Sao chép",
+  "Paste from clipboard": "Dán",
+  "Direction left to right": "Viết từ trái sang phải",
+  "Direction right to left": "Viết từ phải sang trái",
+  "OK": "Đồng ý",
+  "Cancel": "Hủy",
+  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Chế độ phóng to ô soạn thảo có thể gây lỗi với Internet Explorer vì một số lỗi của trình duyệt này, vì thế chế độ này có thể sẽ không chạy. Hiển thị không đúng, lộn xộn, không có đầy đủ chức năng, và cũng có thể làm trình duyệt của bạn bị tắt ngang. Nếu bạn đang sử dụng Windows 9x bạn có thể bị báo lỗi ",
+  "Path": "Đường Dẫn",
+  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Bạn đang ở chế độ text.  Sử dụng nút [<>] để chuyển lại chế độ WYSIWIG.",
+  "Cancel": "Hủy",
+  "Insert/Modify Link": "Thêm/Chỉnh sửa đường dẫn",
+  "New window (_blank)": "Cửa sổ mới (_blank)",
+  "None (use implicit)": "Không (sử dụng implicit)",
+  "OK": "Đồng ý",
+  "Other": "Khác",
+  "Same frame (_self)": "Trên cùng khung (_self)",
+  "Target:": "Nơi hiện thị:",
+  "Title (tooltip):": "Tiêu đề (của hướng dẫn):",
+  "Top frame (_top)": "Khung trên cùng (_top)",
+  "URL:": "URL:",
+  "You must enter the URL where this link points to": "Bạn phải điền địa chỉ (URL) mà đường dẫn sẽ liên kết tới"
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/license.txt
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/license.txt?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/license.txt (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/license.txt Sun Sep 27 03:11:38 2009
@@ -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.

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/ColorPicker.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/ColorPicker.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/ColorPicker.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/ColorPicker.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,624 @@
+/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
+/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
+/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/ColorPicker/ColorPicker.js */
+ColorPicker._pluginInfo={name:"colorPicker",version:"$LastChangedRevision:998 $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),developer:"James Sleeman",developer_url:"http://www.gogo.co.nz/",c_owner:"Gogo Internet Services",license:"htmlArea",sponsor:"Gogo Internet Services",sponsor_url:"http://www.gogo.co.nz/"};
+function ColorPicker(){
+}
+try{
+if(window.opener&&window.opener.Xinha){
+var openerColorPicker=window.opener.Xinha.colorPicker;
+Xinha._addEvent(window,"unload",function(){
+Xinha.colorPicker=openerColorPicker;
+});
+}
+}
+catch(e){
+}
+Xinha.colorPicker=function(_1){
+if(Xinha.colorPicker.savedColors.length===0){
+Xinha.colorPicker.loadColors();
+}
+this.is_ie_6=(Xinha.is_ie&&Xinha.ie_version<7);
+var _2=this;
+var _3=false;
+var _4=false;
+var _5=0;
+var _6=0;
+this.callback=_1.callback?_1.callback:function(_7){
+alert("You picked "+_7);
+};
+this.websafe=_1.websafe?_1.websafe:false;
+this.savecolors=_1.savecolors?_1.savecolors:20;
+this.cellsize=parseInt(_1.cellsize?_1.cellsize:"10px",10);
+this.side=_1.granularity?_1.granularity:18;
+var _8=this.side+1;
+var _9=this.side-1;
+this.value=1;
+this.saved_cells=null;
+this.table=document.createElement("table");
+this.table.className="dialog";
+this.table.cellSpacing=this.table.cellPadding=0;
+this.table.onmouseup=function(){
+_3=false;
+_4=false;
+};
+this.tbody=document.createElement("tbody");
+this.table.appendChild(this.tbody);
+this.table.style.border="1px solid WindowFrame";
+this.table.style.zIndex="1050";
+var tr=document.createElement("tr");
+var td=document.createElement("td");
+td.colSpan=this.side;
+td.className="title";
+td.style.fontFamily="small-caption,caption,sans-serif";
+td.style.fontSize="x-small";
+td.unselectable="on";
+td.style.MozUserSelect="none";
+td.style.cursor="default";
+td.appendChild(document.createTextNode(Xinha._lc("Click a color...")));
+td.style.borderBottom="1px solid WindowFrame";
+tr.appendChild(td);
+td=null;
+var td=document.createElement("td");
+td.className="title";
+td.colSpan=2;
+td.style.fontFamily="Tahoma,Verdana,sans-serif";
+td.style.borderBottom="1px solid WindowFrame";
+td.style.paddingRight="0";
+tr.appendChild(td);
+var _c=document.createElement("div");
+_c.title=Xinha._lc("Close");
+_c.className="buttonColor";
+_c.style.height="11px";
+_c.style.width="11px";
+_c.style.cursor="pointer";
+_c.onclick=function(){
+_2.close();
+};
+_c.appendChild(document.createTextNode("\xd7"));
+_c.align="center";
+_c.style.verticalAlign="top";
+_c.style.position="relative";
+_c.style.cssFloat="right";
+_c.style.styleFloat="right";
+_c.style.padding="0";
+_c.style.margin="2px";
+_c.style.backgroundColor="transparent";
+_c.style.fontSize="11px";
+if(!Xinha.is_ie){
+_c.style.lineHeight="9px";
+}
+_c.style.letterSpacing="0";
+td.appendChild(_c);
+this.tbody.appendChild(tr);
+_c=tr=td=null;
+this.constrain_cb=document.createElement("input");
+this.constrain_cb.type="checkbox";
+this.chosenColor=document.createElement("input");
+this.chosenColor.type="text";
+this.chosenColor.maxLength=7;
+this.chosenColor.style.width="50px";
+this.chosenColor.style.fontSize="11px";
+this.chosenColor.onchange=function(){
+if(/#[0-9a-f]{6,6}/i.test(this.value)){
+_2.backSample.style.backgroundColor=this.value;
+_2.foreSample.style.color=this.value;
+}
+};
+this.backSample=document.createElement("div");
+this.backSample.appendChild(document.createTextNode("\xa0"));
+this.backSample.style.fontWeight="bold";
+this.backSample.style.fontFamily="small-caption,caption,sans-serif";
+this.backSample.fontSize="x-small";
+this.foreSample=document.createElement("div");
+this.foreSample.appendChild(document.createTextNode(Xinha._lc("Sample")));
+this.foreSample.style.fontWeight="bold";
+this.foreSample.style.fontFamily="small-caption,caption,sans-serif";
+this.foreSample.fontSize="x-small";
+function toHex(_d){
+var h=_d.toString(16);
+if(h.length<2){
+h="0"+h;
+}
+return h;
+}
+function tupleToColor(_f){
+return "#"+toHex(_f.red)+toHex(_f.green)+toHex(_f.blue);
+}
+function nearestPowerOf(num,_11){
+return Math.round(Math.round(num/_11)*_11);
+}
+function doubleHexDec(dec){
+return parseInt(dec.toString(16)+dec.toString(16),16);
+}
+function rgbToWebsafe(_13){
+_13.red=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.red).charAt(0),16),3));
+_13.blue=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.blue).charAt(0),16),3));
+_13.green=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.green).charAt(0),16),3));
+return _13;
+}
+function hsvToRGB(h,s,v){
+var _17;
+if(s===0){
+_17={red:v,green:v,blue:v};
+}else{
+h/=60;
+var i=Math.floor(h);
+var f=h-i;
+var p=v*(1-s);
+var q=v*(1-s*f);
+var t=v*(1-s*(1-f));
+switch(i){
+case 0:
+_17={red:v,green:t,blue:p};
+break;
+case 1:
+_17={red:q,green:v,blue:p};
+break;
+case 2:
+_17={red:p,green:v,blue:t};
+break;
+case 3:
+_17={red:p,green:q,blue:v};
+break;
+case 4:
+_17={red:t,green:p,blue:v};
+break;
+default:
+_17={red:v,green:p,blue:q};
+break;
+}
+}
+_17.red=Math.ceil(_17.red*255);
+_17.green=Math.ceil(_17.green*255);
+_17.blue=Math.ceil(_17.blue*255);
+return _17;
+}
+var _1d=this;
+function closeOnBodyClick(ev){
+ev=ev?ev:window.event;
+el=ev.target?ev.target:ev.srcElement;
+do{
+if(el==_1d.table){
+return;
+}
+}while(el=el.parentNode);
+_1d.close();
+}
+this.open=function(_1f,_20,_21){
+this.table.style.display="";
+this.pick_color();
+if(_21&&/#[0-9a-f]{6,6}/i.test(_21)){
+this.chosenColor.value=_21;
+this.backSample.style.backgroundColor=_21;
+this.foreSample.style.color=_21;
+}
+Xinha._addEvent(document.body,"mousedown",closeOnBodyClick);
+this.table.style.position="absolute";
+var e=_20;
+var top=0;
+var _24=0;
+do{
+if(e.style.position=="fixed"){
+this.table.style.position="fixed";
+}
+top+=e.offsetTop;
+_24+=e.offsetLeft;
+e=e.offsetParent;
+}while(e);
+var x,y;
+if(/top/.test(_1f)||(top+this.table.offsetHeight>document.body.offsetHeight)){
+if(top-this.table.offsetHeight>0){
+this.table.style.top=(top-this.table.offsetHeight)+"px";
+}else{
+this.table.style.top=0;
+}
+}else{
+this.table.style.top=(top+_20.offsetHeight)+"px";
+}
+if(/left/.test(_1f)||(_24+this.table.offsetWidth>document.body.offsetWidth)){
+if(_24-(this.table.offsetWidth-_20.offsetWidth)>0){
+this.table.style.left=(_24-(this.table.offsetWidth-_20.offsetWidth))+"px";
+}else{
+this.table.style.left=0;
+}
+}else{
+this.table.style.left=_24+"px";
+}
+if(this.is_ie_6){
+this.iframe.style.top=this.table.style.top;
+this.iframe.style.left=this.table.style.left;
+}
+};
+function pickCell(_26){
+_2.chosenColor.value=_26.colorCode;
+_2.backSample.style.backgroundColor=_26.colorCode;
+_2.foreSample.style.color=_26.colorCode;
+if((_26.hue>=195&&_26.saturation>0.5)||(_26.hue===0&&_26.saturation===0&&_26.value<0.5)||(_26.hue!==0&&_2.value<0.75)){
+_26.style.borderColor="#fff";
+}else{
+_26.style.borderColor="#000";
+}
+_5=_26.thisrow;
+_6=_26.thiscol;
+}
+function pickValue(_27){
+if(_2.value<0.5){
+_27.style.borderColor="#fff";
+}else{
+_27.style.borderColor="#000";
+}
+_9=_27.thisrow;
+_8=_27.thiscol;
+_2.chosenColor.value=_2.saved_cells[_5][_6].colorCode;
+_2.backSample.style.backgroundColor=_2.saved_cells[_5][_6].colorCode;
+_2.foreSample.style.color=_2.saved_cells[_5][_6].colorCode;
+}
+function unpickCell(row,col){
+_2.saved_cells[row][col].style.borderColor=_2.saved_cells[row][col].colorCode;
+}
+this.pick_color=function(){
+var _2a,cols;
+var _2b=this;
+var _2c=359/(this.side);
+var _2d=1/(this.side-1);
+var _2e=1/(this.side-1);
+var _2f=this.constrain_cb.checked;
+if(this.saved_cells===null){
+this.saved_cells=[];
+for(var row=0;row<this.side;row++){
+var tr=document.createElement("tr");
+this.saved_cells[row]=[];
+for(var col=0;col<this.side;col++){
+var td=document.createElement("td");
+if(_2f){
+td.colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(_2c*row,_2d*col,this.value)));
+}else{
+td.colorCode=tupleToColor(hsvToRGB(_2c*row,_2d*col,this.value));
+}
+this.saved_cells[row][col]=td;
+td.style.height=this.cellsize+"px";
+td.style.width=this.cellsize-2+"px";
+td.style.borderWidth="1px";
+td.style.borderStyle="solid";
+td.style.borderColor=td.colorCode;
+td.style.backgroundColor=td.colorCode;
+if(row==_5&&col==_6){
+td.style.borderColor="#000";
+this.chosenColor.value=td.colorCode;
+this.backSample.style.backgroundColor=td.colorCode;
+this.foreSample.style.color=td.colorCode;
+}
+td.hue=_2c*row;
+td.saturation=_2d*col;
+td.thisrow=row;
+td.thiscol=col;
+td.onmousedown=function(){
+_3=true;
+_2b.saved_cells[_5][_6].style.borderColor=_2b.saved_cells[_5][_6].colorCode;
+pickCell(this);
+};
+td.onmouseover=function(){
+if(_3){
+pickCell(this);
+}
+};
+td.onmouseout=function(){
+if(_3){
+this.style.borderColor=this.colorCode;
+}
+};
+td.ondblclick=function(){
+Xinha.colorPicker.remember(this.colorCode,_2b.savecolors);
+_2b.callback(this.colorCode);
+_2b.close();
+};
+td.appendChild(document.createTextNode(" "));
+td.style.cursor="pointer";
+tr.appendChild(td);
+td=null;
+}
+var td=document.createElement("td");
+td.appendChild(document.createTextNode(" "));
+td.style.width=this.cellsize+"px";
+tr.appendChild(td);
+td=null;
+var td=document.createElement("td");
+this.saved_cells[row][col+1]=td;
+td.appendChild(document.createTextNode(" "));
+td.style.width=this.cellsize-2+"px";
+td.style.height=this.cellsize+"px";
+td.constrainedColorCode=tupleToColor(rgbToWebsafe(hsvToRGB(0,0,_2e*row)));
+td.style.backgroundColor=td.colorCode=tupleToColor(hsvToRGB(0,0,_2e*row));
+td.style.borderWidth="1px";
+td.style.borderStyle="solid";
+td.style.borderColor=td.colorCode;
+if(row==_9){
+td.style.borderColor="black";
+}
+td.hue=_2c*row;
+td.saturation=_2d*col;
+td.hsv_value=_2e*row;
+td.thisrow=row;
+td.thiscol=col+1;
+td.onmousedown=function(){
+_4=true;
+_2b.saved_cells[_9][_8].style.borderColor=_2b.saved_cells[_9][_8].colorCode;
+_2b.value=this.hsv_value;
+_2b.pick_color();
+pickValue(this);
+};
+td.onmouseover=function(){
+if(_4){
+_2b.value=this.hsv_value;
+_2b.pick_color();
+pickValue(this);
+}
+};
+td.onmouseout=function(){
+if(_4){
+this.style.borderColor=this.colorCode;
+}
+};
+td.style.cursor="pointer";
+tr.appendChild(td);
+td=null;
+this.tbody.appendChild(tr);
+tr=null;
+}
+var tr=document.createElement("tr");
+this.saved_cells[row]=[];
+for(var col=0;col<this.side;col++){
+var td=document.createElement("td");
+if(_2f){
+td.colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(0,0,_2e*(this.side-col-1))));
+}else{
+td.colorCode=tupleToColor(hsvToRGB(0,0,_2e*(this.side-col-1)));
+}
+this.saved_cells[row][col]=td;
+td.style.height=this.cellsize+"px";
+td.style.width=this.cellsize-2+"px";
+td.style.borderWidth="1px";
+td.style.borderStyle="solid";
+td.style.borderColor=td.colorCode;
+td.style.backgroundColor=td.colorCode;
+td.hue=0;
+td.saturation=0;
+td.value=_2e*(this.side-col-1);
+td.thisrow=row;
+td.thiscol=col;
+td.onmousedown=function(){
+_3=true;
+_2b.saved_cells[_5][_6].style.borderColor=_2b.saved_cells[_5][_6].colorCode;
+pickCell(this);
+};
+td.onmouseover=function(){
+if(_3){
+pickCell(this);
+}
+};
+td.onmouseout=function(){
+if(_3){
+this.style.borderColor=this.colorCode;
+}
+};
+td.ondblclick=function(){
+Xinha.colorPicker.remember(this.colorCode,_2b.savecolors);
+_2b.callback(this.colorCode);
+_2b.close();
+};
+td.appendChild(document.createTextNode(" "));
+td.style.cursor="pointer";
+tr.appendChild(td);
+td=null;
+}
+this.tbody.appendChild(tr);
+tr=null;
+var tr=document.createElement("tr");
+var td=document.createElement("td");
+tr.appendChild(td);
+td.colSpan=this.side+2;
+td.style.padding="3px";
+if(this.websafe){
+var div=document.createElement("div");
+var _35=document.createElement("label");
+_35.appendChild(document.createTextNode(Xinha._lc("Web Safe: ")));
+this.constrain_cb.onclick=function(){
+_2b.pick_color();
+};
+_35.appendChild(this.constrain_cb);
+_35.style.fontFamily="small-caption,caption,sans-serif";
+_35.style.fontSize="x-small";
+div.appendChild(_35);
+td.appendChild(div);
+div=null;
+}
+var div=document.createElement("div");
+var _35=document.createElement("label");
+_35.style.fontFamily="small-caption,caption,sans-serif";
+_35.style.fontSize="x-small";
+_35.appendChild(document.createTextNode(Xinha._lc("Color: ")));
+_35.appendChild(this.chosenColor);
+div.appendChild(_35);
+var but=document.createElement("span");
+but.className="buttonColor ";
+but.style.fontSize="13px";
+but.style.width="24px";
+but.style.marginLeft="2px";
+but.style.padding="0px 4px";
+but.style.cursor="pointer";
+but.onclick=function(){
+Xinha.colorPicker.remember(_2b.chosenColor.value,_2b.savecolors);
+_2b.callback(_2b.chosenColor.value);
+_2b.close();
+};
+but.appendChild(document.createTextNode(Xinha._lc("OK")));
+but.align="center";
+div.appendChild(but);
+td.appendChild(div);
+var _37=document.createElement("table");
+_37.style.width="100%";
+var _38=document.createElement("tbody");
+_37.appendChild(_38);
+var _39=document.createElement("tr");
+_38.appendChild(_39);
+var _3a=document.createElement("td");
+_39.appendChild(_3a);
+_3a.appendChild(this.backSample);
+_3a.style.width="50%";
+var _3b=document.createElement("td");
+_39.appendChild(_3b);
+_3b.appendChild(this.foreSample);
+_3b.style.width="50%";
+td.appendChild(_37);
+var _3c=document.createElement("div");
+_3c.style.clear="both";
+function createSavedColors(_3d){
+var _3e=Xinha.is_ie;
+var div=document.createElement("div");
+div.style.width=_2b.cellsize+"px";
+div.style.height=_2b.cellsize+"px";
+div.style.margin="1px";
+div.style.border="1px solid black";
+div.style.cursor="pointer";
+div.style.backgroundColor=_3d;
+div.style[_3e?"styleFloat":"cssFloat"]="left";
+div.ondblclick=function(){
+_2b.callback(_3d);
+_2b.close();
+};
+div.onclick=function(){
+_2b.chosenColor.value=_3d;
+_2b.backSample.style.backgroundColor=_3d;
+_2b.foreSample.style.color=_3d;
+};
+_3c.appendChild(div);
+}
+for(var _40=0;_40<Xinha.colorPicker.savedColors.length;_40++){
+createSavedColors(Xinha.colorPicker.savedColors[_40]);
+}
+td.appendChild(_3c);
+this.tbody.appendChild(tr);
+document.body.appendChild(this.table);
+if(this.is_ie_6){
+if(!this.iframe){
+this.iframe=document.createElement("iframe");
+this.iframe.frameBorder=0;
+this.iframe.src="javascript:;";
+this.iframe.style.position="absolute";
+this.iframe.style.width=this.table.offsetWidth;
+this.iframe.style.height=this.table.offsetHeight;
+document.body.insertBefore(this.iframe,this.table);
+}
+this.iframe.style.display="";
+}
+}else{
+for(var row=0;row<this.side;row++){
+for(var col=0;col<this.side;col++){
+if(_2f){
+this.saved_cells[row][col].colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(_2c*row,_2d*col,this.value)));
+}else{
+this.saved_cells[row][col].colorCode=tupleToColor(hsvToRGB(_2c*row,_2d*col,this.value));
+}
+this.saved_cells[row][col].style.backgroundColor=this.saved_cells[row][col].colorCode;
+this.saved_cells[row][col].style.borderColor=this.saved_cells[row][col].colorCode;
+}
+}
+var _41=this.saved_cells[_5][_6];
+this.chosenColor.value=_41.colorCode;
+this.backSample.style.backgroundColor=_41.colorCode;
+this.foreSample.style.color=_41.colorCode;
+if((_41.hue>=195&&_41.saturation>0.5)||(_41.hue===0&&_41.saturation===0&&_41.value<0.5)||(_41.hue!==0&&_2b.value<0.75)){
+_41.style.borderColor="#fff";
+}else{
+_41.style.borderColor="#000";
+}
+}
+};
+this.close=function(){
+Xinha._removeEvent(document.body,"mousedown",closeOnBodyClick);
+this.table.style.display="none";
+if(this.is_ie_6){
+if(this.iframe){
+this.iframe.style.display="none";
+}
+}
+};
+};
+Xinha.colorPicker.savedColors=[];
+Xinha.colorPicker.remember=function(_42,_43){
+for(var i=Xinha.colorPicker.savedColors.length;i--;){
+if(Xinha.colorPicker.savedColors[i]==_42){
+return false;
+}
+}
+Xinha.colorPicker.savedColors.splice(0,0,_42);
+Xinha.colorPicker.savedColors=Xinha.colorPicker.savedColors.slice(0,_43);
+var _45=new Date();
+_45.setMonth(_45.getMonth()+1);
+document.cookie="XinhaColorPicker="+escape(Xinha.colorPicker.savedColors.join("-"))+";expires="+_45.toGMTString();
+return true;
+};
+Xinha.colorPicker.loadColors=function(){
+var _46=document.cookie.indexOf("XinhaColorPicker");
+if(_46!=-1){
+var _47=(document.cookie.indexOf("=",_46)+1);
+var end=document.cookie.indexOf(";",_46);
+if(end==-1){
+end=document.cookie.length;
+}
+Xinha.colorPicker.savedColors=unescape(document.cookie.substring(_47,end)).split("-");
+}
+};
+Xinha.colorPicker.InputBinding=function(_49,_4a){
+var doc=_49.ownerDocument;
+var _4c=doc.createElement("span");
+_4c.className="buttonColor";
+var _4d=this.chooser=doc.createElement("span");
+_4d.className="chooser";
+if(_49.value){
+_4d.style.backgroundColor=_49.value;
+}
+_4d.onmouseover=function(){
+_4d.className="chooser buttonColor-hilite";
+};
+_4d.onmouseout=function(){
+_4d.className="chooser";
+};
+_4d.appendChild(doc.createTextNode("\xa0"));
+_4c.appendChild(_4d);
+var _4e=doc.createElement("span");
+_4e.className="nocolor";
+_4e.onmouseover=function(){
+_4e.className="nocolor buttonColor-hilite";
+_4e.style.color="#f00";
+};
+_4e.onmouseout=function(){
+_4e.className="nocolor";
+_4e.style.color="#000";
+};
+_4e.onclick=function(){
+_49.value="";
+_4d.style.backgroundColor="";
+};
+_4e.appendChild(doc.createTextNode("\xd7"));
+_4c.appendChild(_4e);
+_49.parentNode.insertBefore(_4c,_49.nextSibling);
+Xinha._addEvent(_49,"change",function(){
+_4d.style.backgroundColor=this.value;
+});
+_4a=(_4a)?Xinha.cloneObject(_4a):{cellsize:"5px"};
+_4a.callback=(_4a.callback)?_4a.callback:function(_4f){
+_4d.style.backgroundColor=_4f;
+_49.value=_4f;
+};
+_4d.onclick=function(){
+var _50=new Xinha.colorPicker(_4a);
+_50.open("",_4d,_49.value);
+};
+Xinha.freeLater(this,"chooser");
+};
+Xinha.colorPicker.InputBinding.prototype.setColor=function(_51){
+this.chooser.style.backgroundColor=_51;
+};
+

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/lang/pt_br.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/lang/pt_br.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/lang/pt_br.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/ColorPicker/lang/pt_br.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,22 @@
+// I18N constants
+//
+// LANG: "pt_br", ENCODING: UTF-8
+// Portuguese Brazilian Translation
+//
+// Author: Marcio Barbosa, <marcio@mpg.com.br>
+// MSN: tomarshall@msn.com - ICQ: 69419933
+// Site: http://www.mpg.com.br
+//
+// Last revision: 06 september 2007
+// Please don´t remove this information
+// If you modify any source, please insert a comment with your name and e-mail
+//
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+{
+  "Click a color...": "Selecione uma côr...",
+  "Close": "Fechar",
+  "Color: ": "Côr:",
+  "Sample": "Exemplo",
+  "Web Safe: ": "Web Segura:"
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/lang/pt_br.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/lang/pt_br.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/lang/pt_br.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/lang/pt_br.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,18 @@
+// I18N constants
+//
+// LANG: "pt_br", ENCODING: UTF-8
+// Portuguese Brazilian Translation
+//
+// Author: Marcio Barbosa, <marcio@mpg.com.br>
+// MSN: tomarshall@msn.com - ICQ: 69419933
+// Site: http://www.mpg.com.br
+//
+// Last revision: 06 september 2007
+// Please don´t remove this information
+// If you modify any source, please insert a comment with your name and e-mail
+//
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+{
+  "You need to select some text before creating a link": "Você precisa selecionar um texto antes de criar um link"
+}

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.html
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.html?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.html (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.html Sun Sep 27 03:11:38 2009
@@ -0,0 +1,136 @@
+<html>
+
+<head>
+  <title>Insert/Modify Link</title>
+  <script type="text/javascript" src="../../popups/popup.js"></script>
+  <link rel="stylesheet" type="text/css" href="../../popups/popup.css" />
+
+  <script type="text/javascript">
+    window.resizeTo(400, 200);
+
+Xinha = window.opener.Xinha;
+
+function i18n(str) {
+  return (Xinha._lc(str, 'Xinha'));
+}
+
+function onTargetChanged() {
+  var f = document.getElementById("f_other_target");
+  if (this.value == "_other") {
+    f.style.visibility = "visible";
+    f.select();
+    f.focus();
+  } else f.style.visibility = "hidden";
+}
+
+function Init() {
+  __dlg_translate('Xinha');
+  __dlg_init();
+
+  // Make sure the translated string appears in the drop down. (for gecko)
+  document.getElementById("f_target").selectedIndex = 1;
+  document.getElementById("f_target").selectedIndex = 0;
+
+  var param = window.dialogArguments;
+  var target_select = document.getElementById("f_target");
+  var use_target = true;
+  if (param) {
+    if ( typeof param["f_usetarget"] != "undefined" ) {
+      use_target = param["f_usetarget"];
+    }
+    if ( typeof param["f_href"] != "undefined" ) {
+      document.getElementById("f_href").value = param["f_href"];
+      document.getElementById("f_title").value = param["f_title"];
+      comboSelectValue(target_select, param["f_target"]);
+      if (target_select.value != param.f_target) {
+        var opt = document.createElement("option");
+        opt.value = param.f_target;
+        opt.innerHTML = opt.value;
+        target_select.appendChild(opt);
+        opt.selected = true;
+      }
+    }
+  }
+  if (! use_target) {
+    document.getElementById("f_target_label").style.visibility = "hidden";
+    document.getElementById("f_target").style.visibility = "hidden";
+    document.getElementById("f_other_target").style.visibility = "hidden";
+  }
+  var opt = document.createElement("option");
+  opt.value = "_other";
+  opt.innerHTML = i18n("Other");
+  target_select.appendChild(opt);
+  target_select.onchange = onTargetChanged;
+  document.getElementById("f_href").focus();
+  document.getElementById("f_href").select();
+}
+
+function onOK() {
+  var required = {
+    // f_href shouldn't be required or otherwise removing the link by entering an empty
+    // url isn't possible anymore.
+    // "f_href": i18n("You must enter the URL where this link points to")
+  };
+  for (var i in required) {
+    var el = document.getElementById(i);
+    if (!el.value) {
+      alert(required[i]);
+      el.focus();
+      return false;
+    }
+  }
+  // pass data back to the calling window
+  var fields = ["f_href", "f_title", "f_target" ];
+  var param = new Object();
+  for (var i in fields) {
+    var id = fields[i];
+    var el = document.getElementById(id);
+    param[id] = el.value;
+  }
+  if (param.f_target == "_other")
+    param.f_target = document.getElementById("f_other_target").value;
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+
+</script>
+
+</head>
+
+<body class="dialog" onload="Init()">
+<div class="title">Insert/Modify Link</div>
+<form>
+<table border="0" style="width: 100%;">
+  <tr>
+    <td class="label">URL:</td>
+    <td><input type="text" id="f_href" style="width: 100%" /></td>
+  </tr>
+  <tr>
+    <td class="label">Title (tooltip):</td>
+    <td><input type="text" id="f_title" style="width: 100%" /></td>
+  </tr>
+  <tr>
+    <td class="label"><span id="f_target_label">Target:</span></td>
+    <td><select id="f_target">
+      <option value="">None (use implicit)</option>
+      <option value="_blank">New window (_blank)</option>
+      <option value="_self">Same frame (_self)</option>
+      <option value="_top">Top frame (_top)</option>
+    </select>
+    <input type="text" name="f_other_target" id="f_other_target" size="10" style="visibility: hidden" />
+    </td>
+  </tr>
+</table>
+
+<div id="buttons">
+  <button type="submit" name="ok" onclick="return onOK();">OK</button>
+  <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+</div>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/CreateLink/link.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,87 @@
+/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
+/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
+/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/CreateLink/link.js */
+CreateLink._pluginInfo={name:"CreateLink",origin:"Xinha Core",version:"$LastChangedRevision:990 $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/CreateLink/link.js $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
+function CreateLink(_1){
+}
+Xinha.prototype._createLink=function(_2){
+var _3=this;
+var _4=null;
+if(typeof _2=="undefined"){
+_2=this.getParentElement();
+if(_2){
+while(_2&&!/^a$/i.test(_2.tagName)){
+_2=_2.parentNode;
+}
+}
+}
+if(!_2){
+var _5=_3.getSelection();
+var _6=_3.createRange(_5);
+var _7=0;
+if(Xinha.is_ie){
+if(_5.type=="Control"){
+_7=_6.length;
+}else{
+_7=_6.compareEndPoints("StartToEnd",_6);
+}
+}else{
+_7=_6.compareBoundaryPoints(_6.START_TO_END,_6);
+}
+if(_7===0){
+alert(Xinha._lc("You need to select some text before creating a link"));
+return;
+}
+_4={f_href:"",f_title:"",f_target:"",f_usetarget:_3.config.makeLinkShowsTarget};
+}else{
+_4={f_href:Xinha.is_ie?_3.stripBaseURL(_2.href):_2.getAttribute("href"),f_title:_2.title,f_target:_2.target,f_usetarget:_3.config.makeLinkShowsTarget};
+}
+Dialog(_3.config.URIs.link,function(_8){
+if(!_8){
+return false;
+}
+var a=_2;
+if(!a){
+try{
+var _a=Xinha.uniq("http://www.example.com/Link");
+_3._doc.execCommand("createlink",false,_a);
+var _b=_3._doc.getElementsByTagName("a");
+for(var i=0;i<_b.length;i++){
+var _d=_b[i];
+if(_d.href==_a){
+if(!a){
+a=_d;
+}
+_d.href=_8.f_href;
+if(_8.f_target){
+_d.target=_8.f_target;
+}
+if(_8.f_title){
+_d.title=_8.f_title;
+}
+}
+}
+}
+catch(ex){
+}
+}else{
+var _e=_8.f_href.trim();
+_3.selectNodeContents(a);
+if(_e===""){
+_3._doc.execCommand("unlink",false,null);
+_3.updateToolbar();
+return false;
+}else{
+a.href=_e;
+}
+}
+if(!(a&&a.tagName.toLowerCase()=="a")){
+return false;
+}
+a.target=_8.f_target.trim();
+a.title=_8.f_title.trim();
+_3.selectNodeContents(a);
+_3.updateToolbar();
+},_4);
+};
+

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/dialog.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/dialog.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/dialog.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/dialog.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,75 @@
+/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
+/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
+/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/Dialogs/dialog.js */
+function Dialog(_1,_2,_3){
+if(typeof _3=="undefined"){
+_3=window;
+}
+if(typeof window.showModalDialog=="function"&&!Xinha.is_webkit){
+Dialog._return=function(_4){
+if(typeof _2=="function"){
+_2(_4);
+}
+};
+var r=window.showModalDialog(_1,_3,"dialogheight=300;dialogwidth=400;resizable=yes");
+}else{
+Dialog._geckoOpenModal(_1,_2,_3);
+}
+}
+Dialog._parentEvent=function(ev){
+setTimeout(function(){
+if(Dialog._modal&&!Dialog._modal.closed){
+Dialog._modal.focus();
+}
+},50);
+try{
+if(Dialog._modal&&!Dialog._modal.closed){
+Xinha._stopEvent(ev);
+}
+}
+catch(e){
+}
+};
+Dialog._return=null;
+Dialog._modal=null;
+Dialog._arguments=null;
+Dialog._selection=null;
+Dialog._geckoOpenModal=function(_7,_8,_9){
+var _a=window.open(_7,"hadialog","toolbar=no,menubar=no,personalbar=no,width=10,height=10,"+"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
+Dialog._modal=_a;
+Dialog._arguments=_9;
+function capwin(w){
+Xinha._addEvent(w,"click",Dialog._parentEvent);
+Xinha._addEvent(w,"mousedown",Dialog._parentEvent);
+Xinha._addEvent(w,"focus",Dialog._parentEvent);
+}
+function relwin(w){
+Xinha._removeEvent(w,"click",Dialog._parentEvent);
+Xinha._removeEvent(w,"mousedown",Dialog._parentEvent);
+Xinha._removeEvent(w,"focus",Dialog._parentEvent);
+}
+capwin(window);
+for(var i=0;i<window.frames.length;i++){
+try{
+capwin(window.frames[i]);
+}
+catch(e){
+}
+}
+Dialog._return=function(_e){
+if(_e&&_8){
+_8(_e);
+}
+relwin(window);
+for(var i=0;i<window.frames.length;i++){
+try{
+relwin(window.frames[i]);
+}
+catch(e){
+}
+}
+Dialog._modal=null;
+};
+Dialog._modal.focus();
+};
+

Added: roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/inline-dialog.js
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/inline-dialog.js?rev=819248&view=auto
==============================================================================
--- roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/inline-dialog.js (added)
+++ roller/trunk/apps/weblogger/web/roller-ui/authoring/editors/xinha-0.95/modules/Dialogs/inline-dialog.js Sun Sep 27 03:11:38 2009
@@ -0,0 +1,207 @@
+/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
+/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
+/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/Dialogs/inline-dialog.js */
+Xinha.Dialog=function(_1,_2,_3){
+this.id={};
+this.r_id={};
+this.editor=_1;
+this.document=document;
+this.rootElem=document.createElement("div");
+this.rootElem.className="dialog";
+this.rootElem.style.position="absolute";
+this.rootElem.style.display="none";
+this.editor._framework.ed_cell.insertBefore(this.rootElem,this.editor._framework.ed_cell.firstChild);
+this.rootElem.style.width=this.width=this.editor._framework.ed_cell.offsetWidth+"px";
+this.rootElem.style.height=this.height=this.editor._framework.ed_cell.offsetHeight+"px";
+var _4=this;
+if(typeof _3=="function"){
+this._lc=_3;
+}else{
+if(_3){
+this._lc=function(_5){
+return Xinha._lc(_5,_3);
+};
+}else{
+this._lc=function(_6){
+return _6;
+};
+}
+}
+_2=_2.replace(/\[([a-z0-9_]+)\]/ig,function(_7,id){
+if(typeof _4.id[id]=="undefined"){
+_4.id[id]=Xinha.uniq("Dialog");
+_4.r_id[_4.id[id]]=id;
+}
+return _4.id[id];
+}).replace(/<l10n>(.*?)<\/l10n>/ig,function(_9,_a){
+return _4._lc(_a);
+}).replace(/="_\((.*?)\)"/g,function(_b,_c){
+return "=\""+_4._lc(_c)+"\"";
+});
+this.rootElem.innerHTML=_2;
+this.editor.notifyOn("resize",function(e,_e){
+_4.rootElem.style.width=_4.width=_4.editor._framework.ed_cell.offsetWidth+"px";
+_4.rootElem.style.height=_4.height=_4.editor._framework.ed_cell.offsetHeight+"px";
+_4.onresize();
+});
+};
+Xinha.Dialog.prototype.onresize=function(){
+return true;
+};
+Xinha.Dialog.prototype.show=function(_f){
+if(Xinha.is_ie){
+this._lastRange=this.editor._createRange(this.editor._getSelection());
+}
+if(typeof _f!="undefined"){
+this.setValues(_f);
+}
+this._restoreTo=[this.editor._textArea.style.display,this.editor._iframe.style.visibility,this.editor.hidePanels()];
+this.editor._textArea.style.display="none";
+this.editor._iframe.style.visibility="hidden";
+this.rootElem.style.display="";
+};
+Xinha.Dialog.prototype.hide=function(){
+this.rootElem.style.display="none";
+this.editor._textArea.style.display=this._restoreTo[0];
+this.editor._iframe.style.visibility=this._restoreTo[1];
+this.editor.showPanels(this._restoreTo[2]);
+if(Xinha.is_ie){
+this._lastRange.select();
+}
+this.editor.updateToolbar();
+return this.getValues();
+};
+Xinha.Dialog.prototype.toggle=function(){
+if(this.rootElem.style.display=="none"){
+this.show();
+}else{
+this.hide();
+}
+};
+Xinha.Dialog.prototype.setValues=function(_10){
+for(var i in _10){
+var _12=this.getElementsByName(i);
+if(!_12){
+continue;
+}
+for(var x=0;x<_12.length;x++){
+var e=_12[x];
+switch(e.tagName.toLowerCase()){
+case "select":
+for(var j=0;j<e.options.length;j++){
+if(typeof _10[i]=="object"){
+for(var k=0;k<_10[i].length;k++){
+if(_10[i][k]==e.options[j].value){
+e.options[j].selected=true;
+}
+}
+}else{
+if(_10[i]==e.options[j].value){
+e.options[j].selected=true;
+}
+}
+}
+break;
+case "textarea":
+case "input":
+switch(e.getAttribute("type")){
+case "radio":
+if(e.value==_10[i]){
+e.checked=true;
+}
+break;
+case "checkbox":
+if(typeof _10[i]=="object"){
+for(var j in _10[i]){
+if(_10[i][j]==e.value){
+e.checked=true;
+}
+}
+}else{
+if(_10[i]==e.value){
+e.checked=true;
+}
+}
+break;
+default:
+e.value=_10[i];
+}
+break;
+default:
+break;
+}
+}
+}
+};
+Xinha.Dialog.prototype.getValues=function(){
+var _17=[];
+var _18=Xinha.collectionToArray(this.rootElem.getElementsByTagName("input")).append(Xinha.collectionToArray(this.rootElem.getElementsByTagName("textarea"))).append(Xinha.collectionToArray(this.rootElem.getElementsByTagName("select")));
+for(var x=0;x<_18.length;x++){
+var i=_18[x];
+if(!(i.name&&this.r_id[i.name])){
+continue;
+}
+if(typeof _17[this.r_id[i.name]]=="undefined"){
+_17[this.r_id[i.name]]=null;
+}
+var v=_17[this.r_id[i.name]];
+switch(i.tagName.toLowerCase()){
+case "select":
+if(i.multiple){
+if(!v.push){
+if(v!=null){
+v=[v];
+}else{
+v=new Array();
+}
+}
+for(var j=0;j<i.options.length;j++){
+if(i.options[j].selected){
+v.push(i.options[j].value);
+}
+}
+}else{
+if(i.selectedIndex>=0){
+v=i.options[i.selectedIndex];
+}
+}
+break;
+case "textarea":
+case "input":
+default:
+switch(i.type.toLowerCase()){
+case "radio":
+if(i.checked){
+v=i.value;
+break;
+}
+case "checkbox":
+if(v==null){
+if(this.getElementsByName(this.r_id[i.name]).length>1){
+v=new Array();
+}
+}
+if(i.checked){
+if(v!=null&&typeof v=="object"&&v.push){
+v.push(i.value);
+}else{
+v=i.value;
+}
+}
+break;
+default:
+v=i.value;
+break;
+}
+}
+_17[this.r_id[i.name]]=v;
+}
+return _17;
+};
+Xinha.Dialog.prototype.getElementById=function(id){
+return this.document.getElementById(this.id[id]?this.id[id]:id);
+};
+Xinha.Dialog.prototype.getElementsByName=function(_1e){
+return this.document.getElementsByName(this.id[_1e]?this.id[_1e]:_1e);
+};
+



Mime
View raw message