From 59ba2f3de3f14de8eb9ba0920a9578040f5385d0 Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 28 Sep 2006 09:52:54 +0000 Subject: [PATCH] 2006-09-28 Sancho Lerena * languages/language_es_es.php: Fixed message "out of limits" without tildes in spanish for jpgraph output. * pandoradb_1.1_to_1.2.sql: Fixed small issues: mod_data_inc was as mod_inc.gif in modify SQL sentence. Spanish language is _es_es not _es. Setup by default english language after migration. Added network agent as OS. Changed Build versions in DB Scheme and versions (1.1 in old one !!!). * pandora_console/pandoradb_data.sql: Fixed version number and build. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 18 ++++++++++++++++-- .../include/languages/language_es_es.php | 4 ++-- pandora_console/pandoradb_1.1_to_1.2.sql | 10 ++++++---- pandora_console/pandoradb_data.sql | 4 ++-- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3fd8bc505f..57d16f5fa1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,7 +1,21 @@ +2006-09-28 Sancho Lerena + + * languages/language_es_es.php: Fixed message "out of limits" + without tildes in spanish for jpgraph output. + + * pandoradb_1.1_to_1.2.sql: Fixed small issues: mod_data_inc was + as mod_inc.gif in modify SQL sentence. Spanish language is + _es_es not _es. Setup by default english language after + migration. Added network agent as OS. Changed Build versions in + DB Scheme and versions (1.1 in old one !!!). + + * pandora_console/pandoradb_data.sql: Fixed version number and + build. + 2006-09-16 Raul Mateos - * godmode/agentes/configurar_agente.php: Update :-D. Well, really comment - DEBUG code added last update. + * godmode/agentes/configurar_agente.php: Comment DEBUG code added + last update. 2006-09-21 Sancho Lerena diff --git a/pandora_console/include/languages/language_es_es.php b/pandora_console/include/languages/language_es_es.php index 251c1af4b4..83079447cf 100644 --- a/pandora_console/include/languages/language_es_es.php +++ b/pandora_console/include/languages/language_es_es.php @@ -642,11 +642,11 @@ $lang_label["ok_read_snmp"]="El origen SNMP ha sido analizado"; $lang_label["cancel"]="Cancelar"; $lang_label["network_module_refresh_exec"]="Ejecutado el refresco del m&oaucute;dulo de red"; $lang_label["next_contact"]="Siguiente contacto con el agente"; -$lang_label["out_of_limits"]="Fuera de los límites"; +$lang_label["out_of_limits"]="Fuera de limites"; $lang_label["background_image"]="Imagen de fondo"; $lang_label["help"]="Ayuda"; $lang_label["no_monitors_g"]="Este grupo no tiene ningún monitor definido"; global $lang_label; global $help_label; -?> \ No newline at end of file +?> diff --git a/pandora_console/pandoradb_1.1_to_1.2.sql b/pandora_console/pandoradb_1.1_to_1.2.sql index bdbbf8ed0f..ca748f2a14 100644 --- a/pandora_console/pandoradb_1.1_to_1.2.sql +++ b/pandora_console/pandoradb_1.1_to_1.2.sql @@ -106,7 +106,7 @@ CREATE TABLE `tserver` ( PRIMARY KEY (`id_server`) ) TYPE=InnoDB; -ALTER TABLE ttipo_modulo ADD column `icon` varchar(100) default NULL AFTER COLUMN descripcion; +ALTER TABLE ttipo_modulo ADD column `icon` varchar(100) default NULL AFTER descripcion; CREATE TABLE `ttrap` ( `id_trap` bigint(20) unsigned NOT NULL auto_increment, @@ -125,13 +125,14 @@ CREATE TABLE `ttrap` ( ) TYPE=InnoDB COMMENT='SNMP Trap table'; UPDATE tconfig set value = "1.2" where token = "db_scheme_version"; -INSERT INTO tconfig (token,value) VALUES ('db_scheme_buile','PD060308'); +UPDATE tconfig set value = "en" where token = "language_code"; +INSERT INTO tconfig (token,value) VALUES ('db_scheme_buile','PD060926'); INSERT INTO tconfig (token,value) VALUES ('truetype','0'); INSERT INTO tconfig (token,value) VALUES ('graph_order','1'); INSERT INTO `tlanguage` VALUES ('bb','Bable'); INSERT INTO `tlanguage` VALUES ('en','English'); -INSERT INTO `tlanguage` VALUES ('es','Español'); +INSERT INTO `tlanguage` VALUES ('es_es','Español'); INSERT INTO `tlanguage` VALUES ('es_la','Español-Latinoamérica'); INSERT INTO `tlanguage` VALUES ('eu','Euskera'); INSERT INTO `tlanguage` VALUES ('pt_br','Portuguese-Brazil'); @@ -147,7 +148,7 @@ INSERT INTO `tmodule_group` VALUES (5,'Miscellaneous'); UPDATE ttipo_modulo set icon = "mod_data.gif" where nombre = "generic_data"; UPDATE ttipo_modulo set icon = "mod_proc.gif" where nombre = "generic_proc"; UPDATE ttipo_modulo set icon = "mod_string.gif" where nombre = "generic_data_string"; -UPDATE ttipo_modulo set icon = "mod_inc.gif" where nombre = "generic_data_inc"; +UPDATE ttipo_modulo set icon = "mod_data_inc.gif" where nombre = "generic_data_inc"; INSERT INTO `ttipo_modulo` VALUES (6,'remote_icmp_proc',3,'Remote ICMP network agent, boolean data','mod_icmp_proc.gif'); INSERT INTO `ttipo_modulo` VALUES (7,'remote_icmp',2,'Remote ICMP network agent (latency)','mod_icmp_data.gif'); INSERT INTO `ttipo_modulo` VALUES (8,'remote_tcp',2,'Remote TCP network agent, numeric data','mod_tcp_data.gif'); @@ -169,6 +170,7 @@ UPDATE tgrupo set icon = "comms" where nombre = "Comms"; UPDATE tgrupo set icon = "others" where nombre like "Other%"; UPDATE tgrupo set icon = "workstation" where nombre = "Workstations"; UPDATE tgrupo set icon = "apps" where nombre = "Applications"; +INSERT INTO `tconfig_os` VALUES ('Network','Pandora Network Agent','network.gif'); DROP TABLE tagente_datos; CREATE TABLE `tagente_datos` ( diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index d87d28ee2a..592afddc2c 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -25,8 +25,8 @@ INSERT INTO `tconfig` VALUES (4,'days_purge','60'); INSERT INTO `tconfig` VALUES (5,'days_compact','15'); INSERT INTO `tconfig` VALUES (6,'graph_res','2'); INSERT INTO `tconfig` VALUES (7,'step_compact','1'); -INSERT INTO `tconfig` VALUES (8,'db_scheme_version','1.1'); -INSERT INTO `tconfig` VALUES (9,'db_scheme_build','PD60126'); +INSERT INTO `tconfig` VALUES (8,'db_scheme_version','1.2'); +INSERT INTO `tconfig` VALUES (9,'db_scheme_build','PD60926'); INSERT INTO `tconfig` VALUES (10,'graph_order','1'); INSERT INTO `tconfig` VALUES (11,'truetype','0'); INSERT INTO `tconfig` VALUES (12,'bgimage','background2.jpg');