From 213ad77cde4f8e6e375a247d38bb313a45305850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:03:50 +0300 Subject: [PATCH 1/6] appdata: Mark release descriptions as untranslatable GNOME automatically excludes release descriptions on Damned Lies (GNOME Translation Platform). It's a good practice to follow the GNOME way. This can streamline the translation process, allowing translators to focus their efforts on more critical and user-facing aspects of the application. --- ...om.github.Darazaki.Spedread.appdata.xml.in | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/data/com.github.Darazaki.Spedread.appdata.xml.in b/data/com.github.Darazaki.Spedread.appdata.xml.in index 5e3f40e..e323d3d 100755 --- a/data/com.github.Darazaki.Spedread.appdata.xml.in +++ b/data/com.github.Darazaki.Spedread.appdata.xml.in @@ -43,7 +43,7 @@ - +

New:

  • Update GNOME Platform version from 45 to 46
  • @@ -52,7 +52,7 @@ - +

    New:

    • Update Occitan translation (thanks to @Mejans)
    • @@ -60,7 +60,7 @@ - +

      New:

      • Update Russian translation (thanks to @alexkdeveloper)
      • @@ -68,7 +68,7 @@ - +

        New:

        • Update GNOME Platform version from 44 to 45
        • @@ -77,7 +77,7 @@ - +

          New:

          • Update Dutch translation (thanks to @Vistaus)
          • @@ -85,7 +85,7 @@ - +

            New:

            • Update Italian translation (thanks to @albanobattistella)
            • @@ -93,7 +93,7 @@ - +

              New:

              • Update GNOME Platform version from 43 to 44 (thanks to @alexkdeveloper)
              • @@ -109,7 +109,7 @@ - +

                Fixed:

                • Typo in German translation has been fixed (thanks to Jürgen Benvenuti)
                • @@ -117,7 +117,7 @@ - +

                  New:

                  • Add German translation (thanks to Jürgen Benvenuti)
                  • @@ -125,7 +125,7 @@ - +

                    New:

                    • Add Dutch translation (thanks to @Vistaus)
                    • @@ -133,7 +133,7 @@ - +

                      New:

                      • Add Russian translation (thanks to @alexkdeveloper)
                      • @@ -146,7 +146,7 @@ - +

                        New:

                        • Add "new window" and "quick paste" buttons
                        • @@ -155,7 +155,7 @@ - +

                          New:

                          • Update Italian translation (thanks to @albanobattistella)
                          • @@ -163,7 +163,7 @@ - +

                            New:

                            • Change icon to fit both GNOME HIG and my personal style
                            • @@ -180,7 +180,7 @@ - +

                              New:

                              • Numbers and acronyms are now treated as one word
                              • @@ -192,7 +192,7 @@ - +

                                New:

                                • Make font inside the "Read" tab customizable
                                • @@ -204,7 +204,7 @@ - +

                                  Changes:

                                  • Slightly improve performance and energy consumption while reading
                                  • @@ -212,7 +212,7 @@ - +

                                    New:

                                    • Italian translation (thanks to @albanobattistella)
                                    • @@ -220,7 +220,7 @@ - +

                                      New:

                                      • Previous/next word buttons
                                      • From 334520e921533cd65db3ad12bc9e0338c47b6af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:04:37 +0300 Subject: [PATCH 2/6] data: Rename POT file --- po/{_base.pot => Speedread.pot} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename po/{_base.pot => Speedread.pot} (100%) diff --git a/po/_base.pot b/po/Speedread.pot similarity index 100% rename from po/_base.pot rename to po/Speedread.pot From 2a2fa7baa3c2322b30f8d8f2faac44383919c8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:04:59 +0300 Subject: [PATCH 3/6] data: Reorder POTFILES --- po/POTFILES | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/POTFILES b/po/POTFILES index 2bba69e..42416e0 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -1,6 +1,6 @@ +data/com.github.Darazaki.Spedread.desktop.in +data/com.github.Darazaki.Spedread.appdata.xml.in src/SpedreadApp.vala src/SpedreadReadTab.vala src/SpedreadTextTab.vala src/SpedreadWindow.vala -data/com.github.Darazaki.Spedread.desktop.in -data/com.github.Darazaki.Spedread.appdata.xml.in From 730acd97d9bc071908509498d888ebc3b423c51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:18:33 +0300 Subject: [PATCH 4/6] data: Update POT file --- po/Speedread.pot | 68 ++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 28 deletions(-) diff --git a/po/Speedread.pot b/po/Speedread.pot index fbb7e85..44f4494 100644 --- a/po/Speedread.pot +++ b/po/Speedread.pot @@ -1,21 +1,52 @@ # Translation for the Spedread project. # Copyright (C) 2023 # This file is distributed under the same license as the Spedread package. -# %AUTHOR%, %YEAR%. +# FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: com.github.Darazaki.Spedread\n" "Report-Msgid-Bugs-To: Naqua Darazaki \n" -"POT-Creation-Date: 2023-06-04 22:43+0200\n" "PO-Revision-Date: %DATE%\n" "Last-Translator: %AUTHOR%\n" "Language-Team: none\n" "Language: %LANG%\n" +"POT-Creation-Date: 2024-04-12 16:16+0300\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: data/com.github.Darazaki.Spedread.desktop.in:3 +#: data/com.github.Darazaki.Spedread.appdata.xml.in:8 +msgid "Spedread" +msgstr "" + +#: data/com.github.Darazaki.Spedread.desktop.in:4 +#: data/com.github.Darazaki.Spedread.appdata.xml.in:19 +#: src/SpedreadWindow.vala:539 src/SpedreadWindow.vala:556 +msgid "Read like a speedrunner!" +msgstr "" + +#: data/com.github.Darazaki.Spedread.desktop.in:10 +msgid "read;fast;speed;reading;" +msgstr "" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:9 +msgid "Naqua Darazaki" +msgstr "" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:17 +msgid "GTK speed reading software: Read like a speedrunner!" +msgstr "" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:20 +msgid "" +"This program will show one word at a time rapidly to allow focusing on the " +"general idea rather than single words along with less eye movements." +msgstr "" + +#. No text, disable everything and prompt the user to add something +#. to read #: src/SpedreadReadTab.vala:79 src/SpedreadWindow.vala:285 msgid "Go to \"Text\" and paste your read!" msgstr "" @@ -54,42 +85,23 @@ msgstr "" msgid "About Spedread..." msgstr "" -#: src/SpedreadWindow.vala:539 src/SpedreadWindow.vala:556 -#: data/com.github.Darazaki.Spedread.desktop.in:4 -#: data/com.github.Darazaki.Spedread.appdata.xml.in:19 -msgid "Read like a speedrunner!" +#. TRANSLATORS: 'Name ' or 'Name https://website.example' +#: src/SpedreadWindow.vala:558 +msgid "translator-credits" msgstr "" -#: src/SpedreadWindow.vala:562 +#: src/SpedreadWindow.vala:564 msgid "Milliseconds per Word" msgstr "" -#: src/SpedreadWindow.vala:564 +#: src/SpedreadWindow.vala:566 msgid "Reading Font" msgstr "" -#: src/SpedreadWindow.vala:566 +#: src/SpedreadWindow.vala:568 msgid "Use libadwaita" msgstr "" -#: src/SpedreadWindow.vala:578 +#: src/SpedreadWindow.vala:580 msgid "Paste" msgstr "" - -#: data/com.github.Darazaki.Spedread.desktop.in:3 -msgid "Spedread" -msgstr "" - -#: data/com.github.Darazaki.Spedread.desktop.in:10 -msgid "read;fast;speed;reading;" -msgstr "" - -#: data/com.github.Darazaki.Spedread.appdata.xml.in:17 -msgid "GTK speed reading software: Read like a speedrunner!" -msgstr "" - -#: data/com.github.Darazaki.Spedread.appdata.xml.in:20 -msgid "" -"This program will show one word at a time rapidly to allow focusing on the " -"general idea rather than single words along with less eye movements." -msgstr "" From b001f55b74a561cbec57846aba3f9277af6ca035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:18:40 +0300 Subject: [PATCH 5/6] data: Add translator-credits Add translator-credits tag to show translator information. https://wiki.gnome.org/TranslationProject/DevGuidelines/Add%20translator%20credits --- src/SpedreadWindow.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SpedreadWindow.vala b/src/SpedreadWindow.vala index d78d3f1..aeb92e0 100644 --- a/src/SpedreadWindow.vala +++ b/src/SpedreadWindow.vala @@ -554,6 +554,8 @@ class SpedreadWindow : Gtk.ApplicationWindow { "license-type", Gtk.License.GPL_3_0, "logo-icon-name", "com.github.Darazaki.Spedread", "comments", _ ("Read like a speedrunner!"), + // TRANSLATORS: 'Name ' or 'Name https://website.example' + "translator-credits", _("translator-credits"), "version", VERSION, "authors", authors ); From 05ef7932f4c8231fdbd9fe346db93c1a1694fcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Fri, 12 Apr 2024 16:21:22 +0300 Subject: [PATCH 6/6] i18n: Add Turkish translation --- po/LINGUAS | 1 + po/tr.po | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 po/tr.po diff --git a/po/LINGUAS b/po/LINGUAS index c4a9a3e..f295485 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -5,3 +5,4 @@ it nl oc ru +tr diff --git a/po/tr.po b/po/tr.po new file mode 100644 index 0000000..8a19e0c --- /dev/null +++ b/po/tr.po @@ -0,0 +1,112 @@ +# Turkish translation for com.github.Darazaki.Spedread. +# Copyright (C) 2024 com.github.Darazaki.Spedread's COPYRIGHT HOLDER +# This file is distributed under the same license as the com.github.Darazaki.Spedread package. +# +# Sabri Ünal , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: com.github.Darazaki.Spedread\n" +"Report-Msgid-Bugs-To: Naqua Darazaki \n" +"POT-Creation-Date: 2024-04-12 16:16+0300\n" +"PO-Revision-Date: 2024-04-12 16:19+0300\n" +"Last-Translator: Sabri Ünal \n" +"Language-Team: Turkish \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.2.2\n" + +#: data/com.github.Darazaki.Spedread.desktop.in:3 +#: data/com.github.Darazaki.Spedread.appdata.xml.in:8 +msgid "Spedread" +msgstr "Spedread" + +#: data/com.github.Darazaki.Spedread.desktop.in:4 +#: data/com.github.Darazaki.Spedread.appdata.xml.in:19 +#: src/SpedreadWindow.vala:539 src/SpedreadWindow.vala:556 +msgid "Read like a speedrunner!" +msgstr "Koşar gibi okuyun!" + +#: data/com.github.Darazaki.Spedread.desktop.in:10 +msgid "read;fast;speed;reading;" +msgstr "oku;hız;hızlı;okuma;" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:9 +msgid "Naqua Darazaki" +msgstr "Naqua Darazaki" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:17 +msgid "GTK speed reading software: Read like a speedrunner!" +msgstr "GTK ile hazırlanmış hızlı okuma yazılımı: Koşar gibi okuyun!" + +#: data/com.github.Darazaki.Spedread.appdata.xml.in:20 +msgid "" +"This program will show one word at a time rapidly to allow focusing on the " +"general idea rather than single words along with less eye movements." +msgstr "" +"Bu program, daha az göz hareketiyle, tek tek kelimeler yerine genel fikre " +"odaklanmayı sağlamak için her seferinde bir kelimeyi hızlıca gösterecek." + +#. No text, disable everything and prompt the user to add something +#. to read +#: src/SpedreadReadTab.vala:79 src/SpedreadWindow.vala:285 +msgid "Go to \"Text\" and paste your read!" +msgstr "\"Metin\" alanına gidip okumak istediğinizi yapıştırın!" + +#: src/SpedreadWindow.vala:239 +msgid "End reached" +msgstr "Sona ulaşıldı" + +#. TR: If plural is an issue, you can translate it as "Time left: %u min %u s" +#: src/SpedreadWindow.vala:264 +#, c-format +msgid "%u min %u s left" +msgstr "%u dk %u sn kaldı" + +#: src/SpedreadWindow.vala:399 +msgid "Text" +msgstr "Metin" + +#: src/SpedreadWindow.vala:400 +msgid "Read" +msgstr "Oku" + +#: src/SpedreadWindow.vala:435 +msgid "New Window" +msgstr "Yeni Pencere" + +#: src/SpedreadWindow.vala:466 +msgid "Main Menu" +msgstr "Ana Menü" + +#: src/SpedreadWindow.vala:507 +msgid "This change will only be applied after you restart Spedread" +msgstr "Bu değişiklik Spedread yeniden başlattıktan sonra uygulanacak" + +#: src/SpedreadWindow.vala:525 +msgid "About Spedread..." +msgstr "Spedread Hakkında" + +#. TRANSLATORS: 'Name ' or 'Name https://website.example' +#: src/SpedreadWindow.vala:558 +msgid "translator-credits" +msgstr "Sabri Ünal " + +#: src/SpedreadWindow.vala:564 +msgid "Milliseconds per Word" +msgstr "Kelime Başına Milisaniye" + +#: src/SpedreadWindow.vala:566 +msgid "Reading Font" +msgstr "Okuma Yazı Tipi" + +#: src/SpedreadWindow.vala:568 +msgid "Use libadwaita" +msgstr "Libadwaita kullan" + +#: src/SpedreadWindow.vala:580 +msgid "Paste" +msgstr "Yapıştır"