summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-10-17 03:55:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-10-17 03:55:34 +0200
commitb5b3aa5bb55dc143fce8719b784166bf06cef247 (patch)
tree3cacda752f9c6ff583cc7b741c3f68bbec7a01b0
parente82c6d29e2ca0c0f485595c0e6b407431a8e1205 (diff)
downloadtwin-style-machbunt-b5b3aa5bb55dc143fce8719b784166bf06cef247.tar.gz
twin-style-machbunt-b5b3aa5bb55dc143fce8719b784166bf06cef247.zip
Add TDEGlobal::locale()->insertCatalogue(...).
Initial generation of templates for translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/MachBunt.cpp2
-rw-r--r--translations/desktop_files/twin-style-machbunt-desktops.pot22
-rw-r--r--translations/messages/twin-style-machbunt.pot32
3 files changed, 56 insertions, 0 deletions
diff --git a/src/MachBunt.cpp b/src/MachBunt.cpp
index 078a4eb..6c00f57 100644
--- a/src/MachBunt.cpp
+++ b/src/MachBunt.cpp
@@ -211,6 +211,8 @@ void delete_pixmaps()
MachBunt::MachBunt(KDecorationBridge* bridge, KDecorationFactory* factory)
: KDecoration(bridge, factory), windowLayout(0)
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin-style-machbunt");
lastButtonWidth = 0;
buttonPressedPosition.setX( -1 );
diff --git a/translations/desktop_files/twin-style-machbunt-desktops.pot b/translations/desktop_files/twin-style-machbunt-desktops.pot
new file mode 100644
index 0000000..9bf805e
--- /dev/null
+++ b/translations/desktop_files/twin-style-machbunt-desktops.pot
@@ -0,0 +1,22 @@
+# 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: 2022-10-17 03:40+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
+#: MachBunt.desktop:2 MachBunt.kcsrc:2
+msgid "MachBunt"
+msgstr ""
diff --git a/translations/messages/twin-style-machbunt.pot b/translations/messages/twin-style-machbunt.pot
new file mode 100644
index 0000000..a1004f8
--- /dev/null
+++ b/translations/messages/twin-style-machbunt.pot
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-10-17 03:40+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 ""
+
+#: MachBunt.cpp:379
+msgid "<center><b>MachBunt</b></center>"
+msgstr ""