UI text: fix capitalization and punctuation.

Change-Id: Ib0dfa00b827830365ce4482b14da3668bcadd142
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Leena Miettinen
2012-10-01 10:16:03 +02:00
committed by hjk
parent 6067411db4
commit b0f7810072

View File

@@ -346,7 +346,7 @@ public:
if (m_simplePollFree) if (m_simplePollFree)
m_simplePollFree(connection->simple_poll); m_simplePollFree(connection->simple_poll);
delete connection; 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; return kDNSServiceErr_Unknown;
} }
*sdRef = reinterpret_cast<ConnectionRef>(connection); *sdRef = reinterpret_cast<ConnectionRef>(connection);
@@ -472,16 +472,16 @@ extern "C" void cAvahiClientReply (AvahiClient * /*s*/, AvahiClientState state,
break; break;
case (AVAHI_CLIENT_S_COLLISION): case (AVAHI_CLIENT_S_COLLISION):
/* Server state: COLLISION */ /* Server state: COLLISION */
lib->setError(true, ZConfLib::tr("cAvahiClient, server collision")); lib->setError(true, ZConfLib::tr("cAvahiClient, server collision."));
break; break;
case (AVAHI_CLIENT_FAILURE): 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; break;
case (AVAHI_CLIENT_CONNECTING): 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; break;
default: default:
lib->setError(true, ZConfLib::tr("unexpected state %1 in cAvahiClientReply") lib->setError(true, ZConfLib::tr("Unexpected state %1 in cAvahiClientReply.")
.arg(state)); .arg(state));
} }
} }
@@ -532,7 +532,7 @@ extern "C" void cAvahiBrowseReply(
break; break;
default: default:
browser->mainConnection->lib->setError(true, ZConfLib::tr( browser->mainConnection->lib->setError(true, ZConfLib::tr(
"unexpected state %1 in cAvahiBrowseReply") "Unexpected state %1 in cAvahiBrowseReply.")
.arg(event)); .arg(event));
} }
} }