diff options
author | Emanoil Kotsev <[email protected]> | 2023-03-13 20:31:19 +0000 |
---|---|---|
committer | Emanoil Kotsev <[email protected]> | 2023-03-20 07:25:45 +0000 |
commit | c95a42982628b4b06ceed0c01cada10806c9b53c (patch) | |
tree | ee5bb82e46741f57362bb5c4a0f2133d1d525cdb /src/tdebluezauth/application.cpp | |
parent | 66c9d2a5920b30474b595603a79915d2be38cdbe (diff) | |
download | tdebluez-c95a42982628b4b06ceed0c01cada10806c9b53c.tar.gz tdebluez-c95a42982628b4b06ceed0c01cada10806c9b53c.zip |
i18n and some minor corrections
Signed-off-by: Emanoil Kotsev <[email protected]>
Diffstat (limited to 'src/tdebluezauth/application.cpp')
-rw-r--r-- | src/tdebluezauth/application.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } } |