| 481 g_string_append_printf(s, "%s", (char *)l->data); |
481 g_string_append_printf(s, "%s", (char *)l->data); |
| 482 } else { |
482 } else { |
| 483 g_string_append(s, _("No such command (in this context).")); |
483 g_string_append(s, _("No such command (in this context).")); |
| 484 } |
484 } |
| 485 } else { |
485 } else { |
| 486 s = g_string_new(_("Use \"/help <command>\" for help on a specific command.<br/>" |
486 s = g_string_new(_("Use \"/help <command>\" for help with a " |
| 487 "The following commands are available in this context:<br/>")); |
487 "specific command.<br/>The following commands are available " |
| |
488 "in this context:<br/>")); |
| 488 |
489 |
| 489 text = purple_cmd_list(conv); |
490 text = purple_cmd_list(conv); |
| 490 for (l = text; l; l = l->next) |
491 for (l = text; l; l = l->next) |
| 491 if (l->next) |
492 if (l->next) |
| 492 g_string_append_printf(s, "%s, ", (char *)l->data); |
493 g_string_append_printf(s, "%s, ", (char *)l->data); |