gimp/gimp-2.0.1-gimphelpmissing.patch

28 lines
995 B
Diff
Raw Normal View History

--- gimp-2.0.1/plug-ins/help/domain.c.gimphelpmissing 2004-03-18 13:18:12.000000000 +0100
+++ gimp-2.0.1/plug-ins/help/domain.c 2004-05-26 16:34:42.316069179 +0200
@@ -155,17 +155,20 @@
if (! domain_locale_parse (domain, locale, &error))
{
- const gchar *msg;
+ const gchar *msg, *msg2;
- if (error->code == G_FILE_ERROR_NOENT)
+ if (error->code == G_FILE_ERROR_NOENT) {
msg = _("The GIMP help files are not installed.");
- else
+ msg2 = _("Please install the gimp-help package to access GIMP help.");
+ } else {
msg = _("There is a problem with the GIMP help files.");
+ msg2 = _("Please check your installation.");
+ }
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
- _("Please check your installation."));
+ msg2);
g_error_free (error);
}