Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konversation
Commits
ce98bdda
Commit
ce98bdda
authored
Dec 19, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/irc/channel.cpp
View file @
ce98bdda
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment