code
stringlengths
1
2.08M
language
stringclasses
1 value
// I18N constants // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 // Author: Fabio Rotondo <fabio@rotondo.it> TableOperations.I18N = { "Align": "Allinea", "All four sides": "Tutti e quattro i lati", "Background": "Sfondo", "Baseline": "Allineamento", "Border": "Bordo", "Borders": "Bordi", "Bottom": "Basso", "CSS Style": "Stile [CSS]", "Caption": "Titolo", "Cell Properties": "Proprietà della Cella", "Center": "Centra", "Char": "Carattere", "Collapsed borders": "Bordi chiusi", "Color": "Colore", "Description": "Descrizione", "FG Color": "Colore Principale", "Float": "Fluttuante", "Frames": "Frames", "Height": "Altezza", "How many columns would you like to merge?": "Quante colonne vuoi unire?", "How many rows would you like to merge?": "Quante righe vuoi unire?", "Image URL": "URL dell'Immagine", "Justify": "Justifica", "Layout": "Layout", "Left": "Sinistra", "Margin": "Margine", "Middle": "Centrale", "No rules": "Nessun righello", "No sides": "Nessun lato", "None": "Nulla", "Padding": "Padding", "Please click into some cell": "Per favore, clicca in una cella", "Right": "Destra", "Row Properties": "Proprietà della Riga", "Rules will appear between all rows and columns": "Le linee appariranno tra tutte le righe e colonne", "Rules will appear between columns only": "Le linee appariranno solo tra le colonne", "Rules will appear between rows only": "Le linee appariranno solo tra le righe", "Rules": "Linee", "Spacing and padding": "Spaziatura e Padding", "Spacing": "Spaziatura", "Summary": "Sommario", "TO-cell-delete": "Cancella cella", "TO-cell-insert-after": "Inserisci cella dopo", "TO-cell-insert-before": "Inserisci cella prima", "TO-cell-merge": "Unisci celle", "TO-cell-prop": "Proprietà della cella", "TO-cell-split": "Dividi cella", "TO-col-delete": "Cancella colonna", "TO-col-insert-after": "Inserisci colonna dopo", "TO-col-insert-before": "Inserisci colonna prima", "TO-col-split": "Dividi colonna", "TO-row-delete": "Cancella riga", "TO-row-insert-above": "Inserisci riga prima", "TO-row-insert-under": "Inserisci riga dopo", "TO-row-prop": "Proprietà della riga", "TO-row-split": "Dividi riga", "TO-table-prop": "Proprietà della Tabella", "Table Properties": "Proprietà della Tabella", "Text align": "Allineamento del Testo", "The bottom side only": "Solo la parte inferiore", "The left-hand side only": "Solo la parte sinistra", "The right and left sides only": "Solo destra e sinistra", "The right-hand side only": "Solo la parte destra", "The top and bottom sides only": "Solo sopra e sotto", "The top side only": "Solo la parte sopra", "Top": "Alto", "Unset color": "Rimuovi colore", "Vertical align": "Allineamento verticale", "Width": "Larghezza", "not-del-last-cell": "HTMLArea si rifiuta codardamente di cancellare l'ultima cella nella riga.", "not-del-last-col": "HTMLArea si rifiuta codardamente di cancellare l'ultima colonna nella tabella.", "not-del-last-row": "HTMLArea si rifiuta codardamente di cancellare l'ultima riga nella tabella.", "percent": "percento", "pixels": "pixels" };
JavaScript
// I18N constants // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 // Author: broxx, <broxx@broxx.com> TableOperations.I18N = { "Align": "Ausrichten", "All four sides": "Alle 4 Seiten", "Background": "Hintergrund", "Baseline": "Basislinie", "Border": "Rand", "Borders": "Raender", "Bottom": "Unten", "CSS Style": "Style [CSS]", "Caption": "Ueberschrift", "Cell Properties": "Zellen", "Center": "Zentrieren", "Char": "Zeichen", "Collapsed borders": "Collapsed borders", "Color": "Farbe", "Description": "Beschreibung", "FG Color": "FG Farbe", "Float": "Ausrichtung", "Frames": "Rahmen", "Height": "Hoehe", "How many columns would you like to merge?": "Wieviele Spalten willst du verbinden?", "How many rows would you like to merge?": "Wieviele Zeilen willst du verbinden?", "Image URL": "Bild URL", "Justify": "Justieren", "Layout": "Layout", "Left": "Links", "Margin": "Rand", "Middle": "Mitte", "No rules": "Keine Balken", "No sides": "Keine Seiten", "None": "Keine", "Padding": "Auffuellung", "Please click into some cell": "Waehle eine Zelle", "Right": "Rechts", "Row Properties": "Reihen", "Rules will appear between all rows and columns": "Balken zwischen Reihen und Spalten", "Rules will appear between columns only": "Balken zwischen Spalten", "Rules will appear between rows only": "Balken zwischen Reihen", "Rules": "Balken", "Spacing and padding": "Abstaende", "Spacing": "Abstand", "Summary": "Zusammenfassung", "TO-cell-delete": "Zelle loeschen", "TO-cell-insert-after": "Zelle einfuegen nach", "TO-cell-insert-before": "Zelle einfuegen bevor", "TO-cell-merge": "Zellen zusammenfuegen", "TO-cell-prop": "Zelleinstellungen", "TO-cell-split": "Zellen aufteilen", "TO-col-delete": "Spalte loeschen", "TO-col-insert-after": "Spalte einfuegen nach", "TO-col-insert-before": "Spalte einfuegen bevor", "TO-col-split": "Spalte aufteilen", "TO-row-delete": "Reihe loeschen", "TO-row-insert-above": "Reihe einfuegen vor", "TO-row-insert-under": "Reihe einfuegen nach", "TO-row-prop": "Reiheneinstellungen", "TO-row-split": "Reihen aufteilen", "TO-table-prop": "Tabelle", "Table Properties": "Tabelle", "Text align": "Ausrichtung", "The bottom side only": "Nur untere Seite", "The left-hand side only": "Nur linke Seite", "The right and left sides only": "Nur linke und rechte Seite", "The right-hand side only": "Nur rechte Seite", "The top and bottom sides only": "Nur obere und untere Seite", "The top side only": "Nur obere Seite", "Top": "Oben", "Unset color": "Farbe", "Vertical align": "Ausrichtung", "Width": "Breite", "not-del-last-cell": "Letzte Zelle in dieser Reihe!", "not-del-last-col": "Letzte Spalte in dieser Tabelle!", "not-del-last-row": "Letzte Reihe in dieser Tabelle", "percent": "%", "pixels": "pixels" };
JavaScript
// I18N constants // LANG: "hu", ENCODING: UTF-8 // Author: Miklós Somogyi, <somogyine@vnet.hu> // 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: "hu", tooltips: { bold: "Félkövér", italic: "Dőlt", underline: "Aláhúzott", strikethrough: "Áthúzott", subscript: "Alsó index", superscript: "Felső index", justifyleft: "Balra zárt", justifycenter: "Középre zárt", justifyright: "Jobbra zárt", justifyfull: "Sorkizárt", orderedlist: "Számozott lista", unorderedlist: "Számozatlan lista", outdent: "Behúzás csökkentése", indent: "Behúzás növelése", forecolor: "Karakterszín", hilitecolor: "Háttérszín", horizontalrule: "Elválasztó vonal", createlink: "Hiperhivatkozás beszúrása", insertimage: "Kép beszúrása", inserttable: "Táblázat beszúrása", htmlmode: "HTML forrás be/ki", popupeditor: "Szerkesztő külön ablakban", about: "Névjegy", showhelp: "Súgó", textindicator: "Aktuális stílus", undo: "Visszavonás", redo: "Újra végrehajtás", cut: "Kivágás", copy: "Másolás", paste: "Beillesztés" }, buttons: { "ok": "Rendben", "cancel": "Mégsem" }, msg: { "Path": "Hierarchia", "TEXT_MODE": "Forrás mód. Visszaváltás [<>] gomb" } };
JavaScript
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // 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.) TableOperations.I18N = { "Align": "Aligner", "All four sides": "Quatre cotés", "Background": "Arrière plan", "Baseline": "Ligne de base", "Border": "Bordure", "Borders": "Bordures", "Bottom": "Bas", "CSS Style": "Style [CSS]", "Caption": "Étiquette", "Cell Properties": "Propriétés de cellule", "Center": "Centre", "Char": "Charactère", "Collapsed borders": "Bordure effondrés", "Color": "Couleur", "Description": "Description", "FG Color": "Couleur de face", "Float": "Flotteur", "Frames": "Vues", "Height": "Largeur", "How many columns would you like to merge?": "Combien de colonnes voulez-vous fusionner?", "How many rows would you like to merge?": "Combien de rangées voulez-vous fusionner?", "Image URL": "URL pour l'image", "Justify": "Justifié", "Layout": "Arrangement", "Left": "Gauche", "Margin": "Marge", "Middle": "Milieu", "No rules": "Aucun règlement", "No sides": "Aucun côtés", "None": "Aucun", "Padding": "Remplissage", "Please click into some cell": "Cliquer sur une cellule", "Right": "Droit", "Row Properties": "Propriétés de rangée", "Rules will appear between all rows and columns": "Les règles vont apparaître entre les rangées et les cellules", "Rules will appear between columns only": "Les règles vont apparaître entre les colonnes seulement", "Rules will appear between rows only": "Les règles vont apparaître entre les rangées seulement", "Rules": "Les règles", "Spacing and padding": "Espacement et remplissage", "Spacing": "Espacement", "Summary": "Sommaire", "TO-cell-delete": "Supprimer une cellule", "TO-cell-insert-after": "Insérer une cellule après", "TO-cell-insert-before": "Insérer une cellule avant", "TO-cell-merge": "Fusionner les cellules", "TO-cell-prop": "Cell properties", "TO-cell-split": "Diviser la cellule", "TO-col-delete": "Supprimer la colonne", "TO-col-insert-after": "Insérer une colonne après", "TO-col-insert-before": "Insérer une colonne avant", "TO-col-split": "Diviser une colonne", "TO-row-delete": "Supprimer une rangée", "TO-row-insert-above": "Insérer une rangée avant", "TO-row-insert-under": "Insérer une rangée après", "TO-row-prop": "Propriétés de rangée", "TO-row-split": "Diviser la rangée", "TO-table-prop": "Propriétés de table", "Table Properties": "Propriétés de table", "Text align": "Aligner le texte", "The bottom side only": "Côté du bas seulement", "The left-hand side only": "Côté gauche seulement", "The right and left sides only": "Côté gauche et droit seulement", "The right-hand side only": "Côté droit seulement", "The top and bottom sides only": "Côté haut et bas seulement", "The top side only": "Côté haut seulement", "Top": "Haut", "Unset color": "Enlever la couleur", "Vertical align": "Alignement vertical", "Width": "Longeur", "not-del-last-cell": "HTMLArea refuse de supprimer la dernière cellule de la rangée.", "not-del-last-col": "HTMLArea refuse de supprimer la dernière colonne de la table.", "not-del-last-row": "HTMLArea refuse de supprimer la dernière rangée de la table", "percent": "pourcentage", "pixels": "pixels" };
JavaScript
// I18N constants // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 // 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.) TableOperations.I18N = { "Align": "Zarovnání", "All four sides": "Všechny čtyři strany", "Background": "Pozadí", "Baseline": "Základní linka", "Border": "Obrys", "Borders": "Obrysy", "Bottom": "Dolů", "CSS Style": "Kaskádové styly (CSS)", "Caption": "Titulek", "Cell Properties": "Vlastnosti buňky", "Center": "Na střed", "Char": "Znak", "Collapsed borders": "Stlačené okraje", "Color": "Barva", "Description": "Popis", "FG Color": "Barva popředí", "Float": "Obtékání", "Frames": "Rámečky", "Height": "Výška", "How many columns would you like to merge?": "Kolik sloupců si přejete spojit?", "How many rows would you like to merge?": "Kolik řádků si přejete spojit?", "Image URL": "Adresa obrázku", "Justify": "Do stran", "Layout": "Rozložení", "Left": "Vlevo", "Margin": "Okraj", "Middle": "Na střed", "No rules": "Žádné čáry", "No sides": "Žádné strany", "None": "Žádné", "Padding": "Odsazování", "Please click into some cell": "Prosím klikněte do některé buňky", "Right": "Vpravo", "Row Properties": "Vlastnosti řádku", "Rules will appear between all rows and columns": "Čáry mezi všemi řádky i sloupci", "Rules will appear between columns only": "Čáry pouze mezi sloupci", "Rules will appear between rows only": "Čáry pouze mezi řádky", "Rules": "Čáry", "Spacing and padding": "Mezery a odsazování", "Spacing": "Mezery", "Summary": "Shrnutí", "TO-cell-delete": "Smazat buňku", "TO-cell-insert-after": "Vložit buňku za", "TO-cell-insert-before": "Vložit buňku před", "TO-cell-merge": "Spojit buňky", "TO-cell-prop": "Vlastnosti buňky", "TO-cell-split": "Rozdělit buňku", "TO-col-delete": "Smazat sloupec", "TO-col-insert-after": "Vložit sloupec za", "TO-col-insert-before": "Vložit sloupec před", "TO-col-split": "Rozdělit sloupec", "TO-row-delete": "Smazat řádek", "TO-row-insert-above": "Smazat řádek nad", "TO-row-insert-under": "Smazat řádek pod", "TO-row-prop": "Vlastnosti řádku", "TO-row-split": "Rozdělit řádek", "TO-table-prop": "Vlastnosti tabulky", "Table Properties": "Vlastnosti tabulky", "Text align": "Zarovnání textu", "The bottom side only": "Pouze spodní strana", "The left-hand side only": "Pouze levá strana", "The right and left sides only": "Pouze levá a pravá strana", "The right-hand side only": "Pouze pravá strana", "The top and bottom sides only": "Pouze horní a dolní strana", "The top side only": "Pouze horní strana", "Top": "Nahoru", "Unset color": "Zrušit barvu", "Vertical align": "Svislé zarovnání", "Width": "Šířka", "not-del-last-cell": "HTMLArea zbaběle odmítá smazat poslední buňku v řádku.", "not-del-last-col": "HTMLArea zbaběle odmítá smazat poslední sloupec v tabulce.", "not-del-last-row": "HTMLArea zbaběle odmítá smazat poslední řádek v tabulce.", "percent": "procent", "pixels": "pixelů" };
JavaScript
// 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.) TableOperations.I18N = { "Align": "Align", "All four sides": "All four sides", "Background": "Background", "Baseline": "Baseline", "Border": "Border", "Borders": "Borders", "Bottom": "Bottom", "CSS Style": "Style [CSS]", "Caption": "Caption", "Cell Properties": "Cell Properties", "Center": "Center", "Char": "Char", "Collapsed borders": "Collapsed borders", "Color": "Color", "Description": "Description", "FG Color": "FG Color", "Float": "Float", "Frames": "Frames", "Height": "Height", "How many columns would you like to merge?": "How many columns would you like to merge?", "How many rows would you like to merge?": "How many rows would you like to merge?", "Image URL": "Image URL", "Justify": "Justify", "Layout": "Layout", "Left": "Left", "Margin": "Margin", "Middle": "Middle", "No rules": "No rules", "No sides": "No sides", "None": "None", "Padding": "Padding", "Please click into some cell": "Please click into some cell", "Right": "Right", "Row Properties": "Row Properties", "Rules will appear between all rows and columns": "Rules will appear between all rows and columns", "Rules will appear between columns only": "Rules will appear between columns only", "Rules will appear between rows only": "Rules will appear between rows only", "Rules": "Rules", "Spacing and padding": "Spacing and padding", "Spacing": "Spacing", "Summary": "Summary", "TO-cell-delete": "Delete cell", "TO-cell-insert-after": "Insert cell after", "TO-cell-insert-before": "Insert cell before", "TO-cell-merge": "Merge cells", "TO-cell-prop": "Cell properties", "TO-cell-split": "Split cell", "TO-col-delete": "Delete column", "TO-col-insert-after": "Insert column after", "TO-col-insert-before": "Insert column before", "TO-col-split": "Split column", "TO-row-delete": "Delete row", "TO-row-insert-above": "Insert row before", "TO-row-insert-under": "Insert row after", "TO-row-prop": "Row properties", "TO-row-split": "Split row", "TO-table-prop": "Table properties", "Table Properties": "Table Properties", "Text align": "Text align", "The bottom side only": "The bottom side only", "The left-hand side only": "The left-hand side only", "The right and left sides only": "The right and left sides only", "The right-hand side only": "The right-hand side only", "The top and bottom sides only": "The top and bottom sides only", "The top side only": "The top side only", "Top": "Top", "Unset color": "Unset color", "Vertical align": "Vertical align", "Width": "Width", "not-del-last-cell": "HTMLArea cowardly refuses to delete the last cell in row.", "not-del-last-col": "HTMLArea cowardly refuses to delete the last column in table.", "not-del-last-row": "HTMLArea cowardly refuses to delete the last row in table.", "percent": "percent", "pixels": "pixels" };
JavaScript
// I18N constants // LANG: "da", ENCODING: UTF-8 | ISO-8859-1 // 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.) TableOperations.I18N = { "Align": "Placer", "All four sides": "Alle fire sider", "Background": "Baggrund", "Baseline": "Bundlinie", "Border": "Kant", "Borders": "Kanter", "Bottom": "Bund", "CSS Style": "Stil [CSS]", "Caption": "Titel", "Cell Properties": "Celle egenskaber", "Center": "Centrer", "Char": "Plads", "Collapsed borders": "Sammensmelt rammer", "Color": "Farve", "Description": "Beskrivelse", "FG Color": "Font farve", "Float": "Justering", "Frames": "Udvendig", "Height": "Højde", "How many columns would you like to merge?": "Hvor mange kollonner vil du samle?", "How many rows would you like to merge?": "Hvor mange rækker vil du samle?", "Image URL": "Billede URL", "Justify": "Lige margener", "Layout": "Opsætning", "Left": "Venstre", "Margin": "Margen", "Middle": "Centrer", "No rules": "Ingen rammer", "No sides": "Ingen sider", "None": "Ingen", "Padding": "Margen", "Please click into some cell": "Klik på en celle", "Right": "Højre", "Row Properties": "Række egenskaber", "Rules will appear between all rows and columns": "Rammer mellem rækker og kolonner", "Rules will appear between columns only": "Kun rammer mellem kolonner", "Rules will appear between rows only": "Kun rammer mellem rækker", "Rules": "Invendig", "Spacing and padding": "Afstand og margen", "Spacing": "Afstand", "Summary": "Beskrivelse", "TO-cell-delete": "Slet celle", "TO-cell-insert-after": "Indsæt celle efter", "TO-cell-insert-before": "Indsæt celle før", "TO-cell-merge": "Sammensæt celler", "TO-cell-prop": "Celle egenskaber", "TO-cell-split": "Opdel celle", "TO-col-delete": "Slet kollonne", "TO-col-insert-after": "Indsæt kolonne efter", "TO-col-insert-before": "Indsæt kolonne før", "TO-col-split": "Opdel kolonne", "TO-row-delete": "Slet række", "TO-row-insert-above": "Indsæt række før", "TO-row-insert-under": "Indsæt række efter", "TO-row-prop": "Række egenskaber", "TO-row-split": "Opdel række", "TO-table-prop": "Tabel egenskaber", "Table Properties": "Tabel egenskaber", "Text align": "Tekst", "The bottom side only": "Kun i bunden", "The left-hand side only": "Kun i højre side", "The right and left sides only": "Kun i siderne", "The right-hand side only": "Kun i venstre side", "The top and bottom sides only": "Kun i top og bund", "The top side only": "Kun i toppen", "Top": "Top", "Unset color": "Farve ikke valgt", "Vertical align": "Vertikal placering", "Width": "Bredde", "not-del-last-cell": "Du kan ikke slette den sidste celle i en række.", "not-del-last-col": "Du kan ikke slette den sidste kolonne i en tabel.", "not-del-last-row": "Du kan ikke slette den sidste række i en tabel.", "percent": "procent", "pixels": "pixel" };
JavaScript
// I18N constants // LANG: "el", ENCODING: UTF-8 | ISO-8859-7 // Author: Dimitris Glezos, dimitris@glezos.com TableOperations.I18N = { "Align": "Στοίχηση", "All four sides": "Και οι 4 πλευρές", "Background": "Φόντο", "Baseline": "Baseline", "Border": "Περίγραμμα", "Borders": "Περιγράμματα", "Bottom": "Κάτω μέρος", "CSS Style": "Στυλ [CSS]", "Caption": "Λεζάντα", "Cell Properties": "Ιδιότητες Κελιού", "Center": "Κέντρο", "Char": "Χαρακτήρας", "Collapsed borders": "Συμπτυγμένα περιγράμματα", "Color": "Χρώμα", "Description": "Περιγραφή", "FG Color": "Χρώμα αντικειμένων", "Float": "Float", "Frames": "Frames", "Height": "Ύψος", "How many columns would you like to merge?": "Πόσες στήλες θέλετε να ενώσετε;", "How many rows would you like to merge?": "Πόσες γραμμές θέλετε να ενώσετε;", "Image URL": "URL εικόνας", "Justify": "Πλήρης στοίχηση", "Layout": "Διάταξη", "Left": "Αριστερά", "Margin": "Περιθώριο", "Middle": "Κέντρο", "No rules": "Χωρίς Γραμμές", "No sides": "No sides", "None": "Τίποτα", "Padding": "Εσοχή", "Please click into some cell": "Κάντε κλικ μέσα σε κάποιο κελί", "Right": "Δεξιά", "Row Properties": "Ιδιότητες Γραμμής", "Rules will appear between all rows and columns": "Γραμμές θα εμφανίζονται μεταξύ όλων των γραμμών και στηλών", "Rules will appear between columns only": "Γραμμές θα εμφανίζονται μόνο μεταξύ στηλών", "Rules will appear between rows only": "Γραμμές θα εμφανίζονται μόνο μεταξύ γραμμών", "Rules": "Γραμμές", "Spacing and padding": "Αποστάσεις και εσοχές", "Spacing": "Αποστάσεις", "Summary": "Σύνοψη", "TO-cell-delete": "Διαγραφή κελιού", "TO-cell-insert-after": "Εισαγωγή κελιού μετά", "TO-cell-insert-before": "Εισαγωγή κελιού πριν", "TO-cell-merge": "Συγχώνευση κελιών", "TO-cell-prop": "Ιδιότητες κελιού", "TO-cell-split": "Διαίρεση κελιού", "TO-col-delete": "Διαγραφή στήλης", "TO-col-insert-after": "Εισαγωγή στήλης μετά", "TO-col-insert-before": "Εισαγωγή στήλης πριν", "TO-col-split": "Διαίρεση στήλης", "TO-row-delete": "Διαγραφή γραμμής", "TO-row-insert-above": "Εισαγωγή γραμμής μετά", "TO-row-insert-under": "Εισαγωγή γραμμής πριν", "TO-row-prop": "Ιδιότητες γραμμής", "TO-row-split": "Διαίρεση γραμμής", "TO-table-prop": "Ιδιότητες πίνακα", "Table Properties": "Ιδιότητες πίνακα", "Text align": "Στοίχηση κειμένου", "The bottom side only": "Η κάτω πλευρά μόνο", "The left-hand side only": "Η αριστερή πλευρά μόνο", "The right and left sides only": "Οι δεξιές και αριστερές πλευρές μόνο", "The right-hand side only": "Η δεξιά πλευρά μόνο", "The top and bottom sides only": "Οι πάνω και κάτω πλευρές μόνο", "The top side only": "Η πάνω πλευρά μόνο", "Top": "Πάνω", "Unset color": "Αναίρεση χρώματος", "Vertical align": "Κατακόρυφη στοίχηση", "Width": "Πλάτος", "not-del-last-cell": "Δεν μπορεί να διαγραφεί το τελευταίο κελί σε μια γραμμή.", "not-del-last-col": "Δεν μπορεί να διαγραφεί η τελευταία στήλη σε ένα πίνακα.", "not-del-last-row": "Δεν μπορεί να διαγραφεί η τελευταία γραμμή σε ένα πίνακα.", "percent": "τοις εκατόν", "pixels": "pixels" };
JavaScript
// 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.) TableOperations.I18N = { "Align": "Aliniere", "All four sides": "Toate părţile", "Background": "Fundal", "Baseline": "Baseline", "Border": "Chenar", "Borders": "Chenare", "Bottom": "Jos", "CSS Style": "Stil [CSS]", "Caption": "Titlu de tabel", "Cell Properties": "Proprietăţile celulei", "Center": "Centru", "Char": "Caracter", "Collapsed borders": "Chenare asimilate", "Color": "Culoare", "Description": "Descriere", "FG Color": "Culoare text", "Float": "Poziţie", "Frames": "Chenare", "Height": "Înălţimea", "How many columns would you like to merge?": "Câte coloane vrei să uneşti?", "How many rows would you like to merge?": "Câte linii vrei să uneşti?", "Image URL": "URL-ul imaginii", "Justify": "Justify", "Layout": "Aranjament", "Left": "Stânga", "Margin": "Margine", "Middle": "Mijloc", "No rules": "Fără linii", "No sides": "Fără părţi", "None": "Nimic", "Padding": "Spaţiere", "Please click into some cell": "Vă rog să daţi click într-o celulă", "Right": "Dreapta", "Row Properties": "Proprietăţile liniei", "Rules will appear between all rows and columns": "Vor apărea linii între toate rândurile şi coloanele", "Rules will appear between columns only": "Vor apărea doar linii verticale", "Rules will appear between rows only": "Vor apărea doar linii orizontale", "Rules": "Linii", "Spacing and padding": "Spaţierea", "Spacing": "Între celule", "Summary": "Sumar", "TO-cell-delete": "Şterge celula", "TO-cell-insert-after": "Inserează o celulă la dreapta", "TO-cell-insert-before": "Inserează o celulă la stânga", "TO-cell-merge": "Uneşte celulele", "TO-cell-prop": "Proprietăţile celulei", "TO-cell-split": "Împarte celula", "TO-col-delete": "Şterge coloana", "TO-col-insert-after": "Inserează o coloană la dreapta", "TO-col-insert-before": "Inserează o coloană la stânga", "TO-col-split": "Împarte coloana", "TO-row-delete": "Şterge rândul", "TO-row-insert-above": "Inserează un rând înainte", "TO-row-insert-under": "Inserează un rând după", "TO-row-prop": "Proprietăţile rândului", "TO-row-split": "Împarte rândul", "TO-table-prop": "Proprietăţile tabelei", "Table Properties": "Proprietăţile tabelei", "Text align": "Aliniere", "The bottom side only": "Doar partea de jos", "The left-hand side only": "Doar partea din stânga", "The right and left sides only": "Partea din stânga şi cea din dreapta", "The right-hand side only": "Doar partea din dreapta", "The top and bottom sides only": "Partea de sus si cea de jos", "The top side only": "Doar partea de sus", "Top": "Sus", "Unset color": "Dezactivează culoarea", "Vertical align": "Aliniere pe verticală", "Width": "Lăţime", "not-del-last-cell": "HTMLArea refuză cu laşitate să şteargă ultima celulă din rând.", "not-del-last-col": "HTMLArea refuză cu laşitate să şteargă ultima coloamă din tabela.", "not-del-last-row": "HTMLArea refuză cu laşitate să şteargă ultimul rând din tabela.", "percent": "procente", "pixels": "pixeli" };
JavaScript
// 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.) TableOperations.I18N = { "Align": "ישור", "All four sides": "כל ארבעת הצדדים", "Background": "רקע", "Baseline": "קו בסיס", "Border": "גבול", "Borders": "גבולות", "Bottom": "תחתון", "CSS Style": "סגנון [CSS]", "Caption": "כותרת", "Cell Properties": "מאפייני תא", "Center": "מרכז", "Char": "תו", "Collapsed borders": "גבולות קורסים", "Color": "צבע", "Description": "תיאור", "FG Color": "צבע קידמה", "Float": "מרחף", "Frames": "מסגרות", "Height": "גובה", "How many columns would you like to merge?": "כמה טורים ברצונך למזג?", "How many rows would you like to merge?": "כמה שורות ברצונך למזג?", "Image URL": "URL התמונה", "Justify": "ישור", "Layout": "פריסה", "Left": "שמאל", "Margin": "שוליים", "Middle": "אמצע", "No rules": "ללא קווים", "No sides": "ללא צדדים", "None": "אין", "Padding": "ריווח בשוליים", "Please click into some cell": "אנא לחץ על תא כלשהו", "Right": "ימין", "Row Properties": "מאפייני שורה", "Rules will appear between all rows and columns": "קווים יופיעו בין כל השורות והטורים", "Rules will appear between columns only": "קווים יופיעו בין טורים בלבד", "Rules will appear between rows only": "קווים יופיעו בין שורות בלבד", "Rules": "קווים", "Spacing and padding": "ריווח ושוליים", "Spacing": "ריווח", "Summary": "סיכום", "TO-cell-delete": "מחק תא", "TO-cell-insert-after": "הכנס תא אחרי", "TO-cell-insert-before": "הכנס תא לפני", "TO-cell-merge": "מזג תאים", "TO-cell-prop": "מאפייני תא", "TO-cell-split": "פצל תא", "TO-col-delete": "מחק טור", "TO-col-insert-after": "הכנס טור אחרי", "TO-col-insert-before": "הכנס טור לפני", "TO-col-split": "פצל טור", "TO-row-delete": "מחק שורה", "TO-row-insert-above": "הכנס שורה לפני", "TO-row-insert-under": "הכנס שורה אחרי", "TO-row-prop": "מאפייני שורה", "TO-row-split": "פצל שורה", "TO-table-prop": "מאפייני טבלה", "Table Properties": "מאפייני טבלה", "Text align": "ישור טקסט", "The bottom side only": "הצד התחתון בלבד", "The left-hand side only": "הצד השמאלי בלבד", "The right and left sides only": "הצדדים הימני והשמאלי בלבד", "The right-hand side only": "הצד הימני בלבד", "The top and bottom sides only": "הצדדים העליון והתחתון בלבד", "The top side only": "הצד העליון בלבד", "Top": "עליון", "Unset color": "צבע לא נבחר", "Vertical align": "יישור אנכי", "Width": "רוחב", "not-del-last-cell": "HTMLArea מסרב בפחדנות למחוק את התא האחרון בשורה.", "not-del-last-col": "HTMLArea מסרב בפחדנות למחוק את הטור האחרון בטבלה.", "not-del-last-row": "HTMLArea מסרב בפחדנות למחוק את השורה האחרונה בטבלה.", "percent": "אחוז", "pixels": "פיקסלים" };
JavaScript
// Table Operations Plugin for HTMLArea-3.0 // Implementation by Mihai Bazon. Sponsored by http://www.zapatec.com // // Copyright (c) dynarch.com 2003-2005 // This copyright notice must stay intact for use. // // $Id: table-operations.js,v 1.7 2005/01/20 17:49:02 mishoo Exp $ // Object that will encapsulate all the table operations provided by // HTMLArea-3.0 (except "insert table" which is included in the main file) function TableOperations(editor) { this.editor = editor; var cfg = editor.config; var tt = TableOperations.I18N; var bl = TableOperations.btnList; var self = this; // register the toolbar buttons provided by this plugin var toolbar = ["linebreak"]; for (var i = 0; i < bl.length; ++i) { var btn = bl[i]; if (!btn) { toolbar.push("separator"); } else { var id = "TO-" + btn[0]; cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "TableOperations"), false, function(editor, id) { // dispatch button press event self.buttonPress(editor, id); }, btn[1]); toolbar.push(id); } } // add a new line in the toolbar cfg.toolbar.push(toolbar); }; TableOperations._pluginInfo = { name : "TableOperations", version : "1.0", developer : "Mihai Bazon", developer_url : "http://dynarch.com/mishoo/", c_owner : "Mihai Bazon", sponsor : "Zapatec Inc.", sponsor_url : "http://www.bloki.com", license : "htmlArea" }; /************************ * UTILITIES ************************/ // retrieves the closest element having the specified tagName in the list of // ancestors of the current selection/caret. TableOperations.prototype.getClosest = function(tagName) { var editor = this.editor; var ancestors = editor.getAllAncestors(); var ret = null; tagName = ("" + tagName).toLowerCase(); for (var i = 0; i < ancestors.length; ++i) { var el = ancestors[i]; if (el.tagName.toLowerCase() == tagName) { ret = el; break; } } return ret; }; // this function requires the file PopupDiv/PopupWin to be loaded from browser TableOperations.prototype.dialogTableProperties = function() { var i18n = TableOperations.I18N; // retrieve existing values var table = this.getClosest("table"); // this.editor.selectNodeContents(table); // this.editor.updateToolbar(); var dialog = new PopupWin(this.editor, i18n["Table Properties"], function(dialog, params) { TableOperations.processStyle(params, table); for (var i in params) { var val = params[i]; switch (i) { case "f_caption": if (/\S/.test(val)) { // contains non white-space characters var caption = table.getElementsByTagName("caption")[0]; if (!caption) { caption = dialog.editor._doc.createElement("caption"); table.insertBefore(caption, table.firstChild); } caption.innerHTML = val; } else { // search for caption and delete it if found var caption = table.getElementsByTagName("caption")[0]; if (caption) { caption.parentNode.removeChild(caption); } } break; case "f_summary": table.summary = val; break; case "f_width": table.style.width = ("" + val) + params.f_unit; break; case "f_align": table.align = val; break; case "f_spacing": table.cellSpacing = val; break; case "f_padding": table.cellPadding = val; break; case "f_borders": table.border = val; break; case "f_frames": table.frame = val; break; case "f_rules": table.rules = val; break; } } // various workarounds to refresh the table display (Gecko, // what's going on?! do not disappoint me!) dialog.editor.forceRedraw(); dialog.editor.focusEditor(); dialog.editor.updateToolbar(); var save_collapse = table.style.borderCollapse; table.style.borderCollapse = "collapse"; table.style.borderCollapse = "separate"; table.style.borderCollapse = save_collapse; }, // this function gets called when the dialog needs to be initialized function (dialog) { var f_caption = ""; var capel = table.getElementsByTagName("caption")[0]; if (capel) { f_caption = capel.innerHTML; } var f_summary = table.summary; var f_width = parseInt(table.style.width); isNaN(f_width) && (f_width = ""); var f_unit = /%/.test(table.style.width) ? 'percent' : 'pixels'; var f_align = table.align; var f_spacing = table.cellSpacing; var f_padding = table.cellPadding; var f_borders = table.border; var f_frames = table.frame; var f_rules = table.rules; function selected(val) { return val ? " selected" : ""; }; // dialog contents dialog.content.style.width = "400px"; dialog.content.innerHTML = " \ <div class='title'\ style='background: url(" + dialog.baseURL + dialog.editor.imgURL("table-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n["Table Properties"] + "\ </div> \ <table style='width:100%'> \ <tr> \ <td> \ <fieldset><legend>" + i18n["Description"] + "</legend> \ <table style='width:100%'> \ <tr> \ <td class='label'>" + i18n["Caption"] + ":</td> \ <td class='value'><input type='text' name='f_caption' value='" + f_caption + "'/></td> \ </tr><tr> \ <td class='label'>" + i18n["Summary"] + ":</td> \ <td class='value'><input type='text' name='f_summary' value='" + f_summary + "'/></td> \ </tr> \ </table> \ </fieldset> \ </td> \ </tr> \ <tr><td id='--HA-layout'></td></tr> \ <tr> \ <td> \ <fieldset><legend>" + i18n["Spacing and padding"] + "</legend> \ <table style='width:100%'> \ <tr> \ <td class='label'>" + i18n["Spacing"] + ":</td> \ <td><input type='text' name='f_spacing' size='5' value='" + f_spacing + "' /> &nbsp;" + i18n["Padding"] + ":\ <input type='text' name='f_padding' size='5' value='" + f_padding + "' /> &nbsp;&nbsp;" + i18n["pixels"] + "\ </td> \ </tr> \ </table> \ </fieldset> \ </td> \ </tr> \ <tr> \ <td> \ <fieldset><legend>Frame and borders</legend> \ <table width='100%'> \ <tr> \ <td class='label'>" + i18n["Borders"] + ":</td> \ <td><input name='f_borders' type='text' size='5' value='" + f_borders + "' /> &nbsp;&nbsp;" + i18n["pixels"] + "</td> \ </tr> \ <tr> \ <td class='label'>" + i18n["Frames"] + ":</td> \ <td> \ <select name='f_frames'> \ <option value='void'" + selected(f_frames == "void") + ">" + i18n["No sides"] + "</option> \ <option value='above'" + selected(f_frames == "above") + ">" + i18n["The top side only"] + "</option> \ <option value='below'" + selected(f_frames == "below") + ">" + i18n["The bottom side only"] + "</option> \ <option value='hsides'" + selected(f_frames == "hsides") + ">" + i18n["The top and bottom sides only"] + "</option> \ <option value='vsides'" + selected(f_frames == "vsides") + ">" + i18n["The right and left sides only"] + "</option> \ <option value='lhs'" + selected(f_frames == "lhs") + ">" + i18n["The left-hand side only"] + "</option> \ <option value='rhs'" + selected(f_frames == "rhs") + ">" + i18n["The right-hand side only"] + "</option> \ <option value='box'" + selected(f_frames == "box") + ">" + i18n["All four sides"] + "</option> \ </select> \ </td> \ </tr> \ <tr> \ <td class='label'>" + i18n["Rules"] + ":</td> \ <td> \ <select name='f_rules'> \ <option value='none'" + selected(f_rules == "none") + ">" + i18n["No rules"] + "</option> \ <option value='rows'" + selected(f_rules == "rows") + ">" + i18n["Rules will appear between rows only"] + "</option> \ <option value='cols'" + selected(f_rules == "cols") + ">" + i18n["Rules will appear between columns only"] + "</option> \ <option value='all'" + selected(f_rules == "all") + ">" + i18n["Rules will appear between all rows and columns"] + "</option> \ </select> \ </td> \ </tr> \ </table> \ </fieldset> \ </td> \ </tr> \ <tr> \ <td id='--HA-style'></td> \ </tr> \ </table> \ "; var st_prop = TableOperations.createStyleFieldset(dialog.doc, dialog.editor, table); var p = dialog.doc.getElementById("--HA-style"); p.appendChild(st_prop); var st_layout = TableOperations.createStyleLayoutFieldset(dialog.doc, dialog.editor, table); p = dialog.doc.getElementById("--HA-layout"); p.appendChild(st_layout); dialog.modal = true; dialog.addButtons("ok", "cancel"); dialog.showAtElement(dialog.editor._iframe, "c"); }); }; // this function requires the file PopupDiv/PopupWin to be loaded from browser TableOperations.prototype.dialogRowCellProperties = function(cell) { var i18n = TableOperations.I18N; // retrieve existing values var element = this.getClosest(cell ? "td" : "tr"); var table = this.getClosest("table"); // this.editor.selectNodeContents(element); // this.editor.updateToolbar(); var dialog = new PopupWin(this.editor, i18n[cell ? "Cell Properties" : "Row Properties"], function(dialog, params) { TableOperations.processStyle(params, element); for (var i in params) { var val = params[i]; switch (i) { case "f_align": element.align = val; break; case "f_char": element.ch = val; break; case "f_valign": element.vAlign = val; break; } } // various workarounds to refresh the table display (Gecko, // what's going on?! do not disappoint me!) dialog.editor.forceRedraw(); dialog.editor.focusEditor(); dialog.editor.updateToolbar(); var save_collapse = table.style.borderCollapse; table.style.borderCollapse = "collapse"; table.style.borderCollapse = "separate"; table.style.borderCollapse = save_collapse; }, // this function gets called when the dialog needs to be initialized function (dialog) { var f_align = element.align; var f_valign = element.vAlign; var f_char = element.ch; function selected(val) { return val ? " selected" : ""; }; // dialog contents dialog.content.style.width = "400px"; dialog.content.innerHTML = " \ <div class='title'\ style='background: url(" + dialog.baseURL + dialog.editor.imgURL(cell ? "cell-prop.gif" : "row-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n[cell ? "Cell Properties" : "Row Properties"] + "</div> \ <table style='width:100%'> \ <tr> \ <td id='--HA-layout'> \ </td> \ </tr> \ <tr> \ <td id='--HA-style'></td> \ </tr> \ </table> \ "; var st_prop = TableOperations.createStyleFieldset(dialog.doc, dialog.editor, element); var p = dialog.doc.getElementById("--HA-style"); p.appendChild(st_prop); var st_layout = TableOperations.createStyleLayoutFieldset(dialog.doc, dialog.editor, element); p = dialog.doc.getElementById("--HA-layout"); p.appendChild(st_layout); dialog.modal = true; dialog.addButtons("ok", "cancel"); dialog.showAtElement(dialog.editor._iframe, "c"); }); }; // this function gets called when some button from the TableOperations toolbar // was pressed. TableOperations.prototype.buttonPress = function(editor, button_id) { this.editor = editor; var mozbr = HTMLArea.is_gecko ? "<br />" : ""; var i18n = TableOperations.I18N; // helper function that clears the content in a table row function clearRow(tr) { var tds = tr.getElementsByTagName("td"); for (var i = tds.length; --i >= 0;) { var td = tds[i]; td.rowSpan = 1; td.innerHTML = mozbr; } }; function splitRow(td) { var n = parseInt("" + td.rowSpan); var nc = parseInt("" + td.colSpan); td.rowSpan = 1; tr = td.parentNode; var itr = tr.rowIndex; var trs = tr.parentNode.rows; var index = td.cellIndex; while (--n > 0) { tr = trs[++itr]; var otd = editor._doc.createElement("td"); otd.colSpan = td.colSpan; otd.innerHTML = mozbr; tr.insertBefore(otd, tr.cells[index]); } editor.forceRedraw(); editor.updateToolbar(); }; function splitCol(td) { var nc = parseInt("" + td.colSpan); td.colSpan = 1; tr = td.parentNode; var ref = td.nextSibling; while (--nc > 0) { var otd = editor._doc.createElement("td"); otd.rowSpan = td.rowSpan; otd.innerHTML = mozbr; tr.insertBefore(otd, ref); } editor.forceRedraw(); editor.updateToolbar(); }; function splitCell(td) { var nc = parseInt("" + td.colSpan); splitCol(td); var items = td.parentNode.cells; var index = td.cellIndex; while (nc-- > 0) { splitRow(items[index++]); } }; function selectNextNode(el) { var node = el.nextSibling; while (node && node.nodeType != 1) { node = node.nextSibling; } if (!node) { node = el.previousSibling; while (node && node.nodeType != 1) { node = node.previousSibling; } } if (!node) { node = el.parentNode; } editor.selectNodeContents(node); }; switch (button_id) { // ROWS case "TO-row-insert-above": case "TO-row-insert-under": var tr = this.getClosest("tr"); if (!tr) { break; } var otr = tr.cloneNode(true); clearRow(otr); tr.parentNode.insertBefore(otr, /under/.test(button_id) ? tr.nextSibling : tr); editor.forceRedraw(); editor.focusEditor(); break; case "TO-row-delete": var tr = this.getClosest("tr"); if (!tr) { break; } var par = tr.parentNode; if (par.rows.length == 1) { alert(i18n["not-del-last-row"]); break; } // set the caret first to a position that doesn't // disappear. selectNextNode(tr); par.removeChild(tr); editor.forceRedraw(); editor.focusEditor(); editor.updateToolbar(); break; case "TO-row-split": var td = this.getClosest("td"); if (!td) { break; } splitRow(td); break; // COLUMNS case "TO-col-insert-before": case "TO-col-insert-after": var td = this.getClosest("td"); if (!td) { break; } var rows = td.parentNode.parentNode.rows; var index = td.cellIndex; for (var i = rows.length; --i >= 0;) { var tr = rows[i]; var ref = tr.cells[index + (/after/.test(button_id) ? 1 : 0)]; var otd = editor._doc.createElement("td"); otd.innerHTML = mozbr; tr.insertBefore(otd, ref); } editor.focusEditor(); break; case "TO-col-split": var td = this.getClosest("td"); if (!td) { break; } splitCol(td); break; case "TO-col-delete": var td = this.getClosest("td"); if (!td) { break; } var index = td.cellIndex; if (td.parentNode.cells.length == 1) { alert(i18n["not-del-last-col"]); break; } // set the caret first to a position that doesn't disappear selectNextNode(td); var rows = td.parentNode.parentNode.rows; for (var i = rows.length; --i >= 0;) { var tr = rows[i]; tr.removeChild(tr.cells[index]); } editor.forceRedraw(); editor.focusEditor(); editor.updateToolbar(); break; // CELLS case "TO-cell-split": var td = this.getClosest("td"); if (!td) { break; } splitCell(td); break; case "TO-cell-insert-before": case "TO-cell-insert-after": var td = this.getClosest("td"); if (!td) { break; } var tr = td.parentNode; var otd = editor._doc.createElement("td"); otd.innerHTML = mozbr; tr.insertBefore(otd, /after/.test(button_id) ? td.nextSibling : td); editor.forceRedraw(); editor.focusEditor(); break; case "TO-cell-delete": var td = this.getClosest("td"); if (!td) { break; } if (td.parentNode.cells.length == 1) { alert(i18n["not-del-last-cell"]); break; } // set the caret first to a position that doesn't disappear selectNextNode(td); td.parentNode.removeChild(td); editor.forceRedraw(); editor.updateToolbar(); break; case "TO-cell-merge": // !! FIXME: Mozilla specific !! var sel = editor._getSelection(); var range, i = 0; var rows = []; var row = null; var cells = null; if (!HTMLArea.is_ie) { try { while (range = sel.getRangeAt(i++)) { var td = range.startContainer.childNodes[range.startOffset]; if (td.parentNode != row) { row = td.parentNode; (cells) && rows.push(cells); cells = []; } cells.push(td); } } catch(e) {/* finished walking through selection */} rows.push(cells); } else { // Internet Explorer "browser" var td = this.getClosest("td"); if (!td) { alert(i18n["Please click into some cell"]); break; } var tr = td.parentElement; var no_cols = prompt(i18n["How many columns would you like to merge?"], 2); if (!no_cols) { // cancelled break; } var no_rows = prompt(i18n["How many rows would you like to merge?"], 2); if (!no_rows) { // cancelled break; } var cell_index = td.cellIndex; while (no_rows-- > 0) { td = tr.cells[cell_index]; cells = [td]; for (var i = 1; i < no_cols; ++i) { td = td.nextSibling; if (!td) { break; } cells.push(td); } rows.push(cells); tr = tr.nextSibling; if (!tr) { break; } } } var HTML = ""; for (i = 0; i < rows.length; ++i) { // i && (HTML += "<br />"); var cells = rows[i]; for (var j = 0; j < cells.length; ++j) { // j && (HTML += "&nbsp;"); var cell = cells[j]; HTML += cell.innerHTML; (i || j) && (cell.parentNode.removeChild(cell)); } } var td = rows[0][0]; td.innerHTML = HTML; td.rowSpan = rows.length; td.colSpan = rows[0].length; editor.selectNodeContents(td); editor.forceRedraw(); editor.focusEditor(); break; // PROPERTIES case "TO-table-prop": this.dialogTableProperties(); break; case "TO-row-prop": this.dialogRowCellProperties(false); break; case "TO-cell-prop": this.dialogRowCellProperties(true); break; default: alert("Button [" + button_id + "] not yet implemented"); } }; // the list of buttons added by this plugin TableOperations.btnList = [ // table properties button ["table-prop", "table"], null, // separator // ROWS ["row-prop", "tr"], ["row-insert-above", "tr"], ["row-insert-under", "tr"], ["row-delete", "tr"], ["row-split", "td[rowSpan!=1]"], null, // COLS ["col-insert-before", "td"], ["col-insert-after", "td"], ["col-delete", "td"], ["col-split", "td[colSpan!=1]"], null, // CELLS ["cell-prop", "td"], ["cell-insert-before", "td"], ["cell-insert-after", "td"], ["cell-delete", "td"], ["cell-merge", "tr"], ["cell-split", "td[colSpan!=1,rowSpan!=1]"] ]; //// GENERIC CODE [style of any element; this should be moved into a separate //// file as it'll be very useful] //// BEGIN GENERIC CODE ----------------------------------------------------- TableOperations.getLength = function(value) { var len = parseInt(value); if (isNaN(len)) { len = ""; } return len; }; // Applies the style found in "params" to the given element. TableOperations.processStyle = function(params, element) { var style = element.style; for (var i in params) { var val = params[i]; switch (i) { case "f_st_backgroundColor": style.backgroundColor = val; break; case "f_st_color": style.color = val; break; case "f_st_backgroundImage": if (/\S/.test(val)) { style.backgroundImage = "url(" + val + ")"; } else { style.backgroundImage = "none"; } break; case "f_st_borderWidth": style.borderWidth = val; break; case "f_st_borderStyle": style.borderStyle = val; break; case "f_st_borderColor": style.borderColor = val; break; case "f_st_borderCollapse": style.borderCollapse = val ? "collapse" : ""; break; case "f_st_width": if (/\S/.test(val)) { style.width = val + params["f_st_widthUnit"]; } else { style.width = ""; } break; case "f_st_height": if (/\S/.test(val)) { style.height = val + params["f_st_heightUnit"]; } else { style.height = ""; } break; case "f_st_textAlign": if (val == "char") { var ch = params["f_st_textAlignChar"]; if (ch == '"') { ch = '\\"'; } style.textAlign = '"' + ch + '"'; } else { style.textAlign = val; } break; case "f_st_verticalAlign": style.verticalAlign = val; break; case "f_st_float": style.cssFloat = val; break; // case "f_st_margin": // style.margin = val + "px"; // break; // case "f_st_padding": // style.padding = val + "px"; // break; } } }; // Returns an HTML element for a widget that allows color selection. That is, // a button that contains the given color, if any, and when pressed will popup // the sooner-or-later-to-be-rewritten select_color.html dialog allowing user // to select some color. If a color is selected, an input field with the name // "f_st_"+name will be updated with the color value in #123456 format. TableOperations.createColorButton = function(doc, editor, color, name) { if (!color) { color = ""; } else if (!/#/.test(color)) { color = HTMLArea._colorToRgb(color); } var df = doc.createElement("span"); var field = doc.createElement("input"); field.type = "hidden"; df.appendChild(field); field.name = "f_st_" + name; field.value = color; var button = doc.createElement("span"); button.className = "buttonColor"; df.appendChild(button); var span = doc.createElement("span"); span.className = "chooser"; // span.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"; span.style.backgroundColor = color; button.appendChild(span); button.onmouseover = function() { if (!this.disabled) { this.className += " buttonColor-hilite"; }}; button.onmouseout = function() { if (!this.disabled) { this.className = "buttonColor"; }}; span.onclick = function() { if (this.parentNode.disabled) { return false; } editor._popupDialog("select_color.html", function(color) { if (color) { span.style.backgroundColor = "#" + color; field.value = "#" + color; } }, color); }; var span2 = doc.createElement("span"); span2.innerHTML = "&#x00d7;"; span2.className = "nocolor"; span2.title = TableOperations.I18N["Unset color"]; button.appendChild(span2); span2.onmouseover = function() { if (!this.parentNode.disabled) { this.className += " nocolor-hilite"; }}; span2.onmouseout = function() { if (!this.parentNode.disabled) { this.className = "nocolor"; }}; span2.onclick = function() { span.style.backgroundColor = ""; field.value = ""; }; return df; }; TableOperations.createStyleLayoutFieldset = function(doc, editor, el) { var i18n = TableOperations.I18N; var fieldset = doc.createElement("fieldset"); var legend = doc.createElement("legend"); fieldset.appendChild(legend); legend.innerHTML = i18n["Layout"]; var table = doc.createElement("table"); fieldset.appendChild(table); table.style.width = "100%"; var tbody = doc.createElement("tbody"); table.appendChild(tbody); var tagname = el.tagName.toLowerCase(); var tr, td, input, select, option, options, i; if (tagname != "td" && tagname != "tr" && tagname != "th") { tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); td.className = "label"; tr.appendChild(td); td.innerHTML = i18n["Float"] + ":"; td = doc.createElement("td"); tr.appendChild(td); select = doc.createElement("select"); td.appendChild(select); select.name = "f_st_float"; options = ["None", "Left", "Right"]; for (var i = 0; i < options.length; ++i) { var Val = options[i]; var val = options[i].toLowerCase(); option = doc.createElement("option"); option.innerHTML = i18n[Val]; option.value = val; option.selected = (("" + el.style.cssFloat).toLowerCase() == val); select.appendChild(option); } } tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); td.className = "label"; tr.appendChild(td); td.innerHTML = i18n["Width"] + ":"; td = doc.createElement("td"); tr.appendChild(td); input = doc.createElement("input"); input.type = "text"; input.value = TableOperations.getLength(el.style.width); input.size = "5"; input.name = "f_st_width"; input.style.marginRight = "0.5em"; td.appendChild(input); select = doc.createElement("select"); select.name = "f_st_widthUnit"; option = doc.createElement("option"); option.innerHTML = i18n["percent"]; option.value = "%"; option.selected = /%/.test(el.style.width); select.appendChild(option); option = doc.createElement("option"); option.innerHTML = i18n["pixels"]; option.value = "px"; option.selected = /px/.test(el.style.width); select.appendChild(option); td.appendChild(select); select.style.marginRight = "0.5em"; td.appendChild(doc.createTextNode(i18n["Text align"] + ":")); select = doc.createElement("select"); select.style.marginLeft = select.style.marginRight = "0.5em"; td.appendChild(select); select.name = "f_st_textAlign"; options = ["Left", "Center", "Right", "Justify"]; if (tagname == "td") { options.push("Char"); } input = doc.createElement("input"); input.name = "f_st_textAlignChar"; input.size = "1"; input.style.fontFamily = "monospace"; td.appendChild(input); 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 = i18n[Val]; option.selected = (el.style.textAlign.toLowerCase() == val); select.appendChild(option); } function setCharVisibility(value) { input.style.visibility = value ? "visible" : "hidden"; if (value) { input.focus(); input.select(); } }; select.onchange = function() { setCharVisibility(this.value == "char"); }; setCharVisibility(select.value == "char"); tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); td.className = "label"; tr.appendChild(td); td.innerHTML = i18n["Height"] + ":"; td = doc.createElement("td"); tr.appendChild(td); input = doc.createElement("input"); input.type = "text"; input.value = TableOperations.getLength(el.style.height); input.size = "5"; input.name = "f_st_height"; input.style.marginRight = "0.5em"; td.appendChild(input); select = doc.createElement("select"); select.name = "f_st_heightUnit"; option = doc.createElement("option"); option.innerHTML = i18n["percent"]; option.value = "%"; option.selected = /%/.test(el.style.height); select.appendChild(option); option = doc.createElement("option"); option.innerHTML = i18n["pixels"]; option.value = "px"; option.selected = /px/.test(el.style.height); select.appendChild(option); td.appendChild(select); select.style.marginRight = "0.5em"; td.appendChild(doc.createTextNode(i18n["Vertical align"] + ":")); select = doc.createElement("select"); select.name = "f_st_verticalAlign"; select.style.marginLeft = "0.5em"; td.appendChild(select); 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 = i18n[Val]; option.selected = (el.style.verticalAlign.toLowerCase() == val); select.appendChild(option); } return fieldset; }; // Returns an HTML element containing the style attributes for the given // element. This can be easily embedded into any dialog; the functionality is // also provided. TableOperations.createStyleFieldset = function(doc, editor, el) { var i18n = TableOperations.I18N; var fieldset = doc.createElement("fieldset"); var legend = doc.createElement("legend"); fieldset.appendChild(legend); legend.innerHTML = i18n["CSS Style"]; var table = doc.createElement("table"); fieldset.appendChild(table); table.style.width = "100%"; var tbody = doc.createElement("tbody"); table.appendChild(tbody); var tr, td, input, select, option, options, i; tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); tr.appendChild(td); td.className = "label"; td.innerHTML = i18n["Background"] + ":"; td = doc.createElement("td"); tr.appendChild(td); var df = TableOperations.createColorButton(doc, editor, el.style.backgroundColor, "backgroundColor"); df.firstChild.nextSibling.style.marginRight = "0.5em"; td.appendChild(df); td.appendChild(doc.createTextNode(i18n["Image URL"] + ": ")); input = doc.createElement("input"); input.type = "text"; input.name = "f_st_backgroundImage"; if (el.style.backgroundImage.match(/url\(\s*(.*?)\s*\)/)) { input.value = RegExp.$1; } // input.style.width = "100%"; td.appendChild(input); tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); tr.appendChild(td); td.className = "label"; td.innerHTML = i18n["FG Color"] + ":"; td = doc.createElement("td"); tr.appendChild(td); td.appendChild(TableOperations.createColorButton(doc, editor, el.style.color, "color")); // for better alignment we include an invisible field. input = doc.createElement("input"); input.style.visibility = "hidden"; input.type = "text"; td.appendChild(input); tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); tr.appendChild(td); td.className = "label"; td.innerHTML = i18n["Border"] + ":"; td = doc.createElement("td"); tr.appendChild(td); var colorButton = TableOperations.createColorButton(doc, editor, el.style.borderColor, "borderColor"); var btn = colorButton.firstChild.nextSibling; td.appendChild(colorButton); // borderFields.push(btn); btn.style.marginRight = "0.5em"; select = doc.createElement("select"); var borderFields = []; td.appendChild(select); select.name = "f_st_borderStyle"; options = ["none", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"]; var currentBorderStyle = el.style.borderStyle; // Gecko reports "solid solid solid solid" for "border-style: solid". // That is, "top right bottom left" -- we only consider the first // value. (currentBorderStyle.match(/([^\s]*)\s/)) && (currentBorderStyle = RegExp.$1); for (var i in options) { var val = options[i]; option = doc.createElement("option"); option.value = val; option.innerHTML = val; (val == currentBorderStyle) && (option.selected = true); select.appendChild(option); } select.style.marginRight = "0.5em"; function setBorderFieldsStatus(value) { for (var i = 0; i < borderFields.length; ++i) { var el = borderFields[i]; el.style.visibility = value ? "hidden" : "visible"; if (!value && (el.tagName.toLowerCase() == "input")) { el.focus(); el.select(); } } }; select.onchange = function() { setBorderFieldsStatus(this.value == "none"); }; input = doc.createElement("input"); borderFields.push(input); input.type = "text"; input.name = "f_st_borderWidth"; input.value = TableOperations.getLength(el.style.borderWidth); input.size = "5"; td.appendChild(input); input.style.marginRight = "0.5em"; var span = doc.createElement("span"); span.innerHTML = i18n["pixels"]; td.appendChild(span); borderFields.push(span); setBorderFieldsStatus(select.value == "none"); if (el.tagName.toLowerCase() == "table") { // the border-collapse style is only for tables tr = doc.createElement("tr"); tbody.appendChild(tr); td = doc.createElement("td"); td.className = "label"; tr.appendChild(td); input = doc.createElement("input"); input.type = "checkbox"; input.name = "f_st_borderCollapse"; input.id = "f_st_borderCollapse"; var val = (/collapse/i.test(el.style.borderCollapse)); input.checked = val ? 1 : 0; td.appendChild(input); td = doc.createElement("td"); tr.appendChild(td); var label = doc.createElement("label"); label.htmlFor = "f_st_borderCollapse"; label.innerHTML = i18n["Collapsed borders"]; td.appendChild(label); } // tr = doc.createElement("tr"); // tbody.appendChild(tr); // td = doc.createElement("td"); // td.className = "label"; // tr.appendChild(td); // td.innerHTML = i18n["Margin"] + ":"; // td = doc.createElement("td"); // tr.appendChild(td); // input = doc.createElement("input"); // input.type = "text"; // input.size = "5"; // input.name = "f_st_margin"; // td.appendChild(input); // input.style.marginRight = "0.5em"; // td.appendChild(doc.createTextNode(i18n["Padding"] + ":")); // input = doc.createElement("input"); // input.type = "text"; // input.size = "5"; // input.name = "f_st_padding"; // td.appendChild(input); // input.style.marginLeft = "0.5em"; // input.style.marginRight = "0.5em"; // td.appendChild(doc.createTextNode(i18n["pixels"])); return fieldset; }; //// END GENERIC CODE -------------------------------------------------------
JavaScript
// Dynamic CSS (className) plugin for HTMLArea // Sponsored by http://www.systemconcept.de // Implementation by Holger Hees // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). function DynamicCSS(editor, args) { this.editor = editor; var cfg = editor.config; var toolbar = cfg.toolbar; var self = this; var i18n = DynamicCSS.I18N; /*var cssArray=null; var cssLength=0; var lastTag=null; var lastClass=null;*/ var css_class = { id : "DynamicCSS-class", tooltip : i18n["DynamicCSSStyleTooltip"], options : {"":""}, action : function(editor) { self.onSelect(editor, this); }, refresh : function(editor) { self.updateValue(editor, this); } }; cfg.registerDropdown(css_class); toolbar[0].splice(0, 0, "separator"); toolbar[0].splice(0, 0, "DynamicCSS-class"); toolbar[0].splice(0, 0, "T[CSS]"); }; DynamicCSS.parseStyleSheet=function(editor){ var i18n = DynamicCSS.I18N; iframe = editor._iframe.contentWindow.document; cssArray=DynamicCSS.cssArray; if(!cssArray) cssArray=new Array(); for(i=0;i<iframe.styleSheets.length;i++){ // Mozilla if(HTMLArea.is_gecko){ try{ cssArray=DynamicCSS.applyCSSRule(i18n,iframe.styleSheets[i].cssRules,cssArray); } catch(e){ //alert(e); } } // IE else { try{ if(iframe.styleSheets[i].rules){ cssArray=DynamicCSS.applyCSSRule(i18n,iframe.styleSheets[i].rules,cssArray); } // @import StyleSheets (IE) if(iframe.styleSheets[i].imports){ for(j=0;j<iframe.styleSheets[i].imports.length;j++){ cssArray=DynamicCSS.applyCSSRule(i18n,iframe.styleSheets[i].imports[j].rules,cssArray); } } } catch(e){ //alert(e); } } } DynamicCSS.cssArray=cssArray; } DynamicCSS.applyCSSRule=function(i18n,cssRules,cssArray){ for(rule in cssRules){ // StyleRule if(cssRules[rule].selectorText){ if(cssRules[rule].selectorText.search(/:+/)==-1){ // split equal Styles (Mozilla-specific) e.q. head, body {border:0px} // for ie not relevant. returns allways one element cssElements = cssRules[rule].selectorText.split(","); for(k=0;k<cssElements.length;k++){ cssElement = cssElements[k].split("."); tagName=cssElement[0].toLowerCase().trim(); className=cssElement[1]; if(!tagName) tagName='all'; if(!cssArray[tagName]) cssArray[tagName]=new Array(); if(className){ if(tagName=='all') cssName=className; else cssName='<'+className+'>'; } else{ className='none'; if(tagName=='all') cssName=i18n["Default"]; else cssName='<'+i18n["Default"]+'>'; } cssArray[tagName][className]=cssName; DynamicCSS.cssLength++; } } } // ImportRule (Mozilla) else if(cssRules[rule].styleSheet){ cssArray=DynamicCSS.applyCSSRule(i18n,cssRules[rule].styleSheet.cssRules,cssArray); } } return cssArray; } DynamicCSS._pluginInfo = { name : "DynamicCSS", version : "1.5.2", developer : "Holger Hees", developer_url : "http://www.systemconcept.de/", c_owner : "Holger Hees", sponsor : "System Concept GmbH", sponsor_url : "http://www.systemconcept.de/", license : "htmlArea" }; DynamicCSS.prototype.onSelect = function(editor, obj) { var tbobj = editor._toolbarObjects[obj.id]; var index = tbobj.element.selectedIndex; var className = tbobj.element.value; var parent = editor.getParentElement(); if(className!='none'){ parent.className=className; DynamicCSS.lastClass=className; } else{ if(HTMLArea.is_gecko) parent.removeAttribute('class'); else parent.removeAttribute('className'); } editor.updateToolbar(); }; /*DynamicCSS.prototype.onMode = function(mode) { if(mode=='wysiwyg'){ // reparse possible changed css files DynamicCSS.cssArray=null; this.updateValue(this.editor,this.editor.config.customSelects["DynamicCSS-class"]); } }*/ DynamicCSS.prototype.reparseTimer = function(editor, obj, instance) { // new attempt of rescan stylesheets in 1,2,4 and 8 second (e.g. for external css-files with longer initialisation) if(DynamicCSS.parseCount<9){ setTimeout(function () { DynamicCSS.cssLength=0; DynamicCSS.parseStyleSheet(editor); if(DynamicCSS.cssOldLength!=DynamicCSS.cssLength){ DynamicCSS.cssOldLength=DynamicCSS.cssLength; DynamicCSS.lastClass=null; instance.updateValue(editor, obj); } instance.reparseTimer(editor, obj, instance); },DynamicCSS.parseCount*1000); DynamicCSS.parseCount=DynamicCSS.parseCount*2; } } DynamicCSS.prototype.updateValue = function(editor, obj) { cssArray=DynamicCSS.cssArray; // initial style init if(!cssArray){ DynamicCSS.cssLength=0; DynamicCSS.parseStyleSheet(editor); cssArray=DynamicCSS.cssArray; DynamicCSS.cssOldLength=DynamicCSS.cssLength; DynamicCSS.parseCount=1; this.reparseTimer(editor,obj,this); } var parent = editor.getParentElement(); var tagName = parent.tagName.toLowerCase(); var className = parent.className; if(DynamicCSS.lastTag!=tagName || DynamicCSS.lastClass!=className){ DynamicCSS.lastTag=tagName; DynamicCSS.lastClass=className; var i18n = DynamicCSS.I18N; var select = editor._toolbarObjects[obj.id].element; while(select.length>0){ select.options[select.length-1] = null; } select.options[0]=new Option(i18n["Default"],'none'); if(cssArray){ // style class only allowed if parent tag is not body or editor is in fullpage mode if(tagName!='body' || editor.config.fullPage){ if(cssArray[tagName]){ for(cssClass in cssArray[tagName]){ if(cssClass=='none') select.options[0]=new Option(cssArray[tagName][cssClass],cssClass); else select.options[select.length]=new Option(cssArray[tagName][cssClass],cssClass); } } if(cssArray['all']){ for(cssClass in cssArray['all']){ select.options[select.length]=new Option(cssArray['all'][cssClass],cssClass); } } } else if(cssArray[tagName] && cssArray[tagName]['none']) select.options[0]=new Option(cssArray[tagName]['none'],'none'); } select.selectedIndex = 0; if (typeof className != "undefined" && /\S/.test(className)) { var options = select.options; for (var i = options.length; --i >= 0;) { var option = options[i]; if (className == option.value) { select.selectedIndex = i; break; } } if(select.selectedIndex == 0){ select.options[select.length]=new Option(i18n["Undefined"],className); select.selectedIndex=select.length-1; } } if(select.length>1) select.disabled=false; else select.disabled=true; } };
JavaScript
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.ebdata.com // Author: Cédric Guillemette, <cguillemette@ebdata.com> // // (c) www.ebdata.com 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). DynamicCSS.I18N = { "Default" : "Défaut", "Undefined" : "Non défini", "DynamicCSSStyleTooltip" : "Choisir feuille de style" };
JavaScript
// I18N constants // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.systemconcept.de // Author: Holger Hees, <hhees@systemconcept.de> // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). DynamicCSS.I18N = { "Default" : "Default", "Undefined" : "Undefined", "DynamicCSSStyleTooltip" : "Choose stylesheet" };
JavaScript
// Character Map plugin for HTMLArea // Sponsored by http://www.systemconcept.de // Implementation by Holger Hees based on HTMLArea XTD 1.5 (http://mosforge.net/projects/htmlarea3xtd/) // Original Author - Bernhard Pfeifer novocaine@gmx.net // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). function CharacterMap(editor) { this.editor = editor; var cfg = editor.config; var toolbar = cfg.toolbar; var self = this; var i18n = CharacterMap.I18N; cfg.registerButton({ id : "insertcharacter", tooltip : i18n["CharacterMapTooltip"], image : editor.imgURL("ed_charmap.gif", "CharacterMap"), textMode : false, action : function(editor) { self.buttonPress(editor); } }) var a, i, j, found = false; for (i = 0; !found && i < toolbar.length; ++i) { a = toolbar[i]; for (j = 0; j < a.length; ++j) { if (a[j] == "inserthorizontalrule") { found = true; break; } } } if (found) a.splice(j, 0, "insertcharacter"); else{ toolbar[1].splice(0, 0, "separator"); toolbar[1].splice(0, 0, "insertcharacter"); } }; CharacterMap._pluginInfo = { name : "CharacterMap", version : "1.0", developer : "Holger Hees & Bernhard Pfeifer", developer_url : "http://www.systemconcept.de/", c_owner : "Holger Hees & Bernhard Pfeifer", sponsor : "System Concept GmbH & Bernhard Pfeifer", sponsor_url : "http://www.systemconcept.de/", license : "htmlArea" }; CharacterMap.prototype.buttonPress = function(editor) { editor._popupDialog( "plugin://CharacterMap/select_character", function( entity ) { if ( !entity ) { //user must have pressed Cancel return false; } editor.insertHTML( entity ); }, null); }
JavaScript
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.systemconcept.de // Author: Holger Hees, <hhees@systemconcept.de> // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). CharacterMap.I18N = { "CharacterMapTooltip" : "Insert special character", "Insert special character" : "Insert special character", "HTML value:" : "HTML value:", "Cancel" : "Cancel" };
JavaScript
// none yet; this file is a stub. CSS.I18N = {};
JavaScript
// 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-2005. // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). // // $Id: css.js,v 1.5 2005/01/20 17:49:03 mishoo Exp $ 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("<span class='" + className + "'>", "</span>"); } }; 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; };
JavaScript
// Context Menu Plugin for HTMLArea-3.0 // Sponsored by www.americanbible.org // Implementation by Mihai Bazon, http://dynarch.com/mishoo/ // // (c) dynarch.com 2003-2005. // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). // // $Id: context-menu.js,v 1.6 2005/01/20 17:49:03 mishoo Exp $ 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 tmp; var link = null; var table = null; var tr = null; var td = null; var img = null; function tableOperation(opcode) { tbo.buttonPress(editor, opcode); }; function insertPara(currentTarget, after) { var el = currentTarget; var par = el.parentNode; var p = editor._doc.createElement("p"); p.appendChild(editor._doc.createElement("br")); par.insertBefore(p, after ? el.nextSibling : el); var sel = editor._getSelection(); var range = editor._createRange(sel); if (!HTMLArea.is_ie) { sel.removeAllRanges(); range.selectNodeContents(p); range.collapse(true); sel.addRange(range); } else { range.moveToElementText(p); range.collapse(true); range.select(); } }; 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] ], [ i18n["Delete Cell"], function() { tableOperation("TO-cell-delete"); }, null, config.btnList["TO-cell-delete"][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 = 0; i < elmenus.length; ++i) menu.push(elmenus[i]); if (!/html|body/i.test(currentTarget.tagName)) { table ? (tmp = table, table = null) : (tmp = currentTarget); menu.push(null, [ i18n["Remove the"] + " &lt;" + tmp.tagName + "&gt; " + i18n["Element"], function() { if (confirm(i18n["Please confirm that you want to remove this element:"] + " " + tmp.tagName)) { var el = tmp; 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"] ], [ i18n["Insert paragraph before"], function() { insertPara(tmp, false); }, i18n["Insert a paragraph before the current node"] ], [ i18n["Insert paragraph after"], function() { insertPara(tmp, true); }, i18n["Insert a paragraph after the current node"] ] ); } 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("<html><head><style type='text/css'>@import url(" + _editor_url + "plugins/ContextMenu/menu.css); html, body { padding: 0px; margin: 0px; overflow: hidden; border: 0px; }</style></head><body unselectable='yes'></body></html>"); 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'>&nbsp;"; } td.innerHTML = "<div" + IE_IS_A_FUCKING_SHIT + "</div>"; 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])/, "<u>$1</u>"); 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 = "<img align='middle' src='" + item.__msh.icon + "' />"; 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 || '&nbsp;'; }; 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; };
JavaScript
// 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" };
JavaScript
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // 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.) 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" : "Couper", "Copy" : "Copier", "Paste" : "Coller", "Image Properties" : "_Propriétés de l'image...", "Modify Link" : "_Modifier le lien...", "Check Link" : "_Vérifier le lien...", "Remove Link" : "_Supprimer le lien...", "Cell Properties" : "P_ropriétés de la cellule...", "Row Properties" : "Pr_opriétés de la rangée...", "Insert Row Before" : "Insérer une rangée a_vant", "Insert Row After" : "Insér_er une rangée après", "Delete Row" : "Suppr_imer une rangée", "Table Properties" : "Proprié_tés de la table...", "Insert Column Before" : "I_nsérer une colonne avant", "Insert Column After" : "Insérer une colonne _après", "Delete Column" : "_Supprimer la colonne", "Justify Left" : "Justifier _gauche", "Justify Center" : "Justifier _centre", "Justify Right" : "Justifier _droit", "Justify Full" : "Justifier p_lein", "Make link" : "Convertir en lien...", "Remove the" : "Supprimer", "Element" : "Élément...", // Other labels (tooltips and alert/confirm box messages) "Please confirm that you want to remove this element:" : "Confirmer la suppression de cet élément:", "Remove this node from the document" : "Supprimer ce noeud du document", "How did you get here? (Please report!)" : "Comment êtes-vous arrivé ici? (Please report!)", "Show the image properties dialog" : "Afficher le dialogue des propriétés d'image", "Modify URL" : "Modifier le URL", "Current URL is" : "Le URL courant est", "Opens this link in a new window" : "Ouvrir ce lien dans une nouvelle fenêtre", "Please confirm that you want to unlink this element." : "Voulez-vous vraiment enlever le lien présent sur cet élément.", "Link points to:" : "Lier les points jusqu'à:", "Unlink the current element" : "Enlever le lien sur cet élément", "Show the Table Cell Properties dialog" : "Afficher le dialogue des propriétés des cellules", "Show the Table Row Properties dialog" : "Afficher le dialogue des propriétés des rangées", "Insert a new row before the current one" : "Insérer une nouvelle rangée avant celle-ci", "Insert a new row after the current one" : "Insérer une nouvelle rangée après celle-ci", "Delete the current row" : "Supprimer la rangée courante", "Show the Table Properties dialog" : "Afficher le dialogue des propriétés de table", "Insert a new column before the current one" : "Insérer une nouvelle rangée avant celle-ci", "Insert a new column after the current one" : "Insérer une nouvelle colonne après celle-ci", "Delete the current column" : "Supprimer cette colonne", "Create a link" : "Créer un lien" };
JavaScript
// 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", "Delete Cell" : "Delete Cell", "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...", "Insert paragraph before" : "Insert paragraph before", "Insert paragraph after" : "Insert paragraph after", // 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", "Insert a paragraph before the current node" : "Insert a paragraph before the current node", "Insert a paragraph after the current node" : "Insert a paragraph after the current node" };
JavaScript
// 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" : "Δημιουργία συνδέσμου" };
JavaScript
// 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.) 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" : "הסרה של node זה מהמסמך", "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" : "יצירת קישור" };
JavaScript
// 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.) ListType.I18N = { "Decimal" : "Decimal numbers", "Lower roman" : "Lower roman numbers", "Upper roman" : "Upper roman numbers", "Lower latin" : "Lower latin letters", "Upper latin" : "Upper latin letters", "Lower greek" : "Lower greek letters", "ListStyleTooltip" : "Choose list style type (for ordered lists)" };
JavaScript
// ListType Plugin for HTMLArea-3.0 // Sponsored by MEdTech Unit - Queen's University // Implementation by Mihai Bazon, http://dynarch.com/mishoo/ // // (c) dynarch.com 2003-2005. // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). // // $Id: list-type.js,v 1.2 2005/01/20 17:49:03 mishoo Exp $ function ListType(editor) { this.editor = editor; var cfg = editor.config; var toolbar = cfg.toolbar; var self = this; var i18n = ListType.I18N; var options = {}; options[i18n["Decimal"]] = "decimal"; options[i18n["Lower roman"]] = "lower-roman"; options[i18n["Upper roman"]] = "upper-roman"; options[i18n["Lower latin"]] = "lower-alpha"; options[i18n["Upper latin"]] = "upper-alpha"; if (!HTMLArea.is_ie) // IE doesn't support this property; even worse, it complains // with a gross error message when we tried to select it, // therefore let's hide it from the damn "browser". options[i18n["Lower greek"]] = "lower-greek"; var obj = { id : "ListType", tooltip : i18n["ListStyleTooltip"], options : options, action : function(editor) { self.onSelect(editor, this); }, refresh : function(editor) { self.updateValue(editor, this); }, context : "ol" }; cfg.registerDropdown(obj); var a, i, j, found = false; for (i = 0; !found && i < toolbar.length; ++i) { a = toolbar[i]; for (j = 0; j < a.length; ++j) { if (a[j] == "unorderedlist") { found = true; break; } } } if (found) a.splice(j, 0, "space", "ListType", "space"); }; ListType._pluginInfo = { name : "ListType", version : "1.0", developer : "Mihai Bazon", developer_url : "http://dynarch.com/mishoo/", c_owner : "dynarch.com", sponsor : "MEdTech Unit - Queen's University", sponsor_url : "http://www.queensu.ca/", license : "htmlArea" }; ListType.prototype.onSelect = function(editor, combo) { var tbobj = editor._toolbarObjects[combo.id].element; var parent = editor.getParentElement(); while (!/^ol$/i.test(parent.tagName)) { parent = parent.parentNode; } parent.style.listStyleType = tbobj.value; }; ListType.prototype.updateValue = function(editor, combo) { var tbobj = editor._toolbarObjects[combo.id].element; var parent = editor.getParentElement(); while (parent && !/^ol$/i.test(parent.tagName)) { parent = parent.parentNode; } if (!parent) { tbobj.selectedIndex = 0; return; } var type = parent.style.listStyleType; if (!type) { tbobj.selectedIndex = 0; } else { for (var i = tbobj.firstChild; i; i = i.nextSibling) { i.selected = (type.indexOf(i.value) != -1); } } };
JavaScript
// htmlArea v3.0 - Copyright (c) 2002, 2003 interactivetools.com, inc. // This copyright notice MUST stay intact for use (see license.txt). // // Portions (c) dynarch.com, 2003 // // A free WYSIWYG editor replacement for <textarea> fields. // For full source code and docs, visit http://www.htmlarea.com/ // // Version 3.0 developed by Mihai Bazon. // http://dynarch.com/mishoo // // $Id: popup.js,v 1.12 2005/01/24 18:29:48 itools Exp $ function getAbsolutePos(el) { var r = { x: el.offsetLeft, y: el.offsetTop }; if (el.offsetParent) { var tmp = getAbsolutePos(el.offsetParent); r.x += tmp.x; r.y += tmp.y; } return r; }; function comboSelectValue(c, val) { var ops = c.getElementsByTagName("option"); for (var i = ops.length; --i >= 0;) { var op = ops[i]; op.selected = (op.value == val); } c.value = val; }; function __dlg_onclose() { opener.Dialog._return(null); }; function __dlg_init(bottom) { var body = document.body; var body_height = 0; if (typeof bottom == "undefined") { var div = document.createElement("div"); body.appendChild(div); var pos = getAbsolutePos(div); body_height = pos.y; } else { var pos = getAbsolutePos(bottom); body_height = pos.y + bottom.offsetHeight; } window.dialogArguments = opener.Dialog._arguments; if (!document.all) { window.sizeToContent(); window.sizeToContent(); // for reasons beyond understanding, // only if we call it twice we get the // correct size. window.addEventListener("unload", __dlg_onclose, true); window.innerWidth = body.offsetWidth + 5; window.innerHeight = body_height + 2; // center on parent var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2; var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2; window.moveTo(x, y); } else { // window.dialogHeight = body.offsetHeight + 50 + "px"; // window.dialogWidth = body.offsetWidth + "px"; window.resizeTo(body.offsetWidth, body_height); var ch = body.clientHeight; var cw = body.clientWidth; window.resizeBy(body.offsetWidth - cw, body_height - ch); var W = body.offsetWidth; var H = 2 * body_height - ch; var x = (screen.availWidth - W) / 2; var y = (screen.availHeight - H) / 2; window.moveTo(x, y); } document.body.onkeypress = __dlg_close_on_esc; }; function __dlg_translate(i18n) { var types = ["input", "select", "legend", "span", "option", "td", "button", "div"]; for (var type = 0; type < types.length; ++type) { var spans = document.getElementsByTagName(types[type]); for (var i = spans.length; --i >= 0;) { var span = spans[i]; if (span.firstChild && span.firstChild.data) { var txt = i18n[span.firstChild.data]; if (txt) span.firstChild.data = txt; } if (span.title) { var txt = i18n[span.title]; if (txt) span.title = txt; } } } var txt = i18n[document.title]; if (txt) document.title = txt; }; // closes the dialog and passes the return info upper. function __dlg_close(val) { opener.Dialog._return(val); window.close(); }; function __dlg_close_on_esc(ev) { ev || (ev = window.event); if (ev.keyCode == 27) { window.close(); return false; } return true; };
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "\u4e0d\u80fd\u5220\u9664\u6b64\u8d44\u6599\u5939 ."; case "Delete this file ?":return "\u5220\u9664\u6b64\u6863\u6848 ?"; case "Uploading...":return "\u4e0a\u8f7d\u4e2d ..."; case "File already exists. Do you want to replace it?":return "\u6863\u6848\u5df2\u5b58\u5728\uff0c\u8981\u50a8\u5b58\u5e76\u66ff\u4ee3\u65e7\u6709\u6863\u6848\u5417 ?"; case "Files": return "\u6863\u6848 "; case "del": return "\u5220\u9664 "; case "Empty...": return "\u7a7a\u767d ..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u65b0\u589e\u8d44\u6599\u5939 "; txtLang[1].innerHTML = "\u5220\u9664\u8d44\u6599\u5939 "; txtLang[2].innerHTML = "\u4e0a\u8f7d\u6863\u6848 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u5168\u90e8\u6863\u6848 "; optLang[1].text = "\u591a\u5a92\u4f53\u6863\u6848 "; optLang[2].text = "\u5f71\u50cf "; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " \u786e\u8ba4 "; document.getElementById("btnUpload").value = "\u4e0a\u8f7d "; } function writeTitle() { document.write("<title>Asset manager</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "\u8d44\u6599\u5939\u5df1\u5220\u9664 ."; case "Folder does not exist.": return "\u8d44\u6599\u5939\u4e0d\u5b58\u5728 ."; case "Cannot delete Asset Base Folder.": return "\u4e0d\u80fd\u5220\u9664\u6b64\u8d44\u6599\u5939 ."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "\u5173\u95ed\u53ca\u66f4\u65b0 "; } function writeTitle() { document.write("<title>\u5220\u9664\u8d44\u6599\u5939 </title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "\u8d44\u6599\u5939\u5df2\u5b58\u5728 ."; case "Folder created.": return "\u8d44\u6599\u5939\u5df1\u5efa\u7acb ."; case "Invalid input.": return "\u8f93\u5165\u4e0d\u6b63\u786e ."; } } function loadText() { document.getElementById("txtLang").innerHTML = "\u65b0\u589e\u8d44\u6599\u5939\u540d\u79f0 "; document.getElementById("btnCloseAndRefresh").value = "\u5173\u95ed\u53ca\u66f4\u65b0 "; document.getElementById("btnCreate").value = "\u5efa\u7acb "; } function writeTitle() { document.write("<title>\u5efa\u7acb\u8d44\u6599\u5939 </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u786e\u5b9a\u5220\u9664\u6b64\u8d44\u6599\u5939 ?"; document.getElementById("btnClose").value = "\u5173\u95ed "; document.getElementById("btnDelete").value = "\u5220\u9664 "; } function writeTitle() { document.write("<title>Delete Folder</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "\u041D\u0435\u043B\u044C\u0437\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043A\u043E\u0440\u043D\u0435\u0432\u0443\u044E \u043F\u0430\u043F\u043A\u0443 \u0444\u0430\u0439\u043B\u043E\u0432."; case "Delete this file ?":return "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B?"; case "Uploading...":return "\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435..."; case "File already exists. Do you want to replace it?":return "\u0424\u0430\u0439\u043B \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0425\u043E\u0442\u0438\u0442\u0435 \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0435\u0433\u043E?" case "Files": return "\u0424\u0430\u0439\u043B\u044B"; case "del": return "\u0423\u0434\u0430\u043B"; case "Empty...": return "\u041F\u0443\u0441\u0442\u043E..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u041D\u043E\u0432&nbsp;\u043F\u0430\u043F\u043A\u0430"; txtLang[1].innerHTML = "\u0423\u0434\u0430\u043B&nbsp;\u043F\u0430\u043F\u043A\u0443"; txtLang[2].innerHTML = "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u0412\u0441\u0435 \u0444\u0430\u0439\u043B\u044B"; optLang[1].text = "\u041C\u0435\u0434\u0438\u0430"; optLang[2].text = "\u0418\u0437\u043E\u0431\u0440"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C"; } function writeTitle() { document.write("<title>\u0423\u043F\u0440\u0430\u0432. \u0444\u0430\u0439\u043B\u0430\u043C\u0438</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "\u041F\u0430\u043F\u043A\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u0430."; case "Folder does not exist.": return "\u0422\u0430\u043A\u0430\u044F \u043F\u0430\u043F\u043A\u0430 \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442."; case "Cannot delete Asset Base Folder.": return "\u041D\u0435\u043B\u044C\u0437\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043A\u043E\u0440\u043D\u0435\u0432\u0443\u044E \u043F\u0430\u043F\u043A\u0443 \u0444\u0430\u0439\u043B\u043E\u0432."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "\u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0438 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"; } function writeTitle() { document.write("<title>\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043F\u0430\u043F\u043A\u0438</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "\u0422\u0430\u043A\u0430\u044F \u043F\u0430\u043F\u043A\u0430 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442."; case "Folder created.": return "\u041F\u0430\u043F\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430."; case "Invalid input.":return "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434."; } } function loadText() { document.getElementById("txtLang").innerHTML = "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043D\u043E\u0432\u043E\u0439 \u043F\u0430\u043F\u043A\u0438"; document.getElementById("btnCloseAndRefresh").value = "\u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0438 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"; document.getElementById("btnCreate").value = "\u0441\u043E\u0437\u0434\u0430\u0442\u044C"; } function writeTitle() { document.write("<title>\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u0430\u043F\u043A\u0443</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0443 \u043F\u0430\u043F\u043A\u0443?"; document.getElementById("btnClose").value = "\u0437\u0430\u043A\u0440\u044B\u0442\u044C"; document.getElementById("btnDelete").value = "\u0443\u0434\u0430\u043B\u0438\u0442\u044C"; } function writeTitle() { document.write("<title>\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043F\u0430\u043F\u043A\u0438</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Der Hauptordner kann nicht gel\u00F6scht werden."; case "Delete this file ?":return "Soll diese Datei gel\u00F6scht werden ?"; case "Uploading...":return "Es wird hochgeladen..."; case "File already exists. Do you want to replace it?":return "Datei existiert bereits. Soll sie ersetzt werden?" case "Files": return "Dateien"; case "del": return "l&ouml;schen"; case "Empty...": return "Empty..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Neuer&nbsp;Ordner"; txtLang[1].innerHTML = "Ordner&nbsp;l&ouml;schen"; txtLang[2].innerHTML = "Datei hochladen"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "alle Dateien"; optLang[1].text = "Media"; optLang[2].text = "Bilder"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " OK "; document.getElementById("btnUpload").value = "hochladen"; } function writeTitle() { document.write("<title>Asset manager</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Ordner gel&ouml;scht."; case "Folder does not exist.": return "Ordner existiert nicht."; case "Cannot delete Asset Base Folder.": return "Der Basisordner kann nicht gel&ouml;scht werden."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "schlie\u00DFen & aktualisieren"; } function writeTitle() { document.write("<title>"+"Ordner l\u00F6schen"+"</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Der Ordner existiert bereits."; case "Folder created.": return "Ordner wurde angelegt."; case "Invalid input.":return "Falsche Eingabe"; } } function loadText() { document.getElementById("txtLang").innerHTML = "Neuer Ordnername"; document.getElementById("btnCloseAndRefresh").value = "schlie\u00DFen & aktualisieren"; document.getElementById("btnCreate").value = "erstellen"; } function writeTitle() { document.write("<title>Ordner anlegen</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Wollen Sie diesen Ordner wirklich l\u00F6schen?"; document.getElementById("btnClose").value = "schlie\u00DFen"; document.getElementById("btnDelete").value = "l\u00F6schen"; } function writeTitle() { document.write("<title>"+"Ordner l\u00F6schen"+"</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "No se puede borrar la carpeta raiz."; case "Delete this file ?":return "Borrar el archivo ?"; case "Uploading...":return "Subiendo el archivo..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Archivos"; case "del": return "Borrar"; case "Empty...": return "Vacio..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Nueva carpeta"; txtLang[1].innerHTML = "Borrar carpeta"; txtLang[2].innerHTML = "Subir archivo"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Todos"; optLang[1].text = "Multimedia"; optLang[2].text = "Imagenes"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " Aceptar "; document.getElementById("btnUpload").value = "Subir"; } function writeTitle() { document.write("<title>Administrador de archivos</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Carpeta borrada."; case "Folder does not exist.": return "La carpeta no existe."; case "Cannot delete Asset Base Folder.": return "No se puede borrar la carpeta."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "Cerrar y actualizar"; } function writeTitle() { document.write("<title>Borrar Carpeta</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "La carpeta ya existe."; case "Folder created.": return "Carpeta creada."; case "Invalid input.":return "Nombre no valido."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Nombre nueva carpeta"; document.getElementById("btnCloseAndRefresh").value = "Cerrar y actualizar"; document.getElementById("btnCreate").value = "Crear"; } function writeTitle() { document.write("<title>Crear Carpeta</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Est\u00E1 seguro que quiere borrar la carpeta?"; document.getElementById("btnClose").value = "Cerrar"; document.getElementById("btnDelete").value = "Borrar"; } function writeTitle() { document.write("<title>Borrar Carpeta</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Man kan ikke slette rodmappen."; case "Delete this file ?":return "Vil du slette filen ?"; case "Uploading...":return "Sender til server...";//or "Sender..." case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?"; case "Files": return "Filer" case "del": return "Slet" case "Empty...": return "Tom..." } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Opret&nbsp;mappe"; txtLang[1].innerHTML = "Slet&nbsp;mappe"; txtLang[2].innerHTML = "Send fil"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Alle filer"; optLang[1].text = "Medier"; optLang[2].text = "Billeder"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "Send"; } function writeTitle() { document.write("<title>Filmanager</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Mappen er slettet."; case "Folder does not exist.": return "Mappen eksisterer ikke."; case "Cannot delete Asset Base Folder.": return "Rodmappen kan ikke slettes."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "Luk og opdater"; } function writeTitle() { document.write("<title>Slet mappe</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Mappen eksisterer allerede."; case "Folder created.": return "Mappen er oprettet."; case "Invalid input.": return "Indtastningen indeholder ugyldige karakterer."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Nyt mappe navn"; document.getElementById("btnCloseAndRefresh").value = "Luk og opdater"; document.getElementById("btnCreate").value = "Opret"; } function writeTitle() { document.write("<title>Opret mappe</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Vil du slette denne mappe?"; document.getElementById("btnClose").value = "Annuler"; document.getElementById("btnDelete").value = "Slet"; } function writeTitle() { document.write("<title>Slet mappe</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Impossible d'effacer le r\u00E9pertoire racine."; case "Delete this file ?":return "Voulez vous effacer ce fichier ?"; case "Uploading...":return "publication en cours..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Fichiers"; case "del": return "Effacer"; case "Empty...": return "Empty..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Nouveau r\u00E9pertoire"; txtLang[1].innerHTML = "Effacer le r\u00E9pertoire"; txtLang[2].innerHTML = "Publier un fichier"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Tous les fichiers"; optLang[1].text = "Media"; optLang[2].text = "Images"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "publier"; } function writeTitle() { document.write("<title>Gestionnaire de fichiers</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "R&eacute;pertoire effac&eacute;."; case "Folder does not exist.": return "Le r&eacute;pertoire n'existe pas."; case "Cannot delete Asset Base Folder.": return "Impossible d'effacer le r&eacute;pertoire racine."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "fermer & actualiser"; } function writeTitle() { document.write("<title>Effacer les r\u00E9pertoires</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Le r&eacute;pertoire existe d&eacute;j&agrave;."; case "Folder created.": return "Le r&eacute;pertoire a &eacute;t&eacute; cr&eacute;&eacute;"; case "Invalid input.":return "La valeur entr\u00E9e ne convient pas.";//"La valeur entr&eacute;e ne convient pas." } } function loadText() { document.getElementById("txtLang").innerHTML = "Nom du nouveau r\u00E9pertoire"; document.getElementById("btnCloseAndRefresh").value = "fermer et actualiser"; document.getElementById("btnCreate").value = "Cr\u00E9er"; } function writeTitle() { document.write("<title>Cr\u00E9ation de r\u00E9pertoire</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Etes vous sur de vouloir effacer ce r\u00E9pertoire ?"; document.getElementById("btnClose").value = "fermer"; document.getElementById("btnDelete").value = "effacer"; } function writeTitle() { document.write("<title>Suppression de r\u00E9pertoires</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Cannot delete Asset Base Folder."; case "Delete this file ?":return "Delete this file ?"; case "Uploading...":return "Uploading..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?"; case "Files": return "Files"; case "del": return "del"; case "Empty...": return "Empty..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "New&nbsp;Folder"; txtLang[1].innerHTML = "Del&nbsp;Folder"; txtLang[2].innerHTML = "Upload File"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "All Files"; optLang[1].text = "Media"; optLang[2].text = "Images"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "upload"; } function writeTitle() { document.write("<title>Asset manager</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Folder deleted."; case "Folder does not exist.": return "Folder does not exist."; case "Cannot delete Asset Base Folder.": return "Cannot delete Asset Base Folder."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "close & refresh"; } function writeTitle() { document.write("<title>Delete Folder</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Folder already exists."; case "Folder created.": return "Folder created."; case "Invalid input.": return "Invalid input."; } } function loadText() { document.getElementById("txtLang").innerHTML = "New Folder Name"; document.getElementById("btnCloseAndRefresh").value = "close & refresh"; document.getElementById("btnCreate").value = "create"; } function writeTitle() { document.write("<title>Create Folder</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Are you sure you want to delete this folder?"; document.getElementById("btnClose").value = "close"; document.getElementById("btnDelete").value = "delete"; } function writeTitle() { document.write("<title>Delete Folder</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "P\u00E4\u00E4hakemistoa ei voi poistaa"; case "Delete this file ?":return "Haluatko poistaa tiedoston?"; case "Uploading...":return "Lataa..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Tiedostot"; case "del": return "Poista"; case "Empty...": return "Empty..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Uusi&nbsp;kansio"; txtLang[1].innerHTML = "Poista&nbsp;kansio"; txtLang[2].innerHTML = "Lataa tiedosto"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Kaikki tiedostot"; optLang[1].text = "Media"; optLang[2].text = "Kuvat"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " OK "; document.getElementById("btnUpload").value = "Lataa"; } function writeTitle() { document.write("<title>Tiedostomanageri</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Kansio poistettu.""; case "Folder does not exist.": return "Kansiota ei ole olemassa."; case "Cannot delete Asset Base Folder.": return "P\u00E4\u00E4hakemistoa ei voi poistaa"; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "Sulje & p\u00E4ivit\u00E4"; } function writeTitle() { document.write("<title>Poista kansio</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Kansio on jo olemassa."; case "Folder created.": return "Kansio luotu."; case "Invalid input.":return "Virheellinen sy\u00F6te."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Uuden kansion nimi"; document.getElementById("btnCloseAndRefresh").value = "Sulje & p\u00E4ivit\u00E4"; document.getElementById("btnCreate").value = "Luo"; } function writeTitle() { document.write("<title>Luo kansio</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Oletko varma, ett\u00E4 haluat poistaa t\u00E4m\u00E4n kansion?"; document.getElementById("btnClose").value = "Sulje"; document.getElementById("btnDelete").value = "Poista"; } function writeTitle() { document.write("<title>Poista kansio</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Kan inte ta bort rotmappen."; case "Delete this file ?":return "Ta bort den h\u00E4r filen?"; case "Uploading...":return "Laddar upp..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Filer"; case "del": return "Ta bort"; case "Empty...": return "Tom..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Ny mapp"; txtLang[1].innerHTML = "Ta bort mapp"; txtLang[2].innerHTML = "Ladda upp fil"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Alla filer"; optLang[1].text = "Media"; optLang[2].text = "Bilder"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " OK "; document.getElementById("btnUpload").value = "Ladda upp"; } function writeTitle() { document.write("<title>Filhanteraren</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Mappen har tagits bort."; case "Folder does not exist.": return "Mappen finns inte."; case "Cannot delete Asset Base Folder.": return "Kan inte ta bort huvudmappen."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "St\u00E4ng och uppdatera"; } function writeTitle() { document.write("<title>Ta bort mapp</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Mappen finns redan."; case "Folder created.": return "Mappen har skapats."; case "Invalid input.":return "Ej till\u00C3\u00A5tna tecken."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Nytt namn"; document.getElementById("btnCloseAndRefresh").value = "St\u00C3\u00A4ng och uppdatera"; document.getElementById("btnCreate").value = "Skapa"; } function writeTitle() { document.write("<title>Ny mapp</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u00C3r du s\u00E4ker p\u00E5 att du vill ta bort den h\u00E4r mappen?"; document.getElementById("btnClose").value = "St\u00E4ng"; document.getElementById("btnDelete").value = "Ta bort"; } function writeTitle() { document.write("<title>Ta bort mapp</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Kan ikke slette hovedmappen."; case "Delete this file ?":return "Vil du slette filen ?"; case "Uploading...":return "Laster opp til server..."; // or "Sender..." case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Filer"; case "del": return "Slett"; case "Empty...": return "Tomt..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Opprett&nbsp;mappe"; txtLang[1].innerHTML = "Slett&nbsp;mappe"; txtLang[2].innerHTML = "Send fil"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Alle Filer"; optLang[1].text = "Medier"; optLang[2].text = "Bilder"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "Send"; } function writeTitle() { document.write("<title>Filbehandler</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Mappen er slettet."; case "Folder does not exist.": return "Mappen eksisterer ikke."; case "Cannot delete Asset Base Folder.": return "Hovedmappen kan ikke slettes."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "Lukk og oppdater"; } function writeTitle() { document.write("<title>Slett mappe</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Mappen eksisterer allerede."; case "Folder created.": return "Mappen er opprettet."; case "Invalid input.":return "Ugyldig inntasting."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Ny mappe navn"; document.getElementById("btnCloseAndRefresh").value = "Lukk og oppdater"; document.getElementById("btnCreate").value = "Opprett"; } function writeTitle() { document.write("<title>Opprett mappe</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Vil du slette denne mappen?"; document.getElementById("btnClose").value = "Lukk"; document.getElementById("btnDelete").value = "Slett"; } function writeTitle() { document.write("<title>Slette mappe</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "Basismap kan niet worden verwijderd."; case "Delete this file ?":return "Dit bestand verwijderen ?"; case "Uploading...":return "Uploading..."; case "File already exists. Do you want to replace it?":return "File already exists. Do you want to replace it?" case "Files": return "Bestanden"; case "del": return "verwijderen"; case "Empty...": return "Empty..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Nieuwe&nbsp;Map"; txtLang[1].innerHTML = "Verwijder&nbsp;Map"; txtLang[2].innerHTML = "Bestand plaatsen"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "*"; optLang[1].text = "Media"; optLang[2].text = "Afbeelding"; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " ok "; document.getElementById("btnUpload").value = "upload"; } function writeTitle() { document.write("<title>Media Beheer</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "Map verwijderd."; case "Folder does not exist.": return "Map bestaat niet."; case "Cannot delete Asset Base Folder.": return "Basismap kan niet worden verwijderd."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "sluiten & vernieuwen"; } function writeTitle() { document.write("<title>Map Verwijderen</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "Map bestaat al."; case "Folder created.": return "Map aangemaakt."; case "Invalid input.":return "Ongeldige tekens."; } } function loadText() { document.getElementById("txtLang").innerHTML = "Nieuwe Map"; document.getElementById("btnCloseAndRefresh").value = "sluiten & vernieuwen"; document.getElementById("btnCreate").value = "maken"; } function writeTitle() { document.write("<title>Nieuwe Map</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "Weet u zeker dat u deze map wilt verwijderen ?"; document.getElementById("btnClose").value = "sluiten"; document.getElementById("btnDelete").value = "verwijderen"; } function writeTitle() { document.write("<title>Map Verwijderen</title>") }
JavaScript
function getText(s) { switch(s) { case "Cannot delete Asset Base Folder.":return "\u4e0d\u80fd\u522a\u9664\u6b64\u8cc7\u6599\u593e ."; case "Delete this file ?":return "\u522a\u9664\u6b64\u6a94\u6848 ?"; case "Uploading...":return "\u4e0a\u8f09\u4e2d ..."; case "File already exists. Do you want to replace it?":return "\u6a94\u6848\u5df2\u5b58\u5728\uff0c\u8981\u5132\u5b58\u4e26\u66ff\u4ee3\u820a\u6709\u6a94\u6848\u55ce ?"; case "Files": return "\u6a94\u6848 "; case "del": return "\u522a\u9664 "; case "Empty...": return "\u7a7a\u767d ..."; } } function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u65b0\u589e\u8cc7\u6599\u593e "; txtLang[1].innerHTML = "\u522a\u9664\u8cc7\u6599\u593e "; txtLang[2].innerHTML = "\u4e0a\u8f09\u6a94\u6848 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u5168\u90e8\u6a94\u6848 "; optLang[1].text = "\u591a\u5a92\u9ad4\u6a94\u6848 "; optLang[2].text = "\u5f71\u50cf "; optLang[3].text = "Flash"; document.getElementById("btnOk").value = " \u78ba\u8a8d "; document.getElementById("btnUpload").value = "\u4e0a\u8f09 "; } function writeTitle() { document.write("<title>Asset manager</title>") }
JavaScript
function getText(s) { switch(s) { case "Folder deleted.": return "\u8cc7\u6599\u593e\u5df1\u522a\u9664 ."; case "Folder does not exist.": return "\u8cc7\u6599\u593e\u4e0d\u5b58\u5728 ."; case "Cannot delete Asset Base Folder.": return "\u4e0d\u80fd\u522a\u9664\u6b64\u8cc7\u6599\u593e ."; } } function loadText() { document.getElementById("btnCloseAndRefresh").value = "\u95dc\u9589\u53ca\u66f4\u65b0 "; } function writeTitle() { document.write("<title>\u522a\u9664\u8cc7\u6599\u593e </title>") }
JavaScript
function getText(s) { switch(s) { case "Folder already exists.": return "\u8cc7\u6599\u593e\u5df2\u5b58\u5728 ."; case "Folder created.": return "\u8cc7\u6599\u593e\u5df1\u5efa\u7acb ."; case "Invalid input.": return "\u8f38\u5165\u4e0d\u6b63\u78ba ."; } } function loadText() { document.getElementById("txtLang").innerHTML = "\u65b0\u589e\u8cc7\u6599\u593e\u540d\u7a31 "; document.getElementById("btnCloseAndRefresh").value = "\u95dc\u9589\u53ca\u66f4\u65b0 "; document.getElementById("btnCreate").value = "\u5efa\u7acb "; } function writeTitle() { document.write("<title>\u5efa\u7acb\u8cc7\u6599\u593e </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u78ba\u5b9a\u522a\u9664\u6b64\u8cc7\u6599\u593e ?"; document.getElementById("btnClose").value = "\u95dc\u9589 "; document.getElementById("btnDelete").value = "\u522a\u9664 "; } function writeTitle() { document.write("<title>Delete Folder</title>") }
JavaScript
var sStyleWeight1; var sStyleWeight2; var sStyleWeight3; var sStyleWeight4; function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u5b57\u4f53 "; txtLang[1].innerHTML = "\u6837\u5f0f "; txtLang[2].innerHTML = "\u5927\u5c0f "; txtLang[3].innerHTML = "\u524d\u666f\u8272\u5f69 "; txtLang[4].innerHTML = "\u80cc\u666f\u8272\u5f69 "; txtLang[5].innerHTML = "\u6548\u679c "; txtLang[6].innerHTML = "\u6587\u5b57\u88c5\u9970 "; txtLang[7].innerHTML = "\u5927\u5c0f\u5199 "; txtLang[8].innerHTML = "\u8ff7\u4f60\u5c0f\u5199 "; txtLang[9].innerHTML = "\u5782\u76f4 "; txtLang[10].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[11].innerHTML = "\u5e95\u7ebf "; txtLang[12].innerHTML = "\u4e0a\u52a0\u7ebf "; txtLang[13].innerHTML = "\u5220\u9664\u7ebf "; txtLang[14].innerHTML = "\u6ca1\u6709 "; txtLang[15].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[16].innerHTML = "\u6807\u9898\u5927\u5199 "; txtLang[17].innerHTML = "\u5168\u90e8\u5927\u5199 "; txtLang[18].innerHTML = "\u5168\u90e8\u5c0f\u5199 "; txtLang[19].innerHTML = "\u6ca1\u6709 "; txtLang[20].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[21].innerHTML = "\u5927\u5199 "; txtLang[22].innerHTML = "\u666e\u901a "; txtLang[23].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[24].innerHTML = "\u4e0a\u6807 "; txtLang[25].innerHTML = "\u4e0b\u6807 "; txtLang[26].innerHTML = "\u76f8\u5bf9 "; txtLang[27].innerHTML = "\u57fa\u51c6\u7ebf "; txtLang[28].innerHTML = "\u5b57\u7b26\u95f4\u8ddd "; txtLang[29].innerHTML = "\u9884\u89c8 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u6807\u51c6 " optLang[1].text = "\u659c\u4f53 " optLang[2].text = "\u7c97\u4f53 " optLang[3].text = "\u7c97\u4f53\u52a0\u659c\u4f53 " optLang[0].value = "Regular" optLang[1].value = "Italic" optLang[2].value = "Bold" optLang[3].value = "Bold Italic" sStyleWeight1 = "Regular" sStyleWeight2 = "Italic" sStyleWeight3 = "Bold" sStyleWeight4 = "Bold Italic" optLang[4].text = "\u4e0a " optLang[5].text = "\u4e2d " optLang[6].text = "\u4e0b " optLang[7].text = "\u6587\u5b57\u4e0a\u65b9 " optLang[8].text = "\u6587\u5b57\u4e0b\u65b9 " document.getElementById("btnPick1").value = "\u8272\u5f69 "; document.getElementById("btnPick2").value = "\u8272\u5f69 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "Custom Colors": return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...": return "\u66f4\u591a\u8272\u5f69 ..."; default: return ""; } } function writeTitle() { document.write("<title>\u6587\u5b57\u683c\u5f0f </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u9884\u89c8 "; txtLang[1].innerHTML = "\u6587\u5b57\u6837\u5f0f "; txtLang[2].innerHTML = "\u7c7b\u522b\u540d\u79f0 "; txtLang[3].innerHTML = "\u5e94\u7528\u81f3 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u5df1\u9009\u53d6\u7684\u6587\u5b57 " optLang[1].text = "\u73b0\u5728\u7684\u6807\u97f1 " document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "You're selecting BODY element.": return "\u60a8\u5df2\u9009\u62e9\u4e86 BODY\u5143\u7d20 ."; case "Please select a text.": return "\u8bf7\u5148\u9009\u62e9\u6587\u5b57 ."; default:return ""; } } function writeTitle() { document.write("<title>\u81ea\u8ba2\u6837\u5f0f </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u6863\u6848 "; txtLang[1].innerHTML = "\u5bbd\u5ea6 "; txtLang[2].innerHTML = "\u9ad8\u5ea6 "; txtLang[3].innerHTML = "\u81ea\u52a8\u64ad\u653e "; txtLang[4].innerHTML = "\u663e\u793a\u63a7\u5236\u53f0 "; txtLang[5].innerHTML = "\u663e\u793a\u72b6\u6001\u5217 "; txtLang[6].innerHTML = "\u663e\u793a\u64ad\u653e\u53f0 "; txtLang[7].innerHTML = "\u81ea\u52a8\u56de\u5e26 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u591a\u5a92\u4f53 </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u4ece MS Word\u8d34\u4e0a\u5185\u5bb9 (CTRL-V) "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u4ece MS Word\u8d34\u4e0a\u5185\u5bb9 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u8fde\u7ed3 "; txtLang[1].innerHTML = "\u6807\u97f1 "; txtLang[2].innerHTML = "\u76ee\u6807 "; txtLang[3].innerHTML = "\u8fde\u7ed3\u6807\u97f1 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "Self" optLang[1].text = "Blank" optLang[2].text = "Parent" document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u8d85\u7ea7\u94fe\u63a5 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u7c7b\u522b\u540d\u79f0 "; txtLang[1].innerHTML = "\u9884\u89c8 "; txtLang[2].innerHTML = "\u6587\u5b57\u6837\u5f0f "; txtLang[3].innerHTML = "\u5e94\u7528\u81f3 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u5df1\u9009\u53d6\u7684\u6587\u5b57 " optLang[1].text = "\u73b0\u5728\u7684\u6807\u97f1 " document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "You're selecting BODY element.": return "\u60a8\u5df2\u9009\u62e9\u4e86 BODY\u5143\u7d20 ."; case "Please select a text.": return "\u8bf7\u5148\u9009\u62e9\u6587\u5b57 ."; default:return ""; } } function writeTitle() { document.write("<title>\u81ea\u8ba2\u6837\u5f0f </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "HTML\u6e90\u7801 "; document.getElementById("btnClose").value = "\u5173\u95ed "; } function writeTitle() { document.write("<title>\u7279\u6b8a\u5b57\u7b26 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u5bfb\u627e "; txtLang[1].innerHTML = "\u53d6\u4ee3 "; txtLang[2].innerHTML = "\u5927\u5c0f\u5199\u987b\u76f8\u7b26 "; txtLang[3].innerHTML = "\u5168\u5b57\u62fc\u5199\u987b\u76f8\u7b26 "; document.getElementById("btnSearch").value = "\u5bfb\u627e\u4e0b\u4e00\u4e2a ";; document.getElementById("btnReplace").value = "\u53d6\u4ee3 "; document.getElementById("btnReplaceAll").value = "\u4e9b\u90e8\u53d6\u4ee3 "; document.getElementById("btnClose").value = "\u5173\u95ed "; } function writeTitle() { document.write("<title>\u5bfb\u627e\u548c\u53d6\u4ee3 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u79cd\u7c7b "; txtLang[1].innerHTML = "\u540d\u79f0 "; txtLang[2].innerHTML = "\u503c "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u6309\u94ae " optLang[1].text = "\u786e\u8ba4\u50a8\u5b58 " optLang[2].text = "\u91cd\u8bbe " document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u6309\u94ae </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u989c\u8272 "; txtLang[1].innerHTML = "\u9634\u5f71 "; txtLang[2].innerHTML = "\u8fb9\u754c "; txtLang[3].innerHTML = "\u5de6 "; txtLang[4].innerHTML = "\u53f3 "; txtLang[5].innerHTML = "\u4e0a "; txtLang[6].innerHTML = "\u4e0b "; txtLang[7].innerHTML = "\u50a8\u5b58\u683c\u5185\u8ddd "; txtLang[8].innerHTML = "\u5de6 "; txtLang[9].innerHTML = "\u53f3 "; txtLang[10].innerHTML = "\u4e0a "; txtLang[11].innerHTML = "\u4e0b "; txtLang[12].innerHTML = "\u91cf\u5ea6 "; txtLang[13].innerHTML = "\u9614\u5ea6 "; txtLang[14].innerHTML = "\u9ad8\u5ea6 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u50cf\u7d20 "; optLang[1].text = "\u767e\u5206\u6bd4 "; optLang[2].text = "\u50cf\u7d20 "; optLang[3].text = "\u767e\u5206\u6bd4 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "No Border": return "\u65e0\u8fb9\u6846 "; case "Outside Border": return "\u5916\u8fb9\u6846\u7ebf "; case "Left Border": return "\u5de6\u8fb9\u6846\u7ebf "; case "Top Border": return "\u4e0a\u8fb9\u6846\u7ebf "; case "Right Border": return "\u53f3\u8fb9\u6846\u7ebf "; case "Bottom Border": return "\u4e0b\u8fb9\u6846\u7ebf "; case "Pick": return "\u9009\u62e9 "; case "Custom Colors": return "\u81ea\u8ba2\u989c\u8272 "; case "More Colors...": return "\u66f4\u591a\u989c\u8272 ......"; default: return ""; } } function writeTitle() { document.write("<title>\u50a8\u5b58\u683c\u683c\u5f0f </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); //txtLang[0].innerHTML = "\u5927\u5c0f "; txtLang[0].innerHTML = "\u81ea\u52a8\u8c03\u6574 "; txtLang[1].innerHTML = "\u5c5e\u6027 "; txtLang[2].innerHTML = "CSS\u6837\u5f0f "; //txtLang[4].innerHTML = "\u63d2\u5165\u5217 "; //txtLang[5].innerHTML = "\u63d2\u5165\u680f "; //txtLang[6].innerHTML = "\u8de8 /\u5206\u62c6 \u5217 "; //txtLang[7].innerHTML = "\u8de8 /\u5206\u62c6 \u680f "; //txtLang[8].innerHTML = "\u5220\u9664\u5217 "; //txtLang[9].innerHTML = "\u5220\u9664\u680f "; txtLang[3].innerHTML = "\u5bbd\u5ea6 "; txtLang[4].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u5185\u5bb9\u5927\u5c0f "; txtLang[5].innerHTML = "\u56fa\u5b9a\u8868\u683c\u5bbd\u5ea6 "; txtLang[6].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u7a97\u53e3\u5927\u5c0f "; txtLang[7].innerHTML = "\u9ad8\u5ea6 "; txtLang[8].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u5185\u5bb9\u5927\u5c0f "; txtLang[9].innerHTML = "\u56fa\u5b9a\u8868\u683c\u9ad8\u5ea6 "; txtLang[10].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u7a97\u53e3\u5927\u5c0f "; txtLang[11].innerHTML = "\u5bf9\u9f50 "; txtLang[12].innerHTML = "\u8fb9\u754c "; txtLang[13].innerHTML = "\u5de6 "; txtLang[14].innerHTML = "\u53f3 "; txtLang[15].innerHTML = "\u4e0a "; txtLang[16].innerHTML = "\u4e0b "; txtLang[17].innerHTML = "\u8fb9\u6846 "; txtLang[18].innerHTML = "\u6298\u8fed "; txtLang[19].innerHTML = "\u80cc\u666f "; txtLang[20].innerHTML = "\u50a8\u5b58\u683c\u95f4\u8ddd "; txtLang[21].innerHTML = "\u50a8\u5b58\u683c\u5185\u8ddd "; txtLang[22].innerHTML = "CSS\u6587\u5b57\u6837\u5f0f "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u50cf\u7d20 " optLang[1].text = "\u767e\u4efd\u6bd4 " optLang[2].text = "\u50cf\u7d20 " optLang[3].text = "\u767e\u4efd\u6bd4 " optLang[4].text = "\u5de6 " optLang[5].text = "\u4e2d " optLang[6].text = "\u53f3 " optLang[7].text = "\u65e0\u8fb9\u6846 " optLang[8].text = "\u662f " optLang[9].text = "\u5426 " document.getElementById("btnPick").value="\u8272\u5f69 "; document.getElementById("btnImage").value="\u5f71\u50cf "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "Cannot delete column.": return "\u4e0d\u80fd\u5220\u9664\u680f\uff0c\u8bf7\u5148\u79fb\u9664\u8de8\u680f\u3002 "; case "Cannot delete row.": return "\u4e0d\u80fd\u5220\u9664\u5217\uff0c\u8bf7\u5148\u79fb\u9664\u8de8\u5217\u3002 "; case "Custom Colors": return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...": return "\u66f4\u591a\u8272\u5f69 ..."; default:return ""; } } function writeTitle() { document.write("<title>\u8868\u683c\u5c5e\u6027 </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u540d\u79f0 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u6863\u6848\u5b57\u6bb5 </title>") }
JavaScript
function loadText() { document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>") }
JavaScript
function loadText() { document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u957f\u5ea6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u540d\u79f0 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u5b9a "; } function writeTitle() { document.write("<title>\u4e66\u5fcf </title>") }
JavaScript
function loadText() { document.getElementById("txtLang").innerHTML = "\u989c\u8272 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "No Border": return "\u65e0\u8fb9\u6846 "; case "Outside Border": return "\u5916\u8fb9\u6846\u7ebf "; case "Left Border": return "\u5de6\u8fb9\u6846\u7ebf "; case "Top Border": return "\u4e0a\u8fb9\u6846\u7ebf "; case "Right Border": return "\u53f3\u8fb9\u6846\u7ebf "; case "Bottom Border": return "\u4e0b\u8fb9\u6846\u7ebf "; case "Pick": return "\u9009\u62e9 "; case "Custom Colors": return "\u81ea\u8ba2\u989c\u8272 "; case "More Colors...": return "\u66f4\u591a\u989c\u8272 ..."; default: return ""; } } function writeTitle() { document.write("<title>\u6846\u67b6 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u7f16\u53f7 "; txtLang[1].innerHTML = "\u9879\u76ee\u7b26\u53f7 "; txtLang[2].innerHTML = "\u8d77\u59cb\u503c "; txtLang[3].innerHTML = "\u5de6\u8fb9\u8fb9\u754c "; txtLang[4].innerHTML = "\u5f71\u50cf\u4f5c\u7b26\u53f7\u7684\u8fde\u7ed3 " txtLang[5].innerHTML = "\u5de6\u8fb9\u8fb9\u754c "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "Please select a list.":return "\u8bf7\u5148\u9009\u62e9\u6b3e\u5f0f\u3002 "; default:return ""; } } function writeTitle() { document.write("<title>\u9879\u76ee\u7b26\u53f7\u53ca\u7f16\u7801\u683c\u5f0f </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u81ea\u52a8\u8c03\u6574 "; txtLang[1].innerHTML = "\u5c5e\u6027 "; txtLang[2].innerHTML = "CSS\u6837\u5f0f "; txtLang[3].innerHTML = "\u5bbd\u5ea6 "; txtLang[4].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u5185\u5bb9\u5927\u5c0f "; txtLang[5].innerHTML = "\u56fa\u5b9a\u50a8\u5b58\u683c\u5bbd\u5ea6 "; txtLang[6].innerHTML = "\u9ad8\u5ea6 "; txtLang[7].innerHTML = "\u81ea\u52a8\u8c03\u6574\u6210\u5185\u5bb9\u5927\u5c0f "; txtLang[8].innerHTML = "\u56fa\u5b9a\u50a8\u5b58\u683c\u9ad8\u5ea6 "; txtLang[9].innerHTML = "\u6587\u5b57\u5bf9\u9f50 "; txtLang[10].innerHTML = "\u5185\u8ddd "; txtLang[11].innerHTML = "\u5de6 "; txtLang[12].innerHTML = "\u53f3 "; txtLang[13].innerHTML = "\u4e0a "; txtLang[14].innerHTML = "\u4e0b "; txtLang[15].innerHTML = "\u767d\u683c "; txtLang[16].innerHTML = "\u80cc\u666f "; txtLang[17].innerHTML = "\u9884\u89c8 "; txtLang[18].innerHTML = "CSS\u6837\u5f0f "; txtLang[19].innerHTML = "\u5e94\u7528\u81f3 "; document.getElementById("btnPick").value = "\u8272\u5f69 "; document.getElementById("btnImage").value = "\u5f71\u50cf "; document.getElementById("btnText").value = " \u6587\u5b57\u683c\u5f0f "; document.getElementById("btnBorder").value = " \u8fb9\u6846\u6837\u8272 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u50cf\u7d20 " optLang[1].text = "\u767e\u4efd\u6bd4 " optLang[2].text = "\u50cf\u7d20 " optLang[3].text = "\u767e\u4efd\u6bd4 " optLang[4].text = "\u65e0\u8bbe\u5b9a " optLang[5].text = "\u5411\u4e0a\u5bf9\u9f50 " optLang[6].text = "\u7f6e\u4e2d\u5bf9\u9f50 " optLang[7].text = "\u5411\u4e0b\u5bf9\u9f50 " optLang[8].text = "\u57fa\u51c6\u7ebf " optLang[9].text = "sub" optLang[10].text = "super" optLang[11].text = "text-top" optLang[12].text = "text-bottom" optLang[13].text = "not set" optLang[14].text = "left" optLang[15].text = "center" optLang[16].text = "right" optLang[17].text = "justify" optLang[18].text = "Not Set" optLang[19].text = "No Wrap" optLang[20].text = "pre" optLang[21].text = "Normal" optLang[22].text = "Current Cell" optLang[23].text = "Current Row" optLang[24].text = "Current Column" } function getText(s) { switch(s) { case "Custom Colors": return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...": return "\u66f4\u591a\u8272\u5f69 ..."; default: return ""; } } function writeTitle() { document.write("<title>Cell Properties</title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u540d\u79f0 "; txtLang[1].innerHTML = "\u503c "; txtLang[2].innerHTML = "\u9884\u8bbe "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u5df2\u6838\u53d6 " optLang[1].text = "\u4e0d\u6838\u53d6 " document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u590d\u9009\u6846 </title>") }
JavaScript
/*** Translation ***/ LanguageDirectory="schi"; function getText(s) { switch(s) { case "Save":return "\u50a8\u5b58 "; case "Preview":return "\u9884\u89c8 "; case "Full Screen":return "\u5168\u5c4f\u5e55 "; case "Search":return "\u5bfb\u627e "; case "Check Spelling":return "\u62fc\u5b57\u68c0\u67e5 "; case "Text Formatting":return "\u5b57\u578b\u683c\u5f0f "; case "List Formatting":return "\u9879\u76ee\u683c\u5f0f "; case "Paragraph Formatting":return "\u6bb5\u843d\u683c\u5f0f "; case "Styles":return "\u6837\u5f0f "; case "Custom CSS":return "\u81ea\u8ba2 CSS"; case "Styles & Formatting":return "\u6837\u5f0f\u53ca\u683c\u5f0f "; case "Paragraph":return "\u6bb5\u843d\u6807\u9898 "; case "Font Name":return "\u5b57\u4f53 "; case "Font Size":return "\u5b57\u4f53\u5927\u5c0f "; case "Cut":return "\u526a\u4e0b "; case "Copy":return "\u590d\u5236 "; case "Paste":return "\u8d34\u4e0a "; case "Undo":return "\u590d\u539f "; case "Redo":return "\u53d6\u6d88\u590d\u539f "; case "Bold":return "\u7c97\u4f53 "; case "Italic":return "\u659c\u4f53 "; case "Underline":return "\u5e95\u7ebf "; case "Strikethrough":return "\u5220\u9664\u7ebf "; case "Superscript":return "\u4e0a\u6807 "; case "Subscript":return "\u4e0b\u6807 "; case "Justify Left":return "\u9760\u5de6\u5bf9\u9f50 "; case "Justify Center":return "\u7f6e\u4e2d\u5bf9\u9f50 "; case "Justify Right":return "\u9760\u53f3\u5bf9\u9f50 "; case "Justify Full":return "\u5de6\u53f3\u5bf9\u9f50 "; case "Numbering":return "\u7f16\u53f7 "; case "Bullets":return "\u9879\u76ee\u7b26\u53f7 "; case "Indent":return "\u589e\u52a0\u7f29\u6392 "; case "Outdent":return "\u51cf\u5c11\u7f29\u6392 "; case "Left To Right":return "\u7531\u5de6\u81f3\u53f3\u586b\u5199 "; case "Right To Left":return "\u7531\u53f3\u81f3\u5de6\u586b\u5199 "; case "Foreground Color":return "\u524d\u666f\u8272\u5f69 "; case "Background Color":return "\u80cc\u666f\u8272\u886b "; case "Hyperlink":return "\u8d85\u7ea7\u94fe\u63a5 "; case "Bookmark":return "\u4e66\u97f1 "; case "Special Characters":return "\u7279\u6b8a\u5b57\u7b26 "; case "Image":return "\u5f71\u50cf "; case "Flash":return "Flash"; case "Media":return "\u591a\u5a92\u4f53\u6863\u6848 "; case "Content Block":return "Content Block"; case "Internal Link":return "\u5185\u90e8\u8fde\u7ed3 "; case "Object":return "\u5bf9\u8c61 "; case "Insert Table":return "\u63d2\u5165\u8868\u683c "; case "Table Size":return "\u8868\u683c\u5927\u5c0f "; case "Edit Table":return "\u4fee\u6539\u8868\u683c "; case "Edit Cell":return "\u8868\u683c\u50a8\u5b58\u683c "; case "Table":return "\u8868\u683c "; case "Border & Shading":return "\u8fb9\u6846\u548c\u9634\u5f71 "; case "Show/Hide Guidelines":return "\u663e\u793a /\u9690\u85cf\u7f51\u683c\u7ebf "; case "Absolute":return "\u7edd\u5bf9\u503c "; case "Paste from Word":return "\u8d34\u4e0a MS Word\u5185\u5bb9 "; case "Line":return "\u7ebf\u6761 "; case "Form Editor":return "\u7a97\u4f53\u7f16\u8f91 "; case "Form":return "\u7a97\u4f53 "; case "Text Field":return "\u6587\u5b57\u5b57\u6bb5 "; case "List":return "\u6e05\u5355 "; case "Checkbox":return "\u590d\u9009\u6846 "; case "Radio Button":return "\u9009\u9879\u6309\u94ae "; case "Hidden Field":return "\u9690\u85cf\u5b57\u6bb5 "; case "File Field":return "\u6863\u6848\u5b57\u6bb5 "; case "Button":return "\u6309\u94ae "; case "Clean":return "\u6e05\u9664 "; case "View/Edit Source":return "\u89c2\u770b /\u4fee\u6539 HTML\u6e90\u7801 "; case "Tag Selector":return "\u6807\u97f1\u9009\u7528 "; case "Clear All":return "\u5168\u90e8\u6e05\u9664 "; case "Tags":return "\u6807\u97f1 "; case "Heading 1":return "\u6807\u9898 1"; case "Heading 2":return "\u6807\u9898 2"; case "Heading 3":return "\u6807\u9898 3"; case "Heading 4":return "\u6807\u9898 4"; case "Heading 5":return "\u6807\u9898 5"; case "Heading 6":return "\u6807\u9898 6"; case "Preformatted":return "\u9884\u5148\u683c\u5f0f\u5316 "; case "Normal (P)":return "\u6bb5\u843d (P)"; case "Normal (DIV)":return "\u6bb5\u843d (DIV)"; case "Size 1":return "\u5b57\u578b 1"; case "Size 2":return "\u5b57\u578b 2"; case "Size 3":return "\u5b57\u578b 3"; case "Size 4":return "\u5b57\u578b 4"; case "Size 5":return "\u5b57\u578b 5"; case "Size 6":return "\u5b57\u578b 6"; case "Size 7":return "\u5b57\u578b 7"; case "Are you sure you wish to delete all contents?": return "\u60a8\u786e\u5b9a\u8981\u5220\u9664\u6240\u6709\u5185\u5bb9\u5417\uff1f "; case "Remove Tag":return "\u79fb\u9664\u6807\u97f1 "; case "Custom Colors":return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...":return "\u66f4\u591a\u8272\u5f69 ..."; case "Box Formatting":return "\u50a8\u5b58\u683c\u683c\u5f0f\u5316 "; case "Advanced Table Insert":return "\u63d2\u5165\u8868\u683c\u9009\u5355 "; case "Edit Table/Cell":return "\u4fee\u6539\u8868\u683c /\u50a8\u5b58\u683c "; case "Print":return "\u6253\u5370 "; default:return ""; } }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u7f51\u9875\u8c03\u8272\u76d8 "; txtLang[1].innerHTML = "\u9009\u6709\u540d\u79f0\u7684\u989c\u8272 "; txtLang[2].innerHTML = "\u5b89\u5168\u7684\u7f51\u9875\u989c\u8272 "; txtLang[3].innerHTML = "\u65b0\u7684\u989c\u8272 "; txtLang[4].innerHTML = "\u73b0\u5728\u7684\u989c\u8272 "; txtLang[5].innerHTML = "\u81ea\u8ba2\u989c\u8272 "; document.getElementById("btnAddToCustom").value = "\u65b0\u589e\u5230\u81ea\u8ba2\u7684\u989c\u8272 "; document.getElementById("btnCancel").value = " \u53d6\u6d88 "; document.getElementById("btnRemove").value = " \u989c\u8272\u79fb\u9664 "; document.getElementById("btnApply").value = " \u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u8272\u5f69 </title>") }
JavaScript
var sStyleWeight1; var sStyleWeight2; var sStyleWeight3; var sStyleWeight4; function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u5b57\u4f53 "; txtLang[1].innerHTML = "\u6837\u5f0f "; txtLang[2].innerHTML = "\u5927\u5c0f "; txtLang[3].innerHTML = "\u524d\u666f\u8272\u5f69 "; txtLang[4].innerHTML = "\u80cc\u666f\u8272\u5f69 "; txtLang[5].innerHTML = "\u6548\u679c "; txtLang[6].innerHTML = "\u6587\u5b57\u88c5\u9970 "; txtLang[7].innerHTML = "\u5927\u5c0f\u5199 "; txtLang[8].innerHTML = "\u8ff7\u4f60\u5c0f\u5199 "; txtLang[9].innerHTML = "\u5782\u76f4 "; txtLang[10].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[11].innerHTML = "\u5e95\u7ebf "; txtLang[12].innerHTML = "\u4e0a\u52a0\u7ebf "; txtLang[13].innerHTML = "\u5220\u9664\u7ebf "; txtLang[14].innerHTML = "\u6ca1\u6709 "; txtLang[15].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[16].innerHTML = "\u6807\u9898\u5927\u5199 "; txtLang[17].innerHTML = "\u5168\u90e8\u5927\u5199 "; txtLang[18].innerHTML = "\u5168\u90e8\u5c0f\u5199 "; txtLang[19].innerHTML = "\u6ca1\u6709 "; txtLang[20].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[21].innerHTML = "\u5927\u5199 "; txtLang[22].innerHTML = "\u666e\u901a "; txtLang[23].innerHTML = "\u6ca1\u6709\u8bbe\u5b9a "; txtLang[24].innerHTML = "\u4e0a\u6807 "; txtLang[25].innerHTML = "\u4e0b\u6807 "; txtLang[26].innerHTML = "\u76f8\u5bf9 "; txtLang[27].innerHTML = "\u57fa\u51c6\u7ebf "; txtLang[28].innerHTML = "\u5b57\u7b26\u95f4\u8ddd "; txtLang[29].innerHTML = "\u9884\u89c8 "; txtLang[30].innerHTML = "\u5e94\u7528\u81f3 "; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u6807\u51c6 " optLang[1].text = "\u659c\u4f53 " optLang[2].text = "\u7c97\u4f53 " optLang[3].text = "\u7c97\u4f53\u52a0\u659c\u4f53 " optLang[0].value = "Regular" optLang[1].value = "Italic" optLang[2].value = "Bold" optLang[3].value = "Bold Italic" sStyleWeight1 = "Regular" sStyleWeight2 = "Italic" sStyleWeight3 = "Bold" sStyleWeight4 = "Bold Italic" optLang[4].text = "\u4e0a " optLang[5].text = "\u4e2d " optLang[6].text = "\u4e0b " optLang[7].text = "\u6587\u5b57\u4e0a\u65b9 " optLang[8].text = "\u6587\u5b57\u4e0b\u65b9 " optLang[9].text = "\u5df1\u9009\u6587\u5b57 " optLang[10].text = "\u5df1\u9009\u6807\u97f1 " document.getElementById("btnPick1").value = "\u8272\u5f69 "; document.getElementById("btnPick2").value = "\u8272\u5f69 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "Custom Colors": return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...": return "\u66f4\u591a\u8272\u5f69 ..."; default: return ""; } } function writeTitle() { document.write("<title>\u6587\u5b57\u683c\u5f0f </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u6863\u6848 "; txtLang[1].innerHTML = "\u80cc\u666f\u8272\u5f69 "; txtLang[2].innerHTML = "\u5bbd\u5ea6 "; txtLang[3].innerHTML = "\u9ad8\u5ea6 "; txtLang[4].innerHTML = "\u54c1\u8d28 "; txtLang[5].innerHTML = "\u5bf9\u9f50 "; txtLang[6].innerHTML = "\u91cd\u590d\u64ad\u653e "; txtLang[7].innerHTML = "\u662f "; txtLang[8].innerHTML = "\u5426 "; txtLang[9].innerHTML = "Class ID"; txtLang[10].innerHTML = "CodeBase"; txtLang[11].innerHTML = "PluginsPage"; var optLang = document.getElementsByName("optLang"); optLang[0].text = "\u4f4e " optLang[1].text = "\u9ad8 " optLang[2].text = "<\u6ca1\u6709\u8bbe\u5b9a >" optLang[3].text = "\u5de6 " optLang[4].text = "\u53f3 " optLang[5].text = "\u4e0a " optLang[6].text = "\u4e0b " document.getElementById("btnPick").value = "\u9009\u62e9 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function getText(s) { switch(s) { case "Custom Colors": return "\u81ea\u8ba2\u8272\u5f69 "; case "More Colors...": return "\u66f4\u591a\u8272\u5f69 ..."; default: return ""; } } function writeTitle() { document.write("<title>\u63d2\u5165 Flash</title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u540d\u79f0 "; txtLang[1].innerHTML = "\u503c "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u9690\u85cf\u5b57\u6bb5 </title>") }
JavaScript
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "\u540d\u79f0 "; txtLang[1].innerHTML = "\u52a8\u4f5c "; txtLang[2].innerHTML = "\u65b9\u6cd5 "; document.getElementById("btnCancel").value = "\u53d6\u6d88 "; document.getElementById("btnInsert").value = "\u63d2\u5165 "; document.getElementById("btnApply").value = "\u5e94\u7528 "; document.getElementById("btnOk").value = " \u786e\u8ba4 "; } function writeTitle() { document.write("<title>\u7a97\u4f53 </title>") }
JavaScript