From c95a42982628b4b06ceed0c01cada10806c9b53c Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Mon, 13 Mar 2023 20:31:19 +0000 Subject: i18n and some minor corrections Signed-off-by: Emanoil Kotsev --- src/tdebluezauth/application.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tdebluezauth/application.cpp') diff --git a/src/tdebluezauth/application.cpp b/src/tdebluezauth/application.cpp index 3b1dec8..b546a89 100644 --- a/src/tdebluezauth/application.cpp +++ b/src/tdebluezauth/application.cpp @@ -47,9 +47,9 @@ TDEBluezAuth::TDEBluezAuth() : // try to get a specific service name if (!m_connection.requestName(DBUS_AUTH_SERVICE_NAME)) { - tqWarning("Requesting name %s failed. " - "The object will only be addressable through unique name '%s'", - DBUS_AUTH_SERVICE_NAME, m_connection.uniqueName().local8Bit().data()); + tqWarning(i18n("Requesting name %1 failed. " + "The object will only be addressable through unique name '%2'").arg( + DBUS_AUTH_SERVICE_NAME).arg(m_connection.uniqueName())); exit(-2); } @@ -123,7 +123,7 @@ bool TDEBluezAuth::configureAgent() { if (!manager->requestDefaultAgent()) { - tqWarning("org.bluez.Agent1 registering FAILED"); + tqWarning(i18n("org.bluez.Agent1 registering FAILED")); return false; } } -- cgit v1.2.1