[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:42 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=349a42c

The following commit has been merged in the master branch:
commit 349a42cf16f004b6392d78298e082ee6d8b082fe
Author: Aleix Pol <aleixpol at kde.org>
Date:   Wed Jun 18 02:49:07 2014 +0200

    Port libraries to translation domains
---
 core/CMakeLists.txt    | 2 ++
 core/daemon.cpp        | 3 ---
 plugins/CMakeLists.txt | 1 +
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index da0fb0c..b2d0d89 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -1,5 +1,7 @@
 project(KDEConnectCore)
 
+add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-core\")
+
 include_directories(
     ${QJSON_INCLUDE_DIR}
     ${CMAKE_CURRENT_BINARY_DIR}
diff --git a/core/daemon.cpp b/core/daemon.cpp
index cc887b6..9b46733 100644
--- a/core/daemon.cpp
+++ b/core/daemon.cpp
@@ -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
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index e4eeb0e..bac4a9b 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -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)

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list