summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-16 18:30:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /kompare/komparepart
parent29e1ae5e34974950ff7965b1522db70b4ff273dc (diff)
downloadtdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz
tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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 'kompare/komparepart')
-rw-r--r--kompare/komparepart/CMakeLists.txt7
-rw-r--r--kompare/komparepart/komparepart.desktop19
2 files changed, 8 insertions, 18 deletions
diff --git a/kompare/komparepart/CMakeLists.txt b/kompare/komparepart/CMakeLists.txt
index 10083566..06682808 100644
--- a/kompare/komparepart/CMakeLists.txt
+++ b/kompare/komparepart/CMakeLists.txt
@@ -25,8 +25,11 @@ link_directories(
##### other data ################################
-install( FILES komparepart.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE komparepart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kompare-desktops
+)
install( FILES komparepartui.rc
DESTINATION ${DATA_INSTALL_DIR}/kompare )
diff --git a/kompare/komparepart/komparepart.desktop b/kompare/komparepart/komparepart.desktop
index 0c4daf4d..b164135e 100644
--- a/kompare/komparepart/komparepart.desktop
+++ b/kompare/komparepart/komparepart.desktop
@@ -1,21 +1,8 @@
[Desktop Entry]
-GenericComment=A part to graphically show the difference between 2 files
Name=KomparePart
-Name[af]=K-vergelyk-deel
-Name[de]=Einbettungsfähige Komponente von Kompare
-Name[eo]=Komparo-parto
-Name[he]=רכיב Kompare
-Name[hi]=काम्पेयर-पार्ट
-Name[lv]=SalīdzinātDaļu
-Name[pl]=Moduł Kompare
-Name[pt_BR]=Parte do Kompare
-Name[ro]=Componentă Kompare
-Name[ru]=Компонент утилиты сравнения файлов
-Name[sv]=Kompare-del
-Name[ta]=கோம்பெர் உறுப்பு
-Name[tg]=Қисмати утилитҳои баробаркунии файлҳо
-Name[th]=ส่วนเปรียบเทียบ
-Name[zu]=Ingxenye yeKompare
+
+Comment=A part to graphically show the difference between 2 files
+
MimeType=text/x-diff
X-TDE-ServiceTypes=Kompare/ViewPart,KParts/ReadWritePart,KParts/ReadOnlyPart
X-TDE-Library=libkomparepart