# HG changeset patch # User unc0rr # Date 1252429123 0 # Node ID b756432fd4221d75b2d41ec26c809d07b7398308 # Parent 5c0cada78ea6f242955bc72c74058b6da2ed3290 Fix inconsistency in join/part messages diff -r 5c0cada78ea6 -r b756432fd422 QTfrontend/newnetclient.cpp --- a/QTfrontend/newnetclient.cpp Tue Sep 08 16:57:42 2009 +0000 +++ b/QTfrontend/newnetclient.cpp Tue Sep 08 16:58:43 2009 +0000 @@ -375,7 +375,7 @@ emit configAsked(); } emit nickAdded(lst[i]); - emit chatStringFromNet(QString(tr("[%1 has joined the room]")).arg(lst[i])); + emit chatStringFromNet(QString(tr("[ %1 has joined the room ]")).arg(lst[i])); } return; } @@ -397,7 +397,7 @@ } emit nickAddedLobby(lst[i]); - emit chatStringLobby(QString(tr("[%1 has joined]")).arg(lst[i])); + emit chatStringLobby(QString(tr("[ %1 has joined ]")).arg(lst[i])); } return; } @@ -410,9 +410,9 @@ } emit nickRemoved(lst[1]); if (lst.size() < 3) - emit chatStringFromNet(QString(tr("[%1 has left]")).arg(lst[1])); + emit chatStringFromNet(QString(tr("[ %1 has left ]")).arg(lst[1])); else - emit chatStringFromNet(QString(tr("[ %1 has left (%2)]")).arg(lst[1], lst[2])); + emit chatStringFromNet(QString(tr("[ %1 has left (%2) ]")).arg(lst[1], lst[2])); return; } @@ -434,9 +434,9 @@ } emit nickRemovedLobby(lst[1]); if (lst.size() < 3) - emit chatStringLobby(QString(tr("[%1 has left]")).arg(lst[1])); + emit chatStringLobby(QString(tr("[ %1 has left ]")).arg(lst[1])); else - emit chatStringLobby(QString(tr("[ %1 has left (%2)]")).arg(lst[1], lst[2])); + emit chatStringLobby(QString(tr("[ %1 has left (%2) ]")).arg(lst[1], lst[2])); return; }