Commit dd8b2b44 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

autogenerate categories file

parent 956c4c23
...@@ -135,6 +135,8 @@ ecm_qt_declare_logging_category(liblokalize_SRCS ...@@ -135,6 +135,8 @@ ecm_qt_declare_logging_category(liblokalize_SRCS
IDENTIFIER LOKALIZE_LOG IDENTIFIER LOKALIZE_LOG
CATEGORY_NAME org.kde.lokalize CATEGORY_NAME org.kde.lokalize
DEFAULT_SEVERITY Warning DEFAULT_SEVERITY Warning
DESCRIPTION "Lokalize (lokalize)"
EXPORT LOKALIZE
) )
ki18n_wrap_ui(liblokalize_SRCS ki18n_wrap_ui(liblokalize_SRCS
...@@ -216,11 +218,12 @@ install( PROGRAMS org.kde.lokalize.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ...@@ -216,11 +218,12 @@ install( PROGRAMS org.kde.lokalize.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}
install( FILES prefs/lokalize.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES prefs/lokalize.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES lokalize.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} ) install( FILES lokalize.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} )
if (${ECM_VERSION} STRGREATER "5.58.0") ecm_qt_install_logging_categories(
install( FILES lokalize.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} ) EXPORT LOKALIZE
else() FILE lokalize.categories
install( FILES lokalize.categories DESTINATION ${KDE_INSTALL_CONFDIR} ) DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
endif() )
install( FILES install( FILES
editorui.rc editorui.rc
......
org.kde.lokalize Lokalize (lokalize) DEFAULT_SEVERITY [WARNING] IDENTIFIER [LOKALIZE_LOG]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment