From 85bc58b9af2d5dc791933527a11cd245f6a7975a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 23 Jan 2024 16:40:16 +0300 Subject: [PATCH 1/6] appdata: Update appdata - Remove categories and keywords that already presented in the desktop file - Add vcs-browser and translate URLs - Remove one of Purism tag to pass appstreamcli validation - Add default tag to one of screenshot - Add translation tag --- data/io.github.bytezz.IPLookup.appdata.xml.in | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/data/io.github.bytezz.IPLookup.appdata.xml.in b/data/io.github.bytezz.IPLookup.appdata.xml.in index c70ae2f..d94d8e4 100644 --- a/data/io.github.bytezz.IPLookup.appdata.xml.in +++ b/data/io.github.bytezz.IPLookup.appdata.xml.in @@ -11,18 +11,15 @@ io.github.bytezz.IPLookup.desktop + iplookup - + Main Window https://raw.githubusercontent.com/Bytezz/IPLookup-gtk/master/screenshot/window.png - - Utility - - keyboard pointing @@ -33,18 +30,12 @@ always - - IP - lookup - ISP - traceroute - - https://github.com/bytezz/iplookup-gtk https://github.com/Bytezz/IPLookup-gtk/issues + https://github.com/bytezz/iplookup-gtk + https://github.com/Bytezz/IPLookup-gtk/tree/main/po - workstation mobile From d3c6ccfafe78b1a074af36dc00cd019dc79f6ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 23 Jan 2024 16:42:51 +0300 Subject: [PATCH 2/6] app: Add translator-credits support --- src/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index bb0c5c8..9a60e34 100644 --- a/src/main.py +++ b/src/main.py @@ -55,7 +55,7 @@ def do_activate(self): def on_quit_action(self, widget, _): self.quit() - def on_about_action(self, widget, _): + def on_about_action(self, *args): """Callback for the app.about action.""" about = Adw.AboutWindow(transient_for=self.props.active_window, application_name='IP Lookup', @@ -65,6 +65,7 @@ def on_about_action(self, widget, _): issue_url='https://github.com/Bytezz/IPLookup-gtk/issues', version='0.3.2', developers=['Bytez'], + translator_credits=_("translator-credits"), license_type=Gtk.License.GPL_3_0, copyright='Copyright© 2023 Bytez') about.present() From b16200380f81f7c0b9cbf03511ee7eb6aaa03948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 23 Jan 2024 16:43:40 +0300 Subject: [PATCH 3/6] po: Update POT file --- po/IPLookup-gtk.pot | 58 +++++++++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/po/IPLookup-gtk.pot b/po/IPLookup-gtk.pot index 121041c..faf577b 100644 --- a/po/IPLookup-gtk.pot +++ b/po/IPLookup-gtk.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: iplookup\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-07 12:54+0200\n" +"POT-Creation-Date: 2024-01-23 16:43+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,94 +32,106 @@ msgid "" "IP address." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:17 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:18 msgid "Main Window" msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:54 -msgid "Improve about window." +#: data/io.github.bytezz.IPLookup.appdata.xml.in:45 +msgid "Add belarusian and update french translations." +msgstr "" + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:50 +msgid "Update ukrainian and russian translations." msgstr "" #: data/io.github.bytezz.IPLookup.appdata.xml.in:55 -msgid "Port to AdwToolbarView." +msgid "Improve about window." msgstr "" #: data/io.github.bytezz.IPLookup.appdata.xml.in:56 -msgid "Use toast." +msgid "Port to AdwToolbarView." msgstr "" #: data/io.github.bytezz.IPLookup.appdata.xml.in:57 -msgid "Improve primary menu." +msgid "Use toast." msgstr "" #: data/io.github.bytezz.IPLookup.appdata.xml.in:58 -msgid "Thanks Hari Rana." +msgid "Improve primary menu." msgstr "" #: data/io.github.bytezz.IPLookup.appdata.xml.in:59 +msgid "Thanks Hari Rana." +msgstr "" + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:60 msgid "Get your IP from menu." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:64 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:65 msgid "New icon! Thanks Jakub Steiner" msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:65 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:66 msgid "Remember window size." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:66 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:67 msgid "Add left and right margins." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:71 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:72 msgid "Update Ukrainian and add Russian translations." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:76 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:77 msgid "Update Turkish translation." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:81 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:82 msgid "Hide IP field when input is not a domain name." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:86 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:87 msgid "Show IP if a domain name is given." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:91 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:92 msgid "Ukrainian translation." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:96 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:97 msgid "Italian and french translation." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:101 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:102 msgid "Add translation support." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:102 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:103 msgid "Add Turkish translation." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:107 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:108 msgid "Move from com.github to io.github" msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:112 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:113 msgid "Switch to org.gnome.Platform 44." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:113 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:114 msgid "Add Desktop Entry category." msgstr "" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:118 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:119 msgid "First version. Just working, nothing fancy." msgstr "" +#: src/main.py:68 +msgid "translator-credits" +msgstr "" + #: src/window.ui:15 msgid "Main Menu" msgstr "" From 46caa6583b24391c6476fb377a27315f3be6c66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 23 Jan 2024 16:48:47 +0300 Subject: [PATCH 4/6] po: Update Turkish translation --- po/tr.po | 155 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 110 insertions(+), 45 deletions(-) diff --git a/po/tr.po b/po/tr.po index a25cf91..38321c7 100644 --- a/po/tr.po +++ b/po/tr.po @@ -1,15 +1,15 @@ # Turkish translation of io.github.bytezz.IPLookup. -# Copyright (C) 2023 io.github.bytezz.IPLookup COPYRIGHT HOLDER +# Copyright (C) 2023-2024 io.github.bytezz.IPLookup COPYRIGHT HOLDER # This file is distributed under the same license as the io.github.bytezz.IPLookup package. # -# Sabri Ünal , 2023. +# Sabri Ünal , 2023, 2024. # msgid "" msgstr "" "Project-Id-Version: io.github.bytezz.IPLookup\n" -"Report-Msgid-Bugs-To: https://github.com/Bytezz/IPLookup-gtk/issues\n" -"POT-Creation-Date: 2023-10-06 21:00+0300\n" -"PO-Revision-Date: 2023-10-06 21:04+0300\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-23 16:43+0300\n" +"PO-Revision-Date: 2024-01-23 16:48+0300\n" "Last-Translator: Sabri Ünal \n" "Language-Team: Turkish \n" "Language: tr\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.3.2\n" +"X-Generator: Poedit 3.4.2\n" #: data/io.github.bytezz.IPLookup.desktop.in:3 #: data/io.github.bytezz.IPLookup.appdata.xml.in:4 src/window.ui:8 @@ -25,120 +25,182 @@ msgid "IP Lookup" msgstr "IP Sorgula" #: data/io.github.bytezz.IPLookup.appdata.xml.in:5 +msgid "Find info about an IP address" +msgstr "IP adresleri hakkındaki bilgileri bul" + #: data/io.github.bytezz.IPLookup.appdata.xml.in:10 -msgid "Find info about an IP address." -msgstr "IP adresleri hakkındaki bilgileri bul." +msgid "" +"Look up details such as the internet provider and geographic location for an " +"IP address." +msgstr "" +"IP adresi hakkında internet sağlayıcısı ve coğrafi konum gibi ayrıntılara " +"bakın." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:17 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:18 msgid "Main Window" msgstr "Ana Pencere" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:37 src/window.ui:43 -#: src/window.ui:64 -msgid "IP" -msgstr "IP" +#: data/io.github.bytezz.IPLookup.appdata.xml.in:45 +msgid "Add belarusian and update french translations." +msgstr "Belarusça eklendi ve Fransızca çeviriler güncellendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:38 -msgid "lookup" -msgstr "ara" +#: data/io.github.bytezz.IPLookup.appdata.xml.in:50 +msgid "Update ukrainian and russian translations." +msgstr "Ukraynaca ve Rusça çevirileri güncellendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:39 src/window.ui:89 -msgid "ISP" -msgstr "Servis Sağlayıcı" +#: data/io.github.bytezz.IPLookup.appdata.xml.in:55 +msgid "Improve about window." +msgstr "Hakkında penceresi iyileştirmeleri." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:56 +msgid "Port to AdwToolbarView." +msgstr "AdwToolbarView'e güncellendi." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:57 +msgid "Use toast." +msgstr "Bildirim kullan." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:58 +msgid "Improve primary menu." +msgstr "Birincil menü iyileştirmeleri." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:59 +msgid "Thanks Hari Rana." +msgstr "Teşekkürler Hari Rana." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:60 +msgid "Get your IP from menu." +msgstr "IP'nizi menüden öğrenin." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:65 +msgid "New icon! Thanks Jakub Steiner" +msgstr "Yeni simge! Teşekkürler Jakub Steiner" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:40 -msgid "traceroute" -msgstr "traceroute" +#: data/io.github.bytezz.IPLookup.appdata.xml.in:66 +msgid "Remember window size." +msgstr "Pencere boyutunu anımsa." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:54 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:67 +msgid "Add left and right margins." +msgstr "Sol ve sağ kenar boşlukları eklendi." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:72 +msgid "Update Ukrainian and add Russian translations." +msgstr "Ukraynaca çeviri güncellendi ve Rusça çeviri eklendi." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:77 +msgid "Update Turkish translation." +msgstr "Türkçe çeviri güncellendi." + +#: data/io.github.bytezz.IPLookup.appdata.xml.in:82 msgid "Hide IP field when input is not a domain name." msgstr "Girdi alan adı değilse IP alanını gizle." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:59 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:87 msgid "Show IP if a domain name is given." msgstr "Alan adı girildiyse IP adresini göster." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:64 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:92 msgid "Ukrainian translation." msgstr "Ukraynaca çeviri eklendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:69 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:97 msgid "Italian and french translation." msgstr "İtalyanca ve Fransızca çeviri eklendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:74 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:102 msgid "Add translation support." msgstr "Çeviri desteği eklendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:75 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:103 msgid "Add Turkish translation." msgstr "Türkçe çeviri eklendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:80 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:108 msgid "Move from com.github to io.github" msgstr "com.github yerine io.github kullanılmaya başlandı" -#: data/io.github.bytezz.IPLookup.appdata.xml.in:85 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:113 msgid "Switch to org.gnome.Platform 44." msgstr "GNOME 44 platformuna geçildi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:86 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:114 msgid "Add Desktop Entry category." msgstr "Masaüstü Girdisi kategorisi eklendi." -#: data/io.github.bytezz.IPLookup.appdata.xml.in:91 +#: data/io.github.bytezz.IPLookup.appdata.xml.in:119 msgid "First version. Just working, nothing fancy." msgstr "İlk sürüm. Sadece çalışıyor, özel bir şey yok." -#: src/window.ui:61 src/window.ui:77 +#: src/main.py:68 +msgid "translator-credits" +msgstr "Sabri Ünal " + +#: src/window.ui:15 +msgid "Main Menu" +msgstr "Ana Menü" + +#: src/window.ui:44 src/window.ui:65 +msgid "IP" +msgstr "IP" + +#: src/window.ui:62 src/window.ui:78 msgid "Network" msgstr "Ağ" -#: src/window.ui:101 +#: src/window.ui:90 +msgid "ISP" +msgstr "Servis Sağlayıcı" + +#: src/window.ui:102 msgid "Org" msgstr "Kurum" -#: src/window.ui:115 +#: src/window.ui:116 msgid "Geo" msgstr "Konum" -#: src/window.ui:119 +#: src/window.ui:120 msgid "City" msgstr "Şehir" -#: src/window.ui:131 +#: src/window.ui:132 msgid "Region" msgstr "Bölge" -#: src/window.ui:143 +#: src/window.ui:144 msgid "Country" msgstr "Ülke" -#: src/window.ui:155 +#: src/window.ui:156 msgid "Zip" msgstr "Posta Kodu" -#: src/window.ui:167 +#: src/window.ui:168 msgid "Timezone" msgstr "Saat Dilimi" -#: src/window.ui:179 +#: src/window.ui:180 msgid "Coordinates" msgstr "Koordinatlar" -#: src/window.ui:185 +#: src/window.ui:186 msgid "Open map" msgstr "Haritayı aç" -#: src/window.ui:209 +#: src/window.ui:210 +msgid "_Get Your IP" +msgstr "_IP Adresimi Getir" + +#: src/window.ui:216 msgid "_Keyboard Shortcuts" msgstr "_Klavye Kısayolları" -#: src/window.ui:213 +#: src/window.ui:220 msgid "_About IP Lookup" msgstr "IP Sorgula _Hakkında" -#: src/window.ui:224 +#: src/window.ui:231 msgid "_Close" msgstr "_Kapat" @@ -156,3 +218,6 @@ msgstr "Kısayolları Göster" msgctxt "shortcut window" msgid "Quit" msgstr "Çık" + +#~ msgid "traceroute" +#~ msgstr "traceroute" From 414072ebefccb38cabe93f40f3e27dec270f92f3 Mon Sep 17 00:00:00 2001 From: Bytez <25850701+Bytezz@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:55:14 +0100 Subject: [PATCH 5/6] Move keywords to desktop entry --- data/io.github.bytezz.IPLookup.desktop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/io.github.bytezz.IPLookup.desktop.in b/data/io.github.bytezz.IPLookup.desktop.in index 77d8803..36b05d7 100644 --- a/data/io.github.bytezz.IPLookup.desktop.in +++ b/data/io.github.bytezz.IPLookup.desktop.in @@ -5,5 +5,6 @@ Icon=io.github.bytezz.IPLookup Terminal=false Type=Application Categories=Utility;GTK; +Keywords=IP;lookup;ISP;traceroute; StartupNotify=true X-Purism-FormFactor=Workstation;Mobile; From 2e772b0c613d95570b32d136904b8c34010320e6 Mon Sep 17 00:00:00 2001 From: Bytez <25850701+Bytezz@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:57:31 +0100 Subject: [PATCH 6/6] Change AppData from "desktop" to "desktop-application" --- data/io.github.bytezz.IPLookup.appdata.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/io.github.bytezz.IPLookup.appdata.xml.in b/data/io.github.bytezz.IPLookup.appdata.xml.in index d94d8e4..929f8f8 100644 --- a/data/io.github.bytezz.IPLookup.appdata.xml.in +++ b/data/io.github.bytezz.IPLookup.appdata.xml.in @@ -1,5 +1,5 @@ - + io.github.bytezz.IPLookup IP Lookup Find info about an IP address