diff options
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/kvkbd.desktop | 1 | ||||
-rw-r--r-- | translations/desktop_files/kvkbd.desktop/kvkbd.desktop.pot | 32 |
4 files changed, 38 insertions, 5 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index e9e8cd3..f246462 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/kvkbd" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kvkbd.desktop/" + SOURCES kvkbd.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6df8e96..dd369e9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -47,7 +47,4 @@ install( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics ) -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) diff --git a/src/kvkbd.desktop b/src/kvkbd.desktop index fb03a02..dfcff05 100644 --- a/src/kvkbd.desktop +++ b/src/kvkbd.desktop @@ -1,7 +1,6 @@ [Desktop Entry] Encoding=UTF-8 Name=Kvkbd -Name[xx]=xxkvkbdxx GenericName=Virtual Keyboard Exec=kvkbd Icon=kvkbd diff --git a/translations/desktop_files/kvkbd.desktop/kvkbd.desktop.pot b/translations/desktop_files/kvkbd.desktop/kvkbd.desktop.pot new file mode 100644 index 0000000..7b5a14a --- /dev/null +++ b/translations/desktop_files/kvkbd.desktop/kvkbd.desktop.pot @@ -0,0 +1,32 @@ +# 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 10:29+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <[email protected]>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Name +#: kvkbd.desktop:3 +msgid "Kvkbd" +msgstr "" + +#. GenericName +#: kvkbd.desktop:4 +msgid "Virtual Keyboard" +msgstr "" + +#. Comment +#: kvkbd.desktop:8 +msgid "A virtual keyboard for TDE" +msgstr "" |