summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/karm
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/karm
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/karm')
-rw-r--r--kontact/plugins/karm/CMakeLists.txt6
-rw-r--r--kontact/plugins/karm/karmplugin.desktop34
2 files changed, 7 insertions, 33 deletions
diff --git a/kontact/plugins/karm/CMakeLists.txt b/kontact/plugins/karm/CMakeLists.txt
index 03e573b59..598d2e25d 100644
--- a/kontact/plugins/karm/CMakeLists.txt
+++ b/kontact/plugins/karm/CMakeLists.txt
@@ -24,7 +24,11 @@ link_directories(
##### other data ################################
-install( FILES karmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+tde_create_translated_desktop(
+ SOURCE karmplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact
+ PO_DIR kontact-desktops
+)
##### libkontact_karm (module) ##################
diff --git a/kontact/plugins/karm/karmplugin.desktop b/kontact/plugins/karm/karmplugin.desktop
index ead8d27dd..048db31fa 100644
--- a/kontact/plugins/karm/karmplugin.desktop
+++ b/kontact/plugins/karm/karmplugin.desktop
@@ -12,36 +12,6 @@ X-TDE-PluginInfo-Version=0.1
X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=false
-Comment=Time Tracker Component (KArm Plugin)
-Comment[bg]=Приставка за KArm
-Comment[ca]=Component de seguiment dels temps (endollable del KArm)
-Comment[da]=Time Tracker-komponent (KArm-plugin)
-Comment[de]=Zeiterfassungskomponente (KArm-Modul)
-Comment[el]=Συστατικό γραμμής χρόνου (Πρόσθετο του KArm)
-Comment[et]=Ajaarvestaja plugin (KArm)
-Comment[it]=Componente segna-tempo (plugin Karm)
-Comment[ja]=タイムトラッカーコンポーネント (KArm プラグイン)
-Comment[nds]=Tietlogbook-Komponent (KArm-Moduul)
-Comment[nl]=Tijdsregistratiecomponent (KArm-plugin)
-Comment[pl]=Składnik śledzenia czasu (wtyczka KArm)
-Comment[sr]=Компонента праћења времена (прикључак KArm-а)
-Comment[sr@Latn]=Komponenta praćenja vremena (priključak KArm-a)
-Comment[sv]=Komponent för tidmätning (Karm-insticksprogram)
-Comment[zh_CN]=时间追踪组件(KArm 插件)
-Comment[zh_TW]=時間追蹤器組件(KArm 外掛程式)
-
Name=Timer
-Name[bg]=Таймер
-Name[ca]=Cronòmetre
-Name[de]=Stoppuhr
-Name[el]=Χρονόμετρο
-Name[et]=Ajaarvestaja
-Name[ja]=タイマー
-Name[nds]=Tietgever
-Name[nl]=Tijdklok
-Name[pl]=Stoper
-Name[sr]=Тајмер
-Name[sr@Latn]=Tajmer
-Name[sv]=Tidmätning
-Name[zh_CN]=计时器
-Name[zh_TW]=計時器
+
+Comment=Time Tracker Component (KArm Plugin)