summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-03 18:24:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-03 18:24:26 +0200
commit97f3c14f273819f2c46541e055e294f0c703fbac (patch)
treed2f68296d1c8c9ffd16dd3b493ee0e36e2f879cb
parentf8078fec715b0e5c7cf6960d2d2d576b6337936f (diff)
downloadpotracegui-97f3c14f273819f2c46541e055e294f0c703fbac.tar.gz
potracegui-97f3c14f273819f2c46541e055e294f0c703fbac.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 34bda30cd92780ed0146c9ba639327b65e66d7ca)
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/potracegui.desktop20
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/desktop_files/potracegui.desktop/ca.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/da.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/de.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/el.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/es.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/et.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/fr.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/hu.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/it.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/nl.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/potracegui.desktop.pot32
-rw-r--r--translations/desktop_files/potracegui.desktop/pt.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/pt_BR.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/ru.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/sl.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/sr.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/sv.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/ta.po32
-rw-r--r--translations/desktop_files/potracegui.desktop/zh_CN.po32
-rw-r--r--translations/messages/CMakeLists.txt14
24 files changed, 629 insertions, 24 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index d9db4bd..1ed0a7c 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/potracegui" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/potracegui.desktop/"
+ SOURCES potracegui.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0589218..8998775 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -44,7 +44,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
diff --git a/src/potracegui.desktop b/src/potracegui.desktop
index a700f9f..4990b1f 100644
--- a/src/potracegui.desktop
+++ b/src/potracegui.desktop
@@ -1,30 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Potracegui
-Name[xx]=xxpotraceguixx
GenericName=Bitmap Tracing
Exec=potracegui
Icon=potracegui
Type=Application
Comment=A simple TDE Application
-Comment[ca]=Una simple aplicació TDE
-Comment[da]=Et simpelt TDE program
-Comment[de]=Eine einfache TDE-Anwendung
-Comment[el]=Μια απλή εφαρμογή του TDE
-Comment[es]=Una aplicación de TDE sencilla
-Comment[et]=Lihtne TDE rakendus
-Comment[fr]=Une application simple pour TDE.
-Comment[hu]=Egyszerű TDE-alkalmazás
-Comment[it]=Una semplice applicazione TDE
-Comment[nl]=Een eenvoudige TDE-toepassing
-Comment[pt]=Uma aplicação TDE simples
-Comment[pt_BR]=Um simples Aplicativo do TDE
-Comment[ru]=Простое приложение TDE
-Comment[sl]=Preprost program za TDE
-Comment[sr]=Једноставан TDE програм
-Comment[sv]=Ett enkelt TDE-program
-Comment[ta]=ஒரு சாஅதரன கெடி பயன்பாடு
-Comment[xx]=xxA simple TDE Applicationxx
-Comment[zh_CN]=一个简单的TDE应用程序
Categories=Qt;TDE;Graphics;
X-DocPath=potracegui/index.html
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
new file mode 100644
index 0000000..42b186a
--- /dev/null
+++ b/translations/CMakeLists.txt
@@ -0,0 +1 @@
+tde_auto_add_subdirectories()
diff --git a/translations/desktop_files/potracegui.desktop/ca.po b/translations/desktop_files/potracegui.desktop/ca.po
new file mode 100644
index 0000000..574f329
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/ca.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Una simple aplicació TDE"
diff --git a/translations/desktop_files/potracegui.desktop/da.po b/translations/desktop_files/potracegui.desktop/da.po
new file mode 100644
index 0000000..b9f72f5
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/da.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Et simpelt TDE program"
diff --git a/translations/desktop_files/potracegui.desktop/de.po b/translations/desktop_files/potracegui.desktop/de.po
new file mode 100644
index 0000000..117d105
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/de.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Eine einfache TDE-Anwendung"
diff --git a/translations/desktop_files/potracegui.desktop/el.po b/translations/desktop_files/potracegui.desktop/el.po
new file mode 100644
index 0000000..028ad96
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/el.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Μια απλή εφαρμογή του TDE"
diff --git a/translations/desktop_files/potracegui.desktop/es.po b/translations/desktop_files/potracegui.desktop/es.po
new file mode 100644
index 0000000..84969cc
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/es.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Una aplicación de TDE sencilla"
diff --git a/translations/desktop_files/potracegui.desktop/et.po b/translations/desktop_files/potracegui.desktop/et.po
new file mode 100644
index 0000000..ae52a7e
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/et.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Lihtne TDE rakendus"
diff --git a/translations/desktop_files/potracegui.desktop/fr.po b/translations/desktop_files/potracegui.desktop/fr.po
new file mode 100644
index 0000000..9ec12a7
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/fr.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Une application simple pour TDE."
diff --git a/translations/desktop_files/potracegui.desktop/hu.po b/translations/desktop_files/potracegui.desktop/hu.po
new file mode 100644
index 0000000..b415198
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/hu.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Egyszerű TDE-alkalmazás"
diff --git a/translations/desktop_files/potracegui.desktop/it.po b/translations/desktop_files/potracegui.desktop/it.po
new file mode 100644
index 0000000..63b6e94
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/it.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Una semplice applicazione TDE"
diff --git a/translations/desktop_files/potracegui.desktop/nl.po b/translations/desktop_files/potracegui.desktop/nl.po
new file mode 100644
index 0000000..4a730a7
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/nl.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Een eenvoudige TDE-toepassing"
diff --git a/translations/desktop_files/potracegui.desktop/potracegui.desktop.pot b/translations/desktop_files/potracegui.desktop/potracegui.desktop.pot
new file mode 100644
index 0000000..9676f40
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/potracegui.desktop.pot
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr ""
diff --git a/translations/desktop_files/potracegui.desktop/pt.po b/translations/desktop_files/potracegui.desktop/pt.po
new file mode 100644
index 0000000..7fe1b2e
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/pt.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Uma aplicação TDE simples"
diff --git a/translations/desktop_files/potracegui.desktop/pt_BR.po b/translations/desktop_files/potracegui.desktop/pt_BR.po
new file mode 100644
index 0000000..b316d14
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/pt_BR.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Um simples Aplicativo do TDE"
diff --git a/translations/desktop_files/potracegui.desktop/ru.po b/translations/desktop_files/potracegui.desktop/ru.po
new file mode 100644
index 0000000..1774df5
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/ru.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Простое приложение TDE"
diff --git a/translations/desktop_files/potracegui.desktop/sl.po b/translations/desktop_files/potracegui.desktop/sl.po
new file mode 100644
index 0000000..d60f33d
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/sl.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Preprost program za TDE"
diff --git a/translations/desktop_files/potracegui.desktop/sr.po b/translations/desktop_files/potracegui.desktop/sr.po
new file mode 100644
index 0000000..7567fe6
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/sr.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Једноставан TDE програм"
diff --git a/translations/desktop_files/potracegui.desktop/sv.po b/translations/desktop_files/potracegui.desktop/sv.po
new file mode 100644
index 0000000..3a6fc4c
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/sv.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "Ett enkelt TDE-program"
diff --git a/translations/desktop_files/potracegui.desktop/ta.po b/translations/desktop_files/potracegui.desktop/ta.po
new file mode 100644
index 0000000..2c00735
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/ta.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "ஒரு சாஅதரன கெடி பயன்பாடு"
diff --git a/translations/desktop_files/potracegui.desktop/zh_CN.po b/translations/desktop_files/potracegui.desktop/zh_CN.po
new file mode 100644
index 0000000..0e53e1d
--- /dev/null
+++ b/translations/desktop_files/potracegui.desktop/zh_CN.po
@@ -0,0 +1,32 @@
+# 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: 2020-05-03 18:21+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: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: potracegui.desktop:3
+msgid "Potracegui"
+msgstr ""
+
+#. GenericName
+#: potracegui.desktop:4
+msgid "Bitmap Tracing"
+msgstr ""
+
+#. Comment
+#: potracegui.desktop:8
+msgid "A simple TDE Application"
+msgstr "一个简单的TDE应用程序"
diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt
new file mode 100644
index 0000000..75c89f8
--- /dev/null
+++ b/translations/messages/CMakeLists.txt
@@ -0,0 +1,14 @@
+file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
+
+foreach( _po ${po_files} )
+ get_filename_component( _lang ${_po} NAME_WE )
+ if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
+ if( "${_po}" MATCHES "^([^/]*)/.*" )
+ string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" )
+ else( )
+ set( _component "${PROJECT_NAME}" )
+ endif( )
+ tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} )
+ endif( )
+endforeach( )