Port libraries to translation domains

This commit is contained in:
Aleix Pol 2014-06-18 02:49:07 +02:00
parent b618a64f51
commit 349a42cf16
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,7 @@
project(KDEConnectCore)
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-core\")
include_directories(
${QJSON_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}

View file

@ -41,9 +41,6 @@
#include "backends/devicelink.h"
#include "backends/linkprovider.h"
static const KCatalogLoader loader("kdeconnect-core");
static const KCatalogLoader loaderPlugins("kdeconnect-plugins");
struct DaemonPrivate
{
//Different ways to find devices and connect to them

View file

@ -1,4 +1,5 @@
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/core ${QCA2_INCLUDE_DIR})
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
install(FILES kdeconnect_plugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
add_subdirectory(ping)