From 7fa2dd79a4f7711a65b45724448c1529dfb94e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 16 Jul 2020 18:30:12 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdefile-plugins/diff/CMakeLists.txt | 6 +++- tdefile-plugins/diff/tdefile_diff.desktop | 53 ++----------------------------- 2 files changed, 7 insertions(+), 52 deletions(-) (limited to 'tdefile-plugins/diff') 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 -- cgit v1.2.1