Commit caf18b2b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

try to improve the error message that is shown for missing help files.

2005-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/domain.c: try to improve the error message that is
	shown for missing help files.
parent a637cdd0
2005-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/help/domain.c: try to improve the error message that is
shown for missing help files.
2005-10-05 Sven Neumann <sven@gimp.org>
* app/dialogs/about-dialog.c: set application name to "GIMP", the
......
......@@ -171,17 +171,20 @@ domain_map (HelpDomain *domain,
if (! domain_locale_parse (domain, locale, &error))
{
const gchar *msg;
if (error->code == G_FILE_ERROR_NOENT)
msg = _("The GIMP help files are not installed.");
{
g_message ("%s\n\n%s",
_("The GIMP help files are not found."),
_("Please install the additional help package or use "
"the online user manual at http://docs.gimp.org/."));
}
else
msg = _("There is a problem with the GIMP help files.");
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
_("Please check your installation."));
{
g_message ("%s\n\n%s\n\n%s",
_("There is a problem with the GIMP help files."),
error->message,
_("Please check your installation."));
}
g_error_free (error);
......
......@@ -171,17 +171,20 @@ domain_map (HelpDomain *domain,
if (! domain_locale_parse (domain, locale, &error))
{
const gchar *msg;
if (error->code == G_FILE_ERROR_NOENT)
msg = _("The GIMP help files are not installed.");
{
g_message ("%s\n\n%s",
_("The GIMP help files are not found."),
_("Please install the additional help package or use "
"the online user manual at http://docs.gimp.org/."));
}
else
msg = _("There is a problem with the GIMP help files.");
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
_("Please check your installation."));
{
g_message ("%s\n\n%s\n\n%s",
_("There is a problem with the GIMP help files."),
error->message,
_("Please check your installation."));
}
g_error_free (error);
......
......@@ -171,17 +171,20 @@ domain_map (HelpDomain *domain,
if (! domain_locale_parse (domain, locale, &error))
{
const gchar *msg;
if (error->code == G_FILE_ERROR_NOENT)
msg = _("The GIMP help files are not installed.");
{
g_message ("%s\n\n%s",
_("The GIMP help files are not found."),
_("Please install the additional help package or use "
"the online user manual at http://docs.gimp.org/."));
}
else
msg = _("There is a problem with the GIMP help files.");
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
_("Please check your installation."));
{
g_message ("%s\n\n%s\n\n%s",
_("There is a problem with the GIMP help files."),
error->message,
_("Please check your installation."));
}
g_error_free (error);
......
......@@ -171,17 +171,20 @@ domain_map (HelpDomain *domain,
if (! domain_locale_parse (domain, locale, &error))
{
const gchar *msg;
if (error->code == G_FILE_ERROR_NOENT)
msg = _("The GIMP help files are not installed.");
{
g_message ("%s\n\n%s",
_("The GIMP help files are not found."),
_("Please install the additional help package or use "
"the online user manual at http://docs.gimp.org/."));
}
else
msg = _("There is a problem with the GIMP help files.");
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
_("Please check your installation."));
{
g_message ("%s\n\n%s\n\n%s",
_("There is a problem with the GIMP help files."),
error->message,
_("Please check your installation."));
}
g_error_free (error);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment