summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/display/glassdisplay
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/glassdisplay
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/glassdisplay')
-rw-r--r--katapult/plugins/display/glassdisplay/CMakeLists.txt5
-rw-r--r--katapult/plugins/display/glassdisplay/katapult_glassdisplay.desktop35
2 files changed, 3 insertions, 37 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