summaryrefslogtreecommitdiffstats
path: root/kompare
diff options
context:
space:
mode:
Diffstat (limited to 'kompare')
-rw-r--r--kompare/CMakeL10n.txt6
-rw-r--r--kompare/CMakeLists.txt14
-rw-r--r--kompare/kompare.desktop65
-rw-r--r--kompare/komparenavtreepart/CMakeLists.txt7
-rw-r--r--kompare/komparenavtreepart/komparenavtreepart.desktop5
-rw-r--r--kompare/komparepart/CMakeLists.txt7
-rw-r--r--kompare/komparepart/komparepart.desktop19
7 files changed, 33 insertions, 90 deletions
diff --git a/kompare/CMakeL10n.txt b/kompare/CMakeL10n.txt
index 79671986..2018894d 100644
--- a/kompare/CMakeL10n.txt
+++ b/kompare/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kompare" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kompare-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kompare/CMakeLists.txt b/kompare/CMakeLists.txt
index 4977eb71..2556897a 100644
--- a/kompare/CMakeLists.txt
+++ b/kompare/CMakeLists.txt
@@ -35,12 +35,18 @@ link_directories(
##### other data ################################
-install( FILES kompare.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kompare.desktop
+ PO_DIR kompare-desktops
+)
+
install( FILES kompareui.rc DESTINATION ${DATA_INSTALL_DIR}/kompare )
-install( FILES
- komparenavigationpart.desktop kompareviewpart.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE komparenavigationpart.desktop kompareviewpart.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR kompare-desktops
+)
##### kompare (executable) ######################
diff --git a/kompare/kompare.desktop b/kompare/kompare.desktop
index a057f7c7..4529b415 100644
--- a/kompare/kompare.desktop
+++ b/kompare/kompare.desktop
@@ -1,68 +1,9 @@
[Desktop Entry]
-Type=Application
Name=Kompare
-Name[af]=K-vergelyk
-Name[eo]=Komparilo
-Name[hi]=काम्पेयर
-Name[lv]=Salīdzināt
-Name[ne]=तुलना
-Name[pa]=ਕੇ-ਤੁਲਨਾ
-Name[ta]=கோம்பெர்
-Name[th]=เปรียบเทียบ
-Name[tr]=Karşılaştır
+
GenericName=Diff/Patch Frontend
-GenericName[af]=Diff/Lap Voorprogram
-GenericName[bs]=Frontend za Diff/Patch
-GenericName[ca]=Interfície per a diff/patch
-GenericName[cs]=Rozhraní pro Diff/Patch
-GenericName[cy]=Blaen Gwahaniaethau/Clytiau
-GenericName[da]=Diff/patch-grænseflade
-GenericName[de]=Oberfläche für Diff und Patch
-GenericName[el]=Πρόγραμμα Diff/Patch
-GenericName[eo]=Fasado por la programoj "diff" kaj "patch"
-GenericName[es]=Interfaz Diff/Patch
-GenericName[et]=Diff/patch kasutajaliides
-GenericName[eu]=Desberdintasun/Adabaki interfazea
-GenericName[fa]=پایانۀ Diff/کژنه
-GenericName[fi]=Diff/Patch-käyttöliittymä
-GenericName[fr]=Interface graphique pour Diff et Patch
-GenericName[ga]=Comhéadan Diff/Patch
-GenericName[gl]=Interface para Diff/Patch
-GenericName[he]=ממשק ל-Diff/Patch
-GenericName[hi]=डिफ/पैच फ्रन्टएण्ड
-GenericName[hr]=Sučelje za Diff/Patch
-GenericName[hu]=Grafikus diff/patch
-GenericName[is]=Myndrænt viðmót á Diff/Patch
-GenericName[it]=Interfaccia per diff e patch
-GenericName[ja]=Diff/Patch フロントエンド
-GenericName[kk]=Diff/Patch интерфейсі
-GenericName[lt]=Diff/Patch naudotojo sąsaja
-GenericName[lv]=Diff/Patch Frontends
-GenericName[ms]=Bahagian Depan Beza/Tampal
-GenericName[nb]=Diff-/Patch-grensesnitt
-GenericName[nds]=Böversiet för "diff" un "patch"
-GenericName[ne]=Diff/Patch फ्रन्टइन्ड
-GenericName[nl]=Diff/Patch-hulpprogramma
-GenericName[nn]=Diff-/Patch-grensesnitt
-GenericName[pa]=Diff/Patch ਮੁੱਖ
-GenericName[pl]=Interfejs dla programów diff i patch
-GenericName[pt]=Interface do Diff/Patch
-GenericName[pt_BR]=Interface para Diferenças (diff)/Correções
-GenericName[ro]=Interfaţă grafică pentru "diff" şi "patch"
-GenericName[ru]=Сравнение файлов
-GenericName[sk]=Rozhranie Diff/Patch
-GenericName[sl]=Vmesnik za diff/patch
-GenericName[sr]=Интерфејс за Diff/Patch
-GenericName[sr@Latn]=Interfejs za Diff/Patch
-GenericName[sv]=Gränssnitt för Diff/Patch
-GenericName[ta]=டிப்/ஒட்டு முன்பகுதி
-GenericName[tg]=Утилитаи баробаркунии файлҳо
-GenericName[th]=ฟรอนต์เอนด์ของ Diff/Patch
-GenericName[tr]=Diff/Yama Önyüzü
-GenericName[uk]=Інтерфейс до diff/patch
-GenericName[zh_CN]=Diff/Patch 前端
-GenericName[zh_TW]=Diff/Patch 前端
-GenericName[zu]=Diff/PatchIsiqalo sokugcina
+
+Type=Application
MimeType=text/x-diff;
Exec=kompare -caption "%c" %i %m -o %U
Icon=kompare
diff --git a/kompare/komparenavtreepart/CMakeLists.txt b/kompare/komparenavtreepart/CMakeLists.txt
index 732d27d5..44f32ece 100644
--- a/kompare/komparenavtreepart/CMakeLists.txt
+++ b/kompare/komparenavtreepart/CMakeLists.txt
@@ -23,8 +23,11 @@ link_directories(
##### other data ################################
-install( FILES komparenavtreepart.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE komparenavtreepart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kompare-desktops
+)
##### libkomparenavtreepart (module) ############
diff --git a/kompare/komparenavtreepart/komparenavtreepart.desktop b/kompare/komparenavtreepart/komparenavtreepart.desktop
index 5f0b6bc1..5ac03783 100644
--- a/kompare/komparenavtreepart/komparenavtreepart.desktop
+++ b/kompare/komparenavtreepart/komparenavtreepart.desktop
@@ -1,9 +1,6 @@
[Desktop Entry]
Name=KompareNavTreePart
-Name[pl]=Komponent drzewa nawigacyjnego Kompare
-Name[pt_BR]=Componente da árvore do Kompare
-Name[sv]=Kompare-navigeringsträdsdel
-Name[ta]=கோம்பெர் மரம் பாகம்
+
MimeType=text/x-diff
X-TDE-ServiceTypes=Kompare/NavigationPart
X-TDE-Library=libkomparenavtreepart
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