Fix plurals in some /znc commands (#1354)

This commit is contained in:
Alexey Sokolov
2018-03-26 08:47:27 +01:00
parent 6ca2d5caa0
commit 1665c8640a

View File

@@ -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());