summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-21 11:37:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-21 11:37:27 +0200
commit3d7a0102b1abb948396b5c5c82aace91c4c0f22c (patch)
tree00409658bd767b99c026d2a3a65157deb05cc75c /translations
parent2d5bba7248e81f0b901ed2637867418b4bce8a8d (diff)
downloadkdbusnotification-3d7a0102b1abb948396b5c5c82aace91c4c0f22c.tar.gz
kdbusnotification-3d7a0102b1abb948396b5c5c82aace91c4c0f22c.zip
Add translations for the daemon as such.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'translations')
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/messages/CMakeLists.txt14
-rw-r--r--translations/messages/notification-daemon-tde/daemon.pot40
3 files changed, 55 insertions, 0 deletions
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/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( )
diff --git a/translations/messages/notification-daemon-tde/daemon.pot b/translations/messages/notification-daemon-tde/daemon.pot
new file mode 100644
index 0000000..7e5b83b
--- /dev/null
+++ b/translations/messages/notification-daemon-tde/daemon.pot
@@ -0,0 +1,40 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-06-21 10:55+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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+#, ignore-inconsistent
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+#, ignore-inconsistent
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: daemon.cpp:85
+msgid "A DBUS notification to TDE interface."
+msgstr ""
+
+#: daemon.cpp:87
+msgid "First release October 2011."
+msgstr ""
+
+#: daemon.cpp:294
+msgid "TDE DBUS Notification Daemon"
+msgstr ""