summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/display
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-05 00:58:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-05 00:58:54 +0200
commitaac4c3d3a7c666ecd2d0930bab4f330e5b11d3b1 (patch)
tree597d10c13beca65701fc11da2aaef1cf5c1ebe97 /katapult/plugins/display
parentb0d144325e0a99b8a959c04bafb424781fef029d (diff)
downloadkatapult-aac4c3d3a7c666ecd2d0930bab4f330e5b11d3b1.tar.gz
katapult-aac4c3d3a7c666ecd2d0930bab4f330e5b11d3b1.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 'katapult/plugins/display')
-rw-r--r--katapult/plugins/display/glassdisplay/CMakeLists.txt5
-rw-r--r--katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop35
-rw-r--r--katapult/plugins/display/o2display/CMakeLists.txt5
-rw-r--r--katapult/plugins/display/o2display/katapult_o2display.desktop8
-rw-r--r--katapult/plugins/display/puredisplay/CMakeLists.txt5
-rw-r--r--katapult/plugins/display/puredisplay/katapult_puredisplay.desktop34
6 files changed, 9 insertions, 83 deletions
diff --git a/katapult/plugins/display/glassdisplay/CMakeLists.txt b/katapult/plugins/display/glassdisplay/CMakeLists.txt
index d5fe0e0..acc57e2 100644
--- a/katapult/plugins/display/glassdisplay/CMakeLists.txt
+++ b/katapult/plugins/display/glassdisplay/CMakeLists.txt
@@ -30,7 +30,8 @@ tde_add_kpart( katapult_glassdisplay AUTOMOC
##### other data
-install(
- FILES katapult_glassdisplay.desktop
+tde_create_translated_desktop(
+ SOURCE katapult_glassdisplay.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
)
diff --git a/katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop b/katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop
index c28bf1b..1e86a4d 100644
--- a/katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop
+++ b/katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop
@@ -1,41 +1,6 @@
[Desktop Entry]
Name=Glass Display
-Name[ar]=عرض بلًوري ( Glass Display )
-Name[bg]=Стъклен изглед
-Name[da]=Glasskærm
-Name[de]=Glas-Anzeige
-Name[el]=Γυάλινη εμφάνιση
-Name[es]=Mostrar cristal
-Name[et]=Klaasivaade
-Name[fr]=Affichage Glass
-Name[gl]=Pantalla Cristal
-Name[ja]=半透明表示
-Name[nb]=Glass-visning
-Name[nl]=Glass-display
-Name[pt]=Visualização por Vidro
-Name[pt_BR]=Visualização Vitrificada
-Name[sv]=Glasskärm
-Name[tr]=Cam Gösterimi
-Name[uk]=Скляний дисплей
Comment=Glass display plugin for Katapult
-Comment[ar]=بريمج عرض بلًوري ل- Katapult
-Comment[bg]=Приставка за стъклен изглед в Katapult
-Comment[da]=Plugin med glasskærm for Katapult
-Comment[de]=Glas-Anzeige-Modul für Katapult
-Comment[el]=Πρόσθετο γυάλινης εμφάνισης για το Katapult
-Comment[es]=Extensión para mostrar cristal para Katapult
-Comment[et]=Katapulti klaasivaate plugin
-Comment[fr]=Module externe d'affichage Glass pour Katapult
-Comment[gl]=Plugin Glass display para Katapult
-Comment[it]=Plugin Glass display per Katapult
-Comment[ja]=Katapult のための半透明表示プラグイン
-Comment[nb]=Programttillegg for Glassvisning i Katapult
-Comment[nl]=Glass-display-plugin voor Katapult
-Comment[pt]=Um 'plugin' de visualização por vidro para o Katapult
-Comment[pt_BR]=Um 'plugin' de visualização vitrificada para o Katapult
-Comment[sv]=Insticksprogram med glasskärm för Katapult
-Comment[tr]=Katapult için Cam gösterimi eklentisi
-Comment[uk]=Втулок скляного дисплея для Катапульти
X-TDE-ServiceTypes=Katapult/Display
Type=Service
X-TDE-Library=katapult_glassdisplay
diff --git a/katapult/plugins/display/o2display/CMakeLists.txt b/katapult/plugins/display/o2display/CMakeLists.txt
index 4729d48..9bc2543 100644
--- a/katapult/plugins/display/o2display/CMakeLists.txt
+++ b/katapult/plugins/display/o2display/CMakeLists.txt
@@ -30,7 +30,8 @@ tde_add_kpart( katapult_o2display AUTOMOC
##### other data
-install(
- FILES katapult_o2display.desktop
+tde_create_translated_desktop(
+ SOURCE katapult_o2display.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
)
diff --git a/katapult/plugins/display/o2display/katapult_o2display.desktop b/katapult/plugins/display/o2display/katapult_o2display.desktop
index 04c3f99..e5e938a 100644
--- a/katapult/plugins/display/o2display/katapult_o2display.desktop
+++ b/katapult/plugins/display/o2display/katapult_o2display.desktop
@@ -1,13 +1,5 @@
[Desktop Entry]
Name=o2 Display
-Name[bg]=Показване на o2
-Name[da]=o2-skærm
-Name[de]=o2-Anzeige
-Name[es]=Mostrar o2
-Name[nl]=o2-display
-Name[pt]=Visualização o2
-Name[pt_BR]=Visualização o2
-Name[sv]=o2-skärm
X-TDE-ServiceTypes=Katapult/Display
Type=Service
X-TDE-Library=katapult_o2display
diff --git a/katapult/plugins/display/puredisplay/CMakeLists.txt b/katapult/plugins/display/puredisplay/CMakeLists.txt
index 114fa46..c24fe80 100644
--- a/katapult/plugins/display/puredisplay/CMakeLists.txt
+++ b/katapult/plugins/display/puredisplay/CMakeLists.txt
@@ -30,7 +30,8 @@ tde_add_kpart( katapult_puredisplay AUTOMOC
##### other data
-install(
- FILES katapult_puredisplay.desktop
+tde_create_translated_desktop(
+ SOURCE katapult_puredisplay.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
)
diff --git a/katapult/plugins/display/puredisplay/katapult_puredisplay.desktop b/katapult/plugins/display/puredisplay/katapult_puredisplay.desktop
index 3d49b59..f7592dc 100644
--- a/katapult/plugins/display/puredisplay/katapult_puredisplay.desktop
+++ b/katapult/plugins/display/puredisplay/katapult_puredisplay.desktop
@@ -1,40 +1,6 @@
[Desktop Entry]
Name=Pure Display
-Name[ar]=عرض صافي ( Pure Display )
-Name[bg]=Пълно показване
-Name[da]=Enkel skærm
-Name[de]=Pure Anzeige
-Name[el]=Καθαρή εμφάνιση
-Name[es]=Mostrar puro
-Name[et]=Puhasvaade
-Name[fr]=Affichage Pure
-Name[ja]=純正表示
-Name[nb]=Ren visning
-Name[nl]=Pure-display
-Name[pt]=Visualização Pura
-Name[pt_BR]=Visualização Pura
-Name[sv]=Enkel skärm
-Name[tr]=Saf Gösterim
-Name[uk]=Чистий дисплей
Comment=Pure display plugin for Katapult
-Comment[ar]=بريمج عرض صافي ل- Katapult
-Comment[bg]=Приставка за пълно показване в Katapult
-Comment[da]=Plugin med enkel skærm for Katapult
-Comment[de]=Pure-Anzeige-Modul für Katapult
-Comment[el]=Πρόσθετο καθαρής εμφάνισης για το Katapult
-Comment[es]=Extensión para mostrar puro para Katapult
-Comment[et]=Katapulti puhta vaate plugin
-Comment[fr]=Module externe d'affichage Pure pour Katapult
-Comment[gl]=Plugin Pure display para Katapult
-Comment[it]=Plugin Pure display per Katapult
-Comment[ja]=Katapult のための純正表示プラグイン
-Comment[nb]=Programtillegg for Ren visning i Katapult
-Comment[nl]=Pure-display-plugin voor Katapult
-Comment[pt]=Um 'plugin' de visualização pura para o Katapult
-Comment[pt_BR]=Um 'plugin' de visualização pura para o Katapult
-Comment[sv]=Insticksprogram med enkel skärm för Katapult
-Comment[tr]=Katapult için Saf gösterim eklentisi
-Comment[uk]=Втулок чистого дисплея для Катапульти
X-TDE-ServiceTypes=Katapult/Display
Type=Service
X-TDE-Library=katapult_puredisplay