summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-28 00:42:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-28 00:42:21 +0200
commit92841ae8b62560f0b137dc838bfd12ac78d26599 (patch)
tree77ff1aee27f10b9ba54d6c6e1f4d972c72d69b67 /kcontrol/hwmanager
parent191cf4812dfa7524f32916423d79f072d88f56d1 (diff)
downloadtdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.tar.gz
tdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.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> (cherry picked from commit 2f706891f32258c2b070471905f983e4585296d2)
Diffstat (limited to 'kcontrol/hwmanager')
-rw-r--r--kcontrol/hwmanager/CMakeLists.txt5
-rw-r--r--kcontrol/hwmanager/hwmanager.desktop23
2 files changed, 5 insertions, 23 deletions
diff --git a/kcontrol/hwmanager/CMakeLists.txt b/kcontrol/hwmanager/CMakeLists.txt
index cf6fc74b9..765eaa399 100644
--- a/kcontrol/hwmanager/CMakeLists.txt
+++ b/kcontrol/hwmanager/CMakeLists.txt
@@ -24,7 +24,10 @@ link_directories(
##### other data ################################
-install( FILES hwmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE hwmanager.desktop
+ PO_DIR kcontrol-desktops
+)
##### kcm_iccconfig (module) ####################
diff --git a/kcontrol/hwmanager/hwmanager.desktop b/kcontrol/hwmanager/hwmanager.desktop
index 4b77f5775..e39ead101 100644
--- a/kcontrol/hwmanager/hwmanager.desktop
+++ b/kcontrol/hwmanager/hwmanager.desktop
@@ -9,31 +9,10 @@ X-TDE-ParentApp=kcontrol
X-TDE-SubstituteUID=true
Name=Device Manager
-Name[bg]=Управление на устройства
-Name[cs]=Správce zařízení
-Name[de]=Geräteverwaltung
-Name[es]=Administrador de dispositivos
-Name[fr]=Gestionnaire de périphériques
-Name[it]=Gestore dei dispositivi hardware
-Name[ru]=Менеджер устройств
Comment=Configure hardware devices
-Comment[bg]=Конфигурация на устройства
-Comment[cs]=Nastavení hardwarových zařízení
-Comment[de]=Hardware-Geräte einrichten
-Comment[es]=Configuración de dispositivos
-Comment[fr]=Configurer des périphériques matériels
-Comment[it]=Configurazione dei dispositivi hardware
-Comment[ru]=Конфигурация устройств
Keywords=hardware;devices;manager;
-Keywords[bg]=оборудване;устройства;управление;
-Keywords[cs]=hardware;zařízení;správce;
-Keywords[de]=Hardware;Geräte;Verwaltung;
-Keywords[es]=hardware;dispositivos;
-Keywords[fr]=Matériel;équipement;gestion
-Keywords[it]=hardware;dispositivi;gestore;gestione;configurazione
-Keywords[ru]=оборудование;усройства;
Categories=Qt;TDE;X-TDE-settings-hardware;
-NoDisplay=false \ No newline at end of file
+NoDisplay=false