From b0f7810072082b35ee19288916012929bdd78397 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 1 Oct 2012 10:16:03 +0200 Subject: [PATCH] UI text: fix capitalization and punctuation. Change-Id: Ib0dfa00b827830365ce4482b14da3668bcadd142 Reviewed-by: hjk --- src/libs/zeroconf/avahiLib.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libs/zeroconf/avahiLib.cpp b/src/libs/zeroconf/avahiLib.cpp index 69b9993781b..d23eccc4c4d 100644 --- a/src/libs/zeroconf/avahiLib.cpp +++ b/src/libs/zeroconf/avahiLib.cpp @@ -346,7 +346,7 @@ public: if (m_simplePollFree) m_simplePollFree(connection->simple_poll); delete connection; - setError(true, ZConfLib::tr("%1 could not create a client (probably the daemon is not running)").arg(name())); + setError(true, ZConfLib::tr("%1 cannot create a client. The daemon is probably not running.").arg(name())); return kDNSServiceErr_Unknown; } *sdRef = reinterpret_cast(connection); @@ -472,16 +472,16 @@ extern "C" void cAvahiClientReply (AvahiClient * /*s*/, AvahiClientState state, break; case (AVAHI_CLIENT_S_COLLISION): /* Server state: COLLISION */ - lib->setError(true, ZConfLib::tr("cAvahiClient, server collision")); + lib->setError(true, ZConfLib::tr("cAvahiClient, server collision.")); break; case (AVAHI_CLIENT_FAILURE): - lib->setError(true, ZConfLib::tr("cAvahiClient, some kind of error happened on the client side")); + lib->setError(true, ZConfLib::tr("cAvahiClient, an error occurred on the client side.")); break; case (AVAHI_CLIENT_CONNECTING): - lib->setError(false, ZConfLib::tr("cAvahiClient, still connecting, no server available")); + lib->setError(false, ZConfLib::tr("cAvahiClient, still connecting, no server available.")); break; default: - lib->setError(true, ZConfLib::tr("unexpected state %1 in cAvahiClientReply") + lib->setError(true, ZConfLib::tr("Unexpected state %1 in cAvahiClientReply.") .arg(state)); } } @@ -532,7 +532,7 @@ extern "C" void cAvahiBrowseReply( break; default: browser->mainConnection->lib->setError(true, ZConfLib::tr( - "unexpected state %1 in cAvahiBrowseReply") + "Unexpected state %1 in cAvahiBrowseReply.") .arg(event)); } }