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 /konq-plugins/adblock | |
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 'konq-plugins/adblock')
-rw-r--r-- | konq-plugins/adblock/CMakeLists.txt | 9 | ||||
-rw-r--r-- | konq-plugins/adblock/plugin_adblock.desktop | 7 |
2 files changed, 10 insertions, 6 deletions
diff --git a/konq-plugins/adblock/CMakeLists.txt b/konq-plugins/adblock/CMakeLists.txt index c96cdc2..43a02c5 100644 --- a/konq-plugins/adblock/CMakeLists.txt +++ b/konq-plugins/adblock/CMakeLists.txt @@ -24,6 +24,13 @@ tde_add_kpart( libadblock AUTOMOC ##### other data ################################ -install( FILES plugin_adblock.rc plugin_adblock.desktop +install( + FILES plugin_adblock.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins ) + +tde_create_translated_desktop( + SOURCE plugin_adblock.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins + PO_DIR konq-plugins-desktops +) diff --git a/konq-plugins/adblock/plugin_adblock.desktop b/konq-plugins/adblock/plugin_adblock.desktop index 7fa87a5..1e677f1 100644 --- a/konq-plugins/adblock/plugin_adblock.desktop +++ b/konq-plugins/adblock/plugin_adblock.desktop @@ -1,14 +1,11 @@ [Desktop Entry] Name=Adblocker -Name[de]=Werbefilter - -Icon=filter Comment=Shows all blockable html elements to block unwanted advertisements -Comment[de]=Zeigt alle blockierbaren HTML-Elemente an, um unerwünschte Werbung zu blockieren -Encoding=UTF-8 +Icon=filter Type=Service +Encoding=UTF-8 X-TDE-Library=libadblock X-TDE-PluginInfo-Author=Danie Galdi X-TDE-PluginInfo-Email=daniele.galdi@gmail.com |