Mercurial > pidgin
changeset 12705:31b860fcf1aa
[gaim-migrate @ 15048]
Let's display a helpful suggestion when a plugin can't be loaded.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 03 Jan 2006 21:23:11 +0000 |
parents | 69713c02a702 |
children | d7fa486b06d3 |
files | src/gtkplugin.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkplugin.c Tue Jan 03 20:30:22 2006 +0000 +++ b/src/gtkplugin.c Tue Jan 03 21:23:11 2006 +0000 @@ -287,8 +287,8 @@ buf = g_strdup_printf( _("%s%s" "<span weight=\"bold\">Written by:</span>\t%s\n" - "<span weight=\"bold\">Web site:</span>\t\t%s\n" - "<span weight=\"bold\">File name:</span>\t%s"), + "<span weight=\"bold\">Website:</span>\t\t%s\n" + "<span weight=\"bold\">Filename:</span>\t\t%s"), pdesc ? pdesc : "", pdesc ? "\n\n" : "", pauth ? pauth : "", pweb ? pweb : "", plug->path); @@ -296,7 +296,10 @@ { char *tmp = g_strdup_printf( _("%s\n" - "<span foreground=\"#ff0000\" weight=\"bold\">Error: %s</span>"), + "<span foreground=\"#ff0000\" weight=\"bold\">" + "Error: %s\n" + "Check the plugin website for an update." + "</span>"), buf, plug->error); g_free(buf); buf = tmp;