From 1665c8640a0015debe845b7f82978fddbdc6e6f9 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 26 Mar 2018 08:47:27 +0100 Subject: [PATCH] Fix plurals in some /znc commands (#1354) --- src/ClientCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 5c9d6384..b41d4663 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -129,7 +129,7 @@ void CClient::UserCommand(CString& sLine) { PutStatus(t_p("There was {1} channel matching [{2}]", "There were {1} channels matching [{2}]", sChans.size())(sChans.size(), sPatterns)); - PutStatus(t_p("Attached {1} channel", "Attached {2} channels", + PutStatus(t_p("Attached {1} channel", "Attached {1} channels", uAttachedChans)(uAttachedChans)); } else if (sCommand.Equals("DETACH")) { if (!m_pNetwork) { @@ -151,7 +151,7 @@ void CClient::UserCommand(CString& sLine) { PutStatus(t_p("There was {1} channel matching [{2}]", "There were {1} channels matching [{2}]", sChans.size())(sChans.size(), sPatterns)); - PutStatus(t_p("Detached {1} channel", "Detached {2} channels", + PutStatus(t_p("Detached {1} channel", "Detached {1} channels", uDetached)(uDetached)); } else if (sCommand.Equals("VERSION")) { PutStatus(CZNC::GetTag());