Commit ce98bdda authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix plural arg string->int for log msg "[...] channel limit to %1 nicks."

parent 68d4efb0
Pipeline #111946 passed with stage
in 1 minute and 28 seconds
......@@ -1736,8 +1736,8 @@ void Channel::updateMode(const QString& sourceNick, char mode, bool plus, const
case 'l':
if (plus)
{
if (fromMe) message = i18np("You set the channel limit to 1 nick.", "You set the channel limit to %1 nicks.", parameter);
else message = i18np("%2 sets the channel limit to 1 nick.", "%2 sets the channel limit to %1 nicks.", parameter, sourceNick);
if (fromMe) message = i18np("You set the channel limit to 1 nick.", "You set the channel limit to %1 nicks.", parameter.toInt());
else message = i18np("%2 sets the channel limit to 1 nick.", "%2 sets the channel limit to %1 nicks.", parameter.toInt(), sourceNick);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment