From edec55bd87ab07aaa2a36666abfb17b23b2ed7d1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 23 Jul 2023 18:14:31 +0900 Subject: [PATCH] Add translations Signed-off-by: Michele Calgaro --- CMakeL10n.txt | 27 +++ src/CMakeLists.txt | 33 +-- src/kommando.desktop | 2 - src/kommandod.desktop | 1 + translations/desktop_files/de.po | 32 +++ translations/desktop_files/it.po | 32 +++ .../desktop_files/kommando-desktops.pot | 32 +++ translations/messages/kommando.pot | 212 ++++++++++++++++++ 8 files changed, 346 insertions(+), 25 deletions(-) create mode 100644 CMakeL10n.txt create mode 100644 translations/desktop_files/de.po create mode 100644 translations/desktop_files/it.po create mode 100644 translations/desktop_files/kommando-desktops.pot create mode 100644 translations/messages/kommando.pot diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 0000000..5c1da71 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2018 Slávek Banko +# slavek.banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 3.1 ) + + +##### include our cmake modules ################# + +include( TDEL10n ) + + +##### create translation templates ############## + +tde_l10n_create_template( "messages/kommando" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kommando-desktops" + SOURCES src/*.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 340ab7b..0facc66 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -22,10 +22,10 @@ link_directories( ##### kommando (shared) tde_add_library( kommando SHARED AUTOMOC SOURCES - menulistviewitem.cpp configuration.cpp menu.cpp - commandobutton.cpp roundbutton.cpp kommandoview.cpp + menulistviewitem.cpp configuration.cpp menu.cpp + commandobutton.cpp roundbutton.cpp kommandoview.cpp VERSION 1.0.0 - LINK tdecore-shared tdeio-shared + LINK tdecore-shared tdeio-shared DESTINATION ${LIB_INSTALL_DIR} ) @@ -42,33 +42,20 @@ tde_add_kpart( kded_kommandod AUTOMOC tde_add_kpart( kcm_kommando MODULE AUTOMOC SOURCES configdialogimpl.cpp configdialog.ui kcmkommando.cpp servicemenu.cpp LINK - tdeinit_kded-shared tdecore-shared tdeui-shared Xmu kommando-shared - tdeio-shared + tdeinit_kded-shared tdecore-shared tdeui-shared Xmu kommando-shared + tdeio-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) ##### other data ################################ -#tde_create_translated_desktop( -# SOURCE mediamanager.desktop -# DESTINATION ${SERVICES_INSTALL_DIR}/kded -# PO_DIR tdeioslave-desktops -#) -# -#tde_create_translated_desktop( -# SOURCE mediabackend.desktop -# DESTINATION ${AUTOSTART_INSTALL_DIR} -# PO_DIR tdeioslave-desktops -#) - -install( - FILES kommandod.desktop +tde_create_translated_desktop( + SOURCE kommandod.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) -install( - FILES kommando.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE kommando.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} ) - diff --git a/src/kommando.desktop b/src/kommando.desktop index 3baf169..2faff7d 100644 --- a/src/kommando.desktop +++ b/src/kommando.desktop @@ -10,8 +10,6 @@ X-TDE-ParentApp=kcontrol Name=Kommando Comment=A WheelMenu for TDE -Comment[de]=Ein Kreismenü für TDE -Comment[it]=Un menu circolare per TDE Categories=Qt;TDE;X-TDE-settings-desktop; Keywords=Kommando;wheel;menu diff --git a/src/kommandod.desktop b/src/kommandod.desktop index 44930ad..5a1a3a6 100644 --- a/src/kommandod.desktop +++ b/src/kommandod.desktop @@ -10,4 +10,5 @@ X-TDE-Kded-autoload=true X-TDE-Kded-load-on-demand=false Name=Kommando + Comment=A WheelMenu for TDE diff --git a/translations/desktop_files/de.po b/translations/desktop_files/de.po new file mode 100644 index 0000000..e9ff546 --- /dev/null +++ b/translations/desktop_files/de.po @@ -0,0 +1,32 @@ +# 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: 2023-07-23 18:11+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Name +#: src/kommando.desktop:10 src/kommandod.desktop:12 +msgid "Kommando" +msgstr "" + +#. Comment +#: src/kommando.desktop:12 src/kommandod.desktop:14 +msgid "A WheelMenu for TDE" +msgstr "Ein Kreismenü für TDE" + +#. Keywords +#: src/kommando.desktop:15 +msgid "Kommando;wheel;menu" +msgstr "" diff --git a/translations/desktop_files/it.po b/translations/desktop_files/it.po new file mode 100644 index 0000000..522f5ea --- /dev/null +++ b/translations/desktop_files/it.po @@ -0,0 +1,32 @@ +# 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: 2023-07-23 18:11+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Name +#: src/kommando.desktop:10 src/kommandod.desktop:12 +msgid "Kommando" +msgstr "" + +#. Comment +#: src/kommando.desktop:12 src/kommandod.desktop:14 +msgid "A WheelMenu for TDE" +msgstr "Un menu circolare per TDE" + +#. Keywords +#: src/kommando.desktop:15 +msgid "Kommando;wheel;menu" +msgstr "" diff --git a/translations/desktop_files/kommando-desktops.pot b/translations/desktop_files/kommando-desktops.pot new file mode 100644 index 0000000..7c174b1 --- /dev/null +++ b/translations/desktop_files/kommando-desktops.pot @@ -0,0 +1,32 @@ +# 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: 2023-07-23 18:11+0900\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 +#: src/kommando.desktop:10 src/kommandod.desktop:12 +msgid "Kommando" +msgstr "" + +#. Comment +#: src/kommando.desktop:12 src/kommandod.desktop:14 +msgid "A WheelMenu for TDE" +msgstr "" + +#. Keywords +#: src/kommando.desktop:15 +msgid "Kommando;wheel;menu" +msgstr "" diff --git a/translations/messages/kommando.pot b/translations/messages/kommando.pot new file mode 100644 index 0000000..d0aef27 --- /dev/null +++ b/translations/messages/kommando.pot @@ -0,0 +1,212 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2023-07-23 18:10+0900\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 "" + +#: src/kcmkommando.cpp:34 +msgid "A wheelmenu for TDE powerusers" +msgstr "" + +#: src/kcmkommando.cpp:44 +msgid "Kommando" +msgstr "" + +#: src/kcmkommando.cpp:94 +msgid "Helpful information about the prueba module." +msgstr "" + +#: src/kommandod.cpp:39 +msgid "Toggle" +msgstr "" + +#: src/kommandod.cpp:40 +msgid "This shortcut toggles the visibility of the Kommando menu" +msgstr "" + +#: src/servicemenu.cpp:88 +msgid "Add This Menu" +msgstr "" + +#: src/configdialog.ui:16 +#, no-c-format +msgid "Kommando Config" +msgstr "" + +#: src/configdialog.ui:82 +#, no-c-format +msgid "Command:" +msgstr "" + +#: src/configdialog.ui:113 +#, no-c-format +msgid "Ne&w" +msgstr "" + +#: src/configdialog.ui:129 +#, no-c-format +msgid "Add Menu" +msgstr "" + +#: src/configdialog.ui:137 +#, no-c-format +msgid "Add &Button" +msgstr "" + +#: src/configdialog.ui:145 +#, no-c-format +msgid "&From KMenu" +msgstr "" + +#: src/configdialog.ui:181 +#, no-c-format +msgid "&Up" +msgstr "" + +#: src/configdialog.ui:189 +#, no-c-format +msgid "D&own" +msgstr "" + +#: src/configdialog.ui:247 +#, no-c-format +msgid "Icon:

" +msgstr "" + +#: src/configdialog.ui:369 +#, no-c-format +msgid "N&one" +msgstr "" + +#: src/configdialog.ui:377 +#, no-c-format +msgid "Change shortcut:" +msgstr "" + +#: src/configdialog.ui:476 +#, no-c-format +msgid "Tint Color:" +msgstr "" + +#: src/configdialog.ui:526 +#, no-c-format +msgid "Opacity:" +msgstr "" + +#: src/configdialog.ui:539 +#, no-c-format +msgid "Transparent" +msgstr "" + +#: src/configdialog.ui:566 +#, no-c-format +msgid "Opaque" +msgstr "" + +#: src/configdialog.ui:598 +#, no-c-format +msgid "Scheme:" +msgstr "" + +#: src/configdialog.ui:604 +#, no-c-format +msgid "Tiny" +msgstr "" + +#: src/configdialog.ui:609 +#, no-c-format +msgid "Small" +msgstr "" + +#: src/configdialog.ui:614 +#, no-c-format +msgid "Normal" +msgstr "" + +#: src/configdialog.ui:619 +#, no-c-format +msgid "Big" +msgstr "" + +#: src/configdialog.ui:687 src/configdialog.ui:766 +#, no-c-format +msgid "16" +msgstr "" + +#: src/configdialog.ui:692 src/configdialog.ui:771 +#, no-c-format +msgid "22" +msgstr "" + +#: src/configdialog.ui:697 src/configdialog.ui:776 +#, no-c-format +msgid "32" +msgstr "" + +#: src/configdialog.ui:702 src/configdialog.ui:781 +#, no-c-format +msgid "48" +msgstr "" + +#: src/configdialog.ui:707 src/configdialog.ui:786 +#, no-c-format +msgid "64" +msgstr "" + +#: src/configdialog.ui:712 src/configdialog.ui:791 +#, no-c-format +msgid "128" +msgstr "" + +#: src/configdialog.ui:730 +#, no-c-format +msgid "Menu Radius:" +msgstr "" + +#: src/configdialog.ui:741 +#, no-c-format +msgid "Cus&tom" +msgstr "" + +#: src/configdialog.ui:744 +#, no-c-format +msgid "Alt+T" +msgstr "" + +#: src/configdialog.ui:752 +#, no-c-format +msgid "px" +msgstr "" + +#: src/configdialog.ui:760 +#, no-c-format +msgid "Menubutton size:" +msgstr "" + +#: src/configdialog.ui:826 +#, no-c-format +msgid "Navigationbutton size:" +msgstr ""