1173 |
gui_printf (NULL, _("Syntax: ")); |
gui_printf (NULL, _("Syntax: ")); |
1174 |
gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s", |
gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s", |
1175 |
weechat_commands[i].command_name); |
weechat_commands[i].command_name); |
1176 |
gui_printf (NULL, " %s\n", |
if (weechat_commands[i].arguments && |
1177 |
(weechat_commands[i].arguments) ? |
weechat_commands[i].arguments[0]) |
1178 |
_(weechat_commands[i].arguments) : ""); |
gui_printf (NULL, " %s\n", |
1179 |
if (weechat_commands[i].arguments_description) |
_(weechat_commands[i].arguments)); |
1180 |
|
else |
1181 |
|
gui_printf (NULL, "\n"); |
1182 |
|
if (weechat_commands[i].arguments_description && |
1183 |
|
weechat_commands[i].arguments_description[0]) |
1184 |
gui_printf (NULL, "%s\n", |
gui_printf (NULL, "%s\n", |
1185 |
_(weechat_commands[i].arguments_description)); |
_(weechat_commands[i].arguments_description)); |
1186 |
return 0; |
return 0; |
1200 |
gui_printf (NULL, _("Syntax: ")); |
gui_printf (NULL, _("Syntax: ")); |
1201 |
gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s", |
gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s", |
1202 |
irc_commands[i].command_name); |
irc_commands[i].command_name); |
1203 |
gui_printf (NULL, "%s\n", |
if (irc_commands[i].arguments && |
1204 |
(irc_commands[i].arguments) ? |
irc_commands[i].arguments[0]) |
1205 |
_(irc_commands[i].arguments) : ""); |
gui_printf (NULL, " %s\n", |
1206 |
if (irc_commands[i].arguments_description) |
_(irc_commands[i].arguments)); |
1207 |
|
else |
1208 |
|
gui_printf (NULL, "\n"); |
1209 |
|
if (irc_commands[i].arguments_description && |
1210 |
|
irc_commands[i].arguments_description[0]) |
1211 |
gui_printf (NULL, "%s\n", |
gui_printf (NULL, "%s\n", |
1212 |
_(irc_commands[i].arguments_description)); |
_(irc_commands[i].arguments_description)); |
1213 |
return 0; |
return 0; |