[geany/geany] 2a2ae7: Merge pull request #1166 from eht16/fix_template_error_message

Enrico Tröger git-noreply at xxxxx
Sun Sep 11 09:12:18 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 11 Sep 2016 09:12:18 UTC
Commit:      2a2ae728341d12b7cea29b671beb08e441f62d95
             https://github.com/geany/geany/commit/2a2ae728341d12b7cea29b671beb08e441f62d95

Log Message:
-----------
Merge pull request #1166 from eht16/fix_template_error_message

Improve template command error message


Modified Paths:
--------------
    src/templates.c

Modified: src/templates.c
5 lines changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -615,8 +615,9 @@ static gchar *run_command(const gchar *command, const gchar *file_name,
 	}
 	else
 	{
-		g_warning(_("Cannot execute command \"%s\" from the template: %s. "
-			"Check the path in the template."), command, error->message);
+		g_warning(_("Cannot execute template command \"%s\". "
+			"Hint: incorrect paths in the command are a common cause of errors. "
+			"Error: %s."), command, error->message);
 		g_error_free(error);
 	}
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list