diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /kcontrol/hwmanager | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.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 'kcontrol/hwmanager')
-rw-r--r-- | kcontrol/hwmanager/CMakeLists.txt | 22 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray-autostart.desktop | 12 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray.desktop | 12 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwmanager.desktop | 23 |
4 files changed, 16 insertions, 53 deletions
diff --git a/kcontrol/hwmanager/CMakeLists.txt b/kcontrol/hwmanager/CMakeLists.txt index 954c41fc3..be8d3f2cb 100644 --- a/kcontrol/hwmanager/CMakeLists.txt +++ b/kcontrol/hwmanager/CMakeLists.txt @@ -24,13 +24,21 @@ link_directories( ##### other data ################################ -install( FILES hwmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -install( FILES hwdevicetray.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} - RENAME tdehwdevicetray.desktop ) -install( FILES hwdevicetray-autostart.desktop - DESTINATION ${AUTOSTART_INSTALL_DIR} - RENAME tdehwdevicetray-autostart.desktop ) +tde_create_translated_desktop( + SOURCE hwmanager.desktop + PO_DIR kcontrol-desktops +) +tde_create_translated_desktop( + SOURCE hwdevicetray.desktop + OUTPUT_NAME tdehwdevicetray.desktop + PO_DIR kcontrol-desktops +) +tde_create_translated_desktop( + SOURCE hwdevicetray-autostart.desktop + DESTINATION ${AUTOSTART_INSTALL_DIR} + OUTPUT_NAME tdehwdevicetray-autostart.desktop + PO_DIR kcontrol-desktops +) ##### kcm_iccconfig (module) #################### diff --git a/kcontrol/hwmanager/hwdevicetray-autostart.desktop b/kcontrol/hwmanager/hwdevicetray-autostart.desktop index 07f62f05b..ce078465d 100644 --- a/kcontrol/hwmanager/hwdevicetray-autostart.desktop +++ b/kcontrol/hwmanager/hwdevicetray-autostart.desktop @@ -2,20 +2,8 @@ Name=tdehwdevicetray GenericName=Device Monitor -GenericName[cs]=Sledování zařízení -GenericName[de]=Geräteüberwachung -GenericName[es]=Monitor de dispositivos -GenericName[fr]=Moniteur de périphériques -GenericName[it]=Monitor dei dispositivi hardware -GenericName[ru]=Диспетчер устройств Comment=Monitor hardware devices from the system tray -Comment[cs]=Sledování hardwarových zařízení ze systémového panelu -Comment[de]=Überwacht Hardware-Geräte aus dem Systembereich der Kontrollleiste heraus -Comment[es]=Observe dispositivos desde área de notificación -Comment[fr]=Surveille les périphériques matériels depuis la barre d’état système -Comment[it]=Monitora i dispositivi hardware dall’area di notifica di sistema -Comment[ru]=Отслеживание устройств в области уведомлений Exec=tdehwdevicetray Icon=hwinfo diff --git a/kcontrol/hwmanager/hwdevicetray.desktop b/kcontrol/hwmanager/hwdevicetray.desktop index b85069ed3..9a655490c 100644 --- a/kcontrol/hwmanager/hwdevicetray.desktop +++ b/kcontrol/hwmanager/hwdevicetray.desktop @@ -2,20 +2,8 @@ Name=Device Monitor Name=Device Monitor -Name[cs]=Sledování zařízení -Name[de]=Geräteüberwachung -Name[es]=Monitor de dispositivos -Name[fr]=Moniteur de périphériques -Name[it]=Monitor dei dispositivi hardware -Name[ru]=Диспетчер устройств Comment=Monitor hardware devices from the system tray -Comment[cs]=Sledování hardwarových zařízení ze systémového panelu -Comment[de]=Überwacht Hardware-Geräte aus dem Systembereich der Kontrollleiste heraus -Comment[es]=Observe dispositivos desde área de notificación -Comment[fr]=Surveille les périphériques matériels depuis la barre d’état système -Comment[it]=Monitora i dispositivi hardware dall’area di notifica di sistema -Comment[ru]=Отслеживание устройств в области уведомлений Exec=tdehwdevicetray Icon=hwinfo 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 |