summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes
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 /kontact/plugins/knotes
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 'kontact/plugins/knotes')
-rw-r--r--kontact/plugins/knotes/CMakeLists.txt7
-rw-r--r--kontact/plugins/knotes/knotesplugin.desktop73
2 files changed, 8 insertions, 72 deletions
diff --git a/kontact/plugins/knotes/CMakeLists.txt b/kontact/plugins/knotes/CMakeLists.txt
index 39e5e62a..3a213e4e 100644
--- a/kontact/plugins/knotes/CMakeLists.txt
+++ b/kontact/plugins/knotes/CMakeLists.txt
@@ -27,7 +27,12 @@ link_directories(
##### other data ################################
-install( FILES knotesplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+tde_create_translated_desktop(
+ SOURCE knotesplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact
+ PO_DIR kontact-desktops
+)
+
install( FILES knotes_part.rc DESTINATION ${DATA_INSTALL_DIR}/knotes )
diff --git a/kontact/plugins/knotes/knotesplugin.desktop b/kontact/plugins/knotes/knotesplugin.desktop
index e1af4cdc..2c8d5045 100644
--- a/kontact/plugins/knotes/knotesplugin.desktop
+++ b/kontact/plugins/knotes/knotesplugin.desktop
@@ -13,75 +13,6 @@ X-TDE-PluginInfo-Version=0.1
X-TDE-PluginInfo-License=LGPL
X-TDE-PluginInfo-EnabledByDefault=true
-Comment=Notes Component (KNotes Plugin)
-Comment[bg]=Приставка за бележки
-Comment[ca]=Component de notes (endollable del KNotes)
-Comment[da]=Notatkomponent (KNotes-plugin)
-Comment[de]=Notizen-Komponente (KNotes-Modul)
-Comment[el]=Συσταικό σημειώσεων (Πρόσθετο του KNotes)
-Comment[et]=Märkmete plugin (KNotes)
-Comment[it]=Componente note (plugin KNotes)
-Comment[ja]=メモコンポーネント (KNotes プラグイン)
-Comment[nds]=Notizen-Komponent (KNotes-Moduul)
-Comment[nl]=Notitiecomponent (KNotes-plugin)
-Comment[pl]=Składnik notatek (wtyczka KNotes)
-Comment[sr]=Компонента белешки (прикључак KNotes-а)
-Comment[sr@Latn]=Komponenta beleški (priključak KNotes-a)
-Comment[sv]=Anteckningskomponent (Knotes-insticksprogram)
-Comment[zh_CN]=便笺组件(KNotes 插件)
-Comment[zh_TW]=便條組件(KNotes 外掛程式)
Name=Notes
-Name[af]=Notas
-Name[ar]=الملاحظات
-Name[be]=Нататкі
-Name[bg]=Бележки
-Name[br]=Notennoù
-Name[bs]=Bilješke
-Name[cs]=Poznámky
-Name[cy]=Nodiadau
-Name[da]=Noter
-Name[de]=Notizen
-Name[el]=Σημειώσεις
-Name[eo]=Notoj
-Name[es]=Notas
-Name[et]=Märkmed
-Name[eu]=Oharrak
-Name[fa]=یادداشتها
-Name[fi]=Muistio
-Name[fy]=Notysjes
-Name[ga]=Nótaí
-Name[gl]=Notas
-Name[he]=פתקים
-Name[hi]=टीप
-Name[hu]=Feljegyzések
-Name[is]=Minnismiðar
-Name[it]=Note
-Name[ja]=メモ
-Name[kk]=Жазбалар
-Name[km]=ចំណាំ
-Name[lt]=Užrašai
-Name[mk]=Белешки
-Name[ms]=Nota
-Name[nds]=Notizen
-Name[ne]=टिपोट
-Name[nl]=Notities
-Name[nn]=Notat
-Name[pl]=Notatki
-Name[pt]=Notas
-Name[pt_BR]=Notas
-Name[ro]=Notiţe
-Name[ru]=Заметки
-Name[se]=Nohtat
-Name[sk]=Poznámky
-Name[sl]=Notice
-Name[sr]=Белешке
-Name[sr@Latn]=Beleške
-Name[sv]=Anteckningar
-Name[ta]=குறிப்புகள்
-Name[tg]=Ахборот
-Name[th]=บันทึกช่วยจำ
-Name[tr]=Notlar
-Name[uk]=Примітки
-Name[uz]=Ёзма хотира
-Name[zh_CN]=便笺
-Name[zh_TW]=備忘錄
+
+Comment=Notes Component (KNotes Plugin)