summaryrefslogtreecommitdiffstats
path: root/korganizer/interfaces
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-12 16:15:10 +0200
committerSlávek Banko <[email protected]>2020-07-14 19:26:10 +0200
commit3e868d844c44aab62fd1324e52872afd1f706cd3 (patch)
treeb3c06badd9b8f004ae92024d53c8bf15b8849cf0 /korganizer/interfaces
parent9d2dbcebff2529124b4a522d3714b308548ee9ec (diff)
downloadtdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.tar.gz
tdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.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 0d3043b6308af148da06ac14c53defc4b1e7e138)
Diffstat (limited to 'korganizer/interfaces')
-rw-r--r--korganizer/interfaces/calendar/CMakeLists.txt8
-rw-r--r--korganizer/interfaces/calendar/calendardecoration.desktop62
-rw-r--r--korganizer/interfaces/calendar/calendarplugin.desktop66
-rw-r--r--korganizer/interfaces/korganizer/CMakeLists.txt8
-rw-r--r--korganizer/interfaces/korganizer/korganizerpart.desktop56
-rw-r--r--korganizer/interfaces/korganizer/korgprintplugin.desktop56
6 files changed, 14 insertions, 242 deletions
diff --git a/korganizer/interfaces/calendar/CMakeLists.txt b/korganizer/interfaces/calendar/CMakeLists.txt
index fe5296fed..1e994d72b 100644
--- a/korganizer/interfaces/calendar/CMakeLists.txt
+++ b/korganizer/interfaces/calendar/CMakeLists.txt
@@ -13,6 +13,8 @@ install( FILES
plugin.h calendardecoration.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calendar )
-install( FILES
- calendarplugin.desktop calendardecoration.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE calendarplugin.desktop calendardecoration.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR korganizer-desktops
+)
diff --git a/korganizer/interfaces/calendar/calendardecoration.desktop b/korganizer/interfaces/calendar/calendardecoration.desktop
index 95d498369..8390a6b03 100644
--- a/korganizer/interfaces/calendar/calendardecoration.desktop
+++ b/korganizer/interfaces/calendar/calendardecoration.desktop
@@ -1,65 +1,5 @@
[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=Calendar/Decoration
+
Comment=Calendar Decoration Plugin
-Comment[af]=Kalender Versiering Inplak
-Comment[bg]=Приставка за декорация на календара
-Comment[br]=Lugent kinkladur an deiziadur
-Comment[bs]=Dodatak za ukrašavanje kalendara
-Comment[ca]=Endollable de decoració del calendari
-Comment[cs]=Modul dekorace kalendáře
-Comment[cy]=Ategyn Addurniad Calendr
-Comment[da]=Calendar-dekorations-plugin
-Comment[de]=Dekoration für den Kalender
-Comment[el]=Πρόσθετο διακόσμησης ημερολογίου
-Comment[eo]=Kalendarornama kromaĵo
-Comment[es]=Plugin de decoración de calendario
-Comment[et]=Kalendri dekoratsiooni plugin
-Comment[eu]=Egutegi apainketa plugin-a
-Comment[fa]=وصلۀ تزئین تقویم
-Comment[fi]=Kalenteritekstin koristeluliitännäinen
-Comment[fr]=Module de décoration d'agenda
-Comment[fy]=Agindadekoraasjeplugin
-Comment[gl]=Extensión para a Decoración do Calendario
-Comment[he]=תוסף קישוטי לוח שנה
-Comment[hi]=कैलेन्डर सजावट प्लगइन
-Comment[hr]=Dodatak za dekoraciju kalendara
-Comment[hu]=Naptármegjelenési bővítőmodul
-Comment[is]=Íforrit til að skreyta texta dagatals
-Comment[it]=Plugin di decorazione del calendario
-Comment[ja]=カレンダー装飾プラグイン
-Comment[kk]=Күнтізбені безендіру модулі
-Comment[km]=កម្មវិធី​ជំនួយ​សម្រាប់​តុបតែង​ប្រតិទិន
-Comment[lt]=vCalendar dekoracijų priedas
-Comment[lv]=Kalendāra Dekorāciju Iespraudnis
-Comment[mk]=Приклучок за декорација на календар
-Comment[ms]=Plugin Hiasan Kalendar
-Comment[mt]=Plagin ta' dekorazzjoni tal-kalendarju
-Comment[nb]=Calendar dekorasjonsprogramtillegg
-Comment[nds]=Dekoratschoon för den Kalenner
-Comment[ne]=क्यालेन्डर सजावट प्लगइन
-Comment[nl]=Agendadecoratieplugin
-Comment[nn]=Tilleggsmodul for kalenderpynt
-Comment[nso]=Plugin ya Kgabiso ya Tshupamabaka
-Comment[pl]=Wtyczka do dekoracji kalendarza
-Comment[pt]='Plugin' de Decoração do Calendário
-Comment[pt_BR]=Plug-in para Decoração do Calendário
-Comment[ro]=Modul decorare calendar
-Comment[ru]=Оформление календаря
-Comment[se]=Kaleandarčiŋaid lassemoduvla
-Comment[sk]=Modul pre skrášlenie kalendára
-Comment[sl]=Vstavek besedilnega okrasa za Koledar
-Comment[sr]=Прикључак за декорацију календара
-Comment[sr@Latn]=Priključak za dekoraciju kalendara
-Comment[sv]=Insticksprogram för kalenderdekoration
-Comment[ta]=நாள்காட்டி அலங்கார சொருகுப்பொருள்
-Comment[tg]=Модул барои ороиш додани тақвимот
-Comment[th]=โปรแกรมเสริมตกแต่งบันทึกประจำวัน
-Comment[tr]=Takvim Dekorasyon Eklentisi
-Comment[uk]=Втулок прикрас календаря
-Comment[ven]=Pulagini yo khavhisiwaho ya khalenda
-Comment[vi]=Plugin phối trí lịch
-Comment[xh]=Ikhalenda Yohombiso lwe Plugin
-Comment[zh_CN]=日历装饰插件
-Comment[zh_TW]=行事曆文字裝飾外掛程式
-Comment[zu]=Ikhalenda Yeplagi Yokuhlobisa
diff --git a/korganizer/interfaces/calendar/calendarplugin.desktop b/korganizer/interfaces/calendar/calendarplugin.desktop
index 21055f7a5..25224bba0 100644
--- a/korganizer/interfaces/calendar/calendarplugin.desktop
+++ b/korganizer/interfaces/calendar/calendarplugin.desktop
@@ -1,72 +1,8 @@
[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=Calendar/Plugin
+
Comment=Calendar Plugin
-Comment[af]=Kalender Inplak
-Comment[az]=Təqvim Əlavəsi
-Comment[be]=Дапаўненне "Календар"
-Comment[bg]=Приставка за календар
-Comment[br]=Lugent an deiziadur
-Comment[bs]=Dodatak za kalendar
-Comment[ca]=Endollable calendari
-Comment[cs]=Kalendářový modul
-Comment[cy]=Ategyn Calendr
-Comment[da]=Calendar-plugin
-Comment[de]=Kalender-Modul
-Comment[el]=Πρόσθετο ημερολογίου
-Comment[eo]=Kalendaro-kromaĵo
-Comment[es]=Plugin de calendario
-Comment[et]=Kalendriplugin
-Comment[eu]=Egutegi plugin-a
-Comment[fa]=وصلۀ تقویم
-Comment[fi]=Kalenteriliitännäinen
-Comment[fr]=Module d'agenda
-Comment[fy]=Agindaplugin
-Comment[gl]=Extensión de Calendario
-Comment[he]=תוסף לוח שנה
-Comment[hi]=कैलेन्डर प्लगइन
-Comment[hr]=Kalendar dodatak
-Comment[hu]=Naptárkezelő bővítőmodul
-Comment[is]=Dagatals íforrit
-Comment[it]=Plugin calendario
-Comment[ja]=カレンダープラグイン
-Comment[kk]=Күнтізбе модулі
-Comment[km]=កម្មវិធី​ជំនួយ​ប្រតិទិន
-Comment[ko]=달력 플러그인
-Comment[lt]=iCalendar priedas
-Comment[lv]=Kalendāra Iespraudnis
-Comment[mk]=Приклучок за календар
-Comment[ms]=Plugin Kalendar
-Comment[mt]=Plagin tal-kalendarju
-Comment[nb]=Calendar-programtillegg
-Comment[nds]=Kalenner-Moduul
-Comment[ne]=क्यालेन्डर प्लगइन
-Comment[nl]=Agendaplugin
-Comment[nn]=Kalendermodul
-Comment[nso]=Plugin ya Tshupamabaka
-Comment[pl]=Wtyczka do kalendarza
-Comment[pt]='Plugin' de Calendário
-Comment[pt_BR]=Plug-in de Calendário
-Comment[ro]=Modul calendar
-Comment[ru]=Модуль календаря
-Comment[se]=Kaleandarlassemoduvla
-Comment[sk]=Modul Calendar
-Comment[sl]=Vstavek za Koledar
-Comment[sr]=Прикључак за календар
-Comment[sr@Latn]=Priključak za kalendar
-Comment[sv]=Insticksprogram för kalender
-Comment[ta]=நாள்காட்டி சொருகுப்பொருள்
-Comment[tg]=Модул барои тақвимот
-Comment[th]=โปรแกรมเสริมบันทึกประจำวัน
-Comment[tr]=Takvim Eklentisi
-Comment[uk]=Втулок календаря
-Comment[uz]=Календар плагини
-Comment[ven]=U pulaga ha khalenda
-Comment[vi]=Plugin lịch
-Comment[xh]=Ikhalenda ye Plugin
-Comment[zh_CN]=日历插件
-Comment[zh_TW]=行事曆外掛程式
-Comment[zu]=Iplagi Yekhalanda
[PropertyDef::X-TDE-KOrganizer-HasSettings]
Type=bool
diff --git a/korganizer/interfaces/korganizer/CMakeLists.txt b/korganizer/interfaces/korganizer/CMakeLists.txt
index 6b5a45f27..1909d0a16 100644
--- a/korganizer/interfaces/korganizer/CMakeLists.txt
+++ b/korganizer/interfaces/korganizer/CMakeLists.txt
@@ -13,6 +13,8 @@ install( FILES
part.h baseview.h calendarviewbase.h mainwindow.h corehelper.h printplugin.h
DESTINATION ${INCLUDE_INSTALL_DIR}/korganizer )
-install( FILES
- korganizerpart.desktop korgprintplugin.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE korganizerpart.desktop korgprintplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR korganizer-desktops
+)
diff --git a/korganizer/interfaces/korganizer/korganizerpart.desktop b/korganizer/interfaces/korganizer/korganizerpart.desktop
index dda4476b9..c840eb56e 100644
--- a/korganizer/interfaces/korganizer/korganizerpart.desktop
+++ b/korganizer/interfaces/korganizer/korganizerpart.desktop
@@ -1,62 +1,8 @@
[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=KOrganizer/Part
+
Comment=KOrganizer Part
-Comment[af]=Korganizer Deel
-Comment[be]=Частка "K Арганізатар"
-Comment[bg]=Модул KOrganizer
-Comment[br]=Perzh KOrganizer
-Comment[bs]=KOrganizer dio
-Comment[ca]=Part de KOrganizer
-Comment[cy]=KTrefnydd Part
-Comment[da]=KOrganizer-del
-Comment[de]=KOrganizer-Komponente
-Comment[eo]=Organizilo-parto
-Comment[es]=Parte de KOrganizer
-Comment[et]=KOrganizeri komponent
-Comment[eu]=KOrganizer zatia
-Comment[fa]=بخش KOrganizer
-Comment[fr]=Composant KOrganizer
-Comment[gl]=Parte de KOrganizer
-Comment[he]=רכיב KOrganizer
-Comment[hi]=के-आर्गेनाइज़र हिस्सा
-Comment[hr]=KOrganizer komponenta
-Comment[hu]=KOrganizer objektum
-Comment[is]=KOrganizer hluti
-Comment[it]=Parte di KOrganizer
-Comment[ja]=KOrganizer パート
-Comment[kk]=KOrganizer бөлшегі
-Comment[km]=ផ្នែក​របស់ KOrganizer
-Comment[lt]=KOrganizer dalis
-Comment[lv]=KOrganizer Daļa
-Comment[mk]=Дел од КОрганизатор
-Comment[ms]=Bahagian KOrganizer
-Comment[mt]=Parti ta' KOrganizer
-Comment[nb]=KOrganizerdel
-Comment[nds]=KOrganizer-Komponent
-Comment[ne]=केडीई आयोजक भाग
-Comment[nn]=KOrganizer-del
-Comment[nso]=Seripa sa KMokopanyi
-Comment[pl]=Moduł KOrganizera
-Comment[pt]=Componente do KOrganizer
-Comment[pt_BR]=Componente do KOrganizer
-Comment[ro]=Componentă KOrganizer
-Comment[ru]=Компонент органайзера
-Comment[se]=KOrganizer-oassi
-Comment[sk]=Part KOrganizer
-Comment[sl]=Del KOrganizerja
-Comment[sr]=Део KOrganizer-а
-Comment[sr@Latn]=Deo KOrganizer-a
-Comment[sv]=Korganizer-del
-Comment[ta]=கேஅமைப்பாளர் பகுதி
-Comment[tg]=Қисмати органайзер
-Comment[tr]=KOrganizer Parçası
-Comment[uk]=Складова KOrganizer
-Comment[ven]=Tshipida tsha mudzudzanyi wa K
-Comment[xh]=Indawana yeKOrganizer
-Comment[zh_CN]=KOrganizer 部件
-Comment[zh_TW]=KOrganizer 組件
-Comment[zu]=KUmgqugquzeleli Wengxenye
[PropertyDef::X-TDE-KOrganizer-HasSettings]
Type=bool
diff --git a/korganizer/interfaces/korganizer/korgprintplugin.desktop b/korganizer/interfaces/korganizer/korgprintplugin.desktop
index 80a2a8a95..8004253cf 100644
--- a/korganizer/interfaces/korganizer/korgprintplugin.desktop
+++ b/korganizer/interfaces/korganizer/korgprintplugin.desktop
@@ -1,62 +1,8 @@
[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=KOrganizer/PrintPlugin
+
Comment=KOrganizer Part
-Comment[af]=Korganizer Deel
-Comment[be]=Частка "K Арганізатар"
-Comment[bg]=Модул KOrganizer
-Comment[br]=Perzh KOrganizer
-Comment[bs]=KOrganizer dio
-Comment[ca]=Part de KOrganizer
-Comment[cy]=KTrefnydd Part
-Comment[da]=KOrganizer-del
-Comment[de]=KOrganizer-Komponente
-Comment[eo]=Organizilo-parto
-Comment[es]=Parte de KOrganizer
-Comment[et]=KOrganizeri komponent
-Comment[eu]=KOrganizer zatia
-Comment[fa]=بخش KOrganizer
-Comment[fr]=Composant KOrganizer
-Comment[gl]=Parte de KOrganizer
-Comment[he]=רכיב KOrganizer
-Comment[hi]=के-आर्गेनाइज़र हिस्सा
-Comment[hr]=KOrganizer komponenta
-Comment[hu]=KOrganizer objektum
-Comment[is]=KOrganizer hluti
-Comment[it]=Parte di KOrganizer
-Comment[ja]=KOrganizer パート
-Comment[kk]=KOrganizer бөлшегі
-Comment[km]=ផ្នែក​របស់ KOrganizer
-Comment[lt]=KOrganizer dalis
-Comment[lv]=KOrganizer Daļa
-Comment[mk]=Дел од КОрганизатор
-Comment[ms]=Bahagian KOrganizer
-Comment[mt]=Parti ta' KOrganizer
-Comment[nb]=KOrganizerdel
-Comment[nds]=KOrganizer-Komponent
-Comment[ne]=केडीई आयोजक भाग
-Comment[nn]=KOrganizer-del
-Comment[nso]=Seripa sa KMokopanyi
-Comment[pl]=Moduł KOrganizera
-Comment[pt]=Componente do KOrganizer
-Comment[pt_BR]=Componente do KOrganizer
-Comment[ro]=Componentă KOrganizer
-Comment[ru]=Компонент органайзера
-Comment[se]=KOrganizer-oassi
-Comment[sk]=Part KOrganizer
-Comment[sl]=Del KOrganizerja
-Comment[sr]=Део KOrganizer-а
-Comment[sr@Latn]=Deo KOrganizer-a
-Comment[sv]=Korganizer-del
-Comment[ta]=கேஅமைப்பாளர் பகுதி
-Comment[tg]=Қисмати органайзер
-Comment[tr]=KOrganizer Parçası
-Comment[uk]=Складова KOrganizer
-Comment[ven]=Tshipida tsha mudzudzanyi wa K
-Comment[xh]=Indawana yeKOrganizer
-Comment[zh_CN]=KOrganizer 部件
-Comment[zh_TW]=KOrganizer 組件
-Comment[zu]=KUmgqugquzeleli Wengxenye
[PropertyDef::X-TDE-KOrganizer-HasSettings]
Type=bool