comparison finch/gntconv.c @ 31546:62b11ad353eb

Register both spellings for the msgcolour command, for people who spell things correctly. But I don't want an extra string to translate, so I'll leave that in C locale.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 05 May 2011 06:21:47 +0000
parents a9e077fb65e9
children 49a33bd1baf1 3828a61c44da
comparison
equal deleted inserted replaced
31544:313fcc5be568 31546:62b11ad353eb
1456 "Set the color for different classes of messages in the conversation window.<br>" 1456 "Set the color for different classes of messages in the conversation window.<br>"
1457 " &lt;class&gt;: receive, send, highlight, action, timestamp<br>" 1457 " &lt;class&gt;: receive, send, highlight, action, timestamp<br>"
1458 " &lt;foreground/background&gt;: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>" 1458 " &lt;foreground/background&gt;: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>"
1459 "EXAMPLE:<br> msgcolor send cyan default"), 1459 "EXAMPLE:<br> msgcolor send cyan default"),
1460 NULL); 1460 NULL);
1461 purple_cmd_register("msgcolour", "www", PURPLE_CMD_P_DEFAULT,
1462 PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_IM, NULL,
1463 cmd_message_color, _("msgcolor &lt;class&gt; &lt;foreground&gt; &lt;background&gt;: "
1464 "Set the color for different classes of messages in the conversation window.<br>"
1465 " &lt;class&gt;: receive, send, highlight, action, timestamp<br>"
1466 " &lt;foreground/background&gt;: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>"
1467 "EXAMPLE:<br> msgcolor send cyan default"),
1468 NULL);
1461 1469
1462 purple_signal_connect(purple_conversations_get_handle(), "buddy-typing", finch_conv_get_handle(), 1470 purple_signal_connect(purple_conversations_get_handle(), "buddy-typing", finch_conv_get_handle(),
1463 PURPLE_CALLBACK(update_buddy_typing), NULL); 1471 PURPLE_CALLBACK(update_buddy_typing), NULL);
1464 purple_signal_connect(purple_conversations_get_handle(), "buddy-typing-stopped", finch_conv_get_handle(), 1472 purple_signal_connect(purple_conversations_get_handle(), "buddy-typing-stopped", finch_conv_get_handle(),
1465 PURPLE_CALLBACK(update_buddy_typing), NULL); 1473 PURPLE_CALLBACK(update_buddy_typing), NULL);