summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-06 12:58:14 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-06 12:58:14 +0200
commit47925bdf26a0b6df210302a5181b273a4af270e0 (patch)
treea97ea28ce00b136a00d19370d93e073677234bf1
parent8d394eaea3b017370f67f0084d4044fc5aadd914 (diff)
downloadtellico-47925bdf26a0b6df210302a5181b273a4af270e0.tar.gz
tellico-47925bdf26a0b6df210302a5181b273a4af270e0.zip
Merge desktop files translations into tellico.xml.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeL10n.txt8
-rw-r--r--CMakeLists.txt5
-rw-r--r--tellico.xml3
-rw-r--r--translations/desktop_files/cs.po13
-rw-r--r--translations/desktop_files/de.po13
-rw-r--r--translations/desktop_files/fr.po13
-rw-r--r--translations/desktop_files/pt.po13
-rw-r--r--translations/desktop_files/ru.po13
-rw-r--r--translations/desktop_files/sv.po13
-rw-r--r--translations/desktop_files/tellico-desktops.pot16
-rw-r--r--translations/desktop_files/tr.po13
11 files changed, 67 insertions, 56 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 07998e5..3b71309 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -22,7 +22,13 @@ include( TDEL10n )
tde_l10n_auto_add_subdirectories( )
+tde_l10n_prepare_xml(
+ SOURCE tellico.xml
+ TAGS comment
+)
+
tde_l10n_create_template(
CATALOG "desktop_files/tellico-desktops"
- SOURCES *.desktop
+ SOURCES *.desktop tellico.xml.tde_l10n
+ EXCLUDES _translatorinfo
)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f692d6f..c6c9d9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,7 +111,10 @@ tde_create_translated_desktop(
SOURCE x-tellico.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
)
-install( FILES tellico.xml
+tde_create_translated_desktop(
+ SOURCE tellico.xml
+ KEYWORDS comment
+ FORMAT xml
DESTINATION ${XDG_MIME_INSTALL_DIR}
)
install( FILES tellico.dtd tellico.tips
diff --git a/tellico.xml b/tellico.xml
index 2c29ef4..071b953 100644
--- a/tellico.xml
+++ b/tellico.xml
@@ -3,9 +3,6 @@
<mime-type type="application/x-tellico">
<sub-class-of type="application/zip"/>
<comment>Tellico Data File</comment>
- <comment xml:lang="cs">Datový soubor Tellico</comment>
- <comment xml:lang="fr">Fichier Tellico</comment>
- <comment xml:lang="ru">Файл Tellico</comment>
<glob pattern="*.tc"/>
<glob pattern="*.bc"/>
</mime-type>
diff --git a/translations/desktop_files/cs.po b/translations/desktop_files/cs.po
index fd384a7..5831988 100644
--- a/translations/desktop_files/cs.po
+++ b/translations/desktop_files/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr "Datový soubor Tellico"
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Správce sbírek"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Správce sbírek"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr "Datový soubor Tellico"
diff --git a/translations/desktop_files/de.po b/translations/desktop_files/de.po
index d0830dd..e8b21dc 100644
--- a/translations/desktop_files/de.po
+++ b/translations/desktop_files/de.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr ""
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Verwaltung von Sammlungen"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Ein Programm zum Verwalten von Sammlungen"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""
diff --git a/translations/desktop_files/fr.po b/translations/desktop_files/fr.po
index 679306e..3375fda 100644
--- a/translations/desktop_files/fr.po
+++ b/translations/desktop_files/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr "Fichier Tellico"
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Gestionnaire de collection"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Un gestionnaire de collection"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""
diff --git a/translations/desktop_files/pt.po b/translations/desktop_files/pt.po
index 1976195..7dea493 100644
--- a/translations/desktop_files/pt.po
+++ b/translations/desktop_files/pt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr ""
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Gestor de Colecção"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Um gestor de colecção"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""
diff --git a/translations/desktop_files/ru.po b/translations/desktop_files/ru.po
index 7c35a13..a673c95 100644
--- a/translations/desktop_files/ru.po
+++ b/translations/desktop_files/ru.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr "Файл Tellico"
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Менеджер коллекций"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Менеджер коллекций"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr "Файл Tellico"
diff --git a/translations/desktop_files/sv.po b/translations/desktop_files/sv.po
index 81ea29c..dad1c08 100644
--- a/translations/desktop_files/sv.po
+++ b/translations/desktop_files/sv.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr ""
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Samlingsorganisatör"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Program för hantering av samlingar"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""
diff --git a/translations/desktop_files/tellico-desktops.pot b/translations/desktop_files/tellico-desktops.pot
index b2cc391..527eff3 100644
--- a/translations/desktop_files/tellico-desktops.pot
+++ b/translations/desktop_files/tellico-desktops.pot
@@ -1,21 +1,24 @@
# SOME DESCRIPTIVE TITLE.
-# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr ""
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +33,3 @@ msgstr ""
#: tellico.desktop:6
msgid "A collection manager"
msgstr ""
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""
diff --git a/translations/desktop_files/tr.po b/translations/desktop_files/tr.po
index 84aca01..a7b0542 100644
--- a/translations/desktop_files/tr.po
+++ b/translations/desktop_files/tr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-07-04 10:56+0200\n"
+"POT-Creation-Date: 2021-07-06 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. Comment
+#: tellico.xml:5 x-tellico.desktop:2
+#, no-c-format
+msgid "Tellico Data File"
+msgstr ""
+
#. Name
#: tellico.desktop:2
msgid "Tellico"
@@ -30,8 +36,3 @@ msgstr "Koleksiyon yöneticisi"
#: tellico.desktop:6
msgid "A collection manager"
msgstr "Bir koleksiyon yöneticisi"
-
-#. Comment
-#: x-tellico.desktop:2
-msgid "Tellico Data File"
-msgstr ""