Commit 421856cbfbbb238796dcb0b848058a00ceb5d58c
1 parent
1c9b2c52
Exists in
master
and in
5 other branches
Trabalhando na tradução e ajustes para empacotamento .deb
Showing
3 changed files
with
28 additions
and
22 deletions
Show diff stats
Makefile.in
... | ... | @@ -196,14 +196,15 @@ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz: clean src/pw3270/$(PACKAGE_NAME).p |
196 | 196 | @rm -fr $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
197 | 197 | @echo $@ |
198 | 198 | |
199 | -install: install-sdk install-lib install-locale | |
200 | - @make BINDIR="../../$(BINDIR)" LIB3270_LIBS="$(RLSLIB)" LIB3270_CFLAGS="-I../../src/include" -C src/pw3270 install | |
199 | +install: install-sdk install-lib install-app | |
201 | 200 | |
201 | +install-app: install-locale | |
202 | + @$(MAKE) BINDIR="../../$(BINDIR)" LIB3270_LIBS="$(RLSLIB)" LIB3270_CFLAGS="-I../../src/include" -C src/pw3270 install | |
202 | 203 | @$(MKDIR) $(DESTDIR)$(datarootdir)/$(PACKAGE_NAME)/ui |
203 | 204 | @$(INSTALL_DATA) ui/*.xml $(DESTDIR)$(datarootdir)/$(PACKAGE_NAME)/ui |
204 | 205 | |
205 | 206 | install-lib: |
206 | - @make BINRLS="../../.bin/Release/lib" -C src/lib3270 install | |
207 | + @$(MAKE) BINRLS="../../.bin/Release/lib" -C src/lib3270 install | |
207 | 208 | |
208 | 209 | install-locale: $(foreach MO, $(basename $(LANG_FILES)), $(BINDIR)/Release/$(localedir)/$(notdir $(MO))/LC_MESSAGES/$(PACKAGE_NAME).mo) |
209 | 210 | @echo -e $(foreach MO, $(notdir $(basename $(LANG_FILES))), mkdir -p $(DESTDIR)/$(localedir)/$(MO)/LC_MESSAGES\\n$(INSTALL_DATA) $(BINDIR)/Release/$(localedir)/$(MO)/LC_MESSAGES/$(PACKAGE_NAME).mo $(DESTDIR)/$(localedir)/$(MO)/LC_MESSAGES/$(PACKAGE_NAME).mo \\n ) | $(SHELL) | ... | ... |
debian.rules
... | ... | @@ -20,7 +20,7 @@ build-stamp: |
20 | 20 | dh_testdir |
21 | 21 | |
22 | 22 | # Add here commands to compile the package. |
23 | - ./configure | |
23 | + ./configure --prefix=/usr | |
24 | 24 | make all |
25 | 25 | # --- end custom part for compiling |
26 | 26 | |
... | ... | @@ -43,9 +43,10 @@ install: build |
43 | 43 | dh_clean -k |
44 | 44 | dh_installdirs |
45 | 45 | |
46 | - # Add here commands to install the package | |
47 | - # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage> | |
48 | - make install DESTDIR=/usr/src/packages/BUILD/debian/pw3270 | |
46 | + # Add here commands to install the packages | |
47 | + make DESTDIR=/usr/src/packages/BUILD/debian/lib3270 install-lib | |
48 | + make DESTDIR=/usr/src/packages/BUILD/debian/lib3270-dev install-sdk | |
49 | + make DESTDIR=/usr/src/packages/BUILD/debian/pw3270 install-app | |
49 | 50 | # --- end custom part for installing |
50 | 51 | |
51 | 52 | # Build architecture-independent files here. | ... | ... |
po/pt_BR.po
1 | +# | |
2 | +# Perry Werneck <perry.werneck@gmail.com>, 2012. | |
3 | +# | |
1 | 4 | msgid "" |
2 | 5 | msgstr "" |
3 | 6 | "Project-Id-Version: pw3270 5.0\n" |
4 | 7 | "Report-Msgid-Bugs-To: \n" |
5 | 8 | "POT-Creation-Date: 2012-05-04 10:26-0300\n" |
6 | -"PO-Revision-Date: \n" | |
9 | +"PO-Revision-Date: 2012-05-04 11:54-0300\n" | |
7 | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
8 | -"Language-Team: \n" | |
11 | +"Language-Team: Português do Brasil <>\n" | |
9 | 12 | "Language: \n" |
10 | 13 | "MIME-Version: 1.0\n" |
11 | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
... | ... | @@ -13,10 +16,11 @@ msgstr "" |
13 | 16 | "X-Poedit-Language: Portuguese\n" |
14 | 17 | "X-Poedit-Country: BRAZIL\n" |
15 | 18 | "X-Poedit-SourceCharset: utf-8\n" |
19 | +"Plural-Forms: nplurals=2; plural=(n!=1);\n" | |
16 | 20 | |
17 | 21 | #: ft_cut.c:292 |
18 | 22 | msgid " Unknown frame type from host" |
19 | -msgstr "" | |
23 | +msgstr "Servidor enviou tipo de frame desconhecido" | |
20 | 24 | |
21 | 25 | #: actions.c:608 actions.c:620 |
22 | 26 | #, c-format |
... | ... | @@ -184,7 +188,7 @@ msgstr "Tema de c_ores:" |
184 | 188 | #: uiparser/parsefile.c:203 |
185 | 189 | #, c-format |
186 | 190 | msgid "Can't accept unnamed %s" |
187 | -msgstr "" | |
191 | +msgstr "Não posso aceitar elemento %s sem nome" | |
188 | 192 | |
189 | 193 | #: telnet.c:644 |
190 | 194 | #, c-format |
... | ... | @@ -215,7 +219,7 @@ msgstr "Não foi possível abrir arquivo local" |
215 | 219 | |
216 | 220 | #: uiparser/parser.c:241 uiparser/parsefile.c:301 uiparser/parsefile.c:329 |
217 | 221 | msgid "Can't parse UI" |
218 | -msgstr "" | |
222 | +msgstr "Não foi possível processar a UI" | |
219 | 223 | |
220 | 224 | #: uiparser/parser.c:239 |
221 | 225 | #, c-format |
... | ... | @@ -272,7 +276,7 @@ msgstr "Cancelado pelo usuário" |
272 | 276 | |
273 | 277 | #: telnet.c:693 |
274 | 278 | msgid "Cannot create socket handle" |
275 | -msgstr "" | |
279 | +msgstr "Não foi possível criar um manipulador de socket" | |
276 | 280 | |
277 | 281 | #: init.c:224 |
278 | 282 | #, c-format |
... | ... | @@ -355,7 +359,7 @@ msgstr "" |
355 | 359 | |
356 | 360 | #: telnet.c:1260 |
357 | 361 | msgid "EOR received when not in 3270 mode, ignored." |
358 | -msgstr "" | |
362 | +msgstr "EOR recebido fora do modo 3270, ignorado." | |
359 | 363 | |
360 | 364 | #: host.c:339 |
361 | 365 | msgid "Empty LU name" |
... | ... | @@ -447,7 +451,7 @@ msgstr "Formato inválido no nome do servidor" |
447 | 451 | |
448 | 452 | #: ft_cut.c:476 |
449 | 453 | msgid "Illegal frame length" |
450 | -msgstr "" | |
454 | +msgstr "Comprimento de frame inválido" | |
451 | 455 | |
452 | 456 | #: ui/00default.xml:185 |
453 | 457 | msgid "Input method" |
... | ... | @@ -471,7 +475,7 @@ msgstr "Manter selecionado" |
471 | 475 | |
472 | 476 | #: paste.c:267 |
473 | 477 | msgid "Keyboard is locked" |
474 | -msgstr "" | |
478 | +msgstr "Teclado está bloqueado" | |
475 | 479 | |
476 | 480 | #: host.c:389 |
477 | 481 | msgid "Missing ']'" |
... | ... | @@ -885,7 +889,7 @@ msgstr "Erro inesperado" |
885 | 889 | #: uiparser/action.c:63 |
886 | 890 | #, c-format |
887 | 891 | msgid "Unexpected group \"%s\"" |
888 | -msgstr "" | |
892 | +msgstr "Grupo inesperado \"%s\"" | |
889 | 893 | |
890 | 894 | #: actions.c:396 actions.c:416 |
891 | 895 | #, c-format |
... | ... | @@ -912,7 +916,7 @@ msgstr "" |
912 | 916 | #: kybd.c:315 |
913 | 917 | #, c-format |
914 | 918 | msgid "Unexpected type %d in typeahead queue" |
915 | -msgstr "" | |
919 | +msgstr "Tipo inesperado %d na fila de teclado" | |
916 | 920 | |
917 | 921 | #: ft_cut.c:354 |
918 | 922 | msgid "Unknown FT control code from host" |
... | ... | @@ -982,11 +986,11 @@ msgstr "Windows ocidental (CP1252)" |
982 | 986 | |
983 | 987 | #: v3270/oia.c:387 v3270/oia.c:411 v3270/oia.c:415 |
984 | 988 | msgid "X" |
985 | -msgstr "" | |
989 | +msgstr "X" | |
986 | 990 | |
987 | 991 | #: v3270/oia.c:391 |
988 | 992 | msgid "X -f" |
989 | -msgstr "" | |
993 | +msgstr "X -f" | |
990 | 994 | |
991 | 995 | #: v3270/oia.c:423 |
992 | 996 | msgid "X Connecting" |
... | ... | @@ -994,7 +998,7 @@ msgstr "X Conectando" |
994 | 998 | |
995 | 999 | #: v3270/oia.c:407 |
996 | 1000 | msgid "X Inhibit" |
997 | -msgstr "" | |
1001 | +msgstr "X Inibido" | |
998 | 1002 | |
999 | 1003 | #: v3270/oia.c:383 |
1000 | 1004 | msgid "X Not Connected" |
... | ... | @@ -1006,7 +1010,7 @@ msgstr "X Numérico" |
1006 | 1010 | |
1007 | 1011 | #: v3270/oia.c:403 |
1008 | 1012 | msgid "X Overflow" |
1009 | -msgstr "" | |
1013 | +msgstr "X Estouro" | |
1010 | 1014 | |
1011 | 1015 | #: v3270/oia.c:395 |
1012 | 1016 | msgid "X Protected" | ... | ... |