summaryrefslogtreecommitdiffstats
path: root/parts/diff
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /parts/diff
parentc0b663c4c873df495743600b8f703744420eddfa (diff)
downloadtdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz
tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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 'parts/diff')
-rw-r--r--parts/diff/CMakeLists.txt7
-rw-r--r--parts/diff/kdevdiff.desktop82
2 files changed, 12 insertions, 77 deletions
diff --git a/parts/diff/CMakeLists.txt b/parts/diff/CMakeLists.txt
index 09987fd7..6802ffe8 100644
--- a/parts/diff/CMakeLists.txt
+++ b/parts/diff/CMakeLists.txt
@@ -26,7 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevdiff.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdiff )
diff --git a/parts/diff/kdevdiff.desktop b/parts/diff/kdevdiff.desktop
index 02aab0cd..b47f7d5f 100644
--- a/parts/diff/kdevdiff.desktop
+++ b/parts/diff/kdevdiff.desktop
@@ -1,82 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Difference Viewer
-Comment[ca]=Visor de diferències
-Comment[da]=Diff-fremviser
-Comment[de]=Betrachter für Abweichungen
-Comment[el]=Προβολέας διαφορών
-Comment[es]=Visor de diferencias
-Comment[et]=Erinevuste näitaja
-Comment[eu]=Desberdintasun ikustailea
-Comment[fa]=مشاهده‌گر تفاوت
-Comment[fr]=Afficheur de différences
-Comment[ga]=Amharcán Difríochtaí
-Comment[gl]=Visor de diferenzas
-Comment[hi]=भिन्नता प्रदर्शक
-Comment[hu]=Fájlok közötti eltérések megjelenítése
-Comment[it]=Visualizzatore di differenze
-Comment[ja]=差分ビューア
-Comment[ms]=Pelihat Perbezaan
-Comment[nds]=En Verscheelkieker
-Comment[ne]=फरक दृश्यकर्ता
-Comment[nl]=Weergave van verschillen
-Comment[pl]=Przeglądarka różnic
-Comment[pt]=Visualizador de Diferenças
-Comment[pt_BR]=Visualizador de Diferenças
-Comment[ru]=Просмотр различий
-Comment[sk]=Prezerač rozdielov
-Comment[sl]=Pregledovalnik razlik
-Comment[sr]=Програм за прегледање разлика
-Comment[sr@Latn]=Program za pregledanje razlika
-Comment[sv]=Visning av jämförelser
-Comment[ta]=பாகுபாடு காட்சியாளர்
-Comment[tg]=Намоишгари фарқкунанда
-Comment[tr]=Fark Görüntüleyicisi
-Comment[zh_CN]=差别查看器
-Comment[zh_TW]=比較檢視器
Name=KDevDiff
-Name[da]=TDevelop diff-fremviser
-Name[de]=Abweichungsansicht (TDevelop)
-Name[hi]=के-डेव-डिफ़
-Name[nds]=TDevelop-Verscheelkieker
-Name[sk]=KDev rozdiel
-Name[sv]=TDevelop jämför
-Name[zh_TW]=TDevelop 比較
+
GenericName=Difference Viewer
-GenericName[ca]=Visor de diferències
-GenericName[da]=Diff-fremviser
-GenericName[de]=Betrachter für Abweichungen
-GenericName[el]=Προβολέας διαφορών
-GenericName[es]=Visor de diferencias
-GenericName[et]=Erinevuste näitaja
-GenericName[eu]=Desberdintasun ikustailea
-GenericName[fa]=مشاهده‌گر تفاوت
-GenericName[fr]=Afficheur de différences
-GenericName[ga]=Amharcán Difríochtaí
-GenericName[gl]=Visor de diferenzas
-GenericName[hi]=भिन्नता प्रदर्शक
-GenericName[hu]=Diff-megjelenítő
-GenericName[it]=Visualizzatore delle differenze
-GenericName[ja]=差分ビューア
-GenericName[ms]=Pelihat Perbezaan
-GenericName[nds]=Verscheelkieker
-GenericName[ne]=फरक दृश्यकर्ता
-GenericName[nl]=Weergave van verschillen
-GenericName[pl]=Przeglądarka różnic
-GenericName[pt]=Visualizador de Diferenças
-GenericName[pt_BR]=Visualizador de Diferenças
-GenericName[ru]=Просмотр различий
-GenericName[sk]=Prezerač rozdielov
-GenericName[sl]=Pregledovalnik razlik
-GenericName[sr]=Програм за прегледање разлика
-GenericName[sr@Latn]=Program za pregledanje razlika
-GenericName[sv]=Visning av jämförelser
-GenericName[ta]=வெவ்வேறு பார்வையாளர்கள்
-GenericName[tg]=Намоишгари фарқкунанда
-GenericName[tr]=Fark Görüntüleyicisi
-GenericName[zh_CN]=差别查看器
-GenericName[zh_TW]=比較檢視器
+
+Comment=Difference Viewer
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/DiffFrontend
X-TDE-Library=libkdevdiff
X-TDevelop-Version=5