summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/diff
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-16 18:30:12 +0200
committerSlávek Banko <[email protected]>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /tdefile-plugins/diff
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 <[email protected]>
Diffstat (limited to 'tdefile-plugins/diff')
-rw-r--r--tdefile-plugins/diff/CMakeLists.txt6
-rw-r--r--tdefile-plugins/diff/tdefile_diff.desktop53
2 files changed, 7 insertions, 52 deletions
diff --git a/tdefile-plugins/diff/CMakeLists.txt b/tdefile-plugins/diff/CMakeLists.txt
index 08493d8f..25aeffa8 100644
--- a/tdefile-plugins/diff/CMakeLists.txt
+++ b/tdefile-plugins/diff/CMakeLists.txt
@@ -22,7 +22,11 @@ link_directories(
##### other data ################################
-install( FILES tdefile_diff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_diff.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
##### tdefile_diff (module) #######################
diff --git a/tdefile-plugins/diff/tdefile_diff.desktop b/tdefile-plugins/diff/tdefile_diff.desktop
index f533b09f..27951ec0 100644
--- a/tdefile-plugins/diff/tdefile_diff.desktop
+++ b/tdefile-plugins/diff/tdefile_diff.desktop
@@ -1,56 +1,7 @@
[Desktop Entry]
-Type=Service
Name=Diff Stats
-Name[af]=Diff Statistiek
-Name[bg]=Статистика за разлики
-Name[br]=Stadegoù Diff
-Name[bs]=Diff statistika
-Name[ca]=Estadístiques de diff
-Name[cs]=Statistika rozdílů
-Name[cy]=Ystadegau Gwahaniaethau
-Name[da]=Diff-stats
-Name[de]=Diff-Statistiken
-Name[el]=Στατιστικά diff
-Name[es]=Estadísticas Diff
-Name[et]=Võrdlemise tulemused
-Name[eu]=Desberdintasun estatistikak
-Name[fa]=آمارهای Diff
-Name[fi]=Diff-tilastot
-Name[fr]=Statistiques de diff
-Name[ga]=Staitistic Diff
-Name[gl]=Estatísticas de diff
-Name[he]=סטטיסטיקת Diff
-Name[hi]=डिफ स्टेट्स
-Name[hr]=Diff statistike
-Name[hu]=Diff statisztika
-Name[it]=Statistiche di confronto
-Name[ja]=Diff 統計
-Name[kk]=Diff статистикасы
-Name[lt]=Skirtumų statistika
-Name[ms]=Stat Diff
-Name[nb]=Diff-statistikk
-Name[nds]=Verscheelstatistiken
-Name[ne]=भिन्न तथ्याङ्क
-Name[nl]=Diff-statistieken
-Name[nn]=Diff-statistikk
-Name[pa]=ਅੰਤਰ ਹਾਲਤ
-Name[pl]=Statystyka różnic
-Name[pt]=Estatísticas do diff
-Name[pt_BR]=Estados do Diff
-Name[ro]=Statistici Diff
-Name[ru]=Статистика различий
-Name[sk]=Štatistiky Diff
-Name[sl]=Statistike diff
-Name[sr]=Статистика разликовања
-Name[sr@Latn]=Statistika razlikovanja
-Name[sv]=Diff-statistik
-Name[ta]=டிப் ஸ்டட்ஸ்
-Name[tg]=Статистикаи фарқият
-Name[th]=สถานะแตกต่าง
-Name[tr]=Diff İstatistikleri
-Name[uk]=Статистика відмінностей
-Name[zh_CN]=Diff 统计
-Name[zh_TW]=Diff 狀態
+
+Type=Service
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_diff
MimeType=text/x-diff