diff --git a/po/cs.po b/po/cs.po index 2162e538..6e4e50ae 100644 --- a/po/cs.po +++ b/po/cs.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC a přispěvatelé" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "program pro sledování satelitů a předpověď drah v reálném čase" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -151,6 +160,11 @@ msgstr "%s: Chyba při čtení %s (%s)" msgid "Gpredict Info" msgstr "Informace Gpredict" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Informace Gpredict: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2507,7 +2521,7 @@ msgstr "_Nastavení" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "Online nápo_věda" #: ../src/menubar.c:931 msgid "_License" @@ -2517,6 +2531,10 @@ msgstr "_Licence" msgid "_News" msgstr "_Novinky" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Autoři" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_O Gpredict" diff --git a/po/da.po b/po/da.po index 657c5b48..ba87b0eb 100644 --- a/po/da.po +++ b/po/da.po @@ -24,6 +24,15 @@ msgstr "Gpredict" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC og bidragydere" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC og bidragydere" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "program til satellitsporing og baneberegning i realtid" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -143,6 +152,11 @@ msgstr "%s: Fejl under læsning af %s (%s)" msgid "Gpredict Info" msgstr "Gpredict Info" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict Info: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2477,7 +2491,7 @@ msgstr "_Indstillinger" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "_Online-hjælp" +msgstr "Online-_hjælp" #: ../src/menubar.c:931 msgid "_License" @@ -2487,6 +2501,10 @@ msgstr "_Licens" msgid "_News" msgstr "_Nyheder" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Bidragydere" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_Om Gpredict" diff --git a/po/de.po b/po/de.po index 24b061ce..d168f543 100644 --- a/po/de.po +++ b/po/de.po @@ -28,6 +28,15 @@ msgstr "Gpredict" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "Copyright (C) 2001-2017 Alexandru Csete OZ9AEC und Mitwirkende." +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC und Mitwirkende" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "Echtzeit-Satellitenverfolgungs- und Umlaufbahnberechnungsprogramm" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -159,6 +168,11 @@ msgstr "%s: Fehler beim Lesen von %s (%s)" msgid "Gpredict Info" msgstr "Gpredict Info" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict-Info: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -1662,11 +1676,11 @@ msgstr "%s:%d: %s wurde aufgerufen mit NULL Parameter!" #: ../src/gtk-sat-module-popup.c:1110 msgid "Detach module" -msgstr "Modul trennen" +msgstr "Modul entkoppeln" #: ../src/gtk-sat-module-popup.c:1117 msgid "Attach module" -msgstr "Modul hinzufügen" +msgstr "Modul koppeln" #: ../src/gtk-sat-module-popup.c:1125 msgid "Exit full screen" @@ -1674,7 +1688,7 @@ msgstr "Vollbildmodus beenden" #: ../src/gtk-sat-module-popup.c:1132 msgid "Full screen" -msgstr "Vollbild" +msgstr "Vollbildmodus" #. autotrack #: ../src/gtk-sat-module-popup.c:1143 @@ -1731,7 +1745,7 @@ msgstr "Schließen" #: ../src/gtk-sat-module-tmg.c:62 #, c-format msgid "%s: Time Controller for %s is already active" -msgstr "%s: Zeitsimulation für %s ist bereits aktiv." +msgstr "%s: Zeitsimulation für %s ist bereits aktiv" #: ../src/gtk-sat-module-tmg.c:90 msgid "Play forward" @@ -1759,7 +1773,7 @@ msgstr "Zurücksetzen" #: ../src/gtk-sat-module-tmg.c:129 msgid "Reset to current date and time" -msgstr "Setze das aktuelle Datum und die aktuelle Zeit zurück." +msgstr "Setze auf das aktuelle Datum und die aktuelle Zeit zurück" #: ../src/gtk-sat-module-tmg.c:136 ../src/gtk-sat-module-tmg.c:735 msgid "Real-Time" @@ -1786,7 +1800,7 @@ msgstr "Min.:" #: ../src/gtk-sat-module-tmg.c:186 msgid "Use this control to set the minutes" -msgstr "Benutzen Sie dieses Feld um die Minuten zu setzen." +msgstr "Benutzen Sie dieses Feld um die Minuten zu setzen" #. seconds #: ../src/gtk-sat-module-tmg.c:193 @@ -1795,7 +1809,7 @@ msgstr "Sek.:" #: ../src/gtk-sat-module-tmg.c:203 msgid "Use this control to set the seconds" -msgstr "Benutzen Sie dieses Feld um die Sekunden zu setzen." +msgstr "Benutzen Sie dieses Feld um die Sekunden zu setzen" #. milliseconds #: ../src/gtk-sat-module-tmg.c:210 @@ -1804,7 +1818,7 @@ msgstr "mSek.:" #: ../src/gtk-sat-module-tmg.c:220 msgid "Use this control to set the milliseconds" -msgstr "Benutzen Sie dieses Feld um die Millisekunden zu setzen." +msgstr "Benutzen Sie dieses Feld um die Millisekunden zu setzen" #. time throttle #: ../src/gtk-sat-module-tmg.c:227 @@ -1939,12 +1953,12 @@ msgstr "%s:%s: Das Öffnen des Satellitenverzeichnisses schlug fehl %s." #: ../src/gtk-sat-selector.c:787 #, c-format msgid "%s:%s: Read %d satellites into MAIN group." -msgstr "%s:%s: %d Satelliten der MAIN Gruppe werden gelesen" +msgstr "%s:%s: %d Satelliten der MAIN Gruppe werden gelesen." #: ../src/gtk-sat-selector.c:904 #, c-format msgid "%s: Error getting %dth satellite" -msgstr "%s: Fehler beim Holen vom %dten Satellit." +msgstr "%s: Fehler beim Holen vom %dten Satellit" #: ../src/gtk-sat-tree.c:199 ../src/mod-cfg.c:531 msgid "Epoch" @@ -1961,7 +1975,7 @@ msgstr "Erweitern" #: ../src/gtk-sat-tree.c:244 msgid "Expand all nodes in the tree to make it searchable" -msgstr "Erweitern SIe alle Knoten im Baum um ihn durchsuchbar zu machen" +msgstr "Erweitern Sie alle Knoten im Baum um ihn durchsuchbar zu machen" #: ../src/gtk-sat-tree.c:247 msgid "Collapse" @@ -2472,9 +2486,9 @@ msgid "" "Satellites skipped:\t 0\n" "Missing Satellites:\t 0\n" msgstr "" -"Aktualisierte Satelliten:\t 0\n" -"Übersprungene Satelliten: \t 0\n" -"Fehlende Satelliten: \t 0\n" +"Aktualisierte Satelliten:\t 0\n" +"Übersprungene Satelliten:\t 0\n" +"Fehlende Satelliten:\t 0\n" #. create file chooser #: ../src/menubar.c:668 @@ -2527,19 +2541,16 @@ msgid "_Quit" msgstr "_Beenden" #: ../src/menubar.c:891 -#, fuzzy msgid "Update TLE data from _network" msgstr "TLE-Aktualisierung aus _Netz" #: ../src/menubar.c:896 -#, fuzzy msgid "Update TLE data from local _files" -msgstr "TLE-Aktualisierung aus _Datei" +msgstr "TLE-Aktualisierung aus lokalen _Dateien" #: ../src/menubar.c:901 -#, fuzzy msgid "Update transponder data" -msgstr "_Transponder-Daten aktualisieren" +msgstr "Transponder-Daten aktualisieren" #: ../src/menubar.c:909 msgid "_Preferences" @@ -2557,6 +2568,10 @@ msgstr "_Lizenz" msgid "_News" msgstr "_Neuigkeiten" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Mitwirkende" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_Über Gpredict" @@ -2728,7 +2743,7 @@ msgstr "%s: %s wiederherstellen fehlgeschlagen" #: ../src/mod-mgr.c:167 #, c-format msgid "%s: No modules have to be restored." -msgstr "%s: Keine Module müssen wiederhergestellt werden" +msgstr "%s: Keine Module müssen wiederhergestellt werden." #: ../src/mod-mgr.c:205 #, c-format diff --git a/po/el.po b/po/el.po index 96ca668f..4016c58e 100644 --- a/po/el.po +++ b/po/el.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC και συνεισφέροντες" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "πρόγραμμα παρακολούθησης δορυφόρων και πρόβλεψης τροχιών σε πραγματικό χρόνο" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -147,6 +156,11 @@ msgstr "" msgid "Gpredict Info" msgstr "Gpredict Πληροφορίες" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict Πληροφορίες: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2452,7 +2466,7 @@ msgstr "_Ρυθμίσεις" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Online βοήθεια" #: ../src/menubar.c:931 msgid "_License" @@ -2462,6 +2476,10 @@ msgstr "_Άδεια χρήσης" msgid "_News" msgstr "_Νέα" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Συγγραφείς" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_Περί του Gpredict" diff --git a/po/en_GB.po b/po/en_GB.po index 56151285..c6bd4684 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -27,6 +27,15 @@ msgstr "Gpredict" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "real time satellite tracking and orbit prediction program" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -154,6 +163,11 @@ msgstr "%s: Error reading %s (%s)" msgid "Gpredict Info" msgstr "Gpredict Info" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict Info: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2522,6 +2536,10 @@ msgstr "_Licence" msgid "_News" msgstr "_News" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "A_uthors" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_About Gpredict" diff --git a/po/es.po b/po/es.po index ebf46c15..744d55eb 100644 --- a/po/es.po +++ b/po/es.po @@ -29,6 +29,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC y colaboradores" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "programa de seguimiento de satélites y predicción de órbitas en tiempo real" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -157,6 +166,11 @@ msgstr "%s: Error de lectura %s (%s)" msgid "Gpredict Info" msgstr "Información de Gpredict" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Información de Gpredict: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2530,7 +2544,7 @@ msgstr "_Preferencias" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "A_yuda en línea" #: ../src/menubar.c:931 msgid "_License" @@ -2540,6 +2554,10 @@ msgstr "_Licencia" msgid "_News" msgstr "_Noticias" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "Au_tores" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_Acerca de Gpredict" @@ -2554,7 +2572,7 @@ msgstr "_Editar" #: ../src/menubar.c:975 msgid "_Help" -msgstr "Ayuda" +msgstr "A_yuda" #: ../src/mod-cfg.c:62 #, c-format diff --git a/po/fi.po b/po/fi.po index 5fc06dda..d72b4114 100644 --- a/po/fi.po +++ b/po/fi.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC ja avustajat" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "reaaliaikainen satelliittien seuranta- ja ratalaskentaohjelma" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -148,6 +157,11 @@ msgstr "%s: Virhe luettaessa %s (%s)" msgid "Gpredict Info" msgstr "Gpredict Info" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict Info: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2452,19 +2466,23 @@ msgstr "" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Verkko-ohje" #: ../src/menubar.c:931 msgid "_License" -msgstr "" +msgstr "_Lisenssi" #: ../src/menubar.c:936 msgid "_News" -msgstr "" +msgstr "_Uutiset" + +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Kehittäjät" #: ../src/menubar.c:943 msgid "_About Gpredict" -msgstr "" +msgstr "_Tietoja Gpredictistä" #: ../src/menubar.c:963 msgid "_File" @@ -2476,7 +2494,7 @@ msgstr "" #: ../src/menubar.c:975 msgid "_Help" -msgstr "" +msgstr "_Ohje" #: ../src/mod-cfg.c:62 #, c-format diff --git a/po/fr.po b/po/fr.po index 75546974..b74f7a93 100644 --- a/po/fr.po +++ b/po/fr.po @@ -26,6 +26,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC et contributeurs" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "programme de suivi de satellites et de prédiction d'orbites en temps réel" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -156,6 +165,11 @@ msgstr "%s : erreur lors de la lecture de %s (%s)" msgid "Gpredict Info" msgstr "Infos Gpredict" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Infos Gpredict: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2478,6 +2492,10 @@ msgstr "_Licence" msgid "_News" msgstr "_Nouvelles" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "A_uteurs" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "À _propos de Gpredict" diff --git a/po/id.po b/po/id.po index 44dbf58b..f890333a 100644 --- a/po/id.po +++ b/po/id.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC dan kontributor" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "program pelacakan satelit dan prediksi orbit waktu nyata" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -146,6 +155,11 @@ msgstr "%s: Galat membaca %s (%s)" msgid "Gpredict Info" msgstr "Info Gpredict" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Info Gpredict: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2430,19 +2444,23 @@ msgstr "" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "Bantuan _daring" #: ../src/menubar.c:931 msgid "_License" -msgstr "" +msgstr "_Lisensi" #: ../src/menubar.c:936 msgid "_News" -msgstr "" +msgstr "_Berita" + +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Penulis" #: ../src/menubar.c:943 msgid "_About Gpredict" -msgstr "" +msgstr "_Tentang Gpredict" #: ../src/menubar.c:963 msgid "_File" @@ -2454,7 +2472,7 @@ msgstr "" #: ../src/menubar.c:975 msgid "_Help" -msgstr "" +msgstr "_Bantuan" #: ../src/mod-cfg.c:62 #, c-format diff --git a/po/it.po b/po/it.po index 2da2fb87..51718ba5 100644 --- a/po/it.po +++ b/po/it.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC e collaboratori" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "programma di tracciamento satellitare e previsione orbitale in tempo reale" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -151,6 +160,11 @@ msgstr "%s: Errore nella lettura %s (%s)" msgid "Gpredict Info" msgstr "Informazioni" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Informazioni: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2450,7 +2464,7 @@ msgstr "Preferen_ze" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Guida in linea" #: ../src/menubar.c:931 msgid "_License" @@ -2458,7 +2472,11 @@ msgstr "_Licenza" #: ../src/menubar.c:936 msgid "_News" -msgstr "" +msgstr "_Novità" + +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Autori" #: ../src/menubar.c:943 msgid "_About Gpredict" diff --git a/po/lt.po b/po/lt.po index ad1853c3..b8ac97fb 100644 --- a/po/lt.po +++ b/po/lt.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC ir bendradarbiai" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "palydovų sekimo realiuoju laiku ir orbitų prognozavimo programa" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -147,6 +156,11 @@ msgstr "%s: Klaida skaitant %s (%s)" msgid "Gpredict Info" msgstr "Gpredict Info" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Gpredict Info: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2477,7 +2491,7 @@ msgstr "_Nustatymai" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Žinynas internete" #: ../src/menubar.c:931 msgid "_License" @@ -2487,6 +2501,10 @@ msgstr "_Licencija" msgid "_News" msgstr "_Naujienos" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "Au_toriai" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_Apie Gpredict" diff --git a/po/ru.po b/po/ru.po index b79e7de4..fd1892d3 100644 --- a/po/ru.po +++ b/po/ru.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC и участники" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "программа слежения за спутниками и прогнозирования орбит в реальном времени" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -150,6 +159,11 @@ msgstr "%s: Ошибка чтения %s (%s)" msgid "Gpredict Info" msgstr "Сведения Gpredict" +#: ../src/gpredict-help.c:137 +#, c-format +msgid "Gpredict Info: %s" +msgstr "Сведения Gpredict: %s" + #: ../src/gpredict-utils.c:241 ../src/gpredict-utils.c:280 #: ../src/gpredict-utils.c:328 ../src/gpredict-utils.c:370 #, c-format @@ -2479,7 +2493,7 @@ msgstr "_Параметры" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Справка в интернете" #: ../src/menubar.c:931 msgid "_License" @@ -2489,6 +2503,10 @@ msgstr "_Лицензия" msgid "_News" msgstr "_Новости" +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Авторы" + #: ../src/menubar.c:943 msgid "_About Gpredict" msgstr "_О Gpredict" diff --git a/po/th.po b/po/th.po index 8acffa14..d6ddcd69 100644 --- a/po/th.po +++ b/po/th.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC และผู้ร่วมพัฒนา" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "โปรแกรมติดตามดาวเทียมและพยากรณ์วงโคจรแบบเวลาจริง" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -2427,19 +2436,23 @@ msgstr "" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "วิธีใช้ออนไลน์ (_O)" #: ../src/menubar.c:931 msgid "_License" -msgstr "" +msgstr "สัญญาอนุญาต (_L)" #: ../src/menubar.c:936 msgid "_News" -msgstr "" +msgstr "ข่าว (_N)" + +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "ผู้พัฒนา (_U)" #: ../src/menubar.c:943 msgid "_About Gpredict" -msgstr "" +msgstr "เกี่ยวกับ Gpredict (_A)" #: ../src/menubar.c:963 msgid "_File" @@ -2451,7 +2464,7 @@ msgstr "" #: ../src/menubar.c:975 msgid "_Help" -msgstr "" +msgstr "วิธีใช้ (_H)" #: ../src/mod-cfg.c:62 #, c-format diff --git a/po/uk.po b/po/uk.po index 32da59a5..6c31ad92 100644 --- a/po/uk.po +++ b/po/uk.po @@ -27,6 +27,15 @@ msgstr "" msgid "Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors" msgstr "" +#: ../src/about.c:123 +#, c-format +msgid "Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors" +msgstr "Copyright (C) 2001-%s Alexandru Csete OZ9AEC та учасники" + +#: ../src/about.c:120 +msgid "real time satellite tracking and orbit prediction program" +msgstr "програма відстеження супутників і прогнозування орбіт у реальному часі" + #: ../src/about.c:136 msgid "translator-credits" msgstr "" @@ -2425,19 +2434,23 @@ msgstr "" #: ../src/menubar.c:922 msgid "_Online help" -msgstr "" +msgstr "_Довідка онлайн" #: ../src/menubar.c:931 msgid "_License" -msgstr "" +msgstr "_Ліцензія" #: ../src/menubar.c:936 msgid "_News" -msgstr "" +msgstr "_Новини" + +#: ../src/menubar.c:948 +msgid "A_uthors" +msgstr "_Автори" #: ../src/menubar.c:943 msgid "_About Gpredict" -msgstr "" +msgstr "_Про Gpredict" #: ../src/menubar.c:963 msgid "_File" @@ -2449,7 +2462,7 @@ msgstr "" #: ../src/menubar.c:975 msgid "_Help" -msgstr "" +msgstr "_Довідка" #: ../src/mod-cfg.c:62 #, c-format diff --git a/src/about.c b/src/about.c index 51e83592..f288741f 100644 --- a/src/about.c +++ b/src/about.c @@ -30,113 +30,126 @@ #include "about.h" #include "compat.h" +#include "gpredict-help.h" +#include "sat-log.h" -/* clang-format off */ -const gchar *authors[] = { - "Alexandru Csete, OZ9AEC, with contributions from:", - "", - "A. Maitland Bottoms, AA4HS", - "A. Walker", - "Alan Moffet, KE7IJZ", - "Andi Chandler, G7SCI", - "AsciiWolf", - "Baris Dinc, TA7W", - "Bastian Germann", - "Bob Mattaliano, N6RFM", - "Charles Suprin, AA1VS", - "Chloë DeCicco", - "Dale Mellor", - "Daniel Estevez, EA4GPZ", - "DarkStar", - "Dave Hines", - "David Cureton", - "David Frisbee, K4DBF", - "David VK5DG", - "Fabian P. Schmidt", - "Gisle Vanem", - "Henry Hallam", - "Honorius Neogy", - "Ilias Daradimos", - "Jan Simon, DL2ZXA", - "Jason Uher", - "Joachim Euchner", - "John Magliacane, KD2BD", - "Jonathan Holmgren", - "KaComet", - "Libre Space Foundation", - "Liu Xinyu", - "Lloyd Brown", - "LongnoseRob, JI1MNC", - "Marcel Cimander", - "Mario Haustein", - "Martin Pool", - "Matthew Alberti, KM4EXS", - "Matthew Hassell", - "Michael Black", - "Michael Tatarinov", - "Milad Fa", - "Mirko Caserta", - "Nate Bargmann, N0NB", - "Neoklis Kyriazis, 5B4AZ", - "Nerijus Bendžiūnas", - "Nicholas DeCicco", - "Patrick Dohmen, DL4PD", - "Patrick Strasser, OE6PSE", - "Paul Schulz, VK5FPAW", - "Phil Ashby, 2E0IPX", - "Philipp Lopaur", - "S. R. Sampson", - "Satoshi Yasuda, 7M3TJZ", - "Sayafdine Said", - "Sean Svihla", - "Stefan Lobas", - "Stephane Fillod", - "Tim Brooks", - "Tobias Nießen", - "Tom Jones", - "T.S. Kelso", - "Valentin Yakovenkov", - "Wahaj18", - "William J Beksi, KC2EXL", - "Xavier Crehueras, EB3CZS", - "Yaroslav Stavnichiy", - "Yasushi SHOJI", - "", - "Imagery:", - "Most of the maps originate from NASA Visible Earth", - "see website http://visibleearth.nasa.gov/", +/* Credits shown if the AUTHORS file can not be read */ +static const gchar *fallback_authors[] = { + "Alexandru Csete, OZ9AEC, and contributors", NULL }; -/* clang-format on */ + +/* Last year of the copyright period shown in the about dialog */ +#define COPYRIGHT_YEAR "2026" extern GtkWidget *app; +/** + * Read the list of authors from the AUTHORS file. + * + * Each line of the file becomes one line in the credits, with the "- " + * list markers removed. Leading and trailing empty lines are dropped. + * + * @return NULL-terminated string array to be freed with g_strfreev(), or + * NULL if the file could not be read. + */ +static gchar **read_authors(void) +{ + GError *error = NULL; + GPtrArray *lines; + gchar **raw; + gchar *fname; + gchar *contents; + gchar *line; + guint i; + + fname = gpredict_help_txt_file_name("AUTHORS"); + if (!g_file_get_contents(fname, &contents, NULL, &error)) + { + sat_log_log(SAT_LOG_LEVEL_ERROR, _("%s: Failed to load %s (%s)"), + __func__, fname, error->message); + g_clear_error(&error); + g_free(fname); + return NULL; + } + g_free(fname); + + raw = g_strsplit(contents, "\n", -1); + g_free(contents); + + lines = g_ptr_array_new_with_free_func(g_free); + for (i = 0; raw[i] != NULL; i++) + { + line = g_strstrip(raw[i]); + if (g_str_has_prefix(line, "- ")) + line += 2; + + /* skip leading empty lines */ + if (lines->len == 0 && line[0] == '\0') + continue; + + g_ptr_array_add(lines, g_strdup(line)); + } + g_strfreev(raw); + + /* drop trailing empty lines */ + while (lines->len > 0 && + ((gchar *) g_ptr_array_index(lines, lines->len - 1))[0] == '\0') + g_ptr_array_remove_index(lines, lines->len - 1); + + g_ptr_array_add(lines, NULL); + + return (gchar **) g_ptr_array_free(lines, FALSE); +} + void about_dialog_create() { GtkWidget *dialog; - GdkPixbuf *icon; + GdkPixbuf *logo; gchar *iconfile; + gchar *logofile; + gchar *copyright; + gchar **authors; dialog = gtk_about_dialog_new(); + gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(app)); gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(dialog), _("Gpredict")); - gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION); - gtk_about_dialog_set_copyright( + gtk_about_dialog_set_comments( GTK_ABOUT_DIALOG(dialog), - _("Copyright (C) 2001-2019 Alexandru Csete OZ9AEC and contributors")); + _("real time satellite tracking and orbit prediction program")); + gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION); + copyright = g_strdup_printf( + _("Copyright (C) 2001-%s Alexandru Csete OZ9AEC and contributors"), + COPYRIGHT_YEAR); + gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog), copyright); + g_free(copyright); gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog), - "http://gpredict.oz9aec.net/"); + "https://oz9aec.dk/gpredict"); gtk_about_dialog_set_license_type(GTK_ABOUT_DIALOG(dialog), GTK_LICENSE_GPL_2_0); - iconfile = logo_file_name("gpredict_icon_color.svg"); - icon = gdk_pixbuf_new_from_file_at_size(iconfile, 128, 128, NULL); - gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(dialog), icon); + + logofile = logo_file_name("gpredict_icon_color.svg"); + logo = gdk_pixbuf_new_from_file_at_size(logofile, 128, 128, NULL); + g_free(logofile); + if (logo) + { + gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(dialog), logo); + g_object_unref(logo); + } + + iconfile = icon_file_name("gpredict-icon.png"); gtk_window_set_icon_from_file(GTK_WINDOW(dialog), iconfile, NULL); g_free(iconfile); - g_object_unref(icon); - gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(dialog), authors); + + authors = read_authors(); + gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(dialog), + authors ? (const gchar **) authors : + fallback_authors); + g_strfreev(authors); gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(dialog), _("translator-credits")); + gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } diff --git a/src/gpredict-help.c b/src/gpredict-help.c index cf0af5c7..4273902e 100644 --- a/src/gpredict-help.c +++ b/src/gpredict-help.c @@ -34,13 +34,38 @@ extern GtkWidget *app; +/** + * Get the full path of a text file in the gpredict system directory + * @param filename The basic file name + * @return Newly allocated path that must be freed with g_free() + * + * This function is intended for files like NEWS, COPYING, etc. + * On Windows these files are in the doc directory of the installation. + */ +gchar *gpredict_help_txt_file_name(const gchar *filename) +{ + gchar *fname; + +#ifdef G_OS_UNIX + fname = g_strconcat(PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, filename, NULL); +#endif +#ifdef G_OS_WIN32 + gchar *instdir; + + instdir = g_win32_get_package_installation_directory_of_module(NULL); + fname = g_strconcat(instdir, G_DIR_SEPARATOR_S, "doc", G_DIR_SEPARATOR_S, + filename, NULL); + g_free(instdir); +#endif + + return fname; +} + /** * Show a text file in the gpredict system directory * @param filename The basic file name * * This function is intended to display files like NEWS, COPYING, etc. - * Note that on windows these files have .txt suffix, while on Unix they - * do not. */ void gpredict_help_show_txt(const gchar *filename) { @@ -52,18 +77,10 @@ void gpredict_help_show_txt(const gchar *filename) GError *error = NULL; gchar *fname; gchar *buff; + gchar *title; gsize length; - /* get system data directory */ -#ifdef G_OS_UNIX - fname = g_strconcat(PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, filename, NULL); -#endif -#ifdef G_OS_WIN32 - buff = g_win32_get_package_installation_directory_of_module(NULL); - fname = g_strconcat(buff, G_DIR_SEPARATOR_S, "doc", G_DIR_SEPARATOR_S, - filename, ".txt", NULL); - g_free(buff); -#endif + fname = gpredict_help_txt_file_name(filename); /* load file into buffer */ chan = g_io_channel_new_file(fname, "r", &error); @@ -116,8 +133,10 @@ void gpredict_help_show_txt(const gchar *filename) gtk_container_add(GTK_CONTAINER(swin), view); /* create and show dialogue with textbuffer */ - dialog = gtk_dialog_new_with_buttons(_("Gpredict Info"), GTK_WINDOW(app), 0, + title = g_strdup_printf(_("Gpredict Info: %s"), filename); + dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(app), 0, "_Close", GTK_RESPONSE_ACCEPT, NULL); + g_free(title); gtk_widget_set_size_request(dialog, -1, 450); buff = icon_file_name("gpredict-icon.png"); gtk_window_set_icon_from_file(GTK_WINDOW(dialog), buff, NULL); diff --git a/src/gpredict-help.h b/src/gpredict-help.h index 561f3f26..7eb45db1 100644 --- a/src/gpredict-help.h +++ b/src/gpredict-help.h @@ -1,6 +1,7 @@ #ifndef GPREDICT_HELP_H #define GPREDICT_HELP_H 1 +gchar *gpredict_help_txt_file_name(const gchar *filename); void gpredict_help_show_txt(const gchar *filename); #endif diff --git a/src/menubar.c b/src/menubar.c index d99cf860..c0dc83cf 100644 --- a/src/menubar.c +++ b/src/menubar.c @@ -814,7 +814,7 @@ static void menubar_help_cb(GtkWidget * widget, gpointer data) "video tutorials are available from the \n" "Gpredict website:")); - button = gtk_link_button_new("http://gpredict.oz9aec.net/documents.php"); + button = gtk_link_button_new("https://oz9aec.dk/gpredict/documents.php"); gtk_widget_show(button); gtk_box_pack_start(GTK_BOX @@ -841,6 +841,14 @@ static void menubar_news_cb(GtkWidget * widget, gpointer data) gpredict_help_show_txt("NEWS"); } +static void menubar_authors_cb(GtkWidget * widget, gpointer data) +{ + (void)widget; + (void)data; + + gpredict_help_show_txt("AUTHORS"); +} + static void menubar_about_cb(GtkWidget * widget, gpointer data) { (void)widget; @@ -950,6 +958,10 @@ static void create_help_menu_items(GtkMenuShell * menu, g_signal_connect(menu_item, "activate", G_CALLBACK(menubar_news_cb), NULL); gtk_menu_shell_append(menu, menu_item); + menu_item = gtk_menu_item_new_with_mnemonic(_("A_uthors")); + g_signal_connect(menu_item, "activate", G_CALLBACK(menubar_authors_cb), NULL); + gtk_menu_shell_append(menu, menu_item); + menu_item = gtk_separator_menu_item_new(); gtk_menu_shell_append(menu, menu_item);