From: garvinhicking Date: Wed, 9 Nov 2005 13:26:15 +0000 (+0000) Subject: Fix htmalrea borking when using UTF-8 charset on a ISO-8859-x language X-Git-Tag: 0.9.1~35 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=375104c78c9da4038ff8a8395d9e8a4976e26093;p=s9y.git Fix htmalrea borking when using UTF-8 charset on a ISO-8859-x language --- diff --git a/docs/NEWS b/docs/NEWS index 0018fa3..96b3e7c 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 0.9.1 () ------------------------------------------------------------------------ + * Fix htmlarea when using UTF-8 charset on a ISO-8859-1 language + (garvinhicking) + * Statistics plugin now contains entries per author. Patch #1347639 by SvOlli diff --git a/htmlarea/lang/cs-iso.js b/htmlarea/lang/cs-iso.js new file mode 100644 index 0000000..e74c9a2 --- /dev/null +++ b/htmlarea/lang/cs-iso.js @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "cz", ENCODING: ISO-8859-2 +// Author: Jiri Löw, + +// 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: "cz", + + tooltips: { + bold: "Tuènì", + italic: "Kurzíva", + underline: "Podtr¾ení", + strikethrough: "Pøe¹krtnutí", + subscript: "Dolní index", + superscript: "Horní index", + justifyleft: "Zarovnat doleva", + justifycenter: "Na støed", + justifyright: "Zarovnat doprava", + justifyfull: "Zarovnat do stran", + orderedlist: "Seznam", + unorderedlist: "Odrá¾ky", + outdent: "Pøedsadit", + indent: "Odsadit", + forecolor: "Barva písma", + hilitecolor: "Barva pozadí", + horizontalrule: "Vodorovná èára", + createlink: "Vlo¾it odkaz", + insertimage: "Vlo¾it obrázek", + inserttable: "Vlo¾it tabulku", + htmlmode: "Pøepnout HTML", + popupeditor: "Nové okno editoru", + about: "O této aplikaci", + showhelp: "Nápovìda aplikace", + textindicator: "Zvolený styl", + undo: "Vrátí poslední akci", + redo: "Opakuje poslední akci", + cut: "Vyjmout", + copy: "Kopírovat", + paste: "Vlo¾it" + }, + + buttons: { + "ok": "OK", + "cancel": "Zru¹it" + }, + + msg: { + "Path": "Cesta", + "TEXT_MODE": "Jste v TEXTOVÉM RE®IMU. Pou¾ijte tlaèítko [<>] pro pøepnutí do WYSIWIG." + } +}; diff --git a/htmlarea/lang/cs-utf.js b/htmlarea/lang/cs-utf.js new file mode 100644 index 0000000..412850d --- /dev/null +++ b/htmlarea/lang/cs-utf.js @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 +// Author: Jiri Löw, + +// 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: "cz", + + tooltips: { + bold: "Tučně", + italic: "Kurzíva", + underline: "Podtržení", + strikethrough: "PřeÅ¡krtnutí", + subscript: "Dolní index", + superscript: "Horní index", + justifyleft: "Zarovnat doleva", + justifycenter: "Na střed", + justifyright: "Zarovnat doprava", + justifyfull: "Zarovnat do stran", + orderedlist: "Seznam", + unorderedlist: "Odrážky", + outdent: "Předsadit", + indent: "Odsadit", + forecolor: "Barva písma", + hilitecolor: "Barva pozadí", + horizontalrule: "Vodorovná čára", + createlink: "Vložit odkaz", + insertimage: "Vložit obrázek", + inserttable: "Vložit tabulku", + htmlmode: "Přepnout HTML", + popupeditor: "Nové okno editoru", + about: "O této aplikaci", + showhelp: "Nápověda aplikace", + textindicator: "Zvolený styl", + undo: "Vrátí poslední akci", + redo: "Opakuje poslední akci", + cut: "Vyjmout", + copy: "Kopírovat", + paste: "Vložit" + }, + + buttons: { + "ok": "OK", + "cancel": "ZruÅ¡it" + }, + + msg: { + "Path": "Cesta", + "TEXT_MODE": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG." + } +}; diff --git a/htmlarea/lang/cs-win.js b/htmlarea/lang/cs-win.js new file mode 100644 index 0000000..72bbdaf --- /dev/null +++ b/htmlarea/lang/cs-win.js @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "cz", ENCODING: windows-1250 +// Author: Jiri Löw, + +// 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: "cz", + + tooltips: { + bold: "Tuènì", + italic: "Kurzíva", + underline: "Podtržení", + strikethrough: "Pøeškrtnutí", + subscript: "Dolní index", + superscript: "Horní index", + justifyleft: "Zarovnat doleva", + justifycenter: "Na støed", + justifyright: "Zarovnat doprava", + justifyfull: "Zarovnat do stran", + orderedlist: "Seznam", + unorderedlist: "Odrážky", + outdent: "Pøedsadit", + indent: "Odsadit", + forecolor: "Barva písma", + hilitecolor: "Barva pozadí", + horizontalrule: "Vodorovná èára", + createlink: "Vložit odkaz", + insertimage: "Vložit obrázek", + inserttable: "Vložit tabulku", + htmlmode: "Pøepnout HTML", + popupeditor: "Nové okno editoru", + about: "O této aplikaci", + showhelp: "Nápovìda aplikace", + textindicator: "Zvolený styl", + undo: "Vrátí poslední akci", + redo: "Opakuje poslední akci", + cut: "Vyjmout", + copy: "Kopírovat", + paste: "Vložit" + }, + + buttons: { + "ok": "OK", + "cancel": "Zrušit" + }, + + msg: { + "Path": "Cesta", + "TEXT_MODE": "Jste v TEXTOVÉM REŽIMU. Použijte tlaèítko [<>] pro pøepnutí do WYSIWIG." + } +}; diff --git a/htmlarea/lang/da-utf.js b/htmlarea/lang/da-utf.js new file mode 100644 index 0000000..920a4ea --- /dev/null +++ b/htmlarea/lang/da-utf.js @@ -0,0 +1,38 @@ +// danish version for htmlArea v3.0 - Alpha Release +// - translated by rene +// term´s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "da", + + tooltips: { + bold: "Fed", + italic: "Kursiv", + underline: "Understregning", + strikethrough: "Overstregning ", + subscript: "Sænket skrift", + superscript: "Hævet skrift", + justifyleft: "Venstrejuster", + justifycenter: "Centrer", + justifyright: "Højrejuster", + justifyfull: "Lige margener", + orderedlist: "Opstilling med tal", + unorderedlist: "Opstilling med punkttegn", + outdent: "Formindsk indrykning", + indent: "Forøg indrykning", + forecolor: "Skriftfarve", + backcolor: "Baggrundsfarve", + horizontalrule: "Horisontal linie", + createlink: "Indsæt hyperlink", + insertimage: "Indsæt billede", + inserttable: "Indsæt tabel", + htmlmode: "HTML visning", + popupeditor: "Vis editor i popup", + about: "Om htmlarea", + help: "Hjælp", + textindicator: "Anvendt stil" + } +}; diff --git a/htmlarea/lang/de-utf.js b/htmlarea/lang/de-utf.js new file mode 100644 index 0000000..c5ef1f9 --- /dev/null +++ b/htmlarea/lang/de-utf.js @@ -0,0 +1,80 @@ +// I18N constants + +// LANG: "de", ENCODING: ISO-8859-1 for the german umlaut! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "de", + + tooltips: { + bold: "Fett", + italic: "Kursiv", + underline: "Unterstrichen", + strikethrough: "Durchgestrichen", + subscript: "Hochgestellt", + superscript: "Tiefgestellt", + justifyleft: "Linksbündig", + justifycenter: "Zentriert", + justifyright: "Rechtsbündig", + justifyfull: "Blocksatz", + orderedlist: "Nummerierung", + unorderedlist: "Aufzählungszeichen", + outdent: "Einzug verkleinern", + indent: "Einzug vergrößern", + forecolor: "Schriftfarbe", + backcolor: "Hindergrundfarbe", + hilitecolor: "Hintergrundfarbe", + horizontalrule: "Horizontale Linie", + inserthorizontalrule: "Horizontale Linie", + createlink: "Hyperlink einfügen", + insertimage: "Bild einfügen", + inserttable: "Tabelle einfügen", + htmlmode: "HTML Modus", + popupeditor: "Editor im Popup öffnen", + about: "Über htmlarea", + help: "Hilfe", + showhelp: "Hilfe", + textindicator: "Derzeitiger Stil", + undo: "Rückgängig", + redo: "Wiederholen", + cut: "Ausschneiden", + copy: "Kopieren", + paste: "Einfügen aus der Zwischenablage", + lefttoright: "Textrichtung von Links nach Rechts", + righttoleft: "Textrichtung von Rechts nach Links", + removeformat: "Formatierung entfernen" + }, + + buttons: { + "ok": "OK", + "cancel": "Abbrechen" + }, + + msg: { + "Path": "Pfad", + "TEXT_MODE": "Sie sind im Text-Modus. Benutzen Sie den [<>] Knopf um in den visuellen Modus (WYSIWIG) zu gelangen.", + + "Moz-Clipboard" : + "Aus Sicherheitsgründen dürfen Skripte normalerweise nicht programmtechnisch auf " + + "Ausschneiden/Kopieren/Einfügen zugreifen. Bitte klicken Sie OK um die technische " + + "Erläuterung auf mozilla.org zu öffnen, in der erklärt wird, wie einem Skript Zugriff " + + "gewährt werden kann." + }, + + dialogs: { + "OK": "OK", + "Cancel": "Abbrechen", + "Insert/Modify Link": "Verknüpfung hinzufügen/ändern", + "None (use implicit)": "k.A. (implizit)", + "New window (_blank)": "Neues Fenster (_blank)", + "Same frame (_self)": "Selber Rahmen (_self)", + "Top frame (_top)": "Oberster Rahmen (_top)", + "Other": "Anderes", + "Target:": "Ziel:", + "Title (tooltip):": "Titel (Tooltip):", + "URL:": "URL:", + "You must enter the URL where this link points to": "Sie müssen eine Ziel-URL angeben für die Verknüpfung angeben" + } +}; diff --git a/htmlarea/lang/es-utf.js b/htmlarea/lang/es-utf.js new file mode 100644 index 0000000..f5b8729 --- /dev/null +++ b/htmlarea/lang/es-utf.js @@ -0,0 +1,51 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "es", + + tooltips: { + bold: "Negrita", + italic: "Cursiva", + underline: "Subrayado", + strikethrough: "Tachado", + subscript: "Subíndice", + superscript: "Superíndice", + justifyleft: "Alinear a la Izquierda", + justifycenter: "Centrar", + justifyright: "Alinear a la Derecha", + justifyfull: "Justificar", + orderedlist: "Lista Ordenada", + unorderedlist: "Lista No Ordenada", + outdent: "Aumentar Sangría", + indent: "Disminuir Sangría", + forecolor: "Color del Texto", + hilitecolor: "Color del Fondo", + inserthorizontalrule: "Línea Horizontal", + createlink: "Insertar Enlace", + insertimage: "Insertar Imagen", + inserttable: "Insertar Tabla", + htmlmode: "Ver Documento en HTML", + popupeditor: "Ampliar Editor", + about: "Acerca del Editor", + showhelp: "Ayuda", + textindicator: "Estilo Actual", + undo: "Deshacer", + redo: "Rehacer", + cut: "Cortar selección", + copy: "Copiar selección", + paste: "Pegar desde el portapapeles" + }, + + buttons: { + "ok": "Aceptar", + "cancel": "Cancelar" + }, + + msg: { + "Path": "Ruta", + "TEXT_MODE": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG", + } +}; diff --git a/htmlarea/lang/fi.js b/htmlarea/lang/fi.js index 2e18ea1..e809e52 100644 --- a/htmlarea/lang/fi.js +++ b/htmlarea/lang/fi.js @@ -1,4 +1,5 @@ // I18N constants +// UTF-8 encoding. HTMLArea.I18N = { @@ -12,35 +13,35 @@ HTMLArea.I18N = { underline: "Alleviivattu", strikethrough: "Yliviivattu", subscript: "Alaindeksi", - superscript: "Yläindeksi", + superscript: "Yläindeksi", justifyleft: "Tasaa vasemmat reunat", - justifycenter: "Keskitä", + justifycenter: "Keskitä", justifyright: "Tasaa oikeat reunat", justifyfull: "Tasaa molemmat reunat", orderedlist: "Numerointi", unorderedlist: "Luettelomerkit", - outdent: "Lisää sisennystä", - indent: "Pienennä sisennystä", - forecolor: "Fontin väri", - hilitecolor: "Taustaväri", + outdent: "Lisää sisennystä", + indent: "Pienennä sisennystä", + forecolor: "Fontin väri", + hilitecolor: "Taustaväri", inserthorizontalrule: "Vaakaviiva", - createlink: "Lisää Linkki", - insertimage: "Lisää Kuva", - inserttable: "Lisää Taulu", - htmlmode: "HTML Lähdekoodi vs WYSIWYG", + createlink: "Lisää Linkki", + insertimage: "Lisää Kuva", + inserttable: "Lisää Taulu", + htmlmode: "HTML Lähdekoodi vs WYSIWYG", popupeditor: "Suurenna Editori", about: "Tietoja Editorista", - showhelp: "Näytä Ohje", + showhelp: "Näytä Ohje", textindicator: "Nykyinen tyyli", undo: "Peruuta viimeinen toiminto", redo: "Palauta viimeinen toiminto", cut: "Leikkaa maalattu", copy: "Kopioi maalattu", - paste: "Liitä leikepyödältä" + paste: "Liitä leikepyödältä" }, buttons: { - "ok": "Hyväksy", + "ok": "Hyväksy", "cancel": "Peruuta" } }; diff --git a/htmlarea/lang/fr-utf.js b/htmlarea/lang/fr-utf.js new file mode 100644 index 0000000..4ec15b8 --- /dev/null +++ b/htmlarea/lang/fr-utf.js @@ -0,0 +1,97 @@ +// I18N constants + +// LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 +// Author: Simon Richard, s.rich@sympatico.ca + +// 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.) + +// All technical terms used in this document are the ones approved +// by the Office québécois de la langue française. +// Tous les termes techniques utilisés dans ce document sont ceux +// approuvés par l'Office québécois de la langue française. +// http://www.oqlf.gouv.qc.ca/ + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "fr", + + tooltips: { + bold: "Gras", + italic: "Italique", + underline: "Souligné", + strikethrough: "Barré", + subscript: "Indice", + superscript: "Exposant", + justifyleft: "Aligné à gauche", + justifycenter: "Centré", + justifyright: "Aligné à droite", + justifyfull: "Justifier", + orderedlist: "Numérotation", + unorderedlist: "Puces", + outdent: "Diminuer le retrait", + indent: "Augmenter le retrait", + forecolor: "Couleur de police", + hilitecolor: "Surlignage", + horizontalrule: "Ligne horizontale", + createlink: "Insérer un hyperlien", + insertimage: "Insérer/Modifier une image", + inserttable: "Insérer un tableau", + htmlmode: "Passer au code source", + popupeditor: "Agrandir l'éditeur", + about: "À propos de cet éditeur", + showhelp: "Aide sur l'éditeur", + textindicator: "Style courant", + undo: "Annuler la dernière action", + redo: "Répéter la dernière action", + cut: "Couper la sélection", + copy: "Copier la sélection", + paste: "Coller depuis le presse-papier", + lefttoright: "Direction de gauche à droite", + righttoleft: "Direction de droite à gauche" + }, + + buttons: { + "ok": "OK", + "cancel": "Annuler" + }, + + msg: { + "Path": "Chemin", + "TEXT_MODE": "Vous êtes en MODE TEXTE. Appuyez sur le bouton [<>] pour retourner au mode tel-tel.", + + "IE-sucks-full-screen" : + // translate here + "Le mode plein écran peut causer des problèmes sous Internet Explorer, " + + "ceci dû à des bogues du navigateur qui ont été impossible à contourner. " + + "Les différents symptômes peuvent être un affichage déficient, le manque de " + + "fonctions dans l'éditeur et/ou pannes aléatoires du navigateur. Si votre " + + "système est Windows 9x, il est possible que vous subissiez une erreur de type " + + "«General Protection Fault» et que vous ayez à redémarrer votre ordinateur." + + "\n\nConsidérez-vous comme ayant été avisé. Appuyez sur OK si vous désirez tout " + + "de même essayer le mode plein écran de l'éditeur." + }, + + dialogs: { + "Cancel" : "Annuler", + "Insert/Modify Link" : "Insérer/Modifier Lien", + "New window (_blank)" : "Nouvelle fenêtre (_blank)", + "None (use implicit)" : "Aucun (par défaut)", + "OK" : "OK", + "Other" : "Autre", + "Same frame (_self)" : "Même cadre (_self)", + "Target:" : "Cible:", + "Title (tooltip):" : "Titre (infobulle):", + "Top frame (_top)" : "Cadre du haut (_top)", + "URL:" : "Adresse Web:", + "You must enter the URL where this link points to" : "Vous devez entrer l'adresse Web du lien" + } +}; diff --git a/htmlarea/lang/it-utf.js b/htmlarea/lang/it-utf.js new file mode 100644 index 0000000..27f064f --- /dev/null +++ b/htmlarea/lang/it-utf.js @@ -0,0 +1,79 @@ +// I18N constants + +// LANG: "it", ENCODING: UTF-8 | ISO-8859-1 +// Author: Fabio Rotondo +// Update for 3.0 rc1: Giovanni Premuda + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "it", + + tooltips: { + bold: "Grassetto", + italic: "Corsivo", + underline: "Sottolineato", + strikethrough: "Barrato", + subscript: "Pedice", + superscript: "Apice", + justifyleft: "Allinea a sinistra", + justifycenter: "Allinea in centro", + justifyright: "Allinea a destra", + justifyfull: "Giustifica", + insertorderedlist: "Lista ordinata", + insertunorderedlist: "Lista puntata", + outdent: "Decrementa indentazione", + indent: "Incrementa indentazione", + forecolor: "Colore del carattere", + hilitecolor: "Colore di sfondo", + inserthorizontalrule: "Linea orizzontale", + createlink: "Inserisci un link", + insertimage: "Inserisci un'immagine", + inserttable: "Inserisci una tabella", + htmlmode: "Visualizzazione HTML", + popupeditor: "Editor a pieno schermo", + about: "Info sull'editor", + showhelp: "Aiuto sull'editor", + textindicator: "Stile corrente", + undo: "Annulla", + redo: "Ripristina", + cut: "Taglia", + copy: "Copia", + paste: "Incolla", + lefttoright: "Scrivi da sinistra a destra", + righttoleft: "Scrivi da destra a sinistra" + }, + + buttons: { + "ok": "OK", + "cancel": "Annulla" + }, + + msg: { + "Path": "Percorso", + "TEXT_MODE": "Sei in MODALITA' TESTO. Usa il bottone [<>] per tornare alla modalità WYSIWYG.", + "IE-sucks-full-screen" : + // translate here + "The full screen mode is known to cause problems with Internet Explorer, " + + "due to browser bugs that we weren't able to workaround. You might experience garbage " + + "display, lack of editor functions and/or random browser crashes. If your system is Windows 9x " + + "it's very likely that you'll get a 'General Protection Fault' and need to reboot.\n\n" + + "You have been warned. Please press OK if you still want to try the full screen editor." + }, + + dialogs: { + "Annulla" : "Cancel", + "Inserisci/modifica Link" : "Insert/Modify Link", + "Nuova finestra (_blank)" : "New window (_blank)", + "Nessuno (usa predefinito)" : "None (use implicit)", + "OK" : "OK", + "Altro" : "Other", + "Stessa finestra (_self)" : "Same frame (_self)", + "Target:" : "Target:", + "Title (suggerimento):" : "Title (tooltip):", + "Frame principale (_top)" : "Top frame (_top)", + "URL:" : "URL:", + "You must enter the URL where this link points to" : "Devi inserire un indirizzo per questo link" + } +}; diff --git a/htmlarea/lang/nl-utf.js b/htmlarea/lang/nl-utf.js new file mode 100644 index 0000000..3a1bab0 --- /dev/null +++ b/htmlarea/lang/nl-utf.js @@ -0,0 +1,90 @@ +// I18N constants + +// LANG: "nl", ENCODING: UTF-8 | ISO-8859-1 +// Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl + +// FOR TRANSLATORS: +// +// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE +// (at least a valid email address) +// +// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; +// (if this is not possible, please include a comment +// that states what encoding is necessary.) + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "nl", + + tooltips: { + bold: "Vet", + italic: "Cursief", + underline: "Onderstrepen", + strikethrough: "Doorhalen", + subscript: "Subscript", + superscript: "Superscript", + justifyleft: "Links uitlijnen", + justifycenter: "Centreren", + justifyright: "Rechts uitlijnen", + justifyfull: "Uitvullen", + orderedlist: "Nummering", + unorderedlist: "Opsommingstekens", + outdent: "Inspringing verkleinen", + indent: "Inspringing vergroten", + forecolor: "Tekstkleur", + hilitecolor: "Achtergrondkleur", + inserthorizontalrule: "Horizontale lijn", + createlink: "Hyperlink invoegen/aanpassen", + insertimage: "Afbeelding invoegen/aanpassen", + inserttable: "Tabel invoegen", + htmlmode: "HTML broncode", + popupeditor: "Vergroot Editor", + about: "Over deze editor", + showhelp: "HTMLArea help", + textindicator: "Huidige stijl", + undo: "Ongedaan maken", + redo: "Herhalen", + cut: "Knippen", + copy: "Kopiëren", + paste: "Plakken", + lefttoright: "Tekstrichting links naar rechts", + righttoleft: "Tekstrichting rechts naar links" + }, + + buttons: { + "ok": "OK", + "cancel": "Annuleren" + }, + + msg: { + "Path": "Pad", + "TEXT_MODE": "Je bent in TEKST-mode. Gebruik de [<>] knop om terug te keren naar WYSIWYG-mode.", + + "IE-sucks-full-screen" : + // translate here + "Fullscreen-mode veroorzaakt problemen met Internet Explorer door bugs in de webbrowser " + + "die we niet kunnen omzeilen. Hierdoor kunnen de volgende effecten optreden: verknoeide teksten, " + + "een verlies aan editor-functionaliteit en/of willekeurig vastlopen van de webbrowser. " + + "Als u Windows 95 of 98 gebruikt, is het zeer waarschijnlijk dat u een algemene beschermingsfout " + + "('General Protection Fault') krijgt en de computer opnieuw zal moeten opstarten.\n\n" + + "U bent gewaarschuwd. Druk OK als u toch nog de Fullscreen-editor wil gebruiken." + }, + + dialogs: { + "Cancel" : "Annuleren", + "Insert/Modify Link" : "Hyperlink invoegen/aanpassen", + "New window (_blank)" : "Nieuw venster (_blank)", + "None (use implicit)" : "Geen", + "OK" : "OK", + "Other" : "Ander", + "Same frame (_self)" : "Zelfde frame (_self)", + "Target:" : "Doel:", + "Title (tooltip):" : "Titel (tooltip):", + "Top frame (_top)" : "Bovenste frame (_top)", + "URL:" : "URL:", + "You must enter the URL where this link points to" : "Geef de URL in waar de link naar verwijst" + } +}; + diff --git a/htmlarea/lang/no-utf.js b/htmlarea/lang/no-utf.js new file mode 100644 index 0000000..3b4acaf --- /dev/null +++ b/htmlarea/lang/no-utf.js @@ -0,0 +1,79 @@ +// Norwegian version for htmlArea v3.0 - pre1 +// - translated by ses +// Additional translations by HÃ¥vard Wigtil +// term´s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "no", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understreket", + strikethrough: "Gjennomstreket", + subscript: "Nedsenket", + superscript: "Opphøyet", + justifyleft: "Venstrejuster", + justifycenter: "Midtjuster", + justifyright: "Høyrejuster", + justifyfull: "Blokkjuster", + orderedlist: "Nummerert liste", + unorderedlist: "Punktliste", + outdent: "Reduser innrykk", + indent: "Øke innrykk", + forecolor: "Tekstfarge", + hilitecolor: "Bakgrundsfarge", + inserthorizontalrule: "Vannrett linje", + createlink: "Lag lenke", + insertimage: "Sett inn bilde", + inserttable: "Sett inn tabell", + htmlmode: "Vis kildekode", + popupeditor: "Vis i eget vindu", + about: "Om denne editor", + showhelp: "Hjelp", + textindicator: "NÃ¥værende stil", + undo: "Angrer siste redigering", + redo: "Gjør om siste angring", + cut: "Klipp ut omrÃ¥de", + copy: "Kopier omrÃ¥de", + paste: "Lim inn", + lefttoright: "Fra venstre mot høyre", + righttoleft: "Fra høyre mot venstre" + }, + + buttons: { + "ok": "OK", + "cancel": "Avbryt" + }, + + msg: { + "Path": "Tekstvelger", + "TEXT_MODE": "Du er i tekstmodus Klikk pÃ¥ [<>] for Ã¥ gÃ¥ tilbake til WYSIWIG.", + "IE-sucks-full-screen" : + // translate here + "Visning i eget vindu har kjente problemer med Internet Explorer, " + + "pÃ¥ grunn av problemer med denne nettleseren. Mulige problemer er et uryddig " + + "skjermbilde, manglende editorfunksjoner og/eller at nettleseren crasher. Hvis du bruker Windows 95 eller Windows 98 " + + "er det ogsÃ¥ muligheter for at Windows will crashe.\n\n" + + "Trykk 'OK' hvis du vil bruke visning i eget vindu pÃ¥ tross av denne advarselen." + }, + + dialogs: { + "Cancel" : "Avbryt", + "Insert/Modify Link" : "Rediger lenke", + "New window (_blank)" : "Eget vindu (_blank)", + "None (use implicit)" : "Ingen (bruk standardinnstilling)", + "OK" : "OK", + "Other" : "Annen", + "Same frame (_self)" : "Samme ramme (_self)", + "Target:" : "MÃ¥l:", + "Title (tooltip):" : "Tittel (tooltip):", + "Top frame (_top)" : "Toppramme (_top)", + "URL:" : "Adresse:", + "You must enter the URL where this link points to" : "Du mÃ¥ skrive inn en adresse som denne lenken skal peke til" + } +}; + diff --git a/htmlarea/lang/pt_pt-utf.js b/htmlarea/lang/pt_pt-utf.js new file mode 100644 index 0000000..1b1cce7 --- /dev/null +++ b/htmlarea/lang/pt_pt-utf.js @@ -0,0 +1,143 @@ +// I18N constants + +// LANG: "pt_pt", ENCODING: UTF-8 | ISO-8859-1 +// Author: João P Matos, jmatos@math.ist.utl.pt + +// 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: "pt_pt", + + tooltips: { + bold: "Negrito", + italic: "Itálico", + underline: "Sublinhado", + strikethrough: "Riscado", + subscript: "Subscrito", + superscript: "Superescrito", + justifyleft: "Alinhado à esquerda", + justifycenter: "Centrado", + justifyright: "Alinhado à direita", + justifyfull: "Justificado", + orderedlist: "Lista ordenada", + unorderedlist: "Lista não ordenada", + outdent: "Diminuir a indentação", + indent: "Aumentar a indentação", + forecolor: "Cor do texto", + hilitecolor: "Cor de ênfase", + horizontalrule: "Linha horizontal", + createlink: "Inserir uma hiperligação", + insertimage: "Inserir/Modificar uma imagem", + inserttable: "Inserir uma tabela", + htmlmode: "Mostrar código fonte", + popupeditor: "Alargar o editor", + about: "A propósito do editor", + showhelp: "Ajuda do editor", + textindicator: "Estilo corrente", + undo: "Anular a última acção", + redo: "Repetir a última acção", + cut: "Cortar", + copy: "Copiar", + paste: "Colar", + lefttoright: "Da esquerda para a direita", + righttoleft: "Da direita para a esquerda" + }, + + buttons: { + "ok": "OK", + "cancel": "Cancelar" + }, + + msg: { + "Path": "Caminho", + "TEXT_MODE": "Está em MODO TEXTO. Premir o botão [<>] para regressar ao modo gráfico.", + + "IE-sucks-full-screen" : + // translate here + "O modo de écrã completo pode causar problemas ao IE, " + + "devido a problemas deste que foram impossíveis de evitar. " + + "Os sintomas podem ser erros no écrã, a falta de " + + "funções no editor ou flahas catastróficas aletórias do sistema operativo. Se o seu " + + "sistema é Windows 9x, é possível que sofra um erro de tipo " + + "'General Protection Fault' e que tenha de recomeçar o seu computador." + + "\n\nConsidere-se avisado. Prima OK se deseja mesmo assim " + + "testar o modo de écrã." + }, + + dialogs: { + "OK" : "OK", + "Cancel" : "Cancelar", + "Alignment:" : "Alinhamento:", + "Not set" : "Não definido", + "Left" : "Esquerda", + "Right" : "Direita", + "Texttop" : "Topo do texto", + "Absmiddle" : "Absmiddle", + "Baseline" : "Linha base", + "Absbottom" : "Absbottom", + "Bottom" : "Fundo", + "Middle" : "Meio", + "Top" : "Topo", + + "Layout" : "Formatação", + "Spacing" : "Espaçamento", + "Horizontal:" : "Horizontal:", + "Horizontal padding" : "Enchimento horizontal", + "Vertical:" : "Vertical:", + "Vertical padding" : "Enchimento vertical", + "Border thickness:" : "Espessura do bordo:", + "Leave empty for no border" : "Deixar vazio para ausência de bordo", + + // Insert Link + "Insert/Modify Link" : "Inserir/Modificar ligação", + "None (use implicit)" : "Nenhum (por omissão)", + "New window (_blank)" : "Nova janela (_blank)", + "Same frame (_self)" : "Mesmo caixilho (_self)", + "Top frame (_top)" : "Caixilho de topo (_top)", + "Other" : "Outro", + "Target:" : "Alvo:", + "Title (tooltip):" : "Título (tooltip):", + + "URL:" : "Endereço web:", + "You must enter the URL where this link points to" : "Deve introduzir o endereço da ligação", + + // Insert Table + "Insert Table" : "Inserir Tabela", + "Rows:" : "Linhas:", + "Number of rows" : "Número de linhas", + "Cols:" : "Colunas:", + "Number of columns" : "Número de colunas", + "Width:" : "Largura:", + "Width of the table" : "Largura da tabela", + "Percent" : "Percentagem", + "Pixels" : "Pixéis", + "Em" : "Em", + "Width unit" : "Unidade de largura", + "Positioning of this table" : "Posicionamento da tabela", + "Cell spacing:" : "Espaçamento da célula:", + "Space between adjacent cells" : "Espaço entre células adjacentes", + "Cell padding:" : "Enchimento da célula:", + "Space between content and border in cell" : "Espaço entre conteúdo e bordo da célula", + // Insert Image + "Insert Image" : "Inserir imagem", + "Image URL:" : "Endereço da imagem:", + "Enter the image URL here" : "Introduza o endereço da imagem aqui", + "Preview" : "Previsão", + "Preview the image in a new window" : "Prever a imagem numa nova janela", + "Alternate text:" : "Texto alternativo:", + "For browsers that don't support images" : "Para navegadores que não suportam imagens", + "Positioning of this image" : "Posicionamento desta imagem", + "Image Preview:" : "Previsão da imagem:" + } +}; diff --git a/htmlarea/lang/se-utf.js b/htmlarea/lang/se-utf.js new file mode 100644 index 0000000..2e0881a --- /dev/null +++ b/htmlarea/lang/se-utf.js @@ -0,0 +1,79 @@ +// Norwegian version for htmlArea v3.0 - pre1 +// - translated by ses +// Additional translations by HÃ¥vard Wigtil +// term´s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "no", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understruket", + strikethrough: "Gjennomstruket", + subscript: "Nedsäknt", + superscript: "upphöjt", + justifyleft: "Vänsterställt", + justifycenter: "Mittställt", + justifyright: "Högerställt", + justifyfull: "Marginaler", + orderedlist: "Numrerad lista", + unorderedlist: "Punktlista", + outdent: "Reducera indrag", + indent: "Öka indrag", + forecolor: "Textfärg", + hilitecolor: "Bakgrundsfärg", + inserthorizontalrule: "VÃ¥grätt linje", + createlink: "Skapa länk", + insertimage: "Infoga bilda", + inserttable: "Infoga tabell", + htmlmode: "Visa källkod", + popupeditor: "Visa i eget fönster", + about: "Om denna editor", + showhelp: "Hjälp", + textindicator: "Nuvarande stil", + undo: "Ångra sista redigering", + redo: "Gjör om sista Ã¥ngring", + cut: "Klipp ut", + copy: "Kopiera", + paste: "Klistra in", + lefttoright: "FrÃ¥n vänster till höger", + righttoleft: "FrÃ¥n höger till vänster" + }, + + buttons: { + "ok": "OK", + "cancel": "Avbryt" + }, + + msg: { + "Path": "Tekstvelger", + "TEXT_MODE": "Du är i textläge Klicka pÃ¥ [<>] för att gÃ¥ tilbaka till WYSIWIG.", + "IE-sucks-full-screen" : + // translate here + "Visning i eget vindu har kjente problemer med Internet Explorer, " + + "pÃ¥ grunn av problemer med denne nettleseren. Mulige problemer er et uryddig " + + "skjermbilde, manglende editorfunksjoner og/eller at nettleseren crasher. Hvis du bruker Windows 95 eller Windows 98 " + + "er det ogsÃ¥ muligheter for at Windows will crashe.\n\n" + + "Trykk 'OK' hvis du vil bruke visning i eget vindu pÃ¥ tross av denne advarselen." + }, + + dialogs: { + "Cancel" : "Avbryt", + "Insert/Modify Link" : "Redigera lenk", + "New window (_blank)" : "Eget fönster (_blank)", + "None (use implicit)" : "Ingen (använd standardinnställning)", + "OK" : "OK", + "Other" : "Annan", + "Same frame (_self)" : "Samma ram (_self)", + "Target:" : "MÃ¥l:", + "Title (tooltip):" : "Titel (tooltip):", + "Top frame (_top)" : "Toppramm (_top)", + "URL:" : "Adress:", + "You must enter the URL where this link points to" : "Du mÃ¥ste skriva in en adress som denna länken skall peka pÃ¥" + } +}; + diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index f7c35ea..0946fa5 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -312,7 +312,7 @@ function serendipity_approveComment($cid, $entry_id, $force = false) { function serendipity_saveComment($id, $commentInfo, $type = 'NORMAL', $source = 'internal') { global $serendipity; - $query = "SELECT id, allow_comments, moderate_comments, last_modified, timestamp FROM {$serendipity['dbPrefix']}entries WHERE id = '". (int)$id ."'"; + $query = "SELECT id, allow_comments, moderate_comments, last_modified, timestamp, title FROM {$serendipity['dbPrefix']}entries WHERE id = '". (int)$id ."'"; $ca = serendipity_db_query($query, true); $commentInfo['type'] = $type; diff --git a/lang/UTF-8/recode.php b/lang/UTF-8/recode.php index cabf7c1..a47da18 100644 --- a/lang/UTF-8/recode.php +++ b/lang/UTF-8/recode.php @@ -27,6 +27,25 @@ $ext = array( 'zh' => 'gb2312' ); +$htmlarea_iso = array( + 'da' => 'da-utf', + 'de' => 'de-utf', + 'es' => 'es-utf', + 'fr' => 'fr-utf', + 'it' => 'it-utf', + 'nl' => 'nl-utf', + 'no' => 'no-utf', + 'pt' => 'pt_pt-utf', + 'pt_PT' => 'pt_pt-utf', + 'se' => 'se-utf', + 'cs' => 'cs-utf', + 'cz' => 'cs-utf' +); + +$sr = array( + 'bg_BG.CP1251' => 'bg_BG.UTF-8' +); + while (($file = readdir($dh)) !== false) { if (!preg_match('@lang_(.+)\.inc\.php$@i', $file, $extmatch)) { continue; @@ -42,6 +61,14 @@ while (($file = readdir($dh)) !== false) { chmod($file, 0644); $fc = file_get_contents($file . '.new'); $fc = preg_replace('@' . $set . '@i', 'UTF-8', $fc); + if (isset($htmlarea_iso[$extmatch[1]])) { + $fc = preg_replace( + '@define\(\'WYSIWYG_LANG\',\s+\'[^\']+\'\);@i', + "define('WYSIWYG_LANG', '" . $htmlarea_iso[$extmatch[1]] . "');", + $fc + ); + } + $fc = str_replace(array_keys($sr), array_values($sr), $fc); $fp = fopen($file, 'w'); fwrite($fp, $fc); fclose($fp); diff --git a/lang/UTF-8/serendipity_lang_cs.inc.php b/lang/UTF-8/serendipity_lang_cs.inc.php index 80fed70..ccaa83a 100644 --- a/lang/UTF-8/serendipity_lang_cs.inc.php +++ b/lang/UTF-8/serendipity_lang_cs.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'Czech, cs, cs_CZ.UTF-8'); @define('DATE_FORMAT_ENTRY', '%A, %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d/%m/%Y %H.%M'); -@define('WYSIWYG_LANG', 'cs-win'); +@define('WYSIWYG_LANG', 'cs-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', ' '); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 99a215f..72f3aa6 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'Czech, cs, cs_CZ.UTF-8'); @define('DATE_FORMAT_ENTRY', '%A, %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d/%m/%Y %H.%M'); -@define('WYSIWYG_LANG', 'cs-iso'); +@define('WYSIWYG_LANG', 'cs-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', ' '); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 6301a45..6c337e9 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -10,7 +10,7 @@ @define('DATE_LOCALES', 'danish, da, da_DK, da_DK.ISO8859-1'); @define('DATE_FORMAT_ENTRY', '%A d. %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%Y %H:%M'); -@define('WYSIWYG_LANG', 'da'); +@define('WYSIWYG_LANG', 'da-utf'); @define('LANG_DIRECTION', 'ltr'); @define('SERENDIPITY_ADMIN_SUITE', 'Serendipity Administrationssuite'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 52e1034..687a087 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'german, de_DE, de, de_DE.UTF-8, de_DE@euro, de_DE.ISO8859-1'); @define('DATE_FORMAT_ENTRY', '%A, %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%Y %H:%M'); -@define('WYSIWYG_LANG', 'de'); +@define('WYSIWYG_LANG', 'de-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', '.'); diff --git a/lang/UTF-8/serendipity_lang_es.inc.php b/lang/UTF-8/serendipity_lang_es.inc.php index 1320cec..a28b4db 100644 --- a/lang/UTF-8/serendipity_lang_es.inc.php +++ b/lang/UTF-8/serendipity_lang_es.inc.php @@ -11,7 +11,7 @@ @define('DATE_LOCALES', 'spanish, sp, es, es_ES, es_ES.ISO_8859-1, es_ES.ISO8859-1, es-ES'); @define('DATE_FORMAT_ENTRY', '%A, %e de %B del %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%Y %H:%M'); -@define('WYSIWYG_LANG', 'es'); +@define('WYSIWYG_LANG', 'es-utf'); @define('LANG_DIRECTION', 'ltr'); @define('SERENDIPITY_ADMIN_SUITE', 'Suite de Administración de Serendipity'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 3f2e417..e5ba899 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -11,7 +11,7 @@ @define('DATE_LOCALES', 'french, fr, fr_FR, fr_FR.UTF-8, fr_FR@euro, fr_FR.ISO8859-1, en_US'); @define('DATE_FORMAT_ENTRY', '%A, %e %B %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%Y %H:%M'); -@define('WYSIWYG_LANG', 'fr'); +@define('WYSIWYG_LANG', 'fr-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', '.'); @define('NUMBER_FORMAT_THOUSANDS', ','); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index c806331..0e519ef 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'icelandic, is, is_IS'); @define('DATE_FORMAT_ENTRY', '%A, %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%y %H:%M'); -@define('WYSIWYG_LANG', 'is'); +@define('WYSIWYG_LANG', 'en'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', '.'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 9d3f573..a88e9c4 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'italiano, it, it_IT'); @define('DATE_FORMAT_ENTRY', '%A, %e %B %Y'); @define('DATE_FORMAT_SHORT', '%d-%m-%Y %H:%M'); -@define('WYSIWYG_LANG', 'it'); +@define('WYSIWYG_LANG', 'it-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', '.'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index d5d43a9..b08cc80 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index c02c5e7..54040ba 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -9,7 +9,7 @@ @define('DATE_LOCALES', 'dutch, nl_BE, nl, nl_BE.ISO8859-1'); @define('DATE_FORMAT_ENTRY', '%A, %e %B %Y'); @define('DATE_FORMAT_SHORT', '%d-%m-%Y %H:%M'); -@define('WYSIWYG_LANG', 'nl'); +@define('WYSIWYG_LANG', 'nl-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', '.'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 6531cad..a0cee6d 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -8,7 +8,7 @@ @define('DATE_LOCALES', 'norwegian, no, no_NO, no_NO.UTF-8, no_NO.ISO8859-1, no_'); @define('DATE_FORMAT_ENTRY', '%A - %e. %B %Y'); @define('DATE_FORMAT_SHORT', '%d.%m.%Y %H:%M'); -@define('WYSIWYG_LANG', 'no'); +@define('WYSIWYG_LANG', 'no-utf'); @define('LANG_DIRECTION', 'ltr'); @define('SERENDIPITY_ADMIN_SUITE', 'Serendipity Administrasjonssuite'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 69f6027..0c3a95f 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -8,7 +8,7 @@ @define('LANG_CHARSET', 'UTF-8'); @define('DATE_LOCALES', 'portuguese brazilian, pt, pt_BR'); @define('DATE_FORMAT_ENTRY', '%A, %e de %B de %Y'); -@define('WYSIWYG_LANG', 'pt_pt'); +@define('WYSIWYG_LANG', 'pt_pt-utf'); @define('LANG_DIRECTION', 'ltr'); @define('SERENDIPITY_ADMIN_SUITE', 'Painel de Administração do Serendipity'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 4e6d34b..a4598e2 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -11,7 +11,7 @@ @define('DATE_LOCALES', 'pt, pt_PT, european portuguese'); @define('DATE_FORMAT_ENTRY', '%A, %e de %B de %Y'); @define('DATE_FORMAT_SHORT', '%Y-%m-%d %H:%M'); -@define('WYSIWYG_LANG', 'pt_pt'); +@define('WYSIWYG_LANG', 'pt_pt-utf'); @define('NUMBER_FORMAT_DECIMALS', '2'); @define('NUMBER_FORMAT_DECPOINT', ','); @define('NUMBER_FORMAT_THOUSANDS', '.'); @@ -69,7 +69,7 @@ @define('COMMENTS', 'Comentários'); @define('ADD_COMMENT', 'Adicionar Comentários'); @define('NO_COMMENTS', 'Nenhum comentário'); -@define('POSTED_BY', 'Enviado por'); +@define('POSTED_BY', 'Publicado por'); @define('ON', 'em'); @define('A_NEW_COMMENT_BLAHBLAH', 'Um novo comentário foi enviado para o seu Blog "%s", no artigo entitulado "%s".'); @define('A_NEW_TRACKBACK_BLAHBLAH', 'Um novo trackback foi feito para o seu Blog "%s", no artigo entitulado "%s".'); @@ -119,9 +119,9 @@ @define('TOPICS_OF', 'Tópicos de'); @define('VIEW_FULL', 'ver tudo'); @define('VIEW_TOPICS', 'ver tópicos'); -@define('AT', 'em'); +@define('AT', 'às'); @define('SET_AS_TEMPLATE', 'Definir como modelo'); -@define('IN', 'no'); +@define('IN', 'em'); @define('EXCERPT', 'Excerto'); @define('TRACKED', 'Tracked'); // Translate? @define('LINK_TO_ENTRY', 'Ligação para o artigo'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 4b2b6bb..ec4d8be 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ -