diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-02-06 18:30:48 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-02-06 18:30:48 +0100 |
commit | 1b87ee119571516b414c70e4afab9fd68750b1cb (patch) | |
tree | 0a05fc146a523fe8fbc5f047c207d8a209466398 /part | |
parent | cb952883c9662328e7b1ac026589a116e687aa69 (diff) | |
download | kxmleditor-1b87ee119571516b414c70e4afab9fd68750b1cb.tar.gz kxmleditor-1b87ee119571516b414c70e4afab9fd68750b1cb.zip |
Copy translations to a new directory layout.
Use common rules for build and install translations.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part')
-rw-r--r-- | part/CMakeLists.txt | 4 | ||||
-rw-r--r-- | part/kxmleditorpart.desktop | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt index 58e5261..f515ba8 100644 --- a/part/CMakeLists.txt +++ b/part/CMakeLists.txt @@ -68,7 +68,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) -install( - FILES kxmleditorpart.desktop +tde_create_translated_desktop( + SOURCE kxmleditorpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) diff --git a/part/kxmleditorpart.desktop b/part/kxmleditorpart.desktop index f97f368..136f9e9 100644 --- a/part/kxmleditorpart.desktop +++ b/part/kxmleditorpart.desktop @@ -1,9 +1,9 @@ [Desktop Entry] Name=KXMLEditorPart -Name[de]=KXMLEditor-Objekt -MimeType=text/xml; -X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart -X-TDE-Library=libkxmleditorpart + Type=Service Icon=kxmleditor MiniIcon=kxmleditor +MimeType=text/xml; +X-TDE-Library=libkxmleditorpart +X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart |