summaryrefslogtreecommitdiffstats
path: root/libkscan
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 /libkscan
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 'libkscan')
-rw-r--r--libkscan/CMakeL10n.txt6
-rw-r--r--libkscan/CMakeLists.txt5
-rw-r--r--libkscan/scanservice.desktop64
3 files changed, 10 insertions, 65 deletions
diff --git a/libkscan/CMakeL10n.txt b/libkscan/CMakeL10n.txt
index ff1141cd..b9f4eee0 100644
--- a/libkscan/CMakeL10n.txt
+++ b/libkscan/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "libkscan" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/scanservice.desktop/"
+ SOURCES scanservice.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/libkscan/CMakeLists.txt b/libkscan/CMakeLists.txt
index b108f9e9..0bd244b4 100644
--- a/libkscan/CMakeLists.txt
+++ b/libkscan/CMakeLists.txt
@@ -30,7 +30,10 @@ link_directories(
##### other data ################################
-install( FILES scanservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE scanservice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### kscan (shared) ############################
diff --git a/libkscan/scanservice.desktop b/libkscan/scanservice.desktop
index 1a28f532..ae2943e2 100644
--- a/libkscan/scanservice.desktop
+++ b/libkscan/scanservice.desktop
@@ -1,70 +1,6 @@
[Desktop Entry]
Type=Service
Name=TDE Scan Service
-Name[af]=Kde Skandeer Diens
-Name[ar]=خدمة TDE للمسح الضوئي
-Name[az]=TDE Darama Servisi
-Name[bg]=Услуга за сканиране
-Name[br]=Damanterien skramm
-Name[ca]=Servei d'escaneig del TDE
-Name[cs]=Skenovací služba pro TDE
-Name[cy]=Gwasanaeth Sganio TDE
-Name[da]=TDE Skanneservice
-Name[de]=Scan-Dienst von TDE
-Name[el]=Υπηρεσία σάρωσης του TDE
-Name[eo]=Bildcifereciga servo (skano)
-Name[es]=Servicio de digitalización de TDE
-Name[et]=TDE skaneerimisteenus
-Name[eu]=TDE eskaneatze zerbitzua
-Name[fa]=خدمت پویش TDE
-Name[fi]=TDE :n skannauspalvelu
-Name[fr]=Service de numérisation pour TDE
-Name[gl]=Servicio de escáner de TDE
-Name[he]=שירות הסריקה של TDE
-Name[hi]=केडीई स्कैन सर्विस
-Name[hr]=TDE skan servis
-Name[hu]=TDE lapolvasó szolgáltatás
-Name[is]=TDE myndlesaraþjónusta
-Name[it]=Servizio di scansione di TDE
-Name[ja]=TDE スキャンサービス
-Name[kk]=TDE сканер қызметі
-Name[km]=សេវា​ស្កេន​របស់ TDE
-Name[ko]=TDE 스캔 서비스
-Name[lt]=TDE skanavimo tarnyba
-Name[lv]=TDE Skanēšanas Serviss
-Name[ms]=Perkhidmatan Imbas TDE
-Name[mt]=Servizz TDE tal-iskannjar
-Name[nb]=TDE skannetjeneste
-Name[nds]=Bildinleesdeenst för TDE
-Name[ne]=केडीई स्क्यान सेवा
-Name[nl]=TDE Scannerdiensten
-Name[nn]=TDE Skanningsteneste
-Name[nso]=Tirelo ya Tebelelo ya TDE
-Name[pl]=Usługa skanowania TDE
-Name[pt]=Serviço de 'Scanner' do TDE
-Name[pt_BR]=Serviço de Digitalização do TDE
-Name[ro]=Serviciu de scanare TDE
-Name[ru]=Служба сканирования TDE
-Name[se]=TDE skánnenbálválus
-Name[sk]=TDE skenovacia služba
-Name[sl]=Storitev skeniranja za TDE
-Name[sr]=TDE-ов сервис за скенирање
-Name[sr@Latn]=TDE-ov servis za skeniranje
-Name[sv]=TDE:s bildläsartjänst
-Name[ta]=கேடிஇ வருடு சேவை
-Name[tg]=Сканеронӣ дар TDE
-Name[th]=บริการสแกนภาพ - K
-Name[tr]=TDE Tarama Servisi
-Name[uk]=Служба пошуку TDE
-Name[uz]=TDE skan qilish xizmati
-Name[uz@cyrillic]=TDE скан қилиш хизмати
-Name[ven]=Tshishumiswa tshau naga tsha TDE
-Name[wa]=Siervice di scanaedje di TDE
-Name[xh]=Inkonzo yemita yovavanyo ye TDE
-Name[zh_CN]=TDE 扫描服务
-Name[zh_HK]=TDE 掃描服務
-Name[zh_TW]=TDE 掃描服務
-Name[zu]=Umsebenzi Lokuhlola lwe-TDE
X-TDE-Library=libkscan
X-TDE-InitialPreference=2
X-TDE-ServiceTypes=KScan/KScanDialog