From 1c66f59d504161a8c2b427a0c07ca622b955bc1f Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Sat, 16 Apr 2016 12:04:04 +0200 Subject: [PATCH] polkitagent: Load translations Issue: #5 --- polkitagent/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polkitagent/CMakeLists.txt b/polkitagent/CMakeLists.txt index 2e9ba8d..783e320 100644 --- a/polkitagent/CMakeLists.txt +++ b/polkitagent/CMakeLists.txt @@ -25,6 +25,9 @@ hawaii_translate_ts(QM_FILES INSTALL_DIR ${DATA_INSTALL_DIR}/hawaii-workspace/translations COMPONENT "Runtime") hawaii_translate_desktop(DESKTOP_FILE SOURCES org.hawaiios.PolkitAgent.desktop.in) +hawaii_translation_loader(SOURCES + TRANSLATIONS_DIR hawaii-workspace/translations + CATALOG_NAME hawaii-polkit-agent) add_executable(hawaii-polkit-agent ${SOURCES} ${RESOURCES} ${QM_FILES} ${DESKTOP_FILE}) target_link_libraries(hawaii-polkit-agent