Support PNG, JPEG, BMP, WEBP export formats by change of "Export to PNG" menu item into "Export" with its own pull-down dialog (and a HTML5 range type input element for "quality" selection for JPEG or WEBP files), including changes for the server_opensave extension; change locale key from "export_png" to "export_img" and change the corresponding localized strings (currently CS, DE, ES, FR, IT, NL, PT-BR, RO, SK, all reset to English to avoid translation errors); within the setCustomHandlers() API, deprecate "pngsave" in favor of "exportImage" (chosen to avoid just using the simpler but reserved JS keyword "export") including use within the server_opensave extension; a few JSLint-friendly changes

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2602 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Brett Zamir
2013-10-28 03:53:30 +00:00
parent 0c88f41818
commit f8aeacd7a8
64 changed files with 159 additions and 108 deletions

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "kleinste voorwerp",
"new_doc": "Nuwe Beeld",
"open_doc": "Open Beeld",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Slaan Beeld",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "أصغر كائن",
"new_doc": "صورة جديدة",
"open_doc": "فتح الصورة",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "حفظ صورة",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "smallest object",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "маленькі аб'ект",
"new_doc": "Новае выява",
"open_doc": "Адкрыць выява",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Захаваць малюнак",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "най-малката обект",
"new_doc": "Ню Имидж",
"open_doc": "Отворете изображението",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "objecte més petit",
"new_doc": "Nova imatge",
"open_doc": "Obrir imatge",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Guardar imatge",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "nejmenšímu objektu",
"new_doc": "Nový dokument",
"open_doc": "Otevřít dokument",
"export_png": "Exportovat jako PNG",
"export_img": "Export",
"save_doc": "Uložit dokument",
"import_doc": "Importovat SVG",
"align_to_page": "Zarovnat element na stránku",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "lleiaf gwrthrych",
"new_doc": "Newydd Delwedd",
"open_doc": "Delwedd Agored",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Cadw Delwedd",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "mindste objekt",
"new_doc": "Nyt billede",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Gem billede",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "kleinstes Objekt",
"new_doc": "Neues Bild",
"open_doc": "Bild öffnen",
"export_png": "Als PNG exportieren",
"export_img": "Export",
"save_doc": "Bild speichern",
"import_doc": "Importiere SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "μικρότερο αντικείμενο",
"new_doc": "Νέα εικόνα",
"open_doc": "Άνοιγμα εικόνας",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Αποθήκευση εικόνας",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "smallest object",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "El objeto más pequeño",
"new_doc": "Nueva imagen",
"open_doc": "Abrir imagen",
"export_png": "Exportar como PNG",
"export_img": "Export",
"save_doc": "Guardar imagen",
"import_doc": "Importar un archivo SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "väikseim objekt",
"new_doc": "Uus pilt",
"open_doc": "Pildi avamine",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Salvesta pilt",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "‫کوچکترین شئ‬",
"new_doc": "‫تصویر جدید ",
"open_doc": "‫باز کردن تصویر ",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "‫ذخیره تصویر ",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "pienin kohde",
"new_doc": "Uusi kuva",
"open_doc": "Avaa kuva",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Objet plus petit",
"new_doc": "Nouvelle image",
"open_doc": "Ouvrir une image",
"export_png": "Exporter au format PNG",
"export_img": "Export",
"save_doc": "Enregistrer l'image",
"import_doc": "Importer un objet SVG",
"align_to_page": "Aligner l'élément relativement à la Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Lytste ûnderdiel",
"new_doc": "Nije ôfbielding",
"open_doc": "Ôfbielding iepenje",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Ôfbielding bewarje",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "lú réad",
"new_doc": "Íomhá Nua",
"open_doc": "Íomhá Oscailte",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Sábháil Íomhá",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "menor obxecto",
"new_doc": "Nova Imaxe",
"open_doc": "Abrir Imaxe",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Gardar Imaxe",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "הקטן אובייקט",
"new_doc": "תמונה חדשה",
"open_doc": "פתח תמונה",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "שמור תמונה",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "छोटी से छोटी वस्तु",
"new_doc": "नई छवि",
"open_doc": "छवि खोलें",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "सहेजें छवि",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "najmanji objekt",
"new_doc": "Nove slike",
"open_doc": "Otvori sliku",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Spremanje slike",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "legkisebb objektum",
"new_doc": "Új kép",
"open_doc": "Kép megnyitása",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Kép mentése más",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "smallest object",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "objek terkecil",
"new_doc": "Gambar Baru",
"open_doc": "Membuka Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "lítill hluti",
"new_doc": "New Image",
"open_doc": "Opna mynd",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Spara Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Oggetto più piccolo",
"new_doc": "Nuova immagine",
"open_doc": "Apri immagine",
"export_png": "Esporta come PNG",
"export_img": "Export",
"save_doc": "Salva",
"import_doc": "Importa SVG",
"align_to_page": "Allinea elementi alla pagina",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "最小のオブジェクト",
"new_doc": "新規イメージ",
"open_doc": "イメージを開く",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "画像を保存",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "작은 개체",
"new_doc": "새 이미지",
"open_doc": "오픈 이미지",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "이미지 저장",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "mažiausias objektą",
"new_doc": "New Image",
"open_doc": "Atidaryti atvaizdą",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Išsaugoti nuotrauką",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "mazākais objekts",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "најмалата објект",
"new_doc": "Нови слики",
"open_doc": "Отвори слика",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Зачувај слика",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "objek terkecil",
"new_doc": "Imej Baru",
"open_doc": "Membuka Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "iżgħar oġġett",
"new_doc": "Image New",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Image Save",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Kleinste object",
"new_doc": "Nieuwe afbeelding",
"open_doc": "Open afbeelding",
"export_png": "Exporteer als PNG",
"export_img": "Export",
"save_doc": "Afbeelding opslaan",
"import_doc": "Importeer SVG",
"align_to_page": "Lijn element uit relatief ten opzichte van de pagina",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "minste objekt",
"new_doc": "New Image",
"open_doc": "Åpne Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Lagre bilde",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Najmniejszy obiekt",
"new_doc": "New Image",
"open_doc": "Otwórz obraz",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Zapisz obraz",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "menor objeto",
"new_doc": "Nova imagem",
"open_doc": "Abrir imagem",
"export_png": "Exportar como PNG",
"export_img": "Export",
"save_doc": "Salvar imagem",
"import_doc": "Importar SVG",
"align_to_page": "Alinhar elemento na página",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "menor objeto",
"new_doc": "Nova Imagem",
"open_doc": "Abrir Imagem",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Salvar Imagem",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "cel mai mic obiect",
"new_doc": "Imagine nouă",
"open_doc": "Imagine deschisă",
"export_png": "Exportare ca şi PNG",
"export_img": "Export",
"save_doc": "Salvare imagine",
"import_doc": "Importare SVG",
"align_to_page": "Aliniere la pagină",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Самый маленький объект",
"new_doc": "Создать изображение",
"open_doc": "Открыть изображение",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Сохранить изображение",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "najmenšiemu objektu",
"new_doc": "Nový obrázok",
"open_doc": "Otvoriť obrázok",
"export_png": "Exportovať ako PNG",
"export_img": "Export",
"save_doc": "Uložiť obrázok",
"import_doc": "Import SVG",
"align_to_page": "Zarovnať element na stránku",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "najmanjša objekt",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Shrani slike",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "objektit më të vogël",
"new_doc": "New Image",
"open_doc": "Image Hapur",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Image Ruaj",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "Најмањи објекат",
"new_doc": "Нова слика",
"open_doc": "Отвори слике",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Сачувај слика",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "minsta objektet",
"new_doc": "New Image",
"open_doc": "Öppna bild",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "minsta object",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "smallest object",
"new_doc": "New Image",
"open_doc": "Open Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "วัตถุที่เล็กที่สุด",
"new_doc": "รูปภาพใหม่",
"open_doc": "ภาพเปิด",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "บันทึกรูปภาพ",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "pinakamaliit na bagay",
"new_doc": "Bagong Imahe",
"open_doc": "Buksan ang Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "I-save ang Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "küçük nesne",
"new_doc": "Yeni Resim",
"open_doc": "Aç Resim",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Görüntüyü Kaydet",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "маленький об'єкт",
"new_doc": "Нове зображення",
"open_doc": "Відкрити зображення",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Зберегти малюнок",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "nhỏ đối tượng",
"new_doc": "Hình mới",
"open_doc": "Mở Image",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "Save Image",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "סמאָלאַסט קעגן",
"new_doc": "ניו בילד",
"open_doc": "Open בילד",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "היט בילד",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "最小的对象",
"new_doc": "新文档",
"open_doc": "打开文档",
"export_png": "导出为PNG格式",
"export_img": "导出",
"save_doc": "保存图像",
"import_doc": "导入SVG",
"align_to_page": "对齐元素到页面",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "最小的对象",
"new_doc": "新形象",
"open_doc": "打开图像",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "保存图像",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -84,7 +84,7 @@ svgEditor.readLang({
"smallest_object": "最小的物件",
"new_doc": "清空圖像",
"open_doc": "打開圖像",
"export_png": "Export as PNG",
"export_img": "Export",
"save_doc": "保存圖像",
"import_doc": "Import SVG",
"align_to_page": "Align Element to Page",

View File

@@ -125,7 +125,7 @@ var svgEditor = (function($, Editor) {
tool_clear: tools.new_doc,
tool_docprops: tools.docprops,
tool_export: tools.export_png,
tool_export: tools.export_img,
tool_import: tools.import_doc,
tool_imagelib: tools.imagelib,
tool_open: tools.open_doc,