Commit 421856cbfbbb238796dcb0b848058a00ceb5d58c

Authored by perry.werneck@gmail.com
1 parent 1c9b2c52

Trabalhando na tradução e ajustes para empacotamento .deb

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