diff options
author | Slávek Banko <[email protected]> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-15 20:12:47 +0200 |
commit | cb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch) | |
tree | 7f6b988c304024c9a45bccc2070790b65b95553e /ksig | |
parent | 41f27d91571102626d9aae843adbe070fcb5aef3 (diff) | |
download | tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.tar.gz tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.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]>
Diffstat (limited to 'ksig')
-rw-r--r-- | ksig/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | ksig/CMakeLists.txt | 4 | ||||
-rw-r--r-- | ksig/ksig.desktop | 68 |
3 files changed, 11 insertions, 67 deletions
diff --git a/ksig/CMakeL10n.txt b/ksig/CMakeL10n.txt index bc034bf..8ec6134 100644 --- a/ksig/CMakeL10n.txt +++ b/ksig/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "ksig" ) + +tde_l10n_create_template( + CATALOG "desktop_files/ksig.desktop/" + SOURCES ksig.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/ksig/CMakeLists.txt b/ksig/CMakeLists.txt index a07934d..ba8cecf 100644 --- a/ksig/CMakeLists.txt +++ b/ksig/CMakeLists.txt @@ -34,6 +34,4 @@ install( FILES ksigui.rc DESTINATION ${DATA_INSTALL_DIR}/ksig ) -install( FILES ksig.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ksig.desktop ) diff --git a/ksig/ksig.desktop b/ksig/ksig.desktop index 8ccafd1..8ef906d 100644 --- a/ksig/ksig.desktop +++ b/ksig/ksig.desktop @@ -1,71 +1,11 @@ [Desktop Entry] +Name=KSig + +GenericName=Signature Editor + Type=Application Exec=ksig -caption "%c" %i %m Icon=ksig Terminal=false -Name=KSig -Name[hi]=के-सिग -Name[sv]=Ksig -Name[tr]=Ksig -Name[vi]=K-Ký -GenericName=Signature Editor -GenericName[ar]=محرر التوقيعات -GenericName[bg]=Редактор на подписи -GenericName[br]=Aozer ar sinadurioù -GenericName[bs]=Editor potpisa -GenericName[ca]=Editor per la signatura -GenericName[cs]=Editor podpisů -GenericName[cy]=Golygydd Llofnod -GenericName[da]=Underskriftteditor -GenericName[de]=Signaturen-Editor -GenericName[el]=Επεξεργαστής υπογραφής -GenericName[eo]=Signuma redaktilo -GenericName[es]=Editor de firma -GenericName[et]=Allkirja redaktor -GenericName[eu]=Sinadura editorea -GenericName[fa]=ویرایشگر امضا -GenericName[fi]=Allekirjoitusmuokkain -GenericName[fr]=Éditeur de signatures -GenericName[fy]=Hântekeningen bewurkje -GenericName[ga]=Eagarthóir Sínithe -GenericName[gl]=Editor de Sinaturas -GenericName[he]=עורך חתימות -GenericName[hi]=हस्ताक्षर संपादक -GenericName[hr]=Uređivač potpisa -GenericName[hu]=Aláírásszerkesztő -GenericName[is]=Ritill fyrir undirritanir -GenericName[it]=Editor della firma -GenericName[ja]=署名エディタ -GenericName[ka]=ხელმოწერის რედაქტორი -GenericName[kk]=Қолтаңба редакторы -GenericName[km]=កម្មវិធីនិពន្ធហត្ថលេខា -GenericName[lt]=Parašų rengyklė -GenericName[mk]=Уредувач на потписи -GenericName[ms]=Editor Tandatangan -GenericName[nb]=Signaturredigering -GenericName[nds]=Signatuur-Editor -GenericName[ne]=हस्ताक्षर सम्पादक -GenericName[nl]=Handtekeningen bewerken -GenericName[nn]=Signaturredigering -GenericName[pa]=ਦਸਤਖਤ ਸੰਪਾਦਕ -GenericName[pl]=Edytor podpisów -GenericName[pt]=Editor de Assinaturas -GenericName[pt_BR]=Editor de Assinaturas -GenericName[ro]=Editor de semnături -GenericName[ru]=Редактор подписей -GenericName[sk]=Editor signatúr -GenericName[sl]=Urejevalnik podpisov -GenericName[sr]=Уређивач потписа -GenericName[sr@Latn]=Uređivač potpisa -GenericName[sv]=Signatureditor -GenericName[ta]=கையொப்ப தொகுப்பான் -GenericName[tg]=Муҳаррири имзоҳо -GenericName[tr]=İmza Düzenleyici -GenericName[uk]=Редактор підписів -GenericName[uz]=Imzo tahrirchisi -GenericName[uz@cyrillic]=Имзо таҳрирчиси -GenericName[vi]=Bộ soạn thảo chữ ký -GenericName[zh_CN]=签名编辑器 -GenericName[zh_TW]=簽名編輯器 Categories=Qt;TDE;Office;X-TDE-Office-PIM; X-DocPath=ksig/index.html |