From 3f140861061ad0367f004a06caf391f1b9f94507 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 7 Aug 2016 16:37:28 +0200 Subject: [PATCH] Improve template command error message The previous string was a bit confusing what the placeholders could mean. There was an error in the German translation where the second placeholder was interpreted as template name instead of the error message. This change should make it more clear and also put the error message to the end of the string. --- src/templates.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates.c b/src/templates.c index ca942af37..5fdbf31ce 100644 --- a/src/templates.c +++ b/src/templates.c @@ -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); } -- 2.11.4.GIT