summaryrefslogtreecommitdiffstats
path: root/tdeprint/tools/escputil
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-07 18:25:52 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-07 18:25:52 +0200
commit4b7a4e17362206fd2eade35ba947a850263b0ea1 (patch)
tree3f3e619da9fd3c0f76ef95e44c73898a278e059b /tdeprint/tools/escputil
parent31fa399a0aa455f3f52251f977233d57e92de28c (diff)
downloadtdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.tar.gz
tdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.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 'tdeprint/tools/escputil')
-rw-r--r--tdeprint/tools/escputil/CMakeLists.txt6
-rw-r--r--tdeprint/tools/escputil/escputil.desktop24
2 files changed, 5 insertions, 25 deletions
diff --git a/tdeprint/tools/escputil/CMakeLists.txt b/tdeprint/tools/escputil/CMakeLists.txt
index 3494d3cfb..7a0caac02 100644
--- a/tdeprint/tools/escputil/CMakeLists.txt
+++ b/tdeprint/tools/escputil/CMakeLists.txt
@@ -24,7 +24,11 @@ link_directories(
##### other data ################################
-install( FILES escputil.desktop DESTINATION ${DATA_INSTALL_DIR}/tdeprint/tools )
+tde_create_translated_desktop(
+ SOURCE escputil.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/tdeprint/tools
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
+)
##### tdeprint_tool_escputil ####################
diff --git a/tdeprint/tools/escputil/escputil.desktop b/tdeprint/tools/escputil/escputil.desktop
index 5b7be109d..f3fbf0968 100644
--- a/tdeprint/tools/escputil/escputil.desktop
+++ b/tdeprint/tools/escputil/escputil.desktop
@@ -1,29 +1,5 @@
[Desktop Entry]
Name=EPSON InkJet
-Name[af]=Epson Inkstraal
-Name[bg]=Мастиленоструен принтер EPSON InkJet
-Name[bn]=এপসন ইঙ্কজেট
-Name[de]=Epson InkJet
-Name[eo]=Epson-Inkĵet-ilo
-Name[fa]=چاپگر جوهرافشان EPSON
-Name[fr]=Imprimante jet d'encre Epson
-Name[ga]=Scairdphrintéir EPSON
-Name[hi]=एप्सन इंकजेट
-Name[is]=EPSON bleksprautuprentari
-Name[ja]=EPSON インクジェット
-Name[ko]=엡손 잉크젯
-Name[mn]=Epson InkJet
-Name[ms]=InkJet EPSON
-Name[nb]=EPSON-blekkskriver
-Name[nds]=EPSON Inkjet
-Name[ne]=EPSON इन्कजेट
-Name[nn]=EPSON-blekkskrivar
-Name[nso]=InkJetEPSON
-Name[pt]=Jacto de Tinta da EPSON
-Name[ta]=EPSON இங்க்ஜெட்
-Name[te]=ఎప్సన్ ఇంక్ జెట్
-Name[zh_HK]=EPSON 噴墨印表機
-Name[zh_TW]=EPSON 噴墨印表機
Type=Service
X-TDE-Library=escputil