From b5b3aa5bb55dc143fce8719b784166bf06cef247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 17 Oct 2022 03:55:34 +0200 Subject: [PATCH] Add TDEGlobal::locale()->insertCatalogue(...). Initial generation of templates for translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/MachBunt.cpp | 2 ++ .../twin-style-machbunt-desktops.pot | 22 +++++++++++++ translations/messages/twin-style-machbunt.pot | 32 +++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 translations/desktop_files/twin-style-machbunt-desktops.pot create mode 100644 translations/messages/twin-style-machbunt.pot 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 , 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 \n" +"Language-Team: LANGUAGE \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 , 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 \n" +"Language-Team: LANGUAGE \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 "
MachBunt
" +msgstr ""