1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fix plural form in IRC message with list of nicks on channel (bug #27436)

This commit is contained in:
Sebastien Helleu
2009-09-15 16:36:24 +02:00
parent 602c9681d0
commit c2300c4095
9 changed files with 258 additions and 150 deletions
+5 -5
View File
@@ -3195,24 +3195,24 @@ irc_protocol_cmd_366 (struct t_irc_server *server, const char *command,
IRC_COLOR_CHAT_CHANNEL,
num_nicks,
IRC_COLOR_CHAT,
(num_nicks > 1) ? _("nicks") : _("nick"),
NG_("nick", "nicks", num_nicks),
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_CHANNEL,
num_op,
IRC_COLOR_CHAT,
(num_op > 1) ? _("ops") : _("op"),
NG_("op", "ops", num_op),
IRC_COLOR_CHAT_CHANNEL,
num_halfop,
IRC_COLOR_CHAT,
(num_halfop > 1) ? _("halfops") : _("halfop"),
NG_("halfop", "halfops", num_halfop),
IRC_COLOR_CHAT_CHANNEL,
num_voice,
IRC_COLOR_CHAT,
(num_voice > 1) ? _("voices") : _("voice"),
NG_("voice", "voices", num_voice),
IRC_COLOR_CHAT_CHANNEL,
num_normal,
IRC_COLOR_CHAT,
_("normal"),
NG_("normal", "normals", num_normal),
IRC_COLOR_CHAT_DELIMITERS);
irc_command_mode_server (server, ptr_channel, NULL);