From 67b91f066155b17efbe45ce25c6632216f8e7e37 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 3 Jul 2008 14:06:56 +0200 Subject: [PATCH 1/6] Added translation for Brazilian Portuguese, thanks to Ricardo Maraschini --- src/lang/pt/info.txt | 1 + src/lang/pt/main.php | 160 +++++++++++++++++++++++++++++++++++++++ src/lang/pt/main.php.bak | 160 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 321 insertions(+) create mode 100644 src/lang/pt/info.txt create mode 100644 src/lang/pt/main.php create mode 100644 src/lang/pt/main.php.bak diff --git a/src/lang/pt/info.txt b/src/lang/pt/info.txt new file mode 100644 index 0000000..83c8031 --- /dev/null +++ b/src/lang/pt/info.txt @@ -0,0 +1 @@ +Portugues diff --git a/src/lang/pt/main.php b/src/lang/pt/main.php new file mode 100644 index 0000000..af3686d --- /dev/null +++ b/src/lang/pt/main.php @@ -0,0 +1,160 @@ + www.phplogcon.org <- + * ----------------------------------------------------------------- + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * Translation by Ricardo Maraschini + * [mailto:ricardo.maraschini@opservices.com.br] + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. + ********************************************************************* +*/ +global $content; + +// Global Stuff +$content['LN_MAINTITLE'] = "Controle de Logs"; +$content['LN_MAIN_SELECTSTYLE'] = "Selecione um estilo"; +$content['LN_GEN_LANGUAGE'] = "Selecione uma linguagem"; +$content['LN_GEN_SELECTSOURCE'] = "Selecione Origem"; +$content['LN_GEN_MOREPAGES'] = "Mais que uma página disponível"; +$content['LN_GEN_FIRSTPAGE'] = "Primeira Página"; +$content['LN_GEN_LASTPAGE'] = "Última Página"; +$content['LN_GEN_NEXTPAGE'] = "Próxima Página"; +$content['LN_GEN_PREVIOUSPAGE'] = "Página Anterior"; +$content['LN_GEN_RECORDCOUNT'] = "Total de registros encontrados"; +$content['LN_GEN_PAGERSIZE'] = "Registros/página"; +$content['LN_GEN_PAGE'] = "Página"; +$content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas"; +$content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco"; +$content['LN_GEN_SOURCE_DB'] = "Base de dados"; + $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)"; +$content['LN_GEN_RECORDSPERPAGE'] = "registros por página"; +$content['LN_GEN_PRECONFIGURED'] = "Pré-configurado"; +$content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis"; + $content['LN_GEN_DB_MYSQL'] = "Mysql Server"; + $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server"; + $content['LN_GEN_DB_ODBC'] = "ODBC Database Source"; + $content['LN_GEN_DB_PGSQL'] = "PostgreSQL"; + $content['LN_GEN_DB_OCI'] = "Oracle Call Interface"; + $content['LN_GEN_DB_DB2'] = " IBM DB2"; + $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6"; + $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server"; + $content['LN_GEN_DB_SQLITE'] = "SQLite 2"; + $content['LN_GEN_SELECTVIEW'] = "Select View"; + +// Main Index Site +$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!"; +$content['LN_TOP_NUM'] = "Não."; +$content['LN_TOP_UID'] = "uID"; +$content['LN_GRID_POPUPDETAILS'] = "Detalhes para a mensagem ID '%1'"; + +$content['LN_SEARCH_USETHISBLA'] = "Use o formulário abaixo"; +$content['LN_SEARCH_FILTER'] = "Busca (filtro):"; +$content['LN_SEARCH_ADVANCED'] = "Busca Avançada"; +$content['LN_SEARCH'] = "Busca"; +$content['LN_SEARCH_RESET'] = "Limpa"; +$content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada"; +$content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo"; +$content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas"; +$content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por "; + $content['LN_VIEW_SEARCHFOR'] = "Search online for "; + $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for "; + $content['LN_GEN_MESSAGEDETAILS'] = "Message Details"; + +$content['LN_HIGHLIGHT'] = "Destacar >>"; +$content['LN_HIGHLIGHT_OFF'] = "Destacar <<"; +$content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula"; + + $content['LN_AUTORELOAD'] = "Set auto reload"; + $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled"; + $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload "; + $content['LN_AUTORELOAD_SECONDS'] = "seconds"; + $content['LN_AUTORELOAD_MINUTES'] = "minutes"; + +$content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas."; + +// Filter Options +$content['LN_FILTER_DATE'] = "Intervalo Data/Hora"; +$content['LN_FILTER_DATEMODE'] = "Selecionar Modo"; +$content['LN_DATEMODE_ALL'] = "Todo o tempo"; +$content['LN_DATEMODE_RANGE'] = "Intervalo de tempo"; +$content['LN_DATEMODE_LASTX'] = "Tempo X desde hoje"; +$content['LN_FILTER_DATEFROM'] = "Data a partir de "; +$content['LN_FILTER_DATETO'] = "Até"; +$content['LN_FILTER_DATELASTX'] = "Tempo desde"; +$content['LN_FILTER_ADD2SEARCH'] = "Adicionar a busca"; +$content['LN_DATE_LASTX_HOUR'] = "Última hora"; +$content['LN_DATE_LASTX_12HOURS'] = "Últimas 12 horas"; +$content['LN_DATE_LASTX_24HOURS'] = "Últimas 24 horas"; +$content['LN_DATE_LASTX_7DAYS'] = "Últimos 7 dias"; +$content['LN_DATE_LASTX_31DAYS'] = "Últimos 31 dias"; +$content['LN_FILTER_FACILITY'] = "Facility"; +$content['LN_FILTER_SEVERITY'] = "Severidade"; +$content['LN_FILTER_OTHERS'] = "Outros Filtros"; +$content['LN_FILTER_MESSAGE'] = "Mensagem Syslog"; +$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag"; +$content['LN_FILTER_SOURCE'] = "Origem (Hostname)"; +$content['LN_FILTER_MESSAGETYPE'] = "Tipo de mensagem"; + +// Field Captions +$content['LN_FIELDS_DATE'] = "Data"; +$content['LN_FIELDS_FACILITY'] = "Facility"; +$content['LN_FIELDS_SEVERITY'] = "Severidade"; +$content['LN_FIELDS_HOST'] = "Host"; +$content['LN_FIELDS_SYSLOGTAG'] = "Syslogtag"; +$content['LN_FIELDS_PROCESSID'] = "ID do processo"; +$content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem"; +$content['LN_FIELDS_UID'] = "uID"; +$content['LN_FIELDS_MESSAGE'] = "Mensagem"; + $content['LN_FIELDS_EVENTID'] = "Event ID"; + $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type"; + $content['LN_FIELDS_EVENTSOURCE'] = "Event Source"; + $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category"; + $content['LN_FIELDS_EVENTUSER'] = "Event User"; + +// Install Page +$content['LN_CFG_DBSERVER'] = "Servidor BD"; +$content['LN_CFG_DBPORT'] = "Porta BD"; +$content['LN_CFG_DBNAME'] = "Nome BD"; +$content['LN_CFG_DBPREF'] = "Prefixo para as tabelas"; +$content['LN_CFG_DBUSER'] = "Usuário"; +$content['LN_CFG_DBPASSWORD'] = "Password"; +$content['LN_CFG_PARAMMISSING'] = "O seguinte parâmetro esta faltando: "; +$content['LN_CFG_SOURCETYPE'] = "Tipo de Origem"; +$content['LN_CFG_DISKTYPEOPTIONS'] = "Opç&oatilde;oes de disco"; +$content['LN_CFG_LOGLINETYPE'] = "Formato linha do log"; +$content['LN_CFG_SYSLOGFILE'] = "Arquivo Syslog"; +$content['LN_CFG_DATABASETYPEOPTIONS'] = "Opç&oatilde;es BD"; +$content['LN_CFG_DBTABLETYPE'] = "Tipo de tabela"; +$content['LN_CFG_DBSTORAGEENGINE'] = "Engine BD"; +$content['LN_CFG_DBTABLENAME'] = "Nome tabela"; +$content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem"; +$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog"; +$content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro"; + $content['LN_CFG_VIEW'] = "Select View"; + +// Details page +$content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id"; +$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id"; +$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista"; + +?> diff --git a/src/lang/pt/main.php.bak b/src/lang/pt/main.php.bak new file mode 100644 index 0000000..af3686d --- /dev/null +++ b/src/lang/pt/main.php.bak @@ -0,0 +1,160 @@ + www.phplogcon.org <- + * ----------------------------------------------------------------- + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * Translation by Ricardo Maraschini + * [mailto:ricardo.maraschini@opservices.com.br] + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. + ********************************************************************* +*/ +global $content; + +// Global Stuff +$content['LN_MAINTITLE'] = "Controle de Logs"; +$content['LN_MAIN_SELECTSTYLE'] = "Selecione um estilo"; +$content['LN_GEN_LANGUAGE'] = "Selecione uma linguagem"; +$content['LN_GEN_SELECTSOURCE'] = "Selecione Origem"; +$content['LN_GEN_MOREPAGES'] = "Mais que uma página disponível"; +$content['LN_GEN_FIRSTPAGE'] = "Primeira Página"; +$content['LN_GEN_LASTPAGE'] = "Última Página"; +$content['LN_GEN_NEXTPAGE'] = "Próxima Página"; +$content['LN_GEN_PREVIOUSPAGE'] = "Página Anterior"; +$content['LN_GEN_RECORDCOUNT'] = "Total de registros encontrados"; +$content['LN_GEN_PAGERSIZE'] = "Registros/página"; +$content['LN_GEN_PAGE'] = "Página"; +$content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas"; +$content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco"; +$content['LN_GEN_SOURCE_DB'] = "Base de dados"; + $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)"; +$content['LN_GEN_RECORDSPERPAGE'] = "registros por página"; +$content['LN_GEN_PRECONFIGURED'] = "Pré-configurado"; +$content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis"; + $content['LN_GEN_DB_MYSQL'] = "Mysql Server"; + $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server"; + $content['LN_GEN_DB_ODBC'] = "ODBC Database Source"; + $content['LN_GEN_DB_PGSQL'] = "PostgreSQL"; + $content['LN_GEN_DB_OCI'] = "Oracle Call Interface"; + $content['LN_GEN_DB_DB2'] = " IBM DB2"; + $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6"; + $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server"; + $content['LN_GEN_DB_SQLITE'] = "SQLite 2"; + $content['LN_GEN_SELECTVIEW'] = "Select View"; + +// Main Index Site +$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!"; +$content['LN_TOP_NUM'] = "Não."; +$content['LN_TOP_UID'] = "uID"; +$content['LN_GRID_POPUPDETAILS'] = "Detalhes para a mensagem ID '%1'"; + +$content['LN_SEARCH_USETHISBLA'] = "Use o formulário abaixo"; +$content['LN_SEARCH_FILTER'] = "Busca (filtro):"; +$content['LN_SEARCH_ADVANCED'] = "Busca Avançada"; +$content['LN_SEARCH'] = "Busca"; +$content['LN_SEARCH_RESET'] = "Limpa"; +$content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada"; +$content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo"; +$content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas"; +$content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por "; + $content['LN_VIEW_SEARCHFOR'] = "Search online for "; + $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for "; + $content['LN_GEN_MESSAGEDETAILS'] = "Message Details"; + +$content['LN_HIGHLIGHT'] = "Destacar >>"; +$content['LN_HIGHLIGHT_OFF'] = "Destacar <<"; +$content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula"; + + $content['LN_AUTORELOAD'] = "Set auto reload"; + $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled"; + $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload "; + $content['LN_AUTORELOAD_SECONDS'] = "seconds"; + $content['LN_AUTORELOAD_MINUTES'] = "minutes"; + +$content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas."; + +// Filter Options +$content['LN_FILTER_DATE'] = "Intervalo Data/Hora"; +$content['LN_FILTER_DATEMODE'] = "Selecionar Modo"; +$content['LN_DATEMODE_ALL'] = "Todo o tempo"; +$content['LN_DATEMODE_RANGE'] = "Intervalo de tempo"; +$content['LN_DATEMODE_LASTX'] = "Tempo X desde hoje"; +$content['LN_FILTER_DATEFROM'] = "Data a partir de "; +$content['LN_FILTER_DATETO'] = "Até"; +$content['LN_FILTER_DATELASTX'] = "Tempo desde"; +$content['LN_FILTER_ADD2SEARCH'] = "Adicionar a busca"; +$content['LN_DATE_LASTX_HOUR'] = "Última hora"; +$content['LN_DATE_LASTX_12HOURS'] = "Últimas 12 horas"; +$content['LN_DATE_LASTX_24HOURS'] = "Últimas 24 horas"; +$content['LN_DATE_LASTX_7DAYS'] = "Últimos 7 dias"; +$content['LN_DATE_LASTX_31DAYS'] = "Últimos 31 dias"; +$content['LN_FILTER_FACILITY'] = "Facility"; +$content['LN_FILTER_SEVERITY'] = "Severidade"; +$content['LN_FILTER_OTHERS'] = "Outros Filtros"; +$content['LN_FILTER_MESSAGE'] = "Mensagem Syslog"; +$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag"; +$content['LN_FILTER_SOURCE'] = "Origem (Hostname)"; +$content['LN_FILTER_MESSAGETYPE'] = "Tipo de mensagem"; + +// Field Captions +$content['LN_FIELDS_DATE'] = "Data"; +$content['LN_FIELDS_FACILITY'] = "Facility"; +$content['LN_FIELDS_SEVERITY'] = "Severidade"; +$content['LN_FIELDS_HOST'] = "Host"; +$content['LN_FIELDS_SYSLOGTAG'] = "Syslogtag"; +$content['LN_FIELDS_PROCESSID'] = "ID do processo"; +$content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem"; +$content['LN_FIELDS_UID'] = "uID"; +$content['LN_FIELDS_MESSAGE'] = "Mensagem"; + $content['LN_FIELDS_EVENTID'] = "Event ID"; + $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type"; + $content['LN_FIELDS_EVENTSOURCE'] = "Event Source"; + $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category"; + $content['LN_FIELDS_EVENTUSER'] = "Event User"; + +// Install Page +$content['LN_CFG_DBSERVER'] = "Servidor BD"; +$content['LN_CFG_DBPORT'] = "Porta BD"; +$content['LN_CFG_DBNAME'] = "Nome BD"; +$content['LN_CFG_DBPREF'] = "Prefixo para as tabelas"; +$content['LN_CFG_DBUSER'] = "Usuário"; +$content['LN_CFG_DBPASSWORD'] = "Password"; +$content['LN_CFG_PARAMMISSING'] = "O seguinte parâmetro esta faltando: "; +$content['LN_CFG_SOURCETYPE'] = "Tipo de Origem"; +$content['LN_CFG_DISKTYPEOPTIONS'] = "Opç&oatilde;oes de disco"; +$content['LN_CFG_LOGLINETYPE'] = "Formato linha do log"; +$content['LN_CFG_SYSLOGFILE'] = "Arquivo Syslog"; +$content['LN_CFG_DATABASETYPEOPTIONS'] = "Opç&oatilde;es BD"; +$content['LN_CFG_DBTABLETYPE'] = "Tipo de tabela"; +$content['LN_CFG_DBSTORAGEENGINE'] = "Engine BD"; +$content['LN_CFG_DBTABLENAME'] = "Nome tabela"; +$content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem"; +$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog"; +$content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro"; + $content['LN_CFG_VIEW'] = "Select View"; + +// Details page +$content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id"; +$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id"; +$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista"; + +?> From ad46747dbef896e1c23a55df23dd1a4634177217 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 3 Jul 2008 14:08:40 +0200 Subject: [PATCH 2/6] removed .bak file from git --- src/lang/pt/main.php.bak | 160 --------------------------------------- 1 file changed, 160 deletions(-) delete mode 100644 src/lang/pt/main.php.bak diff --git a/src/lang/pt/main.php.bak b/src/lang/pt/main.php.bak deleted file mode 100644 index af3686d..0000000 --- a/src/lang/pt/main.php.bak +++ /dev/null @@ -1,160 +0,0 @@ - www.phplogcon.org <- - * ----------------------------------------------------------------- - * - * Copyright (C) 2008 Adiscon GmbH. - * - * This file is part of phpLogCon. - * - * Translation by Ricardo Maraschini - * [mailto:ricardo.maraschini@opservices.com.br] - * - * PhpLogCon is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * PhpLogCon is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with phpLogCon. If not, see . - * - * A copy of the GPL can be found in the file "COPYING" in this - * distribution. - ********************************************************************* -*/ -global $content; - -// Global Stuff -$content['LN_MAINTITLE'] = "Controle de Logs"; -$content['LN_MAIN_SELECTSTYLE'] = "Selecione um estilo"; -$content['LN_GEN_LANGUAGE'] = "Selecione uma linguagem"; -$content['LN_GEN_SELECTSOURCE'] = "Selecione Origem"; -$content['LN_GEN_MOREPAGES'] = "Mais que uma página disponível"; -$content['LN_GEN_FIRSTPAGE'] = "Primeira Página"; -$content['LN_GEN_LASTPAGE'] = "Última Página"; -$content['LN_GEN_NEXTPAGE'] = "Próxima Página"; -$content['LN_GEN_PREVIOUSPAGE'] = "Página Anterior"; -$content['LN_GEN_RECORDCOUNT'] = "Total de registros encontrados"; -$content['LN_GEN_PAGERSIZE'] = "Registros/página"; -$content['LN_GEN_PAGE'] = "Página"; -$content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas"; -$content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco"; -$content['LN_GEN_SOURCE_DB'] = "Base de dados"; - $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)"; -$content['LN_GEN_RECORDSPERPAGE'] = "registros por página"; -$content['LN_GEN_PRECONFIGURED'] = "Pré-configurado"; -$content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis"; - $content['LN_GEN_DB_MYSQL'] = "Mysql Server"; - $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server"; - $content['LN_GEN_DB_ODBC'] = "ODBC Database Source"; - $content['LN_GEN_DB_PGSQL'] = "PostgreSQL"; - $content['LN_GEN_DB_OCI'] = "Oracle Call Interface"; - $content['LN_GEN_DB_DB2'] = " IBM DB2"; - $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6"; - $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server"; - $content['LN_GEN_DB_SQLITE'] = "SQLite 2"; - $content['LN_GEN_SELECTVIEW'] = "Select View"; - -// Main Index Site -$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!"; -$content['LN_TOP_NUM'] = "Não."; -$content['LN_TOP_UID'] = "uID"; -$content['LN_GRID_POPUPDETAILS'] = "Detalhes para a mensagem ID '%1'"; - -$content['LN_SEARCH_USETHISBLA'] = "Use o formulário abaixo"; -$content['LN_SEARCH_FILTER'] = "Busca (filtro):"; -$content['LN_SEARCH_ADVANCED'] = "Busca Avançada"; -$content['LN_SEARCH'] = "Busca"; -$content['LN_SEARCH_RESET'] = "Limpa"; -$content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada"; -$content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo"; -$content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas"; -$content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por "; - $content['LN_VIEW_SEARCHFOR'] = "Search online for "; - $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for "; - $content['LN_GEN_MESSAGEDETAILS'] = "Message Details"; - -$content['LN_HIGHLIGHT'] = "Destacar >>"; -$content['LN_HIGHLIGHT_OFF'] = "Destacar <<"; -$content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula"; - - $content['LN_AUTORELOAD'] = "Set auto reload"; - $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled"; - $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload "; - $content['LN_AUTORELOAD_SECONDS'] = "seconds"; - $content['LN_AUTORELOAD_MINUTES'] = "minutes"; - -$content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas."; - -// Filter Options -$content['LN_FILTER_DATE'] = "Intervalo Data/Hora"; -$content['LN_FILTER_DATEMODE'] = "Selecionar Modo"; -$content['LN_DATEMODE_ALL'] = "Todo o tempo"; -$content['LN_DATEMODE_RANGE'] = "Intervalo de tempo"; -$content['LN_DATEMODE_LASTX'] = "Tempo X desde hoje"; -$content['LN_FILTER_DATEFROM'] = "Data a partir de "; -$content['LN_FILTER_DATETO'] = "Até"; -$content['LN_FILTER_DATELASTX'] = "Tempo desde"; -$content['LN_FILTER_ADD2SEARCH'] = "Adicionar a busca"; -$content['LN_DATE_LASTX_HOUR'] = "Última hora"; -$content['LN_DATE_LASTX_12HOURS'] = "Últimas 12 horas"; -$content['LN_DATE_LASTX_24HOURS'] = "Últimas 24 horas"; -$content['LN_DATE_LASTX_7DAYS'] = "Últimos 7 dias"; -$content['LN_DATE_LASTX_31DAYS'] = "Últimos 31 dias"; -$content['LN_FILTER_FACILITY'] = "Facility"; -$content['LN_FILTER_SEVERITY'] = "Severidade"; -$content['LN_FILTER_OTHERS'] = "Outros Filtros"; -$content['LN_FILTER_MESSAGE'] = "Mensagem Syslog"; -$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag"; -$content['LN_FILTER_SOURCE'] = "Origem (Hostname)"; -$content['LN_FILTER_MESSAGETYPE'] = "Tipo de mensagem"; - -// Field Captions -$content['LN_FIELDS_DATE'] = "Data"; -$content['LN_FIELDS_FACILITY'] = "Facility"; -$content['LN_FIELDS_SEVERITY'] = "Severidade"; -$content['LN_FIELDS_HOST'] = "Host"; -$content['LN_FIELDS_SYSLOGTAG'] = "Syslogtag"; -$content['LN_FIELDS_PROCESSID'] = "ID do processo"; -$content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem"; -$content['LN_FIELDS_UID'] = "uID"; -$content['LN_FIELDS_MESSAGE'] = "Mensagem"; - $content['LN_FIELDS_EVENTID'] = "Event ID"; - $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type"; - $content['LN_FIELDS_EVENTSOURCE'] = "Event Source"; - $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category"; - $content['LN_FIELDS_EVENTUSER'] = "Event User"; - -// Install Page -$content['LN_CFG_DBSERVER'] = "Servidor BD"; -$content['LN_CFG_DBPORT'] = "Porta BD"; -$content['LN_CFG_DBNAME'] = "Nome BD"; -$content['LN_CFG_DBPREF'] = "Prefixo para as tabelas"; -$content['LN_CFG_DBUSER'] = "Usuário"; -$content['LN_CFG_DBPASSWORD'] = "Password"; -$content['LN_CFG_PARAMMISSING'] = "O seguinte parâmetro esta faltando: "; -$content['LN_CFG_SOURCETYPE'] = "Tipo de Origem"; -$content['LN_CFG_DISKTYPEOPTIONS'] = "Opç&oatilde;oes de disco"; -$content['LN_CFG_LOGLINETYPE'] = "Formato linha do log"; -$content['LN_CFG_SYSLOGFILE'] = "Arquivo Syslog"; -$content['LN_CFG_DATABASETYPEOPTIONS'] = "Opç&oatilde;es BD"; -$content['LN_CFG_DBTABLETYPE'] = "Tipo de tabela"; -$content['LN_CFG_DBSTORAGEENGINE'] = "Engine BD"; -$content['LN_CFG_DBTABLENAME'] = "Nome tabela"; -$content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem"; -$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog"; -$content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro"; - $content['LN_CFG_VIEW'] = "Select View"; - -// Details page -$content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id"; -$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id"; -$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista"; - -?> From d3c459b86f73ef224bea4cf4e8236d53b2e0b346 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 3 Jul 2008 14:47:24 +0200 Subject: [PATCH 3/6] Added missing db mapping for program field of syslogng - thanks to Micha "Wolvverine" Panasiewicz --- src/include/constants_logstream.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/constants_logstream.php b/src/include/constants_logstream.php index 79eb224..6fdd8aa 100644 --- a/src/include/constants_logstream.php +++ b/src/include/constants_logstream.php @@ -195,6 +195,7 @@ $dbmapping['syslogng'][SYSLOG_MESSAGE] = "msg"; //TODO $dbmapping['syslogng'][SYSLOG_FACILITY] = "Facility"; //TODO $dbmapping['syslogng'][SYSLOG_SEVERITY] = "Priority" $dbmapping['syslogng'][SYSLOG_SYSLOGTAG] = "tag"; +$dbmapping['syslogng'][SYSLOG_PROCESSID] = "program"; // --- // EventTime Constants From f5ece09152c1b2efe37dd7c616412cf520fbc7a9 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 3 Jul 2008 16:38:10 +0200 Subject: [PATCH 4/6] Nothing changed really, tried to improve automatic IP links --- src/include/functions_common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/functions_common.php b/src/include/functions_common.php index e282e49..ec43904 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -868,7 +868,7 @@ function AddContextLinks(&$sourceTxt) ( '/\.([\w\d\_\-]+)\.(' . $szTLDDomains . ')([^a-zA-Z0-9\.])/x', // '|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|', - '/(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/x', +/* (?:127)| */ '/(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/x', ); // Create Replace Array From fef267ebb6aff02b24ed91655547d7331f5fd763 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Mon, 7 Jul 2008 17:05:09 +0200 Subject: [PATCH 5/6] Added new translation files for portugues thanks to Ricardo Maraschini --- src/lang/pt/info.txt | 2 +- src/lang/pt/main.php | 50 ++++++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/lang/pt/info.txt b/src/lang/pt/info.txt index 83c8031..0ed10cd 100644 --- a/src/lang/pt/info.txt +++ b/src/lang/pt/info.txt @@ -1 +1 @@ -Portugues +Português diff --git a/src/lang/pt/main.php b/src/lang/pt/main.php index af3686d..718e37c 100644 --- a/src/lang/pt/main.php +++ b/src/lang/pt/main.php @@ -46,20 +46,20 @@ $content['LN_GEN_PAGE'] = "Página"; $content['LN_GEN_PREDEFINEDSEARCHES'] = "Buscas pré-definidas"; $content['LN_GEN_SOURCE_DISK'] = "Arquivo em disco"; $content['LN_GEN_SOURCE_DB'] = "Base de dados"; - $content['LN_GEN_SOURCE_PDO'] = "Database (PDO)"; +$content['LN_GEN_SOURCE_PDO'] = "Base de dados (PDO)"; $content['LN_GEN_RECORDSPERPAGE'] = "registros por página"; $content['LN_GEN_PRECONFIGURED'] = "Pré-configurado"; $content['LN_GEN_AVAILABLESEARCHES'] = "Buscas disponíveis"; - $content['LN_GEN_DB_MYSQL'] = "Mysql Server"; - $content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server"; - $content['LN_GEN_DB_ODBC'] = "ODBC Database Source"; - $content['LN_GEN_DB_PGSQL'] = "PostgreSQL"; - $content['LN_GEN_DB_OCI'] = "Oracle Call Interface"; - $content['LN_GEN_DB_DB2'] = " IBM DB2"; - $content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6"; - $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server"; - $content['LN_GEN_DB_SQLITE'] = "SQLite 2"; - $content['LN_GEN_SELECTVIEW'] = "Select View"; +$content['LN_GEN_DB_MYSQL'] = "Servidor MySQL"; +$content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server"; +$content['LN_GEN_DB_ODBC'] = "Conexão via ODBC"; +$content['LN_GEN_DB_PGSQL'] = "PostgreSQL"; +$content['LN_GEN_DB_OCI'] = "Oracle Call Interface"; +$content['LN_GEN_DB_DB2'] = " IBM DB2"; +$content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6"; +$content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server"; +$content['LN_GEN_DB_SQLITE'] = "SQLite 2"; +$content['LN_GEN_SELECTVIEW'] = "Selecionar Visão"; // Main Index Site $content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!"; @@ -76,19 +76,19 @@ $content['LN_SEARCH_PERFORMADVANCED'] = "Realizar Busca Avançada"; $content['LN_VIEW_MESSAGECENTERED'] = "Eliminar filtros e visualizar esta mensagem no topo"; $content['LN_VIEW_RELATEDMSG'] = "Ver mensagens relacionadas"; $content['LN_VIEW_FILTERFOR'] = "Filtrar mensagens por "; - $content['LN_VIEW_SEARCHFOR'] = "Search online for "; - $content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for "; - $content['LN_GEN_MESSAGEDETAILS'] = "Message Details"; +$content['LN_VIEW_SEARCHFOR'] = "Busca online por "; +$content['LN_VIEW_SEARCHFORGOOGLE'] = "Busca no Google por "; +$content['LN_GEN_MESSAGEDETAILS'] = "Detalhes da Mensagem"; $content['LN_HIGHLIGHT'] = "Destacar >>"; $content['LN_HIGHLIGHT_OFF'] = "Destacar <<"; $content['LN_HIGHLIGHT_WORDS'] = "Utilize uma lista de palavras separadas por vírgula"; - $content['LN_AUTORELOAD'] = "Set auto reload"; - $content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled"; - $content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload "; - $content['LN_AUTORELOAD_SECONDS'] = "seconds"; - $content['LN_AUTORELOAD_MINUTES'] = "minutes"; +$content['LN_AUTORELOAD'] = "Define auto recarregamento"; +$content['LN_AUTORELOAD_DISABLED'] = "Auto recarregamento desabilitado"; +$content['LN_AUTORELOAD_PRECONFIGURED'] = "Auto recarregamento pré-configurado "; +$content['LN_AUTORELOAD_SECONDS'] = "segundos"; +$content['LN_AUTORELOAD_MINUTES'] = "minutos"; $content['LN_ERROR_NORECORDS'] = "Sem mensagens encontradas."; @@ -125,11 +125,11 @@ $content['LN_FIELDS_PROCESSID'] = "ID do processo"; $content['LN_FIELDS_MESSAGETYPE'] = "Tipo da Mensagem"; $content['LN_FIELDS_UID'] = "uID"; $content['LN_FIELDS_MESSAGE'] = "Mensagem"; - $content['LN_FIELDS_EVENTID'] = "Event ID"; - $content['LN_FIELDS_EVENTLOGTYPE'] = "Eventlog Type"; - $content['LN_FIELDS_EVENTSOURCE'] = "Event Source"; - $content['LN_FIELDS_EVENTCATEGORY'] = "Event Category"; - $content['LN_FIELDS_EVENTUSER'] = "Event User"; +$content['LN_FIELDS_EVENTID'] = "ID do Evento"; +$content['LN_FIELDS_EVENTLOGTYPE'] = "Tipo do Evento"; +$content['LN_FIELDS_EVENTSOURCE'] = "Origem do Evento"; +$content['LN_FIELDS_EVENTCATEGORY'] = "Categoria do Evento"; +$content['LN_FIELDS_EVENTUSER'] = "Evento de Usu´rio"; // Install Page $content['LN_CFG_DBSERVER'] = "Servidor BD"; @@ -150,7 +150,7 @@ $content['LN_CFG_DBTABLENAME'] = "Nome tabela"; $content['LN_CFG_NAMEOFTHESOURCE'] = "Nome da origem"; $content['LN_CFG_FIRSTSYSLOGSOURCE'] = "Fonte primária Syslog"; $content['LN_CFG_DBROWCOUNTING'] = "Habilitar contagem de registro"; - $content['LN_CFG_VIEW'] = "Select View"; +$content['LN_CFG_VIEW'] = "Selecione visão"; // Details page $content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id"; From 3e647291ba2e5cba972a52679cd8640db0a6614f Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Mon, 7 Jul 2008 17:08:00 +0200 Subject: [PATCH 6/6] Incremented build and added changelog entry --- ChangeLog | 5 +++++ src/include/functions_common.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6399df1..d382724 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ --------------------------------------------------------------------------- +Version 2.3.7 (beta), 2008-07-07 +- Added missing db mapping for program field of syslogng - thanks to + Micha "Wolvverine" Panasiewicz +- Added translation for Brazilian Portuguese, thanks to Ricardo Maraschini +--------------------------------------------------------------------------- Version 2.3.6 (devel), 2008-06-09 - Added new feature, multiple configureable views which can be configured and selected for each source seperately. Old configurations can still diff --git a/src/include/functions_common.php b/src/include/functions_common.php index ec43904..836dcd9 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -62,7 +62,7 @@ $LANG_EN = "en"; // Used for fallback $LANG = "en"; // Default language // Default Template vars -$content['BUILDNUMBER'] = "2.3.6"; +$content['BUILDNUMBER'] = "2.3.7"; $content['TITLE'] = "phpLogCon :: Release " . $content['BUILDNUMBER']; // Default page title $content['BASEPATH'] = $gl_root_path; $content['EXTRA_METATAGS'] = "";