summaryrefslogtreecommitdiffstats
path: root/libkscan
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 /libkscan
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 '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