From 04154333ae5278dbda3cfd69f7a1c139b6a9c84c Mon Sep 17 00:00:00 2001 From: Cristian Fasanando Date: Tue, 8 Sep 2009 17:14:13 -0500 Subject: [PATCH 1/2] Added abosulte url for tooltip in glossary with javascript - partial DT #1862 --- .../editor/plugins/glossary/fck_glossary_automatic.js | 6 +++--- .../editor/plugins/glossary/fck_glossary_manual.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_automatic.js b/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_automatic.js index 3d709952f8..42beb0235f 100755 --- a/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_automatic.js +++ b/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_automatic.js @@ -7,7 +7,7 @@ $(document).ready(function() { beforeSend: function(objeto) { }, type: "POST", - url: "../../../main/glossary/glossary_ajax_request.php", + url: "http://"+location.host+"/main/glossary/glossary_ajax_request.php", data: "glossary_data=true", success: function(datos) { if (datos.length==0) { @@ -35,9 +35,9 @@ $(document).ready(function() { $.ajax({ contentType: "application/x-www-form-urlencoded", beforeSend: function(objeto) { - $("div#"+div_content_id).html(""); }, + $("div#"+div_content_id).html(""); }, type: "POST", - url: "../../../main/glossary/glossary_ajax_request.php", + url: "http://"+location.host+"/main/glossary/glossary_ajax_request.php", data: "glossary_id="+my_glossary_id, success: function(datos) { $("div#"+div_content_id).html(datos); diff --git a/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_manual.js b/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_manual.js index ad4dccc13f..2bd23273d9 100755 --- a/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_manual.js +++ b/main/inc/lib/fckeditor/editor/plugins/glossary/fck_glossary_manual.js @@ -12,9 +12,9 @@ $(document).ready(function() { $.ajax({ contentType: "application/x-www-form-urlencoded", beforeSend: function(objeto) { - $("div#"+div_content_id).html(""); }, + $("div#"+div_content_id).html(""); }, type: "POST", - url: "../../../main/glossary/glossary_ajax_request.php", + url: "http://"+location.host+"/main/glossary/glossary_ajax_request.php", data: "glossary_name="+is_glossary_name, success: function(datos) { $("div#"+div_content_id).html(datos); From f2df33221b2f08e0ce1926ab829b6e3863492484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Sun, 20 Sep 2009 20:30:18 +0200 Subject: [PATCH 2/2] fix spanish translation --- main/inc/lib/fckeditor/editor/lang/es.js | 6 +- .../plugins/ajaxfilemanager/langs/es.php | 656 +++++++++--------- 2 files changed, 331 insertions(+), 331 deletions(-) diff --git a/main/inc/lib/fckeditor/editor/lang/es.js b/main/inc/lib/fckeditor/editor/lang/es.js index b22decadcf..047fbdd58f 100644 --- a/main/inc/lib/fckeditor/editor/lang/es.js +++ b/main/inc/lib/fckeditor/editor/lang/es.js @@ -55,8 +55,8 @@ InsertTableLbl : "Tabla", InsertTable : "Insertar/Editar Tabla", InsertLineLbl : "Línea", InsertLine : "Insertar Línea Horizontal", -InsertSpecialCharLbl: "Caracteres especiales", -InsertSpecialChar : "Insertar Caracteres especiales", +InsertSpecialCharLbl: "Caracteres Especiales", +InsertSpecialChar : "Insertar Caracteres Especiales", InsertSmileyLbl : "Emoticones", InsertSmiley : "Insertar Emoticones", About : "Acerca de FCKeditor", @@ -288,7 +288,7 @@ DlgColorSelected : "Seleccionado", DlgSmileyTitle : "Insertar un Emoticón", // Special Character Dialog -DlgSpecialCharTitle : "Seleccione caracteres especiales", +DlgSpecialCharTitle : "Seleccione un carácter", // Table Dialog DlgTableTitle : "Propiedades de Tabla", diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/langs/es.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/langs/es.php index 1cf3db04d5..f789da5e3a 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/langs/es.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/langs/es.php @@ -1,329 +1,329 @@ - \ No newline at end of file