summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-03 02:39:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-03 02:39:22 +0200
commit460b0273772f313ff533ba655ccaa11cf7acef5c (patch)
tree9ee16960767f394dd426921f86ae1a710301772d /translations
parent51efb685369b4126eeb67225b7a775f9bc2ad66d (diff)
downloadksplash-engine-moodin-460b0273772f313ff533ba655ccaa11cf7acef5c.tar.gz
ksplash-engine-moodin-460b0273772f313ff533ba655ccaa11cf7acef5c.zip
Add the ability to translate:
+ Catalog for strings in the plugin. + Desktop file translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'translations')
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/desktop_files/ksplashmoodin.desktop/ksplashmoodin.desktop.pot27
-rw-r--r--translations/desktop_files/themes/themes.pot69
-rw-r--r--translations/messages/CMakeLists.txt14
-rw-r--r--translations/messages/ksplash-engine-moodin.pot30
5 files changed, 141 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/desktop_files/ksplashmoodin.desktop/ksplashmoodin.desktop.pot b/translations/desktop_files/ksplashmoodin.desktop/ksplashmoodin.desktop.pot
new file mode 100644
index 0000000..5c6c3e0
--- /dev/null
+++ b/translations/desktop_files/ksplashmoodin.desktop/ksplashmoodin.desktop.pot
@@ -0,0 +1,27 @@
+# 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 01:02+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
+#: ksplashmoodin.desktop:2
+msgid "KSplash Plugin"
+msgstr ""
+
+#. Name
+#: ksplashmoodin.desktop:5
+msgid "KSplashMoodin"
+msgstr ""
diff --git a/translations/desktop_files/themes/themes.pot b/translations/desktop_files/themes/themes.pot
new file mode 100644
index 0000000..66fe3d6
--- /dev/null
+++ b/translations/desktop_files/themes/themes.pot
@@ -0,0 +1,69 @@
+# 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 00:58+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
+#: Architecture/Theme.rc:2
+msgid "Architecture"
+msgstr ""
+
+#. Description
+#: Architecture/Theme.rc:3
+msgid "Fading splash screen based on the Moodin engine, for widescreens"
+msgstr ""
+
+#. Label1
+#: Architecture/Theme.rc:43
+msgid "Welcome to TDE"
+msgstr ""
+
+#. Name
+#: FingerPrint/Theme.rc:2
+msgid "FingerPrint"
+msgstr ""
+
+#. Description
+#: FingerPrint/Theme.rc:3
+msgid ""
+"Taste your fingers (wallpaper from Dalmases http://www.deviantart.com/"
+"deviation/11180503/)"
+msgstr ""
+
+#. Label1
+#: FingerPrint/Theme.rc:33
+msgid "Validating..."
+msgstr ""
+
+#. Label2
+#: FingerPrint/Theme.rc:37
+msgid "ML:USER:loginname"
+msgstr ""
+
+#. Name
+#: MoodinKDE/Theme.rc:2
+msgid "MoodinKDE"
+msgstr ""
+
+#. Description
+#: MoodinKDE/Theme.rc:3
+msgid "Fading splash screen based on the svg wallpaper (Lineart Logo)"
+msgstr ""
+
+#. Label1
+#: MoodinKDE/Theme.rc:24
+msgid "Welcome"
+msgstr ""
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/ksplash-engine-moodin.pot b/translations/messages/ksplash-engine-moodin.pot
new file mode 100644
index 0000000..d4dc937
--- /dev/null
+++ b/translations/messages/ksplash-engine-moodin.pot
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-05-03 00:39+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"
+
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: thememoodin.cpp:202
+msgid "No background. Try to put a Background.jpg in theme folder"
+msgstr ""