# HG changeset patch # User Mark Doliner # Date 1232925784 0 # Node ID 97ae9f8b63ab01039798bcb6d32f5352c5ec2e50 # Parent 5206fc64f226defdcf712d4c45187e17814f9aea Use the shortcut in the error message to give people more context diff -r 5206fc64f226 -r 97ae9f8b63ab pidgin/gtksmiley.c --- a/pidgin/gtksmiley.c Sun Jan 25 23:14:52 2009 +0000 +++ b/pidgin/gtksmiley.c Sun Jan 25 23:23:04 2009 +0000 @@ -233,9 +233,12 @@ emoticon = purple_smileys_find_by_shortcut(entry); if (emoticon && emoticon != s->smiley) { + gchar *msg; + msg = g_strdup_printf(_("A custom smiley for '%s' already exists. " + "Please use a different shortcut."), entry); purple_notify_error(s->parent, _("Custom Smiley"), - _("Duplicate Shortcut"), - _("A custom smiley for the selected shortcut already exists. Please specify a different shortcut.")); + _("Duplicate Shortcut"), msg); + g_free(msg); return; }