summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dds
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 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /tdefile-plugins/dds
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 <slavek.banko@axis.cz> (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'tdefile-plugins/dds')
-rw-r--r--tdefile-plugins/dds/CMakeLists.txt6
-rw-r--r--tdefile-plugins/dds/tdefile_dds.desktop45
2 files changed, 5 insertions, 46 deletions
diff --git a/tdefile-plugins/dds/CMakeLists.txt b/tdefile-plugins/dds/CMakeLists.txt
index eb367982..987a13d5 100644
--- a/tdefile-plugins/dds/CMakeLists.txt
+++ b/tdefile-plugins/dds/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data ##################################
-install( FILES tdefile_dds.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_dds.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
#### tdefile_dds (module) ##########################
diff --git a/tdefile-plugins/dds/tdefile_dds.desktop b/tdefile-plugins/dds/tdefile_dds.desktop
index 7886ffac..a5e65b05 100644
--- a/tdefile-plugins/dds/tdefile_dds.desktop
+++ b/tdefile-plugins/dds/tdefile_dds.desktop
@@ -1,51 +1,6 @@
[Desktop Entry]
Type=Service
Name=DirectDraw Surface Info
-Name[ca]=Informació de superfície DirectDraw
-Name[cs]=DirectDraw Surface info
-Name[da]=DirectDraw overflade-info
-Name[de]=DirectDraw Oberflächeninfo
-Name[el]=Πληροφορίες επιφάνειας DirectDraw
-Name[eo]=DirectDraw surfac-informo
-Name[es]=Información de la primera vista de DirectDraw
-Name[et]=DirectDraw Surface'i info
-Name[eu]=DirectDraw Surface informazioa
-Name[fa]=اطلاعات سطح DirectDraw
-Name[fi]=DirectDraw pintatieto
-Name[fr]=Informations de surface DirectDraw
-Name[ga]=Eolas faoi DirectDraw Surface
-Name[gl]=Información de Superficie de DirectDraw
-Name[he]=מיגע אודות משטח DirectDraw
-Name[hu]=DirectDraw felületinformáció
-Name[is]=DirectDraw yfirborðs upplýsingar
-Name[it]=Informazioni superficie DirectDraw
-Name[ja]=DDS (DirectDraw Surface) 情報
-Name[kk]=DirectDraw бедерінің мәлметі
-Name[km]=ព័ត៌មាន​ផ្ទៃ​ខាង​ក្រៅ​អំពី DirectDraw
-Name[lt]=DirectDraw Surface informacija
-Name[ms]=Maklumat Permukaan LukisTerus
-Name[nb]=DirectDraw Overflate info
-Name[nds]="DirectDraw"-Böversietinfo
-Name[ne]=प्रत्यक्ष रेखाचित्र सतह सूचना
-Name[nl]=DirectDraw Surface-info
-Name[nn]=DirectDraw-overflateinfo
-Name[pl]=Informacja o powierzchni DirectDraw
-Name[pt]=Informação de Superfície DirectDraw
-Name[pt_BR]=Informações Sobre Superfícies Direct Draw
-Name[ro]=Informaţii Suprafaţă DirectDraw
-Name[ru]=Сведения о поверхности DirectDraw
-Name[sk]=DirectDraw informácie o povrchu
-Name[sl]=Podatki o površini DirectDraw
-Name[sr]=Информације о DirectDraw површини
-Name[sr@Latn]=Informacije o DirectDraw površini
-Name[sv]=Directdraw ytinformation
-Name[ta]=நேரடி மேற்பரப்பு தகவல்
-Name[th]=ข้อมูลแฟ้มพื้นผิว DirectDraw
-Name[tr]=DirectDraw Yüzey Bilgisi
-Name[uk]=Інформація про поверхню DirectDraw
-Name[zh_CN]=DirectDraw 表面信息
-Name[zh_HK]=DirectDraw 表面資訊
-Name[zh_TW]=DirectDraw Surface 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_dds
MimeType=image/x-dds