summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/exr
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/exr
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/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