summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/xpm
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-09 17:49:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-09 17:49:10 +0200
commit837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch)
tree66811931fed182f8fa6f59547c6511a897adb734 /tdefile-plugins/xpm
parent00b9084c635fe29e7c5942ff508be2ca65893659 (diff)
downloadtdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz
tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.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 'tdefile-plugins/xpm')
-rw-r--r--tdefile-plugins/xpm/CMakeLists.txt6
-rw-r--r--tdefile-plugins/xpm/tdefile_xpm.desktop45
2 files changed, 5 insertions, 46 deletions
diff --git a/tdefile-plugins/xpm/CMakeLists.txt b/tdefile-plugins/xpm/CMakeLists.txt
index 5b357416..5d67d847 100644
--- a/tdefile-plugins/xpm/CMakeLists.txt
+++ b/tdefile-plugins/xpm/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_xpm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_xpm.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
#### tdefile_xpm (module) #########################
diff --git a/tdefile-plugins/xpm/tdefile_xpm.desktop b/tdefile-plugins/xpm/tdefile_xpm.desktop
index d42c22b6..69888a57 100644
--- a/tdefile-plugins/xpm/tdefile_xpm.desktop
+++ b/tdefile-plugins/xpm/tdefile_xpm.desktop
@@ -1,51 +1,6 @@
[Desktop Entry]
Type=Service
Name=XPM Info
-Name[br]=Titouroù XPM
-Name[ca]=Informació de XPM
-Name[cs]=XPM info
-Name[de]=XPM-Info
-Name[el]=Πληροφορίες XPM
-Name[eo]=XPM-informo
-Name[es]=Información XPM
-Name[et]=XPM info
-Name[fa]=اطلاعات XPM
-Name[fi]=XPM-tiedot
-Name[fr]=Informations XPM
-Name[gl]=Información XPM
-Name[he]=מידע XPM
-Name[hu]=XPM-jellemzők
-Name[is]=XPM upplýsingar
-Name[it]=Informazioni XPM
-Name[ja]=XPM 情報
-Name[kk]=XPM мәліметі
-Name[km]=ព័ត៌មាន XPM
-Name[lt]=XPM informacija
-Name[ms]=Maklumat XPM
-Name[nb]=XPM-info
-Name[nds]=XPM-Info
-Name[ne]=XPM सूचना
-Name[nl]=XPM-info
-Name[nn]=XPM-info
-Name[pa]=XPM ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku XPM
-Name[pt]=Informação do XPM
-Name[pt_BR]=Informações Sobre XPM
-Name[ro]=Informaţii XPM
-Name[ru]=Информация о XPM
-Name[sl]=Podatki o XPM
-Name[sr]=XPM информације
-Name[sr@Latn]=XPM informacije
-Name[sv]=XPM-information
-Name[ta]=XPM தகவல்
-Name[th]=ข้อมูลแฟ้ม XPM
-Name[tr]=XPM Bilgisi
-Name[uk]=Інформація про XPM
-Name[uz]=XPM haqida maʼlumot
-Name[uz@cyrillic]=XPM ҳақида маълумот
-Name[zh_CN]=XPM 信息
-Name[zh_HK]=XPM 資訊
-Name[zh_TW]=XPM 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_xpm
MimeType=image/x-xpm