Mercurial > pidgin
changeset 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 | 313fcc5be568 |
children | 3007ca8322ef |
files | finch/gntconv.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntconv.c Thu May 05 03:07:35 2011 +0000 +++ b/finch/gntconv.c Thu May 05 06:21:47 2011 +0000 @@ -1458,6 +1458,14 @@ " <foreground/background>: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>" "EXAMPLE:<br> msgcolor send cyan default"), NULL); + purple_cmd_register("msgcolour", "www", PURPLE_CMD_P_DEFAULT, + PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_IM, NULL, + cmd_message_color, _("msgcolor <class> <foreground> <background>: " + "Set the color for different classes of messages in the conversation window.<br>" + " <class>: receive, send, highlight, action, timestamp<br>" + " <foreground/background>: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>" + "EXAMPLE:<br> msgcolor send cyan default"), + NULL); purple_signal_connect(purple_conversations_get_handle(), "buddy-typing", finch_conv_get_handle(), PURPLE_CALLBACK(update_buddy_typing), NULL);