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 | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | 7 | "Report-Msgid-Bugs-To: \n" |
8 | 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 | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | 11 | "Language-Team: Português <>\n" |
12 | 12 | "Language: pt_BR\n" |
... | ... | @@ -25,7 +25,7 @@ msgstr "" |
25 | 25 | msgid "\"%s\" is not a valid user interface name" |
26 | 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 | 29 | #, c-format |
30 | 30 | msgid "3270 terminal emulator for GTK %d.%d" |
31 | 31 | msgstr "Emulador 3270 para GTK+ %d.%d" |
... | ... | @@ -55,7 +55,7 @@ msgstr "Todos os arquivos" |
55 | 55 | msgid "Append to copy" |
56 | 56 | msgstr "Adicionar à cópia" |
57 | 57 | |
58 | -#: src/objects/application/actions/about.c:110 | |
58 | +#: src/objects/application/actions/about.c:114 | |
59 | 59 | msgid "Apple version" |
60 | 60 | msgstr "Versão Apple" |
61 | 61 | |
... | ... | @@ -79,7 +79,7 @@ msgstr "Reconectar automaticamente" |
79 | 79 | msgid "Available" |
80 | 80 | msgstr "Disponível" |
81 | 81 | |
82 | -#: src/objects/application/actions/about.c:113 | |
82 | +#: src/objects/application/actions/about.c:117 | |
83 | 83 | msgid "Based on X3270 from" |
84 | 84 | msgstr "Baseado no X3270 por" |
85 | 85 | |
... | ... | @@ -159,7 +159,7 @@ msgstr "Conectar ao servidor" |
159 | 159 | msgid "Connected to host" |
160 | 160 | msgstr "Conectado no servidor" |
161 | 161 | |
162 | -#: src/objects/application/actions/about.c:111 | |
162 | +#: src/objects/application/actions/about.c:115 | |
163 | 163 | msgid "Contributors" |
164 | 164 | msgstr "Contribuidores" |
165 | 165 | |
... | ... | @@ -352,7 +352,7 @@ msgstr "Largura do painel em colunas" |
352 | 352 | msgid "Keypads" |
353 | 353 | msgstr "Painéis" |
354 | 354 | |
355 | -#: src/objects/application/actions/about.c:122 | |
355 | +#: src/objects/application/actions/about.c:123 | |
356 | 356 | msgctxt "LicenseFileName" |
357 | 357 | msgid "LICENSE" |
358 | 358 | msgstr "LICENCA" |
... | ... | @@ -385,7 +385,7 @@ msgstr "Barra de ferramentas" |
385 | 385 | msgid "Main menu" |
386 | 386 | msgstr "Menu principal" |
387 | 387 | |
388 | -#: src/objects/application/actions/about.c:109 | |
388 | +#: src/objects/application/actions/about.c:113 | |
389 | 389 | msgid "Maintainers" |
390 | 390 | msgstr "Mantenedores" |
391 | 391 | |
... | ... | @@ -795,7 +795,6 @@ msgid "Use +/- for field navigation" |
795 | 795 | msgstr "Usar teclas +/- para navegar por campos" |
796 | 796 | |
797 | 797 | #: src/objects/application/actions/about.c:70 |
798 | -#: src/objects/application/actions/about.c:72 | |
799 | 798 | #, c-format |
800 | 799 | msgid "Version %s-%s" |
801 | 800 | msgstr "Versão %s-%s" |
... | ... | @@ -805,6 +804,10 @@ msgstr "Versão %s-%s" |
805 | 804 | msgid "View" |
806 | 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 | 811 | #: ui/window.xml:40 ui/application.xml:105 |
809 | 812 | msgid "Window with default session" |
810 | 813 | msgstr "Janela com sessão padrão" |
... | ... | @@ -866,15 +869,9 @@ msgid "_View" |
866 | 869 | msgstr "_Exibir" |
867 | 870 | |
868 | 871 | #: src/objects/application/actions/about.c:141 |
869 | -msgctxt "ProjectURL" | |
870 | 872 | msgid "https://github.com/PerryWerneck/pw3270" |
871 | 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 | 875 | #: src/objects/application/actions/about.c:144 |
879 | 876 | msgid "translator-credits" |
880 | 877 | msgstr "translator-credits" |
... | ... | @@ -2476,6 +2473,10 @@ msgstr "translator-credits" |
2476 | 2473 | #~ msgid "Port or service name (empty for \"telnet\")." |
2477 | 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 | 2480 | #~ msgid "Predefined color schemes" |
2480 | 2481 | #~ msgstr "Esquemas de cor pré-definidos" |
2481 | 2482 | |
... | ... | @@ -3912,6 +3913,15 @@ msgstr "translator-credits" |
3912 | 3913 | #~ msgid "fcntl() error when getting socket state." |
3913 | 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 | 3925 | #~ msgctxt "ProjectURL" |
3916 | 3926 | #~ msgid "https://portal.softwarepublico.gov.br/social/pw3270/" |
3917 | 3927 | #~ msgstr "https://portal.softwarepublico.gov.br/social/pw3270/" | ... | ... |
locale/pw3270.pot
... | ... | @@ -86,7 +86,7 @@ msgstr "" |
86 | 86 | "#-#-#-#-# about.pot (PACKAGE VERSION) #-#-#-#-#\n" |
87 | 87 | "Project-Id-Version: PACKAGE VERSION\n" |
88 | 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 | 90 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
91 | 91 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
92 | 92 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -353,7 +353,7 @@ msgstr "" |
353 | 353 | msgid "\"%s\" is not a valid user interface name" |
354 | 354 | msgstr "" |
355 | 355 | |
356 | -#: src/objects/application/actions/about.c:80 | |
356 | +#: src/objects/application/actions/about.c:84 | |
357 | 357 | #, c-format |
358 | 358 | msgid "3270 terminal emulator for GTK %d.%d" |
359 | 359 | msgstr "" |
... | ... | @@ -383,7 +383,7 @@ msgstr "" |
383 | 383 | msgid "Append to copy" |
384 | 384 | msgstr "" |
385 | 385 | |
386 | -#: src/objects/application/actions/about.c:110 | |
386 | +#: src/objects/application/actions/about.c:114 | |
387 | 387 | msgid "Apple version" |
388 | 388 | msgstr "" |
389 | 389 | |
... | ... | @@ -407,7 +407,7 @@ msgstr "" |
407 | 407 | msgid "Available" |
408 | 408 | msgstr "" |
409 | 409 | |
410 | -#: src/objects/application/actions/about.c:113 | |
410 | +#: src/objects/application/actions/about.c:117 | |
411 | 411 | msgid "Based on X3270 from" |
412 | 412 | msgstr "" |
413 | 413 | |
... | ... | @@ -487,7 +487,7 @@ msgstr "" |
487 | 487 | msgid "Connected to host" |
488 | 488 | msgstr "" |
489 | 489 | |
490 | -#: src/objects/application/actions/about.c:111 | |
490 | +#: src/objects/application/actions/about.c:115 | |
491 | 491 | msgid "Contributors" |
492 | 492 | msgstr "" |
493 | 493 | |
... | ... | @@ -680,7 +680,7 @@ msgstr "" |
680 | 680 | msgid "Keypads" |
681 | 681 | msgstr "" |
682 | 682 | |
683 | -#: src/objects/application/actions/about.c:122 | |
683 | +#: src/objects/application/actions/about.c:123 | |
684 | 684 | msgctxt "LicenseFileName" |
685 | 685 | msgid "LICENSE" |
686 | 686 | msgstr "" |
... | ... | @@ -713,7 +713,7 @@ msgstr "" |
713 | 713 | msgid "Main menu" |
714 | 714 | msgstr "" |
715 | 715 | |
716 | -#: src/objects/application/actions/about.c:109 | |
716 | +#: src/objects/application/actions/about.c:113 | |
717 | 717 | msgid "Maintainers" |
718 | 718 | msgstr "" |
719 | 719 | |
... | ... | @@ -1123,7 +1123,6 @@ msgid "Use +/- for field navigation" |
1123 | 1123 | msgstr "" |
1124 | 1124 | |
1125 | 1125 | #: src/objects/application/actions/about.c:70 |
1126 | -#: src/objects/application/actions/about.c:72 | |
1127 | 1126 | #, c-format |
1128 | 1127 | msgid "Version %s-%s" |
1129 | 1128 | msgstr "" |
... | ... | @@ -1133,6 +1132,10 @@ msgstr "" |
1133 | 1132 | msgid "View" |
1134 | 1133 | msgstr "" |
1135 | 1134 | |
1135 | +#: src/objects/application/actions/about.c:142 | |
1136 | +msgid "View this project on github" | |
1137 | +msgstr "" | |
1138 | + | |
1136 | 1139 | #: ui/window.xml:40 ui/application.xml:105 |
1137 | 1140 | msgid "Window with default session" |
1138 | 1141 | msgstr "" |
... | ... | @@ -1194,12 +1197,6 @@ msgid "_View" |
1194 | 1197 | msgstr "" |
1195 | 1198 | |
1196 | 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 | 1200 | msgid "https://github.com/PerryWerneck/pw3270" |
1204 | 1201 | msgstr "" |
1205 | 1202 | ... | ... |
src/objects/application/actions/about.c
... | ... | @@ -66,11 +66,15 @@ |
66 | 66 | |
67 | 67 | // Set version |
68 | 68 | { |
69 | + g_autofree gchar * version = g_strdup_printf( | |
70 | + _("Version %s-%s"), | |
71 | + PACKAGE_VERSION, | |
69 | 72 | #ifdef PACKAGE_RELEASE |
70 | - g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,PACKAGE_RELEASE); | |
73 | + PACKAGE_RELEASE | |
71 | 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 | 79 | gtk_about_dialog_set_version(dialog,version); |
76 | 80 | } |
... | ... | @@ -134,8 +138,8 @@ |
134 | 138 | // gtk_about_dialog_set_website(dialog,NC_("ProjectURL","https://portal.softwarepublico.gov.br/social/pw3270/")); |
135 | 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 | 144 | gtk_about_dialog_set_translator_credits(dialog,_("translator-credits")); |
141 | 145 | ... | ... |