diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
commit | cb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch) | |
tree | 7f6b988c304024c9a45bccc2070790b65b95553e /kate/katesort | |
parent | 41f27d91571102626d9aae843adbe070fcb5aef3 (diff) | |
download | tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.tar.gz tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kate/katesort')
-rw-r--r-- | kate/katesort/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kate/katesort/katesort.desktop | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/kate/katesort/CMakeLists.txt b/kate/katesort/CMakeLists.txt index 986e510..ee23fcd 100644 --- a/kate/katesort/CMakeLists.txt +++ b/kate/katesort/CMakeLists.txt @@ -33,6 +33,8 @@ install( FILES plugin_sort.rc DESTINATION ${DATA_INSTALL_DIR}/kate/plugins/sort ) -install( FILES katesort.desktop +tde_create_translated_desktop( + SOURCE katesort.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kate-plugins-desktops ) diff --git a/kate/katesort/katesort.desktop b/kate/katesort/katesort.desktop index 7bc098e..304d9a8 100644 --- a/kate/katesort/katesort.desktop +++ b/kate/katesort/katesort.desktop @@ -1,10 +1,10 @@ [Desktop Entry] +Name=Kate Sort + +Comment=Sort file or selection + Type=Service X-TDE-ServiceTypes=Kate/Plugin X-TDE-Library=katesortplugin X-Kate-Version=2.5 -Name=Kate Sort -Name[cs]=Kate Řazení -Comment=Sort file or selection -Comment[cs]=Seřadí soubor nebo výběr Author=Marián Kyral, mkyral@email.cz |