Commit af7ebdcc358eb44fcb683dd2e0476f3a8caa5934
1 parent
89ce97fd
Exists in
master
and in
5 other branches
Ajustes no empacotamento windows.
Showing
5 changed files
with
33 additions
and
32 deletions
Show diff stats
Makefile.in
... | ... | @@ -192,6 +192,8 @@ all: \ |
192 | 192 | $(BINDIR)/$(PACKAGE_NAME)-logo.png \ |
193 | 193 | locale/$(PACKAGE_TARNAME).pot |
194 | 194 | |
195 | + @$(MAKE) -C locale all | |
196 | + | |
195 | 197 | Release: \ |
196 | 198 | $(BINRLS)/lib3270@DLLEXT@ \ |
197 | 199 | $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ \ |
... | ... | @@ -200,6 +202,8 @@ Release: \ |
200 | 202 | $(BINDIR)/$(PACKAGE_NAME)-logo.png \ |
201 | 203 | locale/$(PACKAGE_TARNAME).pot |
202 | 204 | |
205 | + @$(MAKE) -C locale all | |
206 | + | |
203 | 207 | locale/$(PACKAGE_TARNAME).pot: \ |
204 | 208 | $(POTDIR)/lib3270.pot \ |
205 | 209 | $(POTDIR)/pw3270.pot \ | ... | ... |
locale/Makefile.in
... | ... | @@ -36,6 +36,9 @@ PACKAGE_NAME=@PACKAGE_NAME@ |
36 | 36 | PACKAGE_VERSION=@PACKAGE_VERSION@ |
37 | 37 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
38 | 38 | |
39 | +BASEDIR=@BASEDIR@ | |
40 | +BINDIR=$(BASEDIR)/.bin/locale | |
41 | + | |
39 | 42 | MKDIR=@MKDIR_P@ |
40 | 43 | MSGCAT=@MSGCAT@ |
41 | 44 | MSGFMT=@MSGFMT@ |
... | ... | @@ -52,18 +55,24 @@ INSTALL_DATA=@INSTALL_DATA@ |
52 | 55 | @touch $@ |
53 | 56 | @$(MSGMERGE) --update --sort-output $@ $(PACKAGE_NAME).pot |
54 | 57 | |
55 | -$(DESTDIR)/$(localedir)/%/LC_MESSAGES/$(PACKAGE_NAME).mo: \ | |
58 | +$(BINDIR)/%/LC_MESSAGES/$(PACKAGE_NAME).mo: \ | |
56 | 59 | %.po |
57 | 60 | |
58 | 61 | @echo $< ... |
59 | 62 | @$(MKDIR) `dirname $@` |
60 | 63 | @$(MSGFMT) -c -v -o $@ $^ |
61 | 64 | |
65 | +$(DESTDIR)/$(localedir)/%/LC_MESSAGES/$(PACKAGE_NAME).mo: \ | |
66 | + $(BINDIR)/%/LC_MESSAGES/$(PACKAGE_NAME).mo | |
67 | + | |
68 | + @echo $< ... | |
69 | + @$(MKDIR) `dirname $@` | |
70 | + @echo $(INSTALL_DATA) $^ $@ | |
62 | 71 | |
63 | 72 | #---[ Targets ]-------------------------------------------------------------------------- |
64 | 73 | |
65 | 74 | all: \ |
66 | - $(wildcard *.po) | |
75 | + $(foreach SRC, $(basename $(wildcard *.po)), $(BINDIR)/$(SRC)/LC_MESSAGES/$(PACKAGE_NAME).mo) | |
67 | 76 | |
68 | 77 | install: \ |
69 | 78 | $(foreach SRC, $(basename $(wildcard *.po)), $(DESTDIR)/$(localedir)/$(SRC)/LC_MESSAGES/$(PACKAGE_NAME).mo) | ... | ... |
locale/pt_BR.po
... | ... | @@ -5,7 +5,7 @@ msgid "" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | 7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2017-01-24 17:53-0200\n" | |
8 | +"POT-Creation-Date: 2017-02-01 10:21-0200\n" | |
9 | 9 | "PO-Revision-Date: 2016-10-25 10:47-0200\n" |
10 | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | 11 | "Language-Team: Português <perry.werneck@gmail.com>\n" |
... | ... | @@ -419,11 +419,6 @@ msgstr "Não foi possível conectar a %s" |
419 | 419 | msgid "Can't connect to %s:%s" |
420 | 420 | msgstr "Não foi possível conectar a %s:%s" |
421 | 421 | |
422 | -#: main.c:70 | |
423 | -#, fuzzy | |
424 | -msgid "Can't connect to DBUS server" | |
425 | -msgstr "Não foi possível conectar a %s" | |
426 | - | |
427 | 422 | #: selection.c:425 |
428 | 423 | #, c-format |
429 | 424 | msgid "Can't convert line %d from %s to %s" |
... | ... | @@ -438,10 +433,6 @@ msgstr "Recortar não permitido em seleção retangular" |
438 | 433 | msgid "Can't determine value for environment variable \"%s\" " |
439 | 434 | msgstr "Não consigo determinar o valor da variável de ambiente \"%s\" " |
440 | 435 | |
441 | -#: main.c:115 | |
442 | -msgid "Can't get DBUS object name" | |
443 | -msgstr "" | |
444 | - | |
445 | 436 | #: ft.c:413 |
446 | 437 | msgid "Can't get file size" |
447 | 438 | msgstr "Não foi possível obter o tamanho do arquivo" |
... | ... | @@ -663,11 +654,6 @@ msgstr "Configurar host" |
663 | 654 | msgid "Connect on startup" |
664 | 655 | msgstr "Conectar ao iniciar" |
665 | 656 | |
666 | -#: gobject.c:205 | |
667 | -#, fuzzy | |
668 | -msgid "Connecting to host" | |
669 | -msgstr "Não foi possível conectar ao servidor" | |
670 | - | |
671 | 657 | #: connect.c:200 connect.c:296 connect.c:305 connect.c:367 connect.c:382 |
672 | 658 | #: connect.c:398 connect.c:412 connect.c:432 connect.c:446 connect.c:462 |
673 | 659 | #: connect.c:557 |
... | ... | @@ -1403,7 +1389,7 @@ msgstr "Popup test" |
1403 | 1389 | msgid "Port or service name (empty for \"telnet\")." |
1404 | 1390 | msgstr "Nº da porta ou nome do serviço (em branco para \"telnet\")." |
1405 | 1391 | |
1406 | -#: set.c:178 | |
1392 | +#: set.c:176 | |
1407 | 1393 | msgid "Preparing" |
1408 | 1394 | msgstr "Preparando" |
1409 | 1395 | |
... | ... | @@ -1927,11 +1913,6 @@ msgstr "Iniciar transferência de arquivo" |
1927 | 1913 | msgid "Starting" |
1928 | 1914 | msgstr "Iniciando" |
1929 | 1915 | |
1930 | -#: gobject.c:193 | |
1931 | -#, c-format | |
1932 | -msgid "State %04d can't accept requests" | |
1933 | -msgstr "" | |
1934 | - | |
1935 | 1916 | #: security.c:237 |
1936 | 1917 | msgid "Subject issuer mismatch" |
1937 | 1918 | msgstr "Divergência na identidade do emissor" |
... | ... | @@ -2417,11 +2398,6 @@ msgstr "Valor de cor inválido ou inesperado: \"%s\"" |
2417 | 2398 | msgid "Unexpected or unknown security status" |
2418 | 2399 | msgstr "Estado de segurança inesperado ou desconhecido." |
2419 | 2400 | |
2420 | -#: gobject.c:208 | |
2421 | -#, fuzzy, c-format | |
2422 | -msgid "Unexpected state %04d" | |
2423 | -msgstr "Alvo inesperado \"%s\"" | |
2424 | - | |
2425 | 2401 | #: actions.c:391 |
2426 | 2402 | #, c-format |
2427 | 2403 | msgid "Unexpected target \"%s\"" |
... | ... | @@ -2831,6 +2807,10 @@ msgstr "translator-credits" |
2831 | 2807 | #~ "32768. Valores maiores trazem maior performance, porem, nem todos os " |
2832 | 2808 | #~ "hosts podem suportá-los." |
2833 | 2809 | |
2810 | +#, fuzzy | |
2811 | +#~ msgid "Can't connect to DBUS server" | |
2812 | +#~ msgstr "Não foi possível conectar a %s" | |
2813 | + | |
2834 | 2814 | #~ msgid "Can't start download." |
2835 | 2815 | #~ msgstr "Não foi possível iniciar o download." |
2836 | 2816 | |
... | ... | @@ -2867,6 +2847,10 @@ msgstr "translator-credits" |
2867 | 2847 | #~ msgid "Complete" |
2868 | 2848 | #~ msgstr "Completo" |
2869 | 2849 | |
2850 | +#, fuzzy | |
2851 | +#~ msgid "Connecting to host" | |
2852 | +#~ msgstr "Não foi possível conectar ao servidor" | |
2853 | + | |
2870 | 2854 | #~ msgid "Copiar tudo" |
2871 | 2855 | #~ msgstr "Copiar tudo" |
2872 | 2856 | |
... | ... | @@ -3229,6 +3213,10 @@ msgstr "translator-credits" |
3229 | 3213 | #~ msgid "Unexpected element <%s>" |
3230 | 3214 | #~ msgstr "Elemento <%s> inesperado" |
3231 | 3215 | |
3216 | +#, fuzzy | |
3217 | +#~ msgid "Unexpected state %04d" | |
3218 | +#~ msgstr "Alvo inesperado \"%s\"" | |
3219 | + | |
3232 | 3220 | #~ msgid "" |
3233 | 3221 | #~ "Unknown host:\n" |
3234 | 3222 | #~ "%s" | ... | ... |
locale/pw3270.pot
... | ... | @@ -9,7 +9,7 @@ msgstr "" |
9 | 9 | "#-#-#-#-# lib3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
10 | 10 | "Project-Id-Version: PACKAGE VERSION\n" |
11 | 11 | "Report-Msgid-Bugs-To: \n" |
12 | -"POT-Creation-Date: 2017-02-01 09:51-0200\n" | |
12 | +"POT-Creation-Date: 2017-02-01 10:30-0200\n" | |
13 | 13 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
14 | 14 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
15 | 15 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -20,7 +20,7 @@ msgstr "" |
20 | 20 | "#-#-#-#-# pw3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
21 | 21 | "Project-Id-Version: PACKAGE VERSION\n" |
22 | 22 | "Report-Msgid-Bugs-To: \n" |
23 | -"POT-Creation-Date: 2017-02-01 09:51-0200\n" | |
23 | +"POT-Creation-Date: 2017-02-01 10:30-0200\n" | |
24 | 24 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
25 | 25 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
26 | 26 | "Language-Team: LANGUAGE <LL@li.org>\n" | ... | ... |
win/pw3270.nsi.in
... | ... | @@ -92,8 +92,8 @@ SubSection "@PACKAGE@" SecMain |
92 | 92 | file "/oname=$INSTDIR\ui\00default.xml" "..\ui\00default.xml" |
93 | 93 | |
94 | 94 | # Locale files |
95 | - #CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES" | |
96 | - #file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" "..\.bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" | |
95 | + CreateDirectory "$INSTDIR\locale\pt_BR\LC_MESSAGES" | |
96 | + file "/oname=$INSTDIR\locale\pt_BR\LC_MESSAGES\@PACKAGE@.mo" "..\.bin\locale\pt_BR\LC_MESSAGES\@PACKAGE@.mo" | |
97 | 97 | |
98 | 98 | # Save DataDir |
99 | 99 | SetRegView @WINARCH@ | ... | ... |