Skip to content

Commit

Permalink
Merge pull request #2 from sabriunal/mark-translatable
Browse files Browse the repository at this point in the history
Add translation support.
Add Turkish translation.
  • Loading branch information
Bytezz authored May 16, 2023
2 parents 2f9fe0a + 5585948 commit 0bc2125
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 14 deletions.
1 change: 1 addition & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tr
1 change: 1 addition & 0 deletions po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ data/io.github.bytezz.IPLookup.gschema.xml
src/main.py
src/window.py
src/window.ui
src/gtk/help-overlay.ui
130 changes: 130 additions & 0 deletions po/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Turkish translation of io.github.bytezz.IPLookup.
# Copyright (C) 2023 io.github.bytezz.IPLookup COPYRIGHT HOLDER
# This file is distributed under the same license as the io.github.bytezz.IPLookup package.
#
# Sabri Ünal <[email protected]>, 2023.
#
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-05-15 18:13+0300\n"
"PO-Revision-Date: 2023-05-15 18:14+0300\n"
"Last-Translator: Sabri Ünal <[email protected]>\n"
"Language-Team: Turkish <[email protected]>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.1.1\n"

#: data/io.github.bytezz.IPLookup.desktop.in:3
#: data/io.github.bytezz.IPLookup.appdata.xml.in:4
msgid "IP Lookup"
msgstr "IP Sorgula"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:5
#: data/io.github.bytezz.IPLookup.appdata.xml.in:10
msgid "Find info about an IP address."
msgstr "IP adresleri hakkındaki bilgileri bul."

#: data/io.github.bytezz.IPLookup.appdata.xml.in:17
msgid "Main Window"
msgstr "Ana Pencere"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:37
msgid "IP"
msgstr "IP"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:38
msgid "lookup"
msgstr "ara"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:39
msgid "ISP"
msgstr "Servis Sağlayıcı"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:40
msgid "traceroute"
msgstr "traceroute"

#: data/io.github.bytezz.IPLookup.appdata.xml.in:54
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:59
msgid "Switch to org.gnome.Platform 44."
msgstr "GNOME 44 platformuna geçildi."

#: data/io.github.bytezz.IPLookup.appdata.xml.in:60
msgid "Add Desktop Entry category."
msgstr "Masaüstü Girdisi kategorisi eklendi."

#: data/io.github.bytezz.IPLookup.appdata.xml.in:65
msgid "First version. Just working, nothing fancy."
msgstr "İlk sürüm. Sadece çalışıyor, özel bir şey yok."

#: src/window.ui:196
msgid "_Keyboard Shortcuts"
msgstr "_Klavye Kısayolları"

#: src/window.ui:200
msgid "_About IP Lookup"
msgstr "IP Sorgula _Hakkında"

#: src/window.ui:61
#: src/window.ui:64
msgid "Network"
msgstr "Ağ"

#: src/window.ui:88
msgid "Org"
msgstr "Kurum"

#: src/window.ui:102
msgid "Geo"
msgstr "Konum"

#: src/window.ui:106
msgid "City"
msgstr "Şehir"

#: src/window.ui:116
msgid "Region"
msgstr "Bölge"

#: src/window.ui:130
msgid "Country"
msgstr "Ülke"

#: src/window.ui:142
msgid "Zip"
msgstr "Posta Kodu"

#: src/window.ui:154
msgid "Timezone"
msgstr "Saat Dilimi"

#: src/window.ui:166
msgid "Coordinates"
msgstr "Koordinatlar"

#: src/window.ui:172
msgid "Open map"
msgstr "Haritayı aç"

#: src/gtk/help-overlay.ui:11
msgctxt "shortcut window"
msgid "General"
msgstr "Genel"

#: src/gtk/help-overlay.ui:14
msgctxt "shortcut window"
msgid "Show Shortcuts"
msgstr "Kısayolları Göster"

#: src/gtk/help-overlay.ui:20
msgctxt "shortcut window"
msgid "Quit"
msgstr "Çık"
28 changes: 14 additions & 14 deletions src/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template class="IplookupWindow" parent="AdwApplicationWindow">
<property name="default-width">500</property>
<property name="default-height">715</property>
<property name="title">IP Lookup</property>
<property name="title" translatable="true">IP Lookup</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
Expand Down Expand Up @@ -40,7 +40,7 @@
<child>
<!-- TODO: Move this to headerbar as GtkEntry? -->
<object class="AdwEntryRow" id="ip_entry">
<property name="title">IP</property>
<property name="title" translatable="true">IP</property>
<!-- Is possible to change apply-button icon? -->
<property name="show-apply-button">True</property>
<!--child>
Expand All @@ -58,10 +58,10 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title">Network</property>
<property name="title" translatable="true">Network</property>
<child>
<object class="AdwActionRow">
<property name="title">Network</property>
<property name="title" translatable="true">Network</property>
<property name="icon-name">lan-symbolic</property>
<child>
<object class="GtkLabel" id="network_label">
Expand All @@ -73,7 +73,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">ISP</property>
<property name="title" translatable="true">ISP</property>
<property name="icon-name">globe-symbolic</property>
<child>
<object class="GtkLabel" id="isp_label">
Expand All @@ -85,7 +85,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Org</property>
<property name="title" translatable="true">Org</property>
<property name="icon-name">building-symbolic</property>
<child>
<object class="GtkLabel" id="org_label">
Expand All @@ -99,11 +99,11 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title">Geo</property>
<property name="title" translatable="true">Geo</property>
<property name="margin-bottom">10</property>
<child>
<object class="AdwActionRow">
<property name="title">City</property>
<property name="title" translatable="true">City</property>
<property name="icon-name">city-symbolic</property>
<child>
<object class="GtkLabel" id="city_label">
Expand All @@ -115,7 +115,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Region</property>
<property name="title" translatable="true">Region</property>
<property name="icon-name">flag-outline-thick-symbolic</property>
<child>
<object class="GtkLabel" id="region_label">
Expand All @@ -127,7 +127,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Country</property>
<property name="title" translatable="true">Country</property>
<property name="icon-name">flag-filled-symbolic</property>
<child>
<object class="GtkLabel" id="country_label">
Expand All @@ -139,7 +139,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Zip</property>
<property name="title" translatable="true">Zip</property>
<property name="icon-name">mail-symbolic</property>
<child>
<object class="GtkLabel" id="zip_label">
Expand All @@ -151,7 +151,7 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Timezone</property>
<property name="title" translatable="true">Timezone</property>
<property name="icon-name">clock-alt-symbolic</property>
<child>
<object class="GtkLabel" id="timezone_label">
Expand All @@ -163,13 +163,13 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title">Coordinates</property>
<property name="title" translatable="true">Coordinates</property>
<property name="icon-name">map-marker-symbolic</property>
<child>
<object class="GtkLinkButton" id="coordinates_label">
<property name="label"></property>
<property name="uri"></property>
<property name="tooltip-text">Open map</property>
<property name="tooltip-text" translatable="true">Open map</property>
<property name="visible">False</property>
</object>
</child>
Expand Down

0 comments on commit 0bc2125

Please sign in to comment.