diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-12 16:15:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-12 16:15:10 +0200 |
commit | 0d3043b6308af148da06ac14c53defc4b1e7e138 (patch) | |
tree | 2e9364cb143e70ee062e443275b852b8e2061888 /korn | |
parent | 7c7363c3ca7fb9633d93cefde3cd54b144eee633 (diff) | |
download | tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.tar.gz tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.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 'korn')
-rw-r--r-- | korn/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | korn/CMakeLists.txt | 2 | ||||
-rw-r--r-- | korn/KOrn.desktop | 69 |
3 files changed, 10 insertions, 67 deletions
diff --git a/korn/CMakeL10n.txt b/korn/CMakeL10n.txt index 34d38585c..546e7f809 100644 --- a/korn/CMakeL10n.txt +++ b/korn/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "korn" ) + +tde_l10n_create_template( + CATALOG "desktop_files/KOrn.desktop/" + SOURCES KOrn.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/korn/CMakeLists.txt b/korn/CMakeLists.txt index 7cdffec96..4780d626f 100644 --- a/korn/CMakeLists.txt +++ b/korn/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( ##### other data ################################ tde_install_icons( korn ) -install( FILES KOrn.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( KOrn.desktop ) ##### korn (executable) ######################### diff --git a/korn/KOrn.desktop b/korn/KOrn.desktop index 5f2221c5a..93b5900bd 100644 --- a/korn/KOrn.desktop +++ b/korn/KOrn.desktop @@ -1,76 +1,13 @@ [Desktop Entry] +Name=Korn + GenericName=Mail Alert -GenericName[af]=Pos inkennis stel -GenericName[ar]=منبه للبريد الألكتروني -GenericName[bg]=Аларма за е-поща -GenericName[bs]=Obavještavanje o pristigloj pošti -GenericName[ca]=Alerta per al correu -GenericName[cs]=Upozornění na poštu -GenericName[cy]=Rhybudd Ebost -GenericName[da]=Meddelelse om post -GenericName[de]=Mail-Benachrichtigung -GenericName[el]=Ειδοποίηση για mail -GenericName[eo]=Retpoŝtavertilo -GenericName[es]=Aviso de correo -GenericName[et]=E-kirjade teadustaja -GenericName[eu]=Mail abisua -GenericName[fa]=هشدارنامه -GenericName[fi]=Saapuneen sähköpostin ilmoitus -GenericName[fr]=Surveillance du courrier électronique -GenericName[fy]=E-postnotifikaasje -GenericName[ga]=Fógairt Ríomhphoist -GenericName[gl]=Alerta de Correo-e -GenericName[hi]=डाक सतर्क -GenericName[hr]=Upozorenje na nove poruke -GenericName[hu]=Levélfigyelő -GenericName[is]=Póst áminning -GenericName[it]=Programma per controllare la posta -GenericName[ja]=メールの通知 -GenericName[kk]=Пошта келген туралы хабарлау -GenericName[km]=សញ្ញាជូនដំណឹងសំបុត្រ -GenericName[lt]=Pašto pranešėjas -GenericName[lv]=Pasta Brīdinājums -GenericName[mk]=Известување за е-пошта -GenericName[ms]=Celik Mel -GenericName[mt]=Twissija tal-imejl -GenericName[nb]=E-post-varsling -GenericName[nds]=Nettpost-Benarichten -GenericName[ne]=सावधानी पत्र -GenericName[nl]=E-mailnotificatie -GenericName[nn]=E-postvarsling -GenericName[pl]=Program powiadamiający o poczcie -GenericName[pt]=Alerta de E-mail -GenericName[pt_BR]=Alerta de E-mail -GenericName[ro]=Alertare e-mail nou -GenericName[ru]=Уведомление о приходе почты -GenericName[rw]=Iburira ry'Ubutumwa -GenericName[sk]=Upozornenie na mail -GenericName[sl]=Obvestilo o pošti -GenericName[sr]=Провера поште -GenericName[sr@Latn]=Provera pošte -GenericName[sv]=E-postvarning -GenericName[ta]=அஞ்சல் அறிவிப்பு -GenericName[tg]=Маълумоти қабулшавии почта -GenericName[th]=แจ้งเตือนจดหมาย -GenericName[tr]=Midi Uyarısı -GenericName[uk]=Нагадування пошти -GenericName[uz]=Янги хат ҳақида хабар берувчи -GenericName[ven]=U sedzesa poso -GenericName[xh]=Umposi Wokulumkisa -GenericName[zh_CN]=邮件警告 -GenericName[zh_TW]=信件警告 -GenericName[zu]=Umposi Ohlomile + Exec=korn -caption "%c" %i %m %f Icon=korn Path= X-DocPath=korn/index.html Type=Application Terminal=false -Name=Korn -Name[eo]=Korno -Name[hi]=कॉर्न -Name[ne]=कर्न -Name[ta]=கார்ன் -Name[zh_TW]=Korn 信件通知 X-DCOP-ServiceType=Unique Categories=Qt;TDE;Network;Email;X-TDE-Office-PIM; |