Commit c22fde898211dab607275a1f12f7505db525ec9a
1 parent
b525eda0
Exists in
master
and in
3 other branches
Project URL changes by locale.
Showing
3 changed files
with
44 additions
and
33 deletions
Show diff stats
locale/pt_BR.po
@@ -6,7 +6,7 @@ msgstr "" | @@ -6,7 +6,7 @@ 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: 2020-08-27 09:18-0300\n" | 8 | "POT-Creation-Date: 2020-08-27 09:18-0300\n" |
9 | -"PO-Revision-Date: 2020-08-27 09:21-0300\n" | 9 | +"PO-Revision-Date: 2020-08-27 20:37-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: Português <>\n" | 11 | "Language-Team: Português <>\n" |
12 | "Language: pt_BR\n" | 12 | "Language: pt_BR\n" |
@@ -25,7 +25,7 @@ msgstr "" | @@ -25,7 +25,7 @@ msgstr "" | ||
25 | msgid "\"%s\" is not a valid user interface name" | 25 | msgid "\"%s\" is not a valid user interface name" |
26 | msgstr "\"%s\" não é um nome válido para interface de usuário" | 26 | msgstr "\"%s\" não é um nome válido para interface de usuário" |
27 | 27 | ||
28 | -#: src/objects/application/actions/about.c:80 | 28 | +#: src/objects/application/actions/about.c:84 |
29 | #, c-format | 29 | #, c-format |
30 | msgid "3270 terminal emulator for GTK %d.%d" | 30 | msgid "3270 terminal emulator for GTK %d.%d" |
31 | msgstr "Emulador 3270 para GTK+ %d.%d" | 31 | msgstr "Emulador 3270 para GTK+ %d.%d" |
@@ -55,7 +55,7 @@ msgstr "Todos os arquivos" | @@ -55,7 +55,7 @@ msgstr "Todos os arquivos" | ||
55 | msgid "Append to copy" | 55 | msgid "Append to copy" |
56 | msgstr "Adicionar à cópia" | 56 | msgstr "Adicionar à cópia" |
57 | 57 | ||
58 | -#: src/objects/application/actions/about.c:110 | 58 | +#: src/objects/application/actions/about.c:114 |
59 | msgid "Apple version" | 59 | msgid "Apple version" |
60 | msgstr "Versão Apple" | 60 | msgstr "Versão Apple" |
61 | 61 | ||
@@ -79,7 +79,7 @@ msgstr "Reconectar automaticamente" | @@ -79,7 +79,7 @@ msgstr "Reconectar automaticamente" | ||
79 | msgid "Available" | 79 | msgid "Available" |
80 | msgstr "Disponível" | 80 | msgstr "Disponível" |
81 | 81 | ||
82 | -#: src/objects/application/actions/about.c:113 | 82 | +#: src/objects/application/actions/about.c:117 |
83 | msgid "Based on X3270 from" | 83 | msgid "Based on X3270 from" |
84 | msgstr "Baseado no X3270 por" | 84 | msgstr "Baseado no X3270 por" |
85 | 85 | ||
@@ -159,7 +159,7 @@ msgstr "Conectar ao servidor" | @@ -159,7 +159,7 @@ msgstr "Conectar ao servidor" | ||
159 | msgid "Connected to host" | 159 | msgid "Connected to host" |
160 | msgstr "Conectado no servidor" | 160 | msgstr "Conectado no servidor" |
161 | 161 | ||
162 | -#: src/objects/application/actions/about.c:111 | 162 | +#: src/objects/application/actions/about.c:115 |
163 | msgid "Contributors" | 163 | msgid "Contributors" |
164 | msgstr "Contribuidores" | 164 | msgstr "Contribuidores" |
165 | 165 | ||
@@ -352,7 +352,7 @@ msgstr "Largura do painel em colunas" | @@ -352,7 +352,7 @@ msgstr "Largura do painel em colunas" | ||
352 | msgid "Keypads" | 352 | msgid "Keypads" |
353 | msgstr "Painéis" | 353 | msgstr "Painéis" |
354 | 354 | ||
355 | -#: src/objects/application/actions/about.c:122 | 355 | +#: src/objects/application/actions/about.c:123 |
356 | msgctxt "LicenseFileName" | 356 | msgctxt "LicenseFileName" |
357 | msgid "LICENSE" | 357 | msgid "LICENSE" |
358 | msgstr "LICENCA" | 358 | msgstr "LICENCA" |
@@ -385,7 +385,7 @@ msgstr "Barra de ferramentas" | @@ -385,7 +385,7 @@ msgstr "Barra de ferramentas" | ||
385 | msgid "Main menu" | 385 | msgid "Main menu" |
386 | msgstr "Menu principal" | 386 | msgstr "Menu principal" |
387 | 387 | ||
388 | -#: src/objects/application/actions/about.c:109 | 388 | +#: src/objects/application/actions/about.c:113 |
389 | msgid "Maintainers" | 389 | msgid "Maintainers" |
390 | msgstr "Mantenedores" | 390 | msgstr "Mantenedores" |
391 | 391 | ||
@@ -795,7 +795,6 @@ msgid "Use +/- for field navigation" | @@ -795,7 +795,6 @@ msgid "Use +/- for field navigation" | ||
795 | msgstr "Usar teclas +/- para navegar por campos" | 795 | msgstr "Usar teclas +/- para navegar por campos" |
796 | 796 | ||
797 | #: src/objects/application/actions/about.c:70 | 797 | #: src/objects/application/actions/about.c:70 |
798 | -#: src/objects/application/actions/about.c:72 | ||
799 | #, c-format | 798 | #, c-format |
800 | msgid "Version %s-%s" | 799 | msgid "Version %s-%s" |
801 | msgstr "Versão %s-%s" | 800 | msgstr "Versão %s-%s" |
@@ -805,6 +804,10 @@ msgstr "Versão %s-%s" | @@ -805,6 +804,10 @@ msgstr "Versão %s-%s" | ||
805 | msgid "View" | 804 | msgid "View" |
806 | msgstr "Exibir" | 805 | msgstr "Exibir" |
807 | 806 | ||
807 | +#: src/objects/application/actions/about.c:142 | ||
808 | +msgid "View this project on github" | ||
809 | +msgstr "Portal do Software Público Brasileiro" | ||
810 | + | ||
808 | #: ui/window.xml:40 ui/application.xml:105 | 811 | #: ui/window.xml:40 ui/application.xml:105 |
809 | msgid "Window with default session" | 812 | msgid "Window with default session" |
810 | msgstr "Janela com sessão padrão" | 813 | msgstr "Janela com sessão padrão" |
@@ -866,15 +869,9 @@ msgid "_View" | @@ -866,15 +869,9 @@ msgid "_View" | ||
866 | msgstr "_Exibir" | 869 | msgstr "_Exibir" |
867 | 870 | ||
868 | #: src/objects/application/actions/about.c:141 | 871 | #: src/objects/application/actions/about.c:141 |
869 | -msgctxt "ProjectURL" | ||
870 | msgid "https://github.com/PerryWerneck/pw3270" | 872 | msgid "https://github.com/PerryWerneck/pw3270" |
871 | msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" | 873 | msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" |
872 | 874 | ||
873 | -#: src/objects/application/actions/about.c:142 | ||
874 | -msgctxt "ProjectURLLabel" | ||
875 | -msgid "https://github.com/PerryWerneck/pw3270" | ||
876 | -msgstr "Portal do Software Público Brasileiro" | ||
877 | - | ||
878 | #: src/objects/application/actions/about.c:144 | 875 | #: src/objects/application/actions/about.c:144 |
879 | msgid "translator-credits" | 876 | msgid "translator-credits" |
880 | msgstr "translator-credits" | 877 | msgstr "translator-credits" |
@@ -2476,6 +2473,10 @@ msgstr "translator-credits" | @@ -2476,6 +2473,10 @@ msgstr "translator-credits" | ||
2476 | #~ msgid "Port or service name (empty for \"telnet\")." | 2473 | #~ msgid "Port or service name (empty for \"telnet\")." |
2477 | #~ msgstr "Nº da porta ou nome do serviço (em branco para \"telnet\")." | 2474 | #~ msgstr "Nº da porta ou nome do serviço (em branco para \"telnet\")." |
2478 | 2475 | ||
2476 | +#~ msgctxt "PrjLabel" | ||
2477 | +#~ msgid "Portal do Software Público Brasileiro" | ||
2478 | +#~ msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" | ||
2479 | + | ||
2479 | #~ msgid "Predefined color schemes" | 2480 | #~ msgid "Predefined color schemes" |
2480 | #~ msgstr "Esquemas de cor pré-definidos" | 2481 | #~ msgstr "Esquemas de cor pré-definidos" |
2481 | 2482 | ||
@@ -3912,6 +3913,15 @@ msgstr "translator-credits" | @@ -3912,6 +3913,15 @@ msgstr "translator-credits" | ||
3912 | #~ msgid "fcntl() error when getting socket state." | 3913 | #~ msgid "fcntl() error when getting socket state." |
3913 | #~ msgstr "erro fcntl() ao obter estado do socket." | 3914 | #~ msgstr "erro fcntl() ao obter estado do socket." |
3914 | 3915 | ||
3916 | +#, fuzzy | ||
3917 | +#~ msgctxt "PrjLabel" | ||
3918 | +#~ msgid "https://github.com/PerryWerneck/pw3270" | ||
3919 | +#~ msgstr "Portal do Software Público Brasileiro" | ||
3920 | + | ||
3921 | +#~ msgctxt "ProjectURLLabel" | ||
3922 | +#~ msgid "https://github.com/PerryWerneck/pw3270" | ||
3923 | +#~ msgstr "Portal do Software Público Brasileiro" | ||
3924 | + | ||
3915 | #~ msgctxt "ProjectURL" | 3925 | #~ msgctxt "ProjectURL" |
3916 | #~ msgid "https://portal.softwarepublico.gov.br/social/pw3270/" | 3926 | #~ msgid "https://portal.softwarepublico.gov.br/social/pw3270/" |
3917 | #~ msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" | 3927 | #~ msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" |
locale/pw3270.pot
@@ -86,7 +86,7 @@ msgstr "" | @@ -86,7 +86,7 @@ msgstr "" | ||
86 | "#-#-#-#-# about.pot (PACKAGE VERSION) #-#-#-#-#\n" | 86 | "#-#-#-#-# about.pot (PACKAGE VERSION) #-#-#-#-#\n" |
87 | "Project-Id-Version: PACKAGE VERSION\n" | 87 | "Project-Id-Version: PACKAGE VERSION\n" |
88 | "Report-Msgid-Bugs-To: \n" | 88 | "Report-Msgid-Bugs-To: \n" |
89 | -"POT-Creation-Date: 2020-08-27 09:25-0300\n" | 89 | +"POT-Creation-Date: 2020-08-27 20:36-0300\n" |
90 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 90 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
91 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 91 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
92 | "Language-Team: LANGUAGE <LL@li.org>\n" | 92 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -353,7 +353,7 @@ msgstr "" | @@ -353,7 +353,7 @@ msgstr "" | ||
353 | msgid "\"%s\" is not a valid user interface name" | 353 | msgid "\"%s\" is not a valid user interface name" |
354 | msgstr "" | 354 | msgstr "" |
355 | 355 | ||
356 | -#: src/objects/application/actions/about.c:80 | 356 | +#: src/objects/application/actions/about.c:84 |
357 | #, c-format | 357 | #, c-format |
358 | msgid "3270 terminal emulator for GTK %d.%d" | 358 | msgid "3270 terminal emulator for GTK %d.%d" |
359 | msgstr "" | 359 | msgstr "" |
@@ -383,7 +383,7 @@ msgstr "" | @@ -383,7 +383,7 @@ msgstr "" | ||
383 | msgid "Append to copy" | 383 | msgid "Append to copy" |
384 | msgstr "" | 384 | msgstr "" |
385 | 385 | ||
386 | -#: src/objects/application/actions/about.c:110 | 386 | +#: src/objects/application/actions/about.c:114 |
387 | msgid "Apple version" | 387 | msgid "Apple version" |
388 | msgstr "" | 388 | msgstr "" |
389 | 389 | ||
@@ -407,7 +407,7 @@ msgstr "" | @@ -407,7 +407,7 @@ msgstr "" | ||
407 | msgid "Available" | 407 | msgid "Available" |
408 | msgstr "" | 408 | msgstr "" |
409 | 409 | ||
410 | -#: src/objects/application/actions/about.c:113 | 410 | +#: src/objects/application/actions/about.c:117 |
411 | msgid "Based on X3270 from" | 411 | msgid "Based on X3270 from" |
412 | msgstr "" | 412 | msgstr "" |
413 | 413 | ||
@@ -487,7 +487,7 @@ msgstr "" | @@ -487,7 +487,7 @@ msgstr "" | ||
487 | msgid "Connected to host" | 487 | msgid "Connected to host" |
488 | msgstr "" | 488 | msgstr "" |
489 | 489 | ||
490 | -#: src/objects/application/actions/about.c:111 | 490 | +#: src/objects/application/actions/about.c:115 |
491 | msgid "Contributors" | 491 | msgid "Contributors" |
492 | msgstr "" | 492 | msgstr "" |
493 | 493 | ||
@@ -680,7 +680,7 @@ msgstr "" | @@ -680,7 +680,7 @@ msgstr "" | ||
680 | msgid "Keypads" | 680 | msgid "Keypads" |
681 | msgstr "" | 681 | msgstr "" |
682 | 682 | ||
683 | -#: src/objects/application/actions/about.c:122 | 683 | +#: src/objects/application/actions/about.c:123 |
684 | msgctxt "LicenseFileName" | 684 | msgctxt "LicenseFileName" |
685 | msgid "LICENSE" | 685 | msgid "LICENSE" |
686 | msgstr "" | 686 | msgstr "" |
@@ -713,7 +713,7 @@ msgstr "" | @@ -713,7 +713,7 @@ msgstr "" | ||
713 | msgid "Main menu" | 713 | msgid "Main menu" |
714 | msgstr "" | 714 | msgstr "" |
715 | 715 | ||
716 | -#: src/objects/application/actions/about.c:109 | 716 | +#: src/objects/application/actions/about.c:113 |
717 | msgid "Maintainers" | 717 | msgid "Maintainers" |
718 | msgstr "" | 718 | msgstr "" |
719 | 719 | ||
@@ -1123,7 +1123,6 @@ msgid "Use +/- for field navigation" | @@ -1123,7 +1123,6 @@ msgid "Use +/- for field navigation" | ||
1123 | msgstr "" | 1123 | msgstr "" |
1124 | 1124 | ||
1125 | #: src/objects/application/actions/about.c:70 | 1125 | #: src/objects/application/actions/about.c:70 |
1126 | -#: src/objects/application/actions/about.c:72 | ||
1127 | #, c-format | 1126 | #, c-format |
1128 | msgid "Version %s-%s" | 1127 | msgid "Version %s-%s" |
1129 | msgstr "" | 1128 | msgstr "" |
@@ -1133,6 +1132,10 @@ msgstr "" | @@ -1133,6 +1132,10 @@ msgstr "" | ||
1133 | msgid "View" | 1132 | msgid "View" |
1134 | msgstr "" | 1133 | msgstr "" |
1135 | 1134 | ||
1135 | +#: src/objects/application/actions/about.c:142 | ||
1136 | +msgid "View this project on github" | ||
1137 | +msgstr "" | ||
1138 | + | ||
1136 | #: ui/window.xml:40 ui/application.xml:105 | 1139 | #: ui/window.xml:40 ui/application.xml:105 |
1137 | msgid "Window with default session" | 1140 | msgid "Window with default session" |
1138 | msgstr "" | 1141 | msgstr "" |
@@ -1194,12 +1197,6 @@ msgid "_View" | @@ -1194,12 +1197,6 @@ msgid "_View" | ||
1194 | msgstr "" | 1197 | msgstr "" |
1195 | 1198 | ||
1196 | #: src/objects/application/actions/about.c:141 | 1199 | #: src/objects/application/actions/about.c:141 |
1197 | -msgctxt "ProjectURL" | ||
1198 | -msgid "https://github.com/PerryWerneck/pw3270" | ||
1199 | -msgstr "" | ||
1200 | - | ||
1201 | -#: src/objects/application/actions/about.c:142 | ||
1202 | -msgctxt "ProjectURLLabel" | ||
1203 | msgid "https://github.com/PerryWerneck/pw3270" | 1200 | msgid "https://github.com/PerryWerneck/pw3270" |
1204 | msgstr "" | 1201 | msgstr "" |
1205 | 1202 |
src/objects/application/actions/about.c
@@ -66,11 +66,15 @@ | @@ -66,11 +66,15 @@ | ||
66 | 66 | ||
67 | // Set version | 67 | // Set version |
68 | { | 68 | { |
69 | + g_autofree gchar * version = g_strdup_printf( | ||
70 | + _("Version %s-%s"), | ||
71 | + PACKAGE_VERSION, | ||
69 | #ifdef PACKAGE_RELEASE | 72 | #ifdef PACKAGE_RELEASE |
70 | - g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,PACKAGE_RELEASE); | 73 | + PACKAGE_RELEASE |
71 | #else | 74 | #else |
72 | - g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,G_STRINGIFY(BUILD_DATE)); | ||
73 | -#endif // PACKAGE_REVISION | 75 | + G_STRINGIFY(BUILD_DATE) |
76 | +#endif // PACKAGE_RELEASE | ||
77 | + ); | ||
74 | 78 | ||
75 | gtk_about_dialog_set_version(dialog,version); | 79 | gtk_about_dialog_set_version(dialog,version); |
76 | } | 80 | } |
@@ -134,8 +138,8 @@ | @@ -134,8 +138,8 @@ | ||
134 | // gtk_about_dialog_set_website(dialog,NC_("ProjectURL","https://portal.softwarepublico.gov.br/social/pw3270/")); | 138 | // gtk_about_dialog_set_website(dialog,NC_("ProjectURL","https://portal.softwarepublico.gov.br/social/pw3270/")); |
135 | // gtk_about_dialog_set_website_label(dialog,NC_("ProjectURLLabel","Brazilian Public Software Portal" )); | 139 | // gtk_about_dialog_set_website_label(dialog,NC_("ProjectURLLabel","Brazilian Public Software Portal" )); |
136 | 140 | ||
137 | - gtk_about_dialog_set_website(dialog,NC_("PrjURL","https://github.com/PerryWerneck/pw3270")); | ||
138 | - gtk_about_dialog_set_website_label(dialog,NC_("PrjLabel","https://github.com/PerryWerneck/pw3270" )); | 141 | + gtk_about_dialog_set_website(dialog,_("https://github.com/PerryWerneck/pw3270")); |
142 | + gtk_about_dialog_set_website_label(dialog,_("View this project on github")); | ||
139 | 143 | ||
140 | gtk_about_dialog_set_translator_credits(dialog,_("translator-credits")); | 144 | gtk_about_dialog_set_translator_credits(dialog,_("translator-credits")); |
141 | 145 |