diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-10-17 03:55:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-10-17 03:57:31 +0200 |
commit | 8c99f2d551f9d797f71d72424ba0ea4c351bae68 (patch) | |
tree | 3cacda752f9c6ff583cc7b741c3f68bbec7a01b0 | |
parent | e82c6d29e2ca0c0f485595c0e6b407431a8e1205 (diff) | |
download | twin-style-machbunt-8c99f2d551f9d797f71d72424ba0ea4c351bae68.tar.gz twin-style-machbunt-8c99f2d551f9d797f71d72424ba0ea4c351bae68.zip |
Add TDEGlobal::locale()->insertCatalogue(...).
Initial generation of templates for translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b5b3aa5bb55dc143fce8719b784166bf06cef247)
-rw-r--r-- | src/MachBunt.cpp | 2 | ||||
-rw-r--r-- | translations/desktop_files/twin-style-machbunt-desktops.pot | 22 | ||||
-rw-r--r-- | translations/messages/twin-style-machbunt.pot | 32 |
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 "" |