From b57c1f723c6d7a8defad81038882cc8ce8fc5d25 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Mon, 13 Aug 2012 15:14:52 +0000 Subject: [PATCH] Incluindo detecção automática do java. Atualizando tradução pt_BR --- configure.ac | 30 ++++++++++++++++++++++++++++++ po/pt_BR.po | 38 +++++++++++++++++--------------------- 2 files changed, 47 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac index a776d99..dbe6d19 100644 --- a/configure.ac +++ b/configure.ac @@ -237,6 +237,36 @@ if test "$app_cv_pic" == "yes"; then DLL_CFLAGS="$DLL_CFLAGS -fPIC" fi +#--[ Check For Java ]----------------------------------------------------------------------------------------------------------------------------------------- + +AC_ARG_ENABLE([java],[AS_HELP_STRING([--disable-java], [Disable java extension & plugin])],[ app_cv_java="$enableval" ],[ app_cv_java="yes" ]) + +# Check for JDK_HOME +if test "_$JDK_HOME" = "_" ; then + AC_CHECK_FILE("/usr/java/default/bin/javac",JDK_HOME="/usr/java/default",) +fi + +if test "_$JDK_HOME" = "_" ; then + app_cv_java="no" +fi + +# Check for JRE_HOME +if test "_$JRE_HOME" = "_" ; then + JRE_HOME="\$(JDK_HOME)/jre" +fi + +if test "$app_cv_java" = "yes" ; then + AC_PATH_TOOL([JAVAC], [javac], [\$(JDK_HOME)/bin/javac]) + AC_PATH_TOOL([JAVAH], [javah], [\$(JDK_HOME)/bin/javah]) + AC_PATH_TOOL([JAR], [jar], [\$(JDK_HOME)/bin/jar]) +fi + +AC_SUBST(JAVAC) +AC_SUBST(JAVAH) +AC_SUBST(JAR) +AC_SUBST(JDK_HOME) +AC_SUBST(JRE_HOME) + #--[ Misc options ]------------------------------------------------------------------------------------------------------------------------------------------- AC_SUBST(MAJOR_VERSION,"$(echo $VERSION | cut -d. -f1)") diff --git a/po/pt_BR.po b/po/pt_BR.po index 0da59c1..10d94af 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-08-09 16:58-0300\n" -"PO-Revision-Date: 2012-08-03 08:52-0300\n" +"POT-Creation-Date: 2012-08-10 14:40-0300\n" +"PO-Revision-Date: 2012-08-13 12:14-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português do Brasil <>\n" "Language: pt_BR\n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n!=1);\n" #: kybd.c:2638 -#, fuzzy, c-format +#, c-format msgid "%s: Bell not supported" -msgstr "Opção não suportada: '%c:'" +msgstr "%s: Alerta sonoro não suportado" #: kybd.c:2797 #, c-format @@ -44,9 +44,9 @@ msgid "%s: Unknown character after \\pf" msgstr "%s: Unknown character after \\pf" #: kybd.c:2689 -#, fuzzy, c-format +#, c-format msgid "%s: Vertical tab not supported" -msgstr "Opção não suportada: '%c:'" +msgstr "%s: Tabulação verticao não suportada" #: resolver.c:122 #, c-format @@ -288,21 +288,20 @@ msgid "HTTP Proxy: receive error" msgstr "HTTP Proxy: receive error" #: proxy.c:399 proxy.c:417 proxy.c:430 -#, fuzzy msgid "HTTP Proxy: send error" -msgstr "Erro de interpretação" +msgstr "HTTP Proxy: Erro ao enviar" #: proxy.c:450 msgid "HTTP Proxy: server timeout" -msgstr "HTTP Proxy: server timeout" +msgstr "HTTP Proxy: Timeout no acesso ao servidor" #: proxy.c:473 msgid "HTTP Proxy: unexpected EOF" -msgstr "HTTP Proxy: unexpected EOF" +msgstr "HTTP Proxy: EOF inesperado" #: proxy.c:494 msgid "HTTP Proxy: unrecognized reply" -msgstr "HTTP Proxy: unrecognized reply" +msgstr "HTTP Proxy: Resposta desconhecida" #: ui/00default.xml:196 msgid "Help" @@ -342,18 +341,17 @@ msgid "Invalid (empty) hostname" msgstr "Nome do host é invalido (vazio)" #: proxy.c:284 proxy.c:296 -#, fuzzy msgid "Invalid proxy hostname syntax" -msgstr "Formato inválido no nome do proxy" +msgstr "Erro de sintaxe no nome do proxy" #: proxy.c:172 msgid "Invalid proxy syntax" -msgstr "Formato inválido no nome do proxy" +msgstr "Sintaxe de proxy inválida" #: proxy.c:255 -#, fuzzy, c-format +#, c-format msgid "Invalid proxy type '%.*s'" -msgstr "Formato inválido no nome do proxy" +msgstr "Tipo de proxy invalido '%.*s'" #: ui/00default.xml:184 msgid "Keep selected" @@ -402,7 +400,7 @@ msgstr "Opção não suportada: '%c:'" #: proxy.c:363 msgid "Passthru Proxy: send error" -msgstr "Passthru Proxy: send error" +msgstr "Passthru Proxy: Erro ao enviar" #: ui/00default.xml:120 msgid "Paste" @@ -757,9 +755,8 @@ msgid "TELNET Proxy: send error" msgstr "TELNET Proxy: send error" #: telnet.c:3227 -#, fuzzy msgid "TLS negotiation failure" -msgstr "Negociação SSL falhou" +msgstr "Negociação TLS falhou" #: host.c:378 msgid "Text before '['" @@ -867,9 +864,8 @@ msgid "Unknown port number or service: %s" msgstr "Número de porta ou serviço desconhecido: %s" #: rpq.c:220 -#, fuzzy msgid "Unsupported RPQ term" -msgstr "Unsupported socks 4 proxy" +msgstr "Unsupported RPQ term" #: telnet.c:544 msgid "Unsupported passthru host session" -- libgit2 0.21.2