Upgrade to xinha svn head to fix issues with xinha editors not appearing in Firefox 1.5
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "cz", ENCODING: UTF-8
|
||||
// Author: Jiri Löw, <jirilow@jirilow.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.)
|
||||
|
||||
{
|
||||
"Align": "Zarovnání",
|
||||
"All four sides": "Všechny čtyři strany",
|
||||
@@ -87,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea zbaběle odmítá smazat poslední řádek v tabulce.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixelů"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "da", ENCODING: UTF-8
|
||||
// Author: Steen Sønderup, <steen@soenderup.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.)
|
||||
|
||||
{
|
||||
"Align": "Placer",
|
||||
"All four sides": "Alle fire sider",
|
||||
@@ -87,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Du kan ikke slette den sidste række i en tabel.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixel"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "de", ENCODING: UTF-8
|
||||
// translated: Raimund Meyer xinha@ray-of-light.org
|
||||
|
||||
{
|
||||
"Align": "Ausrichtung",
|
||||
"All four sides": "Alle 4 Seiten",
|
||||
@@ -80,4 +78,4 @@
|
||||
"pixels": "Pixel",
|
||||
"OK": "OK",
|
||||
"Cancel": "Abbrechen"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "el", ENCODING: UTF-8
|
||||
// Author: Dimitris Glezos, dimitris@glezos.com
|
||||
|
||||
{
|
||||
"Align": "Στοίχηση",
|
||||
"All four sides": "Και οι 4 πλευρές",
|
||||
@@ -78,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Δεν μπορεί να διαγραφεί η τελευταία γραμμή σε ένα πίνακα.",
|
||||
"percent": "τοις εκατόν",
|
||||
"pixels": "pixels"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "fi", ENCODING: UTF-8
|
||||
{
|
||||
"Align": "Kohdistus",
|
||||
@@ -66,4 +65,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Ei voida poistaa viimeistä riviä taulusta.",
|
||||
"percent": "prosenttia",
|
||||
"pixels": "pikseliä"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,17 +1,5 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "fr", ENCODING: UTF-8
|
||||
// Author: Cédric Guillemette, http://www.ebdata.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.)
|
||||
|
||||
{
|
||||
"Align": "Aligner",
|
||||
"All four sides": "Quatre cotés",
|
||||
@@ -87,4 +75,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea refuse de supprimer la dernière rangée de la table",
|
||||
"percent": "pourcentage",
|
||||
"pixels": "pixels"
|
||||
}
|
||||
};
|
||||
@@ -1,17 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "he", ENCODING: UTF-8
|
||||
// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Align": "ישור",
|
||||
"All four sides": "כל ארבעת הצדדים",
|
||||
@@ -87,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea מסרב בפחדנות למחוק את השורה האחרונה בטבלה.",
|
||||
"percent": "אחוז",
|
||||
"pixels": "פיקסלים"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "it", ENCODING: UTF-8
|
||||
// Author: Fabio Rotondo <fabio@rotondo.it>
|
||||
|
||||
{
|
||||
"Align": "Allinea",
|
||||
"All four sides": "Tutti e quattro i lati",
|
||||
@@ -78,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea si rifiuta codardamente di cancellare l'ultima riga nella tabella.",
|
||||
"percent": "percento",
|
||||
"pixels": "pixels"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "nl", ENCODING: UTF-8
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Align": "Uitlijning",
|
||||
"All four sides": "Alle 4 zijden",
|
||||
@@ -87,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea kan de laatste rij in deze tabel niet verwijderen.",
|
||||
"percent": "procent",
|
||||
"pixels": "pixels"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,18 +1,7 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "no", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
||||
// translated into Norwegian: ses@online.no 11.11.03
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Align": "Juster",
|
||||
"All four sides": "Alle fire sider",
|
||||
@@ -88,4 +77,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea nekter å slette siste raden i tabellen.",
|
||||
"percent": "prosent",
|
||||
"pixels": "billedpunkter"
|
||||
}
|
||||
};
|
||||
83
xinha/plugins/TableOperations/lang/pl.js
Normal file
83
xinha/plugins/TableOperations/lang/pl.js
Normal file
@@ -0,0 +1,83 @@
|
||||
// I18N constants
|
||||
// LANG: "pl", ENCODING: UTF-8
|
||||
// translated: Krzysztof Kotowicz koto@webworkers.pl
|
||||
{
|
||||
"Align": "Wyrównanie",
|
||||
"All four sides": "Wszystkie 4 strony",
|
||||
"Background": "Tło",
|
||||
"Baseline": "Linia bazowa",
|
||||
"Border": "Ramka",
|
||||
"Borders": "Ramki",
|
||||
"Bottom": "Dół",
|
||||
"Style [CSS]": "Styl [CSS]",
|
||||
"CSS Style": "Styl CSS",
|
||||
"Caption": "Podpis",
|
||||
"Cell Properties": "Właściwości komórki",
|
||||
"Center": "Środek",
|
||||
"Char": "Znak",
|
||||
"Collapsed borders": "Ramki skolapsowane",
|
||||
"Color": "Kolor",
|
||||
"Description": "Opis",
|
||||
"FG Color": "Kolor czcionek",
|
||||
"Float": "Opływanie",
|
||||
"Frames": "Ramki zewn.",
|
||||
"Frame and borders": "Obramowania",
|
||||
"Height": "Wysokość",
|
||||
"How many columns would you like to merge?": "Ile kolumn chcesz scalić?",
|
||||
"How many rows would you like to merge?": "Ile wierszy chcesz scalić?",
|
||||
"Image URL": "URL obrazka",
|
||||
"Justify": "Wyjustuj",
|
||||
"Layout": "Layout",
|
||||
"Left": "Lewo",
|
||||
"Margin": "Margines",
|
||||
"Middle": "Środek",
|
||||
"No rules": "Bez wewnętrzych",
|
||||
"No sides": "Bez ramek",
|
||||
"None": "Brak",
|
||||
"Padding": "Wcięcia",
|
||||
"Please click into some cell": "Kliknij w jakąś komórkę",
|
||||
"Right": "Prawo",
|
||||
"Row Properties": "Właściwości wiersza",
|
||||
"Rules will appear between all rows and columns": "Linie będą widoczne pomiędzy kolumnami i wierszami",
|
||||
"Rules will appear between columns only": "Linie będą widoczne tylko pomiędzy kolumnami",
|
||||
"Rules will appear between rows only": "Linie będą widoczne tylko pomiędzy wierszami",
|
||||
"Rules": "Linie wewn.",
|
||||
"Spacing and padding": "Spacjowanie",
|
||||
"Spacing": "Odstęp",
|
||||
"Summary": "Podsumowanie",
|
||||
"Delete cell": "Usuń komórkę",
|
||||
"Insert cell after": "Wstaw komórkę po",
|
||||
"Insert cell before": "Wstaw komórkę przed",
|
||||
"Merge cells": "Scal komórki",
|
||||
"Cell properties": "Właściwości komórki",
|
||||
"Split cell": "Rozdziel komórkę",
|
||||
"Delete column": "Usuń kolumnę",
|
||||
"Insert column after": "Wstaw kolumnę po",
|
||||
"Insert column before": "Wstaw kolumnę przed",
|
||||
"Split column": "Rozdziel kolumnę",
|
||||
"Delete row": "Usuń wiersz",
|
||||
"Insert row before": "Wstaw wiersz przed",
|
||||
"Insert row after": "Wstaw wiersz po",
|
||||
"Row properties": "Właściwości wiersza",
|
||||
"Split row": "Rozdziel wiersz",
|
||||
"Table properties": "Właściwości tabeli",
|
||||
"Table Properties": "Właściwości tabeli",
|
||||
"Text align": "Wyr. w poziomie",
|
||||
"The bottom side only": "Tylko dolna linia",
|
||||
"The left-hand side only": "Tylko lewa linia",
|
||||
"The right and left sides only": "Lewa i prawa linia",
|
||||
"The right-hand side only": "Tylko prawa linia",
|
||||
"The top and bottom sides only": "Górna i dolna linia",
|
||||
"The top side only": "Tylko górna linia",
|
||||
"Top": "Góra",
|
||||
"Unset color": "Usuń kolor",
|
||||
"Vertical align": "Wyr. w pionie",
|
||||
"Width": "Szerokość",
|
||||
"HTMLArea cowardly refuses to delete the last cell in row.": "Nie możesz skasować ostatniej komórki w wierszu.",
|
||||
"HTMLArea cowardly refuses to delete the last column in table.": "Nie możesz skasować ostatniej kolumny w tabeli.",
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "Nie możesz skasować ostatniego wiersza w tabeli.",
|
||||
"percent": "%",
|
||||
"pixels": "pikseli",
|
||||
"OK": "OK",
|
||||
"Cancel": "Anuluj"
|
||||
};
|
||||
@@ -1,17 +1,6 @@
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Align": "Aliniere",
|
||||
"All four sides": "Toate părţile",
|
||||
@@ -87,4 +76,4 @@
|
||||
"HTMLArea cowardly refuses to delete the last row in table.": "HTMLArea refuză cu laşitate să şteargă ultimul rând din tabela.",
|
||||
"percent": "procente",
|
||||
"pixels": "pixeli"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ function TableOperations(editor) {
|
||||
|
||||
// add a new line in the toolbar
|
||||
cfg.toolbar.push(toolbar);
|
||||
};
|
||||
}
|
||||
|
||||
TableOperations._pluginInfo = {
|
||||
name : "TableOperations",
|
||||
@@ -57,7 +57,7 @@ TableOperations._pluginInfo = {
|
||||
|
||||
TableOperations.prototype._lc = function(string) {
|
||||
return HTMLArea._lc(string, 'TableOperations');
|
||||
}
|
||||
};
|
||||
|
||||
/************************
|
||||
* UTILITIES
|
||||
@@ -168,7 +168,7 @@ TableOperations.prototype.dialogTableProperties = function() {
|
||||
|
||||
function selected(val) {
|
||||
return val ? " selected" : "";
|
||||
};
|
||||
}
|
||||
|
||||
// dialog contents
|
||||
dialog.content.style.width = "400px";
|
||||
@@ -223,7 +223,7 @@ TableOperations.prototype.dialogTableProperties = function() {
|
||||
</tr> \
|
||||
<tr> \
|
||||
<td> \
|
||||
<fieldset><legend>Frame and borders</legend> \
|
||||
<fieldset><legend>" + HTMLArea._lc("Frame and borders", "TableOperations") + "</legend> \
|
||||
<table width='100%'> \
|
||||
<tr> \
|
||||
<td class='label'>" + HTMLArea._lc("Borders", "TableOperations") + ":</td> \
|
||||
@@ -321,7 +321,7 @@ TableOperations.prototype.dialogRowCellProperties = function(cell) {
|
||||
|
||||
function selected(val) {
|
||||
return val ? " selected" : "";
|
||||
};
|
||||
}
|
||||
|
||||
// dialog contents
|
||||
dialog.content.style.width = "400px";
|
||||
@@ -391,7 +391,7 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
td.rowSpan = 1;
|
||||
td.innerHTML = mozbr;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function splitRow(td) {
|
||||
var n = parseInt("" + td.rowSpan);
|
||||
@@ -410,7 +410,7 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
}
|
||||
editor.forceRedraw();
|
||||
editor.updateToolbar();
|
||||
};
|
||||
}
|
||||
|
||||
function splitCol(td) {
|
||||
var nc = parseInt("" + td.colSpan);
|
||||
@@ -425,7 +425,7 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
}
|
||||
editor.forceRedraw();
|
||||
editor.updateToolbar();
|
||||
};
|
||||
}
|
||||
|
||||
function splitCell(td) {
|
||||
var nc = parseInt("" + td.colSpan);
|
||||
@@ -435,7 +435,7 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
while (nc-- > 0) {
|
||||
splitRow(items[index++]);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function selectNextNode(el) {
|
||||
var node = el.nextSibling;
|
||||
@@ -452,7 +452,7 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
node = el.parentNode;
|
||||
}
|
||||
editor.selectNodeContents(node);
|
||||
};
|
||||
}
|
||||
|
||||
switch (button_id) {
|
||||
// ROWS
|
||||
@@ -505,18 +505,20 @@ TableOperations.prototype.buttonPress = function(editor, button_id) {
|
||||
}
|
||||
var rows = td.parentNode.parentNode.rows;
|
||||
var index = td.cellIndex;
|
||||
var lastColumn = (td.parentNode.cells.length == index + 1);
|
||||
for (var i = rows.length; --i >= 0;) {
|
||||
/*
|
||||
var tr = rows;
|
||||
var otd = tr.insertCell(index + (/after/.test(button_id) ? 1 : 0));
|
||||
otd.innerHTML = mozbr;
|
||||
*/
|
||||
var tr = rows[i];
|
||||
var ref = tr.cells[index + (/after/.test(button_id) ? 1 : 0)];
|
||||
var tr = rows[i];
|
||||
var otd = editor._doc.createElement("td");
|
||||
otd.innerHTML = mozbr;
|
||||
tr.insertBefore(otd, ref);
|
||||
|
||||
if (lastColumn && HTMLArea.is_ie)
|
||||
{
|
||||
tr.insertBefore(otd);
|
||||
}
|
||||
else
|
||||
{
|
||||
var ref = tr.cells[index + (/after/.test(button_id) ? 1 : 0)];
|
||||
tr.insertBefore(otd, ref);
|
||||
}
|
||||
}
|
||||
editor.focusEditor();
|
||||
break;
|
||||
@@ -778,12 +780,20 @@ TableOperations.processStyle = function(params, element) {
|
||||
ch = '\\"';
|
||||
}
|
||||
style.textAlign = '"' + ch + '"';
|
||||
} else if (val == "-") {
|
||||
style.textAlign = "";
|
||||
} else {
|
||||
style.textAlign = val;
|
||||
}
|
||||
break;
|
||||
case "f_st_verticalAlign":
|
||||
style.verticalAlign = val;
|
||||
element.vAlign = "";
|
||||
if (val == "-") {
|
||||
style.verticalAlign = "";
|
||||
|
||||
} else {
|
||||
style.verticalAlign = val;
|
||||
}
|
||||
break;
|
||||
case "f_st_float":
|
||||
style.cssFloat = val;
|
||||
@@ -924,7 +934,7 @@ TableOperations.createStyleLayoutFieldset = function(doc, editor, el) {
|
||||
select.style.marginLeft = select.style.marginRight = "0.5em";
|
||||
td.appendChild(select);
|
||||
select.name = "f_st_textAlign";
|
||||
options = ["Left", "Center", "Right", "Justify"];
|
||||
options = ["Left", "Center", "Right", "Justify", "-"];
|
||||
if (tagname == "td") {
|
||||
options.push("Char");
|
||||
}
|
||||
@@ -939,7 +949,7 @@ TableOperations.createStyleLayoutFieldset = function(doc, editor, el) {
|
||||
option = doc.createElement("option");
|
||||
option.value = val;
|
||||
option.innerHTML = HTMLArea._lc(Val, "TableOperations");
|
||||
option.selected = (el.style.textAlign.toLowerCase() == val);
|
||||
option.selected = ((el.style.textAlign.toLowerCase() == val) || (el.style.textAlign == "" && Val == "-"));
|
||||
select.appendChild(option);
|
||||
}
|
||||
function setCharVisibility(value) {
|
||||
@@ -948,7 +958,7 @@ TableOperations.createStyleLayoutFieldset = function(doc, editor, el) {
|
||||
input.focus();
|
||||
input.select();
|
||||
}
|
||||
};
|
||||
}
|
||||
select.onchange = function() { setCharVisibility(this.value == "char"); };
|
||||
setCharVisibility(select.value == "char");
|
||||
|
||||
@@ -987,14 +997,14 @@ TableOperations.createStyleLayoutFieldset = function(doc, editor, el) {
|
||||
select.name = "f_st_verticalAlign";
|
||||
select.style.marginLeft = "0.5em";
|
||||
td.appendChild(select);
|
||||
options = ["Top", "Middle", "Bottom", "Baseline"];
|
||||
options = ["Top", "Middle", "Bottom", "Baseline", "-"];
|
||||
for (var i = 0; i < options.length; ++i) {
|
||||
var Val = options[i];
|
||||
var val = Val.toLowerCase();
|
||||
option = doc.createElement("option");
|
||||
option.value = val;
|
||||
option.innerHTML = HTMLArea._lc(Val, "TableOperations");
|
||||
option.selected = (el.style.verticalAlign.toLowerCase() == val);
|
||||
option.selected = ((el.style.verticalAlign.toLowerCase() == val) || (el.style.verticalAlign == "" && Val == "-"));
|
||||
select.appendChild(option);
|
||||
}
|
||||
|
||||
@@ -1098,7 +1108,7 @@ TableOperations.createStyleFieldset = function(doc, editor, el) {
|
||||
el.select();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
select.onchange = function() { setBorderFieldsStatus(this.value == "none"); };
|
||||
|
||||
input = doc.createElement("input");
|
||||
@@ -1167,4 +1177,4 @@ TableOperations.createStyleFieldset = function(doc, editor, el) {
|
||||
return fieldset;
|
||||
};
|
||||
|
||||
//// END GENERIC CODE -------------------------------------------------------
|
||||
//// END GENERIC CODE -------------------------------------------------------
|
||||
Reference in New Issue
Block a user