diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:42:21 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:42:21 +0200 |
commit | 92841ae8b62560f0b137dc838bfd12ac78d26599 (patch) | |
tree | 77ff1aee27f10b9ba54d6c6e1f4d972c72d69b67 /khelpcenter/plugins/Scrollkeeper | |
parent | 191cf4812dfa7524f32916423d79f072d88f56d1 (diff) | |
download | tdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.tar.gz tdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.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>
(cherry picked from commit 2f706891f32258c2b070471905f983e4585296d2)
Diffstat (limited to 'khelpcenter/plugins/Scrollkeeper')
-rw-r--r-- | khelpcenter/plugins/Scrollkeeper/.directory | 8 | ||||
-rw-r--r-- | khelpcenter/plugins/Scrollkeeper/CMakeLists.txt | 7 |
2 files changed, 7 insertions, 8 deletions
diff --git a/khelpcenter/plugins/Scrollkeeper/.directory b/khelpcenter/plugins/Scrollkeeper/.directory index 8148db1c5..1ce8dfa65 100644 --- a/khelpcenter/plugins/Scrollkeeper/.directory +++ b/khelpcenter/plugins/Scrollkeeper/.directory @@ -1,9 +1,5 @@ [Desktop Entry] -Name=Scrollkeeper -Name[eo]=Dokumentara Katalogo -Name[hi]=स्क्रॉलकीपर -Name[hr]=Držač klizanja -Name[km]=ឧបករណ៍រក្សារមូរ -Name[lo]=ໂປຣແກຣມຮັກສາຈໍພາບ Icon=contents2 X-DOC-Weight=-400 + +Name=Scrollkeeper diff --git a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt index fe2acd80f..16ae52e8d 100644 --- a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt +++ b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt @@ -9,6 +9,9 @@ # ################################################# -install( FILES +tde_create_translate_desktop( + SOURCE .directory scrollkeeper.desktop - DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper ) + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper + PO_DIR khelpcenter-desktops +) |