From cc676306de1842930c9f03f622995c01641a5ff6 Mon Sep 17 00:00:00 2001 From: PerryWerneck Date: Mon, 22 Feb 2016 07:47:47 -0300 Subject: [PATCH] Ajuste para detectar automáticamente o diretório do python --- po/pt_BR.po | 27 ++++++++++++++++++++++----- src/python/Makefile.in | 7 +++++-- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 769564f..11b592b 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-01-25 11:20-0200\n" +"POT-Creation-Date: 2016-02-22 07:47-0300\n" "PO-Revision-Date: 2014-02-17 08:05-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Portugues <>\n" @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Gtranslator 2.91.6\n" +#: window.c:329 +#, c-format +msgid " and %s for %s." +msgstr " and %s for %s." + #: telnet.c:1057 ssl.c:262 ssl.c:315 connect.c:101 connect.c:117 connect.c:119 #: connect.c:572 connect.c:589 #, c-format @@ -85,6 +90,11 @@ msgstr "%s: Caractere desconhecido depois de \\pf" msgid "%s: Vertical tab not supported" msgstr "%s: Tabulação vertical não é suportada" +#: window.c:324 +#, fuzzy, c-format +msgid "%s%s for %s" +msgstr "%s\n" + #: main.c:425 msgid "- 3270 Emulator for Gtk" msgstr "- Emulador 3270 para GTK" @@ -432,6 +442,11 @@ msgstr "Incapaz de processar arquivos de descrição de UI em %s" msgid "Can't parse unnamed element" msgstr "Incapaz de processar elemento sem nome" +#: window.c:312 +#, c-format +msgid "Can't recognize \"%s\" as a valid host type" +msgstr "Can't recognize \"%s\" as a valid host type" + #: trace.c:208 #, c-format msgid "Can't save %s" @@ -1011,7 +1026,7 @@ msgstr "Minutes for auto-disconnect" msgid "Misc colors" msgstr "Cores diversas" -#: window.c:394 +#: window.c:433 #, c-format msgid "Model %d (%s)" msgstr "Modelo %d (%s)" @@ -1951,6 +1966,11 @@ msgstr "" "The issuer certificate of a looked up certificate could not be found. This " "normally means the list of trusted certificates is not complete." +#: window.c:331 +#, c-format +msgid "The known types are %s" +msgstr "The known types are %s" + #: main.c:412 msgid "The model of 3270 display to be emulated" msgstr "The model of 3270 display to be emulated" @@ -2837,9 +2857,6 @@ msgstr "translator-credits" #~ msgid "Invalid charset entry '%s' (#%d)" #~ msgstr "Invalid charset entry '%s' (#%d)" -#~ msgid "%s\n" -#~ msgstr "%s\n" - #, fuzzy #~ msgid "Can't load plugin" #~ msgstr "Não foi possível carregar arquivo" diff --git a/src/python/Makefile.in b/src/python/Makefile.in index b8ba749..1f53a17 100644 --- a/src/python/Makefile.in +++ b/src/python/Makefile.in @@ -1,3 +1,5 @@ + + # # "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 # (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a @@ -36,6 +38,7 @@ sbindir=@sbindir@ libdir=@libdir@ includedir=@includedir@ sysconfdir=@sysconfdir@ +PYTHONLIBPATH=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"` #---[ Tools ]------------------------------------------------------------------ @@ -108,8 +111,8 @@ run: $(BINDBG)/py3270@DLLEXT@ #---[ Misc targets ]----------------------------------------------------------- install: $(BINRLS)/py3270@DLLEXT@ - @$(MKDIR) $(DESTDIR)/$(libdir)/python/site-packages - @$(INSTALL_PROGRAM) $(BINRLS)/py3270@DLLEXT@ $(DESTDIR)/$(libdir)/python/site-packages/py3270@DLLEXT@ + @$(MKDIR) $(DESTDIR)/$(PYTHONLIBPATH)/py3270@DLLEXT@ + @$(INSTALL_PROGRAM) $(BINRLS)/py3270@DLLEXT@ $(DESTDIR)/$(PYTHONLIBPATH)/py3270@DLLEXT@ cleanDebug: clean -- libgit2 0.21.2