summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/exr
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
committerSlávek Banko <[email protected]>2020-06-09 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /tdefile-plugins/exr
parent766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff)
downloadtdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz
tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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]> (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'tdefile-plugins/exr')
-rw-r--r--tdefile-plugins/exr/CMakeLists.txt6
-rw-r--r--tdefile-plugins/exr/tdefile_exr.desktop49
2 files changed, 5 insertions, 50 deletions
diff --git a/tdefile-plugins/exr/CMakeLists.txt b/tdefile-plugins/exr/CMakeLists.txt
index 284c973a..2e96d6bc 100644
--- a/tdefile-plugins/exr/CMakeLists.txt
+++ b/tdefile-plugins/exr/CMakeLists.txt
@@ -26,7 +26,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_exr.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_exr.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
#### tdefile_exr (module) #########################
diff --git a/tdefile-plugins/exr/tdefile_exr.desktop b/tdefile-plugins/exr/tdefile_exr.desktop
index 76a6f250..a984a981 100644
--- a/tdefile-plugins/exr/tdefile_exr.desktop
+++ b/tdefile-plugins/exr/tdefile_exr.desktop
@@ -1,55 +1,6 @@
[Desktop Entry]
Type=Service
Name=EXR Info
-Name[br]=Titouroù EXR
-Name[ca]=Informació EXR
-Name[cs]=EXR info
-Name[cy]=Gwybodaeth EXR
-Name[da]=EXR-Info
-Name[de]=EXR-Info
-Name[el]=Πληροφορίες EXR
-Name[eo]=EXR-informo
-Name[es]=Info EXR
-Name[et]=EXR info
-Name[fa]=اطلاعات EXR
-Name[fi]=EXR-tiedot
-Name[fr]=Informations EXR
-Name[ga]=Eolas faoi EXR
-Name[gl]=Inf. EXR
-Name[he]=מידע EXR
-Name[hu]=EXR-jellemzők
-Name[is]=EXR upplýsingar
-Name[it]=Informazioni EXR
-Name[ja]=EXR 情報
-Name[kk]=EXR мәліметі
-Name[km]=ព័ត៌មាន EXR
-Name[lt]=EXR informacija
-Name[ms]=Maklumat EXR
-Name[nds]=EXR-Info
-Name[ne]=EXR सूचना
-Name[nl]=EXR-info
-Name[nn]=EXR-info
-Name[pa]=EXR ਜਾਣਕਾਰੀ
-Name[pl]=Informacja EXR
-Name[pt]=Informação do EXR
-Name[pt_BR]=Informação sobre EXR
-Name[ro]=Informaţii EXR
-Name[ru]=Информация о EXR
-Name[se]=EXR-dieđut
-Name[sl]=Podatki o EXR
-Name[sr]=EXR информације
-Name[sr@Latn]=EXR informacije
-Name[sv]=EXR-information
-Name[ta]=EXR தகவல்
-Name[tg]=Иттилоот оиди EXR
-Name[th]=ข้อมูลแฟ้ม EXR
-Name[tr]=EXR Bilgisi
-Name[uk]=Інформація по EXR
-Name[uz]=EXR haqida maʼlumot
-Name[uz@cyrillic]=EXR ҳақида маълумот
-Name[zh_CN]=EXR 信息
-Name[zh_HK]=EXR 資訊
-Name[zh_TW]=EXR 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_exr
MimeType=image/x-exr