diff src/gtkconv.c @ 9247:933c7418fd03

[gaim-migrate @ 10046] I went and made up a format for the help strings for commands. I'm not married to this format if someone has a better suggestion. I'll add help strings for IRC's commands (and give rid of its current irc specific /help command, since there's no need for that anymore) after someone suggets a better format, or no one complains about this one. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 09 Jun 2004 06:09:08 +0000
parents 99abaef7ed34
children 947876140943
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Jun 09 05:32:17 2004 +0000
+++ b/src/gtkconv.c	Wed Jun 09 06:09:08 2004 +0000
@@ -419,9 +419,9 @@
 	if (help) {
 		for (l = help; l; l = l->next)
 			if (l->next)
-				g_string_append_printf(s, "%s\n", (char *)l->data);
+				g_string_append_printf(s, "/%s\n", (char *)l->data);
 			else
-				g_string_append_printf(s, "%s", (char *)l->data);
+				g_string_append_printf(s, "/%s", (char *)l->data);
 	} else {
 		g_string_append(s, _("No such command (in this context)."));
 	}
@@ -6075,18 +6075,18 @@
 	 **********************************************************************/
 	gaim_cmd_register("me", "S", GAIM_CMD_P_DEFAULT,
 	                  GAIM_CMD_FLAG_CHAT | GAIM_CMD_FLAG_IM, NULL,
-	                  me_command_cb, _("Send an IRC style action to a buddy or chat."));
+	                  me_command_cb, _("me &lt;action&gt;:  Send an IRC style action to a buddy or chat."));
 	gaim_cmd_register("debug", "w", GAIM_CMD_P_DEFAULT,
 	                  GAIM_CMD_FLAG_CHAT | GAIM_CMD_FLAG_IM, NULL,
-	                  debug_command_cb, _("Send various debug information to the current conversation."));
+	                  debug_command_cb, _("debug &lt;option&gt;:  Send various debug information to the current conversation."));
 
 	gaim_cmd_register("help", "", GAIM_CMD_P_DEFAULT,
 	                  GAIM_CMD_FLAG_CHAT | GAIM_CMD_FLAG_IM, NULL,
-	                  help_command_cb, _("/help:  List available commands."));
+	                  help_command_cb, _("help:  List available commands."));
 
 	gaim_cmd_register("help", "w", GAIM_CMD_P_DEFAULT,
 	                  GAIM_CMD_FLAG_CHAT | GAIM_CMD_FLAG_IM, NULL,
-	                  help_arg_command_cb, _("/help &lt;command&gt;:  Help on a specific command."));
+	                  help_arg_command_cb, _("help &lt;command&gt;:  Help on a specific command."));
 }
 
 void