summaryrefslogtreecommitdiffstats
path: root/configdialog
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-02-19 15:40:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-02-19 15:44:39 +0100
commitece5ecce2586d96c8c3c10203f427510edc30f31 (patch)
treeed92a1dc133e2a3f7456a369e9726bc119dbc8fa /configdialog
parent9818b210e2163e93e67a40b75b7420feae9c4e16 (diff)
downloadkbfx-ece5ecce2586d96c8c3c10203f427510edc30f31.tar.gz
kbfx-ece5ecce2586d96c8c3c10203f427510edc30f31.zip
Copy translations to a new directory layout.
Use common rules for build and install translations. Added translation of .desktop files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'configdialog')
-rw-r--r--configdialog/CMakeLists.txt15
-rw-r--r--configdialog/kbfx_install_theme.desktop16
-rw-r--r--configdialog/kbfx_prepare_theme.desktop17
-rw-r--r--configdialog/kbfx_theme.desktop16
-rw-r--r--configdialog/kbfxconfigapp.desktop31
-rw-r--r--configdialog/x-kbfxtheme.desktop19
6 files changed, 23 insertions, 91 deletions
diff --git a/configdialog/CMakeLists.txt b/configdialog/CMakeLists.txt
index 1828f07..869f6ed 100644
--- a/configdialog/CMakeLists.txt
+++ b/configdialog/CMakeLists.txt
@@ -48,6 +48,15 @@ INSTALL(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp)
##### desktop files #############################
-INSTALL(FILES kbfxconfigapp.desktop kbfx_theme.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
-INSTALL(FILES kbfx_install_theme.desktop kbfx_prepare_theme.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus)
-INSTALL(FILES x-kbfxtheme.desktop DESTINATION ${MIME_INSTALL_DIR}/application)
+tde_create_translated_desktop(
+ SOURCE kbfxconfigapp.desktop kbfx_theme.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+tde_create_translated_desktop(
+ SOURCE kbfx_install_theme.desktop kbfx_prepare_theme.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+)
+tde_create_translated_desktop(
+ SOURCE x-kbfxtheme.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
diff --git a/configdialog/kbfx_install_theme.desktop b/configdialog/kbfx_install_theme.desktop
index 0b4384a..ab7c78a 100644
--- a/configdialog/kbfx_install_theme.desktop
+++ b/configdialog/kbfx_install_theme.desktop
@@ -1,22 +1,8 @@
[Desktop Entry]
-Encoding=UTF-8
X-TDE-ServiceTypes=application/x-kbfxtheme
Actions=kbfx_install_theme
[Desktop Action kbfx_install_theme]
+Name=Install KBFX Theme Package
Icon=kbfxconfigapp
Exec=kbfxconfigapp --install %u
-Name=Install KBFX Theme Package
-Name[bg]=Инсталиране на пакета KBFX Theme
-Name[da]=Installér KBFX-temapakke
-Name[de]=KBFX Theme-Paket installieren
-Name[el]=Εγκατάσταση του πακέτου θέματος KBFX
-Name[es]=Instalar paquete con el tema KBFX
-Name[et]=KBFX teemapaketi paigaldamine
-Name[fr]=Installer le paquet des thèmes KBFX
-Name[ja]=KBFX テーマパッケージをインストール
-Name[nl]=KBFX-themapakket installeren
-Name[pt]=Instalar o Pacote de Tema do KBFX
-Name[pt_BR]=Instalar Pacote do Tema KBFX
-Name[sv]=Installera KBFX-temapaket
-
diff --git a/configdialog/kbfx_prepare_theme.desktop b/configdialog/kbfx_prepare_theme.desktop
index 5dcdaed..4f5492e 100644
--- a/configdialog/kbfx_prepare_theme.desktop
+++ b/configdialog/kbfx_prepare_theme.desktop
@@ -1,23 +1,8 @@
[Desktop Entry]
-Encoding=UTF-8
X-TDE-ServiceTypes=inode/directory
Actions=kbfx_prepare_theme
[Desktop Action kbfx_prepare_theme]
+Name=Prepare KBFX Theme Package
Icon=kbfxconfigapp
Exec=kbfxconfigapp --prepare %u
-Name=Prepare KBFX Theme Package
-Name[bg]=Подготовка на пакета KBFX Theme
-Name[da]=Opret KBFX-temapakke
-Name[de]=KBFX Theme-Paket vorbereiten
-Name[el]=Προετοιμασία του πακέτου θέματος KBFX
-Name[es]=Preparar paquete con el tema KBFX
-Name[et]=KBFX teemapaketi ettevalmistamine
-Name[fr]=Preparer le paquet des thèmes KBFX
-Name[ga]=Ullmhaigh Pacáiste Téama KBFX
-Name[ja]=KBFX テーマパッケージを準備
-Name[nl]=KBFX-themapakket voorbereiden
-Name[pt]=Preparar o Pacote de Tema do KBFX
-Name[pt_BR]=Preparar Pacote do Tema KBFX
-Name[sv]=Skapa KBFX-temapaket
-
diff --git a/configdialog/kbfx_theme.desktop b/configdialog/kbfx_theme.desktop
index 50b3b37..8ee4740 100644
--- a/configdialog/kbfx_theme.desktop
+++ b/configdialog/kbfx_theme.desktop
@@ -1,18 +1,8 @@
[Desktop Entry]
-Encoding=UTF-8
Name=KBFX Theme Installer
-Name[de]=Installations von KBFX-Themes
-Name[el]=Εγκατάσταση θέματος KBFX
-Name[et]=KBFX teema paigaldaja
-Name[fr]=Outil d'installation des thèmes KBFX
-Name[ja]=KBFX テーマインストーラ
-Name[nl]=KBFX-thema-installatie
-Name[pt]=Instalador de Temas do KBFX
-Name[pt_BR]=Instalador de Temas do KBFX
-Name[sv]=KBFX-temainstallation
-Exec=kbfxconfigapp --install %u
-Icon=kbfxconfigapp
+
Type=Application
+Icon=kbfxconfigapp
+Exec=kbfxconfigapp --install %u
MimeType=application/x-kbfxtheme
NoDisplay=true
-
diff --git a/configdialog/kbfxconfigapp.desktop b/configdialog/kbfxconfigapp.desktop
index 2988306..9832c90 100644
--- a/configdialog/kbfxconfigapp.desktop
+++ b/configdialog/kbfxconfigapp.desktop
@@ -1,36 +1,11 @@
[Desktop Entry]
-Encoding=UTF-8
Name=KBFX Configurator
-Name[da]=KBFX-indstilling
-Name[de]=KBFX einrichten
-Name[el]=Ρύθμιση KBFX
-Name[es]=Cofigurador de KBFX
-Name[et]=KBFX seadistaja
-Name[fr]=Configuration de KBFX
-Name[ga]=Cumraitheoir KBFX
-Name[ja]=KBFX 設定ツール
-Name[pt]=Configuração do KBFX
-Name[pt_BR]=Configurador do KBFX
-Name[sv]=KBFX-inställning
+
Comment=KBFX Configuration Utility
-Comment[bg]=Настройка на KBFX
-Comment[br]=Ostilh kefluniadur KBFX
-Comment[da]=KBFX-indstillingsværktøj
-Comment[de]=KBFX Konfigurationswerkzeug
-Comment[el]=Εργαλείο ρύθμισης του KBFX
-Comment[es]=Utilidad de configuración de KBFX
-Comment[et]=KBFX seadistamistööriist
-Comment[fr]=Outil de configuration des services KBFX
-Comment[ga]=Uirlis Chumraíochta KBFX
-Comment[gl]=Ferramenta de Configurazón de KBFX
-Comment[ja]=KBFX 設定ユーティリティ
-Comment[nl]=KBFX-configuratieprogramma
-Comment[pt]=Utilitário de Configuração do KBFX
-Comment[pt_BR]=Utilitário para Configuração do KBFX
-Comment[sv]=KBFX-inställningsverktyg
+
+Type=Application
Icon=kbfxconfigapp
Exec=kbfxconfigapp
-Type=Application
Categories=Qt;TDE;Settings;
X-DocPath=kbfxconfigapp/index.html
X-DCOP-ServiceType=Unique
diff --git a/configdialog/x-kbfxtheme.desktop b/configdialog/x-kbfxtheme.desktop
index 1551b13..be3cd7b 100644
--- a/configdialog/x-kbfxtheme.desktop
+++ b/configdialog/x-kbfxtheme.desktop
@@ -1,20 +1,7 @@
[Desktop Entry]
-Encoding=UTF-8
+Comment=KBFX Theme Package
+
Type=MimeType
-MimeType=application/x-kbfxtheme
Icon=kbfxconfigapp
+MimeType=application/x-kbfxtheme
Patterns=*.kbfxtheme
-
-Comment=KBFX Theme Package
-Comment[bg]=Пакет KBFX Theme
-Comment[da]=KBFX-temapakke
-Comment[de]=KBFX Theme-Paket
-Comment[el]=Πακέτο θέματος KBFX
-Comment[es]=Paquete con el tema KBFX
-Comment[et]=KBFX teemapakett
-Comment[fr]=Paquet des thèmes KBFX
-Comment[ja]=KBFX テーマパッケージ
-Comment[nl]=KBFX-themapakket
-Comment[pt]=Pacote de Tema do KBFX
-Comment[pt_BR]=Pacote do Tema KBFX
-Comment[sv]=KBFX-temapaket