Browse Source

Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 2 months ago
parent
commit
bf6e319e3d
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
2 changed files with 3 additions and 9 deletions
  1. +0
    -1
      fileplugin/CMakeLists.txt
  2. +3
    -8
      kbarcode/CMakeLists.txt

+ 0
- 1
fileplugin/CMakeLists.txt View File

@@ -31,5 +31,4 @@ tde_add_kpart( tdefile_kbarcode AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_kbarcode.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)

+ 3
- 8
kbarcode/CMakeLists.txt View File

@@ -70,23 +70,18 @@ tde_install_icons( )

##### other data

foreach( _desktop
tde_create_translated_desktop(
SOURCE
${PROJECT_NAME}.desktop
${PROJECT_NAME}-batch.desktop
${PROJECT_NAME}-editor.desktop
${PROJECT_NAME}-single.desktop
)
tde_create_translated_desktop(
SOURCE ${_desktop}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
endforeach( )
)


tde_create_translated_desktop(
SOURCE ${PROJECT_NAME}-label.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)

install(


Loading…
Cancel
Save