Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed May 26, 2023
1 parent 5fd80e2 commit 81bd616
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 20 deletions.
1 change: 1 addition & 0 deletions data/io.github.mrvladus.List.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<p>Translations:</p>
<ul>
<li>Added Dutch translation. Thanks to Heimen Stoffels.</li>
<li>Added French translation. Thanks to Jeremy Castel.</li>
</ul>
</description>
</release>
Expand Down
4 changes: 3 additions & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
ru nl fr
ru
nl
fr
37 changes: 24 additions & 13 deletions po/fr.po
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# LIST.
# Copyright (C) 2023
# This file is distributed under the same license as the list package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Jeremy Castel <[email protected]>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: list\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-23 19:27+0300\n"
"POT-Creation-Date: 2023-05-26 17:00+0300\n"
"PO-Revision-Date: 2023-05-25 11:05+0200\n"
"Last-Translator: Jeremy Castel <[email protected]>\n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.1.1\n"

#: src/task.py:104
#: src/task.py:100
msgid "Completed:"
msgstr "Terminée:"

Expand All @@ -42,6 +41,10 @@ msgstr "À propos de List"
msgid "Quit"
msgstr "Fermer"

#: src/res/ui/window.ui:89
msgid "translator-credits"
msgstr "Jeremy Castel <[email protected]>"

#: src/res/ui/preferences.ui:13
msgid "Application theme"
msgstr "Thème de l'application"
Expand All @@ -66,38 +69,46 @@ msgstr "Tâches"
msgid "Tasks expanded on startup"
msgstr "Dérouler les tâches au démarrage"

#: src/res/ui/sub_task.ui:19 src/res/ui/task.ui:28
#: src/res/ui/sub_task.ui:19 src/res/ui/task.ui:31
msgid "Delete"
msgstr "Supprimer"

#: src/res/ui/sub_task.ui:40 src/res/ui/task.ui:183
#: src/res/ui/sub_task.ui:40 src/res/ui/task.ui:178
msgid "Edit"
msgstr "Modifier"

#: src/res/ui/sub_task.ui:49 src/res/ui/task.ui:195
#: src/res/ui/sub_task.ui:49 src/res/ui/task.ui:190
msgid "Mark as completed"
msgstr "Marquer comme terminée"

#: src/res/ui/sub_task.ui:76 src/res/ui/task.ui:87
#: src/res/ui/sub_task.ui:82 src/res/ui/task.ui:222
msgid "Move up"
msgstr ""

#: src/res/ui/sub_task.ui:90 src/res/ui/task.ui:230
msgid "Move down"
msgstr ""

#: src/res/ui/sub_task.ui:100 src/res/ui/task.ui:240
msgid "Cancel"
msgstr "Annuler"

#: src/res/ui/task.ui:70
#: src/res/ui/task.ui:73
msgid "Toggle sub-tasks"
msgstr "Dérouler les sous-tâches"

#: src/res/ui/task.ui:98
#: src/res/ui/task.ui:83
msgid "Accent color"
msgstr "Couleur d'accentuation"

#: src/res/ui/task.ui:116
#: src/res/ui/task.ui:101
msgid "Clear style"
msgstr "Effacer le style"

#: src/res/ui/task.ui:216
#: src/res/ui/task.ui:264
msgid "Add new sub-task"
msgstr "Ajouter une sous-tâche"

#: src/res/ui/task.ui:229
#: src/res/ui/task.ui:277
msgid "Delete completed sub-tasks"
msgstr "Supprimer les sous-tâches terminées"
6 changes: 5 additions & 1 deletion po/list.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: list\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 19:12+0300\n"
"POT-Creation-Date: 2023-05-26 17:00+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -41,6 +41,10 @@ msgstr ""
msgid "Quit"
msgstr ""

#: src/res/ui/window.ui:89
msgid "translator-credits"
msgstr ""

#: src/res/ui/preferences.ui:13
msgid "Application theme"
msgstr ""
Expand Down
7 changes: 5 additions & 2 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ msgid ""
msgstr ""
"Project-Id-Version: list\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 19:12+0300\n"
"POT-Creation-Date: 2023-05-26 17:00+0300\n"
"PO-Revision-Date: 2023-05-25 16:59+0200\n"
"Last-Translator: Heimen Stoffels <[email protected]>\n"
"Language-Team: \n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -41,6 +40,10 @@ msgstr "Over List"
msgid "Quit"
msgstr "Afsluiten"

#: src/res/ui/window.ui:89
msgid "translator-credits"
msgstr "Heimen Stoffels <[email protected]>"

#: src/res/ui/preferences.ui:13
msgid "Application theme"
msgstr "Thema"
Expand Down
9 changes: 7 additions & 2 deletions po/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: list\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 19:12+0300\n"
"POT-Creation-Date: 2023-05-26 17:00+0300\n"
"PO-Revision-Date: 2023-05-25 14:45+0300\n"
"Last-Translator: Vlad Krupinski <[email protected]>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Poedit 3.1.1\n"

#: src/task.py:100
Expand All @@ -41,6 +42,10 @@ msgstr "О приложении"
msgid "Quit"
msgstr "Выход"

#: src/res/ui/window.ui:89
msgid "translator-credits"
msgstr "Vlad Krupinski <[email protected]>"

#: src/res/ui/preferences.ui:13
msgid "Application theme"
msgstr "Тема"
Expand Down
2 changes: 1 addition & 1 deletion src/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

sys.path.insert(1, pkgdatadir)
signal.signal(signal.SIGINT, signal.SIG_DFL)
gettext.install("list", localedir)
locale.bindtextdomain("list", localedir)
locale.textdomain("list")
gettext.install("list", localedir)

if __name__ == "__main__":

Expand Down
1 change: 1 addition & 0 deletions src/res/ui/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<property name="application-name">List</property>
<property name="application-icon">io.github.mrvladus.List</property>
<property name="developer-name">Vlad Krupinski</property>
<property name="translator-credits" translatable="yes">translator-credits</property>
<property name="copyright">© 2023 Vlad Krupinski</property>
<property name="website">https://github.com/mrvladus/List</property>
<property name="license-type">7</property>
Expand Down

0 comments on commit 81bd616

Please sign in to comment.