Commit 237fd0ea authored by Vanadiae's avatar Vanadiae Committed by Christian Hergert
Browse files

beautifier: Expand error message when beautifier isn't found

parent ad457717
......@@ -53,6 +53,9 @@ process_launch_async_cb (GObject *object,
if (!gb_beautifier_process_launch_finish (self, result, &error))
{
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
g_prefix_error (&error, _("beautifier program missing, you must install it: "));
/* translators: %s is replaced with the error message */
ide_object_warning (self, _("Beautifier plugin: %s"), error->message);
}
......
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