summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-12 16:15:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-12 16:15:10 +0200
commit0d3043b6308af148da06ac14c53defc4b1e7e138 (patch)
tree2e9364cb143e70ee062e443275b852b8e2061888 /plugins
parent7c7363c3ca7fb9633d93cefde3cd54b144eee633 (diff)
downloadtdepim-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 'plugins')
-rw-r--r--plugins/kmail/CMakeL10n.txt6
-rw-r--r--plugins/kmail/bodypartformatter/CMakeLists.txt8
-rw-r--r--plugins/kmail/bodypartformatter/text_calendar.desktop78
-rw-r--r--plugins/kmail/bodypartformatter/text_vcard.desktop79
-rw-r--r--plugins/kmail/bodypartformatter/text_xdiff.desktop77
5 files changed, 15 insertions, 233 deletions
diff --git a/plugins/kmail/CMakeL10n.txt b/plugins/kmail/CMakeL10n.txt
index b585ce4a..c1800882 100644
--- a/plugins/kmail/CMakeL10n.txt
+++ b/plugins/kmail/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kmail-plugins-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/plugins/kmail/bodypartformatter/CMakeLists.txt b/plugins/kmail/bodypartformatter/CMakeLists.txt
index 910dbb2e..732a62bc 100644
--- a/plugins/kmail/bodypartformatter/CMakeLists.txt
+++ b/plugins/kmail/bodypartformatter/CMakeLists.txt
@@ -45,9 +45,11 @@ link_directories(
##### other data ################################
-install( FILES
- text_vcard.desktop text_calendar.desktop text_xdiff.desktop
- DESTINATION ${DATA_INSTALL_DIR}/kmail/plugins/bodypartformatter )
+tde_create_translated_desktop(
+ SOURCE text_vcard.desktop text_calendar.desktop text_xdiff.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kmail/plugins/bodypartformatter
+ PO_DIR kmail-plugins-desktops
+)
##### libkmail_bodypartformatter_text_vcard (module)
diff --git a/plugins/kmail/bodypartformatter/text_calendar.desktop b/plugins/kmail/bodypartformatter/text_calendar.desktop
index 2f9ab0a2..09a6acb4 100644
--- a/plugins/kmail/bodypartformatter/text_calendar.desktop
+++ b/plugins/kmail/bodypartformatter/text_calendar.desktop
@@ -1,83 +1,7 @@
[Misc]
Name=Application Octetstream
-Name[af]=Application/Octet-stream
-Name[ca]=Aplicació Octetstream
-Name[cs]=Aplikace octetstream
-Name[da]=Program oktetstrøm
-Name[eo]=Aplikaĵa Bitokfluo
-Name[es]=Aplicación en flujo de octetos
-Name[eu]=Aplikazioa/zortzikote-jarioa
-Name[fa]=Octetstream کاربرد
-Name[fi]=Octetstream-sovellus
-Name[fr]=Application (flux d'octets)
-Name[fy]=Applikaasje octetstream
-Name[gl]=Aplicación Octetstream
-Name[hu]=Alkalmazás-adatfolyam
-Name[ja]=アプリケーション オクテット ストリーム
-Name[kk]=Қолданбаның бинарлы ағымы
-Name[km]=Octetstream កម្មវិធី
-Name[ms]=Aliran Oktet Aplikasi
-Name[nb]=Program Octetstrøm
-Name[ne]=अक्टेस्ट्रिम अनुप्रयोग
-Name[nl]=Applicatie octetstroom
-Name[nn]=Oktettstraum frå program
-Name[pl]=Dane binarne
-Name[pt]=Aplicação Sequência Binária
-Name[pt_BR]=Aplicativo Octetstream
-Name[ru]=Бинарный поток приложения
-Name[sl]=Programski Octetstream
-Name[sr]=Апликација Octetstream
-Name[sr@Latn]=Aplikacija Octetstream
-Name[sv]=Program-oktettström
-Name[ta]=பயன்பாட்டு எண்மம்
-Name[tg]=Миқдори зиёди бинарии барномот
-Name[tr]=Uygulama Sekizli Akışı
-Name[zh_CN]=应用程序 Octetstream
+
Comment=A bodypart formatter plugin for text/calendar
-Comment[af]='n Data (boodskap lyf) formateer inprop module vir 'text/calendar'
-Comment[bg]=Редактор с поддръжка на форматиране за текст/календар
-Comment[bs]=Dodatak za formatiranje tijela poruke za text/calendar
-Comment[ca]=Un endollable formatador del cos per a text/calendar
-Comment[cs]=Formátovač těla emailu pro typ text/calendar
-Comment[da]=Et bodypart formateringsplugin for text/calendar
-Comment[de]=Ein Textinhalt-Formatierer für text/calendar
-Comment[el]=Ένα πρόσθετο μορφοποιητή για text/calendar
-Comment[es]=Un accesorio de formato para el cuerpo de text/calendar
-Comment[et]=Põhiosa vormindamisplugin (MIME tüübile text/calendar)
-Comment[eu]=Testu/egutegientzako gorputz-zati formateatzaile bat
-Comment[fa]=یک وصلۀ قالب دهندۀ جزء بدنه برای متن/تقویم
-Comment[fi]=Muokkausliitännäinen text/calendar-muodolle
-Comment[fr]=Module de formatage pour le text/calendar
-Comment[fy]=In opmaakplugin foar text/calendar
-Comment[gl]=Unha extensión para formatear o corpo do texto/calendario
-Comment[hu]=Formázómodul text/calendar adatfolyamok kezeléséhez
-Comment[is]=Sniðmátstól fyrir text/calendar
-Comment[it]=Un plugin per formattare il corpo di text/calendar
-Comment[ja]=text/calendar 用の Bodypart フォーマッタ プラグイン
-Comment[kk]=Text/calendar бөлімін пішімдеу модулі
-Comment[km]=កម្មវិធី​ជំនួយ​កម្មវិធី​ធ្វើ​ទ្រង់ទ្រាយ​ផ្នែក​តួ សម្រាប់​អត្ថបទ/ប្រតិទិន
-Comment[lt]=text/calendar formatavimo priedas
-Comment[ms]=Plugin pemformat bahagian isi untuk teks/kalendar
-Comment[nb]=En formaterer for meldingstekster i tekst/kalender
-Comment[nds]=En Hööftdeel-Formateermoduul för text/calendar
-Comment[ne]=पाठ/क्यालेन्डरका लागि मुख्यभाग ढाँचाबद्ध गर्ने प्लगइन
-Comment[nl]=Een opmaakplugin voor text/calendar
-Comment[nn]=Eit programtillegg for meldingstekstformatering i tekst/kalender
-Comment[pl]=Wtyczka formatująca dla typu text/calendar
-Comment[pt]=Um 'plugin' de formatação para text/calendar
-Comment[pt_BR]=Um plug-in formatador de componente para o tipo text/calendar
-Comment[ru]=Форматирование text/calendar
-Comment[sk]=Modul pre formátovanie tela pre text/calendar
-Comment[sl]=Oblikovalni vstavek za text/calendar
-Comment[sr]=Прикључак за форматитање тела за text/calendar
-Comment[sr@Latn]=Priključak za formatitanje tela za text/calendar
-Comment[sv]=Ett insticksprogram för brevtextformatering av text/calendar
-Comment[ta]=உரை அல்லது நாள்காட்டிகான அங்க அமைப்பு சொருகி
-Comment[tg]=Модули ба андозадарории text/calendar
-Comment[tr]=text/calendar için bir gövde biçimleyici eklentisi
-Comment[uk]=Втулок форматування для text/calendar
-Comment[zh_CN]=text/calendar 的格式化插件
-Comment[zh_TW]=text/calendar 格式化外掛程式
[Plugin]
Type=text/calendar
diff --git a/plugins/kmail/bodypartformatter/text_vcard.desktop b/plugins/kmail/bodypartformatter/text_vcard.desktop
index ae697bd5..315ecc53 100644
--- a/plugins/kmail/bodypartformatter/text_vcard.desktop
+++ b/plugins/kmail/bodypartformatter/text_vcard.desktop
@@ -1,84 +1,7 @@
[Misc]
Name=Application Octetstream
-Name[af]=Application/Octet-stream
-Name[ca]=Aplicació Octetstream
-Name[cs]=Aplikace octetstream
-Name[da]=Program oktetstrøm
-Name[eo]=Aplikaĵa Bitokfluo
-Name[es]=Aplicación en flujo de octetos
-Name[eu]=Aplikazioa/zortzikote-jarioa
-Name[fa]=Octetstream کاربرد
-Name[fi]=Octetstream-sovellus
-Name[fr]=Application (flux d'octets)
-Name[fy]=Applikaasje octetstream
-Name[gl]=Aplicación Octetstream
-Name[hu]=Alkalmazás-adatfolyam
-Name[ja]=アプリケーション オクテット ストリーム
-Name[kk]=Қолданбаның бинарлы ағымы
-Name[km]=Octetstream កម្មវិធី
-Name[ms]=Aliran Oktet Aplikasi
-Name[nb]=Program Octetstrøm
-Name[ne]=अक्टेस्ट्रिम अनुप्रयोग
-Name[nl]=Applicatie octetstroom
-Name[nn]=Oktettstraum frå program
-Name[pl]=Dane binarne
-Name[pt]=Aplicação Sequência Binária
-Name[pt_BR]=Aplicativo Octetstream
-Name[ru]=Бинарный поток приложения
-Name[sl]=Programski Octetstream
-Name[sr]=Апликација Octetstream
-Name[sr@Latn]=Aplikacija Octetstream
-Name[sv]=Program-oktettström
-Name[ta]=பயன்பாட்டு எண்மம்
-Name[tg]=Миқдори зиёди бинарии барномот
-Name[tr]=Uygulama Sekizli Akışı
-Name[zh_CN]=应用程序 Octetstream
+
Comment=A bodypart formatter plugin for text/vcard
-Comment[af]='n Data (boodskap lyf) formateer inprop module vir 'text/vcard'
-Comment[bg]=Редактор с поддръжка на форматиране за текст/vcard
-Comment[br]=Arload tresañ Xfig
-Comment[bs]=Dodatak za formatiranje tijela poruke za text/vcard
-Comment[ca]=Un endollable formatador del cos per a text/vcard
-Comment[cs]=Formátovač těla emailu pro typ text/vcard
-Comment[da]=Et bodypart formateringsplugin for text/vcard
-Comment[de]=Ein Textinhalt-Formatierer für text/vcard
-Comment[el]=Ένα πρόσθετο μορφοποιητή για text/vcard
-Comment[es]=Un accesorio de formato para el cuerpo de text/vcard
-Comment[et]=Põhiosa vormindamisplugin (MIME tüübile text/vcard)
-Comment[eu]=Testu/vcard-en gorputz-zati formateatzaile bat
-Comment[fa]=یک وصلۀ قالب دهندۀ جزء بدنه برای متن/vcard
-Comment[fi]=Muokkausliitännäinen text/vcard-muodolle
-Comment[fr]=Un formateur de partie de corps pour text/vcard
-Comment[fy]=In opmaakplugin foar text/vcard
-Comment[gl]=Unha extensión para formatear o corpo do texto/vcard
-Comment[hu]=Formázómodul text/vcard adatfolyamok kezeléséhez
-Comment[is]=Sniðmátstól fyrir text/vcard
-Comment[it]=Un plugin per formattare il corpo di text/vcard
-Comment[ja]=text/vcard 用の Bodypart フォーマッタ プラグイン
-Comment[kk]=Text/vcard бөлімін пішімдеу модулі
-Comment[km]=កម្មវិធី​ជំនួយ​កម្មវិធី​ធ្វើ​ទ្រង់ទ្រាយ​ផ្នែក​តួ សម្រាប់​អត្ថបទ/vcard
-Comment[lt]= Teksto/vcard formatavimo priedas
-Comment[ms]=Plugin pemformat bahagian isi untuk teks/vcard
-Comment[nb]=Et programtillegg for text/vcard for brødtekst-formatering
-Comment[nds]=En Hööftdeel-Formateermoduul för text/vcard
-Comment[ne]=पाठ/भिकार्ड का लागि मुख्यभाग ढाँचाबद्ध गर्ने प्लगइन
-Comment[nl]=Een opmaakplugin voor text/vcard
-Comment[nn]=Eit programtillegg for brødtekstformatering i tekst/vCard
-Comment[pl]=Wtyczka formatująca dla typu text/vcard
-Comment[pt]=Um 'plugin' de formatação para text/vcard
-Comment[pt_BR]=Um plug-in formatador de componente para o tipo text/vcard
-Comment[ru]=Форматирование text/vcard
-Comment[sk]=Modul pre formátovanie tela pre text/vcard
-Comment[sl]=Oblikovalni vstavek za text/vcard
-Comment[sr]=Прикључак за форматитање тела за text/vcard
-Comment[sr@Latn]=Priključak za formatitanje tela za text/vcard
-Comment[sv]=Ett insticksprogram för brevtextformatering av text/vcard
-Comment[ta]=உரை அல்லது விஅட்டைக்கான அங்க அமைப்பு சொருகி
-Comment[tg]=Модули ба андозадарории text/vcard
-Comment[tr]=text/vcard için bir gövde biçimleyici eklentisi
-Comment[uk]=Втулок форматування для text/vcard
-Comment[zh_CN]=text/vcard 的格式化插件
-Comment[zh_TW]=text/vCard 格式化外掛程式
[Plugin]
Type=text/x-vcard
diff --git a/plugins/kmail/bodypartformatter/text_xdiff.desktop b/plugins/kmail/bodypartformatter/text_xdiff.desktop
index cadd1d27..4a91c950 100644
--- a/plugins/kmail/bodypartformatter/text_xdiff.desktop
+++ b/plugins/kmail/bodypartformatter/text_xdiff.desktop
@@ -1,81 +1,8 @@
[Misc]
Name=Application Octetstream
-Name[af]=Application/Octet-stream
-Name[ca]=Aplicació Octetstream
-Name[cs]=Aplikace octetstream
-Name[da]=Program oktetstrøm
-Name[eo]=Aplikaĵa Bitokfluo
-Name[es]=Aplicación en flujo de octetos
-Name[eu]=Aplikazioa/zortzikote-jarioa
-Name[fa]=Octetstream کاربرد
-Name[fi]=Octetstream-sovellus
-Name[fr]=Application (flux d'octets)
-Name[fy]=Applikaasje octetstream
-Name[gl]=Aplicación Octetstream
-Name[hu]=Alkalmazás-adatfolyam
-Name[ja]=アプリケーション オクテット ストリーム
-Name[kk]=Қолданбаның бинарлы ағымы
-Name[km]=Octetstream កម្មវិធី
-Name[ms]=Aliran Oktet Aplikasi
-Name[nb]=Program Octetstrøm
-Name[ne]=अक्टेस्ट्रिम अनुप्रयोग
-Name[nl]=Applicatie octetstroom
-Name[nn]=Oktettstraum frå program
-Name[pl]=Dane binarne
-Name[pt]=Aplicação Sequência Binária
-Name[pt_BR]=Aplicativo Octetstream
-Name[ru]=Бинарный поток приложения
-Name[sl]=Programski Octetstream
-Name[sr]=Апликација Octetstream
-Name[sr@Latn]=Aplikacija Octetstream
-Name[sv]=Program-oktettström
-Name[ta]=பயன்பாட்டு எண்மம்
-Name[tg]=Миқдори зиёди бинарии барномот
-Name[tr]=Uygulama Sekizli Akışı
-Name[zh_CN]=应用程序 Octetstream
+
Comment=A bodypart formatter plugin for text/x-diff
-Comment[af]='n Data (boodskap lyf) formateer inprop module vir 'text/x-diff'
-Comment[bg]=Редактор с поддръжка на форматиране за текст/x-diff
-Comment[ca]=Un endollable formatador del cos per a text/x-diff
-Comment[cs]=Formátovač těla emailu pro typ text/x-diff
-Comment[da]=Et bodypart formateringsplugin for text/x-diff
-Comment[de]=Ein Bodypart-Formatierungsmodul für text/x-diff
-Comment[el]=Ένα πρόσθετο μορφοποιητή για text/x-diff
-Comment[es]=Una extensión de formato para el cuerpo de text/x-diff
-Comment[et]=Põhiosa vormindamisplugin (MIME tüübile text/x-diff)
-Comment[eu]=Testu/x-diff-en gorputz-zati formateatzaile bat
-Comment[fa]=یک وصلۀ قالب دهندۀ جزء بدنه برای متن/x-diff
-Comment[fi]=Muokkausliitännäinen text/x-diff-muodolle
-Comment[fr]=Un formateur de partie de corps pour text/x-diff
-Comment[fy]=In opmaakplugin foar text/x-diff
-Comment[gl]=Unha extensión para formatear o corpo do texto/x-diff
-Comment[hu]=Formázómodul text/x-diff adatok kezeléséhez
-Comment[is]=Sniðmátstól fyrir text/x-diff
-Comment[it]=Un plugin per formattare il corpo di text/x-diff
-Comment[ja]=text/x-diff 用の bodypart フォーマッタプラグイン
-Comment[kk]=Text/x-diff бөлімін пішімдеу модулі
-Comment[km]=កម្មវិធី​ជំនួយ​កម្មវិធី​ធ្វើ​ទ្រង់ទ្រាយ​ផ្នែក​តួ សម្រាប់​អត្ថបទ/x-diff
-Comment[lt]=text/x-diff formatavimo priedas
-Comment[ms]=Plugin pemformat bahagian untuk teks/x-diff
-Comment[nb]=Et programtillegg for text/x-diff for brødtekst-formatering
-Comment[nds]=En Hööftdeel-Formateermoduul för text/x-diff
-Comment[ne]=पाठ/x-diff का लागि मुख्यभाग ढाँचाबद्ध गर्ने प्लगइन
-Comment[nl]=Een opmaakplugin voor text/x-diff
-Comment[nn]=Eit programtilllegg for text/x-diff for brødtekstformatering
-Comment[pl]=Wtyczka formatująca dla text/x-diff
-Comment[pt]=Um 'plugin' de formatação para text/x-diff
-Comment[pt_BR]=Um plug-in formatador de componente para o tipo text/x-diff
-Comment[ru]=Форматирование text/x-diff
-Comment[sk]=Modul pre formátovanie tela pre text/x-diff
-Comment[sl]=Oblikovalni vstavek za text/x-diff
-Comment[sr]=Прикључак за форматитање тела за text/x-diff
-Comment[sr@Latn]=Priključak za formatitanje tela za text/x-diff
-Comment[sv]=Ett insticksprogram för brevtextformatering av text/x-diff
-Comment[ta]=text/x-diffக்கான ஒரு பகுதி வடிவமைப்பான் சொருகுப்பொருள்
-Comment[tr]=text/x-diff için bir gövde biçimleyici eklentisi
-Comment[uk]=Втулок форматування для text/x-diff
-Comment[zh_CN]=text/x-diff 的格式化插件
-Comment[zh_TW]=text/x-diff 格式化外掛程式
+
[Plugin]
Type=text/x-diff
X-TDE-Library=libkmail_bodypartformatter_text_xdiff