diff --git a/Makefile.in b/Makefile.in index e98f9cd..5e3af63 100644 --- a/Makefile.in +++ b/Makefile.in @@ -179,6 +179,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \ --keyword=_ \ --keyword=N_ \ --keyword=MSG_:2 \ + --keyword=NC_:1c,2 \ --output=$@ \ $< @touch $@ diff --git a/locale/pt_BR.po b/locale/pt_BR.po index 2577701..ead7b70 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-05 16:03-0300\n" -"PO-Revision-Date: 2020-06-06 11:11-0300\n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: 2020-08-27 09:21-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português <>\n" "Language: pt_BR\n" @@ -25,12 +25,12 @@ msgstr "" msgid "\"%s\" is not a valid user interface name" msgstr "\"%s\" não é um nome válido para interface de usuário" -#: src/objects/application/actions/about.c:96 +#: src/objects/application/actions/about.c:80 #, c-format msgid "3270 terminal emulator for GTK %d.%d" msgstr "Emulador 3270 para GTK+ %d.%d" -#: src/objects/application/actions/about.c:161 ui/application.xml:39 +#: src/objects/application/actions/about.c:167 ui/application.xml:39 #: ui/application.xml:537 msgid "About PW3270" msgstr "Sobre o PW3270" @@ -55,7 +55,7 @@ msgstr "Todos os arquivos" msgid "Append to copy" msgstr "Adicionar à cópia" -#: src/objects/application/actions/about.c:126 +#: src/objects/application/actions/about.c:110 msgid "Apple version" msgstr "Versão Apple" @@ -63,7 +63,7 @@ msgstr "Versão Apple" msgid "Application" msgstr "Aplicação" -#: src/objects/application/actions/preferences.c:69 ui/application.xml:83 +#: src/objects/application/actions/preferences.c:75 ui/application.xml:83 msgid "Application preferences" msgstr "Preferências da aplicação" @@ -79,7 +79,7 @@ msgstr "Reconectar automaticamente" msgid "Available" msgstr "Disponível" -#: src/objects/application/actions/about.c:130 +#: src/objects/application/actions/about.c:113 msgid "Based on X3270 from" msgstr "Baseado no X3270 por" @@ -95,10 +95,6 @@ msgstr "Cursor piscante" msgid "Bold" msgstr "Negrito" -#: src/objects/application/actions/about.c:142 -msgid "Brazilian Public Software Portal" -msgstr "Portal do Software Público Brasileiro" - #: src/objects/window/terminal.c:197 #, c-format msgid "Can't save file \"%s\"" @@ -143,6 +139,10 @@ msgstr "Fechar janela" msgid "Colors" msgstr "Cores" +#: src/objects/linux/savedesktopicon.c:93 +msgid "Comment" +msgstr "Comentário" + #: src/objects/window/actions/connect.c:59 msgid "Connect" msgstr "Conectar" @@ -159,7 +159,7 @@ msgstr "Conectar ao servidor" msgid "Connected to host" msgstr "Conectado no servidor" -#: src/objects/application/actions/about.c:127 +#: src/objects/application/actions/about.c:111 msgid "Contributors" msgstr "Contribuidores" @@ -175,7 +175,7 @@ msgstr "Copiar como tabela" msgid "Copy as text" msgstr "Copiar como texto" -#: src/objects/windows/savedesktopicon.c:79 +#: src/objects/linux/savedesktopicon.c:106 msgid "Create a desktop icon for the current session" msgstr "Criar ícone da área de trabalho para a sessão atual." @@ -256,7 +256,7 @@ msgstr "Apagar até o final da linha" msgid "Field attributes" msgstr "Mostra atributos de campo" -#: src/objects/windows/savedesktopicon.c:62 +#: src/objects/linux/savedesktopicon.c:72 msgid "File name" msgstr "Nome do arquivo" @@ -272,6 +272,10 @@ msgstr "Tela cheia" msgid "Function bar" msgstr "Barra de funções" +#: src/objects/linux/savedesktopicon.c:86 +msgid "Generic name" +msgstr "Nome genérico" + #: ui/application.xml:36 ui/application.xml:534 msgid "Help" msgstr "Ajuda" @@ -348,6 +352,11 @@ msgstr "Largura do painel em colunas" msgid "Keypads" msgstr "Painéis" +#: src/objects/application/actions/about.c:122 +msgctxt "LicenseFileName" +msgid "LICENSE" +msgstr "LICENCA" + #: src/objects/actions/view.c:98 msgid "Label" msgstr "Etiqueta" @@ -356,7 +365,7 @@ msgstr "Etiqueta" msgid "Large" msgstr "Grande" -#: src/objects/windows/savedesktopicon.c:67 +#: src/objects/linux/savedesktopicon.c:79 msgid "Launcher name" msgstr "Nome do lançador" @@ -376,7 +385,7 @@ msgstr "Barra de ferramentas" msgid "Main menu" msgstr "Menu principal" -#: src/objects/application/actions/about.c:125 +#: src/objects/application/actions/about.c:109 msgid "Maintainers" msgstr "Mantenedores" @@ -533,7 +542,7 @@ msgstr "Salvar" msgid "Save As" msgstr "Salvar Como" -#: src/objects/windows/savedesktopicon.c:78 +#: src/objects/linux/savedesktopicon.c:105 msgid "Save desktop icon" msgstr "Salvar ícone da área de trabalho" @@ -607,7 +616,7 @@ msgstr "Sessão em nova aba" msgid "Session in new window" msgstr "Sessão em nova janela" -#: src/objects/window/actions/sessionproperties.c:45 ui/window.xml:98 +#: src/objects/window/actions/sessionproperties.c:46 ui/window.xml:98 #: ui/window.xml:554 ui/application.xml:163 msgid "Session properties" msgstr "Propriedades da sessão" @@ -785,8 +794,8 @@ msgstr "Remover seleção" msgid "Use +/- for field navigation" msgstr "Usar teclas +/- para navegar por campos" -#: src/objects/application/actions/about.c:86 -#: src/objects/application/actions/about.c:88 +#: src/objects/application/actions/about.c:70 +#: src/objects/application/actions/about.c:72 #, c-format msgid "Version %s-%s" msgstr "Versão %s-%s" @@ -800,11 +809,11 @@ msgstr "Exibir" msgid "Window with default session" msgstr "Janela com sessão padrão" -#: src/objects/settings/dialog.c:84 +#: src/objects/settings/dialog.c:79 msgid "_Apply" msgstr "_Aplicar" -#: src/objects/settings/dialog.c:83 src/objects/windows/savedesktopicon.c:104 +#: src/objects/settings/dialog.c:78 src/objects/linux/savedesktopicon.c:132 msgid "_Cancel" msgstr "_Cancelar" @@ -848,7 +857,7 @@ msgstr "_Propriedades" msgid "_Rename session" msgstr "Renomear sessão" -#: src/objects/windows/savedesktopicon.c:105 +#: src/objects/linux/savedesktopicon.c:133 msgid "_Save" msgstr "_Salvar" @@ -856,7 +865,17 @@ msgstr "_Salvar" msgid "_View" msgstr "_Exibir" -#: src/objects/application/actions/about.c:145 +#: src/objects/application/actions/about.c:141 +msgctxt "ProjectURL" +msgid "https://github.com/PerryWerneck/pw3270" +msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" + +#: src/objects/application/actions/about.c:142 +msgctxt "ProjectURLLabel" +msgid "https://github.com/PerryWerneck/pw3270" +msgstr "Portal do Software Público Brasileiro" + +#: src/objects/application/actions/about.c:144 msgid "translator-credits" msgstr "translator-credits" @@ -1165,6 +1184,10 @@ msgstr "translator-credits" #~ msgid "Blue" #~ msgstr "Azul" +#~ msgctxt "ProjectURLTitle" +#~ msgid "Brazilian Public Software Portal" +#~ msgstr "Portal do Software Público Brasileiro" + #~ msgid "Break" #~ msgstr "Break" @@ -1508,9 +1531,6 @@ msgstr "translator-credits" #~ msgid "Command to execute" #~ msgstr "Comando a executar" -#~ msgid "Comment" -#~ msgstr "Comentário" - #~ msgid "Complete" #~ msgstr "Completo" @@ -1836,9 +1856,6 @@ msgstr "translator-credits" #~ msgid "GTK Version mismatch" #~ msgstr "Divergência de versão GTK" -#~ msgid "Generic name" -#~ msgstr "Nome genérico" - #~ msgid "Get transfer queue from an external XML file" #~ msgstr "Obtém a fila de transferência de um arquivo XML externo" @@ -3895,6 +3912,10 @@ msgstr "translator-credits" #~ msgid "fcntl() error when getting socket state." #~ msgstr "erro fcntl() ao obter estado do socket." +#~ msgctxt "ProjectURL" +#~ msgid "https://portal.softwarepublico.gov.br/social/pw3270/" +#~ msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" + #~ msgid "ioctl(%s)" #~ msgstr "ioctl(%s)" diff --git a/locale/pw3270.pot b/locale/pw3270.pot index dd7c59b..532bbed 100644 --- a/locale/pw3270.pot +++ b/locale/pw3270.pot @@ -6,9 +6,340 @@ #, fuzzy msgid "" msgstr "" +"#-#-#-#-# view.pot (PACKAGE VERSION) #-#-#-#-#\n" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-05 16:03-0300\n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# save.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# abstract.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# application.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# window.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# preferences.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# open.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# about.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:25-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# window.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# terminal.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# page.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# header.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# setcolors.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# sessionproperties.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# hostproperties.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# filetransfer.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# connect.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# close.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# toolbar.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# settings.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# dialog.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# savedesktopicon.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# tools.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# placeholders.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# model.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# element.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# attribute.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# window.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# application.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# 10-bottom.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"#-#-#-#-# 00-right.pot (PACKAGE VERSION) #-#-#-#-#\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-27 09:18-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,12 +353,12 @@ msgstr "" msgid "\"%s\" is not a valid user interface name" msgstr "" -#: src/objects/application/actions/about.c:96 +#: src/objects/application/actions/about.c:80 #, c-format msgid "3270 terminal emulator for GTK %d.%d" msgstr "" -#: src/objects/application/actions/about.c:161 ui/application.xml:39 +#: src/objects/application/actions/about.c:167 ui/application.xml:39 #: ui/application.xml:537 msgid "About PW3270" msgstr "" @@ -52,7 +383,7 @@ msgstr "" msgid "Append to copy" msgstr "" -#: src/objects/application/actions/about.c:126 +#: src/objects/application/actions/about.c:110 msgid "Apple version" msgstr "" @@ -60,7 +391,7 @@ msgstr "" msgid "Application" msgstr "" -#: src/objects/application/actions/preferences.c:69 ui/application.xml:83 +#: src/objects/application/actions/preferences.c:75 ui/application.xml:83 msgid "Application preferences" msgstr "" @@ -76,7 +407,7 @@ msgstr "" msgid "Available" msgstr "" -#: src/objects/application/actions/about.c:130 +#: src/objects/application/actions/about.c:113 msgid "Based on X3270 from" msgstr "" @@ -92,10 +423,6 @@ msgstr "" msgid "Bold" msgstr "" -#: src/objects/application/actions/about.c:142 -msgid "Brazilian Public Software Portal" -msgstr "" - #: src/objects/window/terminal.c:197 #, c-format msgid "Can't save file \"%s\"" @@ -140,6 +467,10 @@ msgstr "" msgid "Colors" msgstr "" +#: src/objects/linux/savedesktopicon.c:93 +msgid "Comment" +msgstr "" + #: src/objects/window/actions/connect.c:59 msgid "Connect" msgstr "" @@ -156,7 +487,7 @@ msgstr "" msgid "Connected to host" msgstr "" -#: src/objects/application/actions/about.c:127 +#: src/objects/application/actions/about.c:111 msgid "Contributors" msgstr "" @@ -172,7 +503,7 @@ msgstr "" msgid "Copy as text" msgstr "" -#: src/objects/windows/savedesktopicon.c:79 +#: src/objects/linux/savedesktopicon.c:106 msgid "Create a desktop icon for the current session" msgstr "" @@ -253,7 +584,7 @@ msgstr "" msgid "Field attributes" msgstr "" -#: src/objects/windows/savedesktopicon.c:62 +#: src/objects/linux/savedesktopicon.c:72 msgid "File name" msgstr "" @@ -269,6 +600,10 @@ msgstr "" msgid "Function bar" msgstr "" +#: src/objects/linux/savedesktopicon.c:86 +msgid "Generic name" +msgstr "" + #: ui/application.xml:36 ui/application.xml:534 msgid "Help" msgstr "" @@ -345,6 +680,11 @@ msgstr "" msgid "Keypads" msgstr "" +#: src/objects/application/actions/about.c:122 +msgctxt "LicenseFileName" +msgid "LICENSE" +msgstr "" + #: src/objects/actions/view.c:98 msgid "Label" msgstr "" @@ -353,7 +693,7 @@ msgstr "" msgid "Large" msgstr "" -#: src/objects/windows/savedesktopicon.c:67 +#: src/objects/linux/savedesktopicon.c:79 msgid "Launcher name" msgstr "" @@ -373,7 +713,7 @@ msgstr "" msgid "Main menu" msgstr "" -#: src/objects/application/actions/about.c:125 +#: src/objects/application/actions/about.c:109 msgid "Maintainers" msgstr "" @@ -530,7 +870,7 @@ msgstr "" msgid "Save As" msgstr "" -#: src/objects/windows/savedesktopicon.c:78 +#: src/objects/linux/savedesktopicon.c:105 msgid "Save desktop icon" msgstr "" @@ -604,7 +944,7 @@ msgstr "" msgid "Session in new window" msgstr "" -#: src/objects/window/actions/sessionproperties.c:45 ui/window.xml:98 +#: src/objects/window/actions/sessionproperties.c:46 ui/window.xml:98 #: ui/window.xml:554 ui/application.xml:163 msgid "Session properties" msgstr "" @@ -782,8 +1122,8 @@ msgstr "" msgid "Use +/- for field navigation" msgstr "" -#: src/objects/application/actions/about.c:86 -#: src/objects/application/actions/about.c:88 +#: src/objects/application/actions/about.c:70 +#: src/objects/application/actions/about.c:72 #, c-format msgid "Version %s-%s" msgstr "" @@ -797,11 +1137,11 @@ msgstr "" msgid "Window with default session" msgstr "" -#: src/objects/settings/dialog.c:84 +#: src/objects/settings/dialog.c:79 msgid "_Apply" msgstr "" -#: src/objects/settings/dialog.c:83 src/objects/windows/savedesktopicon.c:104 +#: src/objects/settings/dialog.c:78 src/objects/linux/savedesktopicon.c:132 msgid "_Cancel" msgstr "" @@ -845,7 +1185,7 @@ msgstr "" msgid "_Rename session" msgstr "" -#: src/objects/windows/savedesktopicon.c:105 +#: src/objects/linux/savedesktopicon.c:133 msgid "_Save" msgstr "" @@ -853,6 +1193,16 @@ msgstr "" msgid "_View" msgstr "" -#: src/objects/application/actions/about.c:145 +#: src/objects/application/actions/about.c:141 +msgctxt "ProjectURL" +msgid "https://github.com/PerryWerneck/pw3270" +msgstr "" + +#: src/objects/application/actions/about.c:142 +msgctxt "ProjectURLLabel" +msgid "https://github.com/PerryWerneck/pw3270" +msgstr "" + +#: src/objects/application/actions/about.c:144 msgid "translator-credits" msgstr "" diff --git a/src/objects/application/actions/about.c b/src/objects/application/actions/about.c index c50a809..bcb760a 100644 --- a/src/objects/application/actions/about.c +++ b/src/objects/application/actions/about.c @@ -116,13 +116,26 @@ gtk_about_dialog_set_copyright(dialog, "Copyright © 2008 Banco do Brasil S.A." ); -// gtk_about_dialog_set_license(dialog, gettext( license ) ); -// gtk_about_dialog_set_wrap_license(dialog,TRUE); + lib3270_autoptr(char) license = lib3270_build_data_filename(NC_("LicenseFileName","LICENSE"),NULL); + + if(g_file_test(license, G_FILE_TEST_IS_REGULAR)) { + + g_autofree gchar * text = NULL; + + if(g_file_get_contents(license,&text,NULL,NULL)) { + gtk_about_dialog_set_license(dialog, text ); + gtk_about_dialog_set_wrap_license(dialog,TRUE); + } + + } gtk_about_dialog_set_license_type(dialog,GTK_LICENSE_GPL_3_0); - gtk_about_dialog_set_website(dialog,"https://portal.softwarepublico.gov.br/social/pw3270/"); - gtk_about_dialog_set_website_label(dialog,_( "Brazilian Public Software Portal" )); +// gtk_about_dialog_set_website(dialog,NC_("ProjectURL","https://portal.softwarepublico.gov.br/social/pw3270/")); +// gtk_about_dialog_set_website_label(dialog,NC_("ProjectURLLabel","Brazilian Public Software Portal" )); + + gtk_about_dialog_set_website(dialog,NC_("PrjURL","https://github.com/PerryWerneck/pw3270")); + gtk_about_dialog_set_website_label(dialog,NC_("PrjLabel","https://github.com/PerryWerneck/pw3270" )); gtk_about_dialog_set_translator_credits(dialog,_("translator-credits")); -- libgit2 0.21.2