Commit cc676306de1842930c9f03f622995c01641a5ff6

Authored by Perry Werneck
1 parent 2038d797

Ajuste para detectar automáticamente o diretório do python

Showing 2 changed files with 27 additions and 7 deletions   Show diff stats
@@ -5,7 +5,7 @@ msgid "" @@ -5,7 +5,7 @@ msgid ""
5 msgstr "" 5 msgstr ""
6 "Project-Id-Version: pw3270 5.0\n" 6 "Project-Id-Version: pw3270 5.0\n"
7 "Report-Msgid-Bugs-To: \n" 7 "Report-Msgid-Bugs-To: \n"
8 -"POT-Creation-Date: 2016-01-25 11:20-0200\n" 8 +"POT-Creation-Date: 2016-02-22 07:47-0300\n"
9 "PO-Revision-Date: 2014-02-17 08:05-0300\n" 9 "PO-Revision-Date: 2014-02-17 08:05-0300\n"
10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 "Language-Team: Portugues <>\n" 11 "Language-Team: Portugues <>\n"
@@ -19,6 +19,11 @@ msgstr &quot;&quot; @@ -19,6 +19,11 @@ msgstr &quot;&quot;
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20 "X-Generator: Gtranslator 2.91.6\n" 20 "X-Generator: Gtranslator 2.91.6\n"
21 21
  22 +#: window.c:329
  23 +#, c-format
  24 +msgid " and <b>%s</b> for %s."
  25 +msgstr " and <b>%s</b> for %s."
  26 +
22 #: telnet.c:1057 ssl.c:262 ssl.c:315 connect.c:101 connect.c:117 connect.c:119 27 #: telnet.c:1057 ssl.c:262 ssl.c:315 connect.c:101 connect.c:117 connect.c:119
23 #: connect.c:572 connect.c:589 28 #: connect.c:572 connect.c:589
24 #, c-format 29 #, c-format
@@ -85,6 +90,11 @@ msgstr &quot;%s: Caractere desconhecido depois de \\pf&quot; @@ -85,6 +90,11 @@ msgstr &quot;%s: Caractere desconhecido depois de \\pf&quot;
85 msgid "%s: Vertical tab not supported" 90 msgid "%s: Vertical tab not supported"
86 msgstr "%s: Tabulação vertical não é suportada" 91 msgstr "%s: Tabulação vertical não é suportada"
87 92
  93 +#: window.c:324
  94 +#, fuzzy, c-format
  95 +msgid "%s<b>%s</b> for %s"
  96 +msgstr "<b>%s</b>\n"
  97 +
88 #: main.c:425 98 #: main.c:425
89 msgid "- 3270 Emulator for Gtk" 99 msgid "- 3270 Emulator for Gtk"
90 msgstr "- Emulador 3270 para GTK" 100 msgstr "- Emulador 3270 para GTK"
@@ -432,6 +442,11 @@ msgstr &quot;Incapaz de processar arquivos de descrição de UI em %s&quot; @@ -432,6 +442,11 @@ msgstr &quot;Incapaz de processar arquivos de descrição de UI em %s&quot;
432 msgid "Can't parse unnamed element" 442 msgid "Can't parse unnamed element"
433 msgstr "Incapaz de processar elemento sem nome" 443 msgstr "Incapaz de processar elemento sem nome"
434 444
  445 +#: window.c:312
  446 +#, c-format
  447 +msgid "Can't recognize \"%s\" as a valid host type"
  448 +msgstr "Can't recognize \"%s\" as a valid host type"
  449 +
435 #: trace.c:208 450 #: trace.c:208
436 #, c-format 451 #, c-format
437 msgid "Can't save %s" 452 msgid "Can't save %s"
@@ -1011,7 +1026,7 @@ msgstr &quot;Minutes for auto-disconnect&quot; @@ -1011,7 +1026,7 @@ msgstr &quot;Minutes for auto-disconnect&quot;
1011 msgid "Misc colors" 1026 msgid "Misc colors"
1012 msgstr "Cores diversas" 1027 msgstr "Cores diversas"
1013 1028
1014 -#: window.c:394 1029 +#: window.c:433
1015 #, c-format 1030 #, c-format
1016 msgid "Model %d (%s)" 1031 msgid "Model %d (%s)"
1017 msgstr "Modelo %d (%s)" 1032 msgstr "Modelo %d (%s)"
@@ -1951,6 +1966,11 @@ msgstr &quot;&quot; @@ -1951,6 +1966,11 @@ msgstr &quot;&quot;
1951 "The issuer certificate of a looked up certificate could not be found. This " 1966 "The issuer certificate of a looked up certificate could not be found. This "
1952 "normally means the list of trusted certificates is not complete." 1967 "normally means the list of trusted certificates is not complete."
1953 1968
  1969 +#: window.c:331
  1970 +#, c-format
  1971 +msgid "The known types are %s"
  1972 +msgstr "The known types are %s"
  1973 +
1954 #: main.c:412 1974 #: main.c:412
1955 msgid "The model of 3270 display to be emulated" 1975 msgid "The model of 3270 display to be emulated"
1956 msgstr "The model of 3270 display to be emulated" 1976 msgstr "The model of 3270 display to be emulated"
@@ -2837,9 +2857,6 @@ msgstr &quot;translator-credits&quot; @@ -2837,9 +2857,6 @@ msgstr &quot;translator-credits&quot;
2837 #~ msgid "Invalid charset entry '%s' (#%d)" 2857 #~ msgid "Invalid charset entry '%s' (#%d)"
2838 #~ msgstr "Invalid charset entry '%s' (#%d)" 2858 #~ msgstr "Invalid charset entry '%s' (#%d)"
2839 2859
2840 -#~ msgid "<b>%s</b>\n"  
2841 -#~ msgstr "<b>%s</b>\n"  
2842 -  
2843 #, fuzzy 2860 #, fuzzy
2844 #~ msgid "Can't load plugin" 2861 #~ msgid "Can't load plugin"
2845 #~ msgstr "Não foi possível carregar arquivo" 2862 #~ msgstr "Não foi possível carregar arquivo"
src/python/Makefile.in
  1 +
  2 +
1 # 3 #
2 # "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 4 # "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3 # (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a 5 # (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
@@ -36,6 +38,7 @@ sbindir=@sbindir@ @@ -36,6 +38,7 @@ sbindir=@sbindir@
36 libdir=@libdir@ 38 libdir=@libdir@
37 includedir=@includedir@ 39 includedir=@includedir@
38 sysconfdir=@sysconfdir@ 40 sysconfdir=@sysconfdir@
  41 +PYTHONLIBPATH=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
39 42
40 #---[ Tools ]------------------------------------------------------------------ 43 #---[ Tools ]------------------------------------------------------------------
41 44
@@ -108,8 +111,8 @@ run: $(BINDBG)/py3270@DLLEXT@ @@ -108,8 +111,8 @@ run: $(BINDBG)/py3270@DLLEXT@
108 #---[ Misc targets ]----------------------------------------------------------- 111 #---[ Misc targets ]-----------------------------------------------------------
109 112
110 install: $(BINRLS)/py3270@DLLEXT@ 113 install: $(BINRLS)/py3270@DLLEXT@
111 - @$(MKDIR) $(DESTDIR)/$(libdir)/python/site-packages  
112 - @$(INSTALL_PROGRAM) $(BINRLS)/py3270@DLLEXT@ $(DESTDIR)/$(libdir)/python/site-packages/py3270@DLLEXT@ 114 + @$(MKDIR) $(DESTDIR)/$(PYTHONLIBPATH)/py3270@DLLEXT@
  115 + @$(INSTALL_PROGRAM) $(BINRLS)/py3270@DLLEXT@ $(DESTDIR)/$(PYTHONLIBPATH)/py3270@DLLEXT@
113 116
114 cleanDebug: clean 117 cleanDebug: clean
115 118