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.
This commit is contained in:
Enrico Tröger 2016-08-07 16:37:28 +02:00
parent 5d8e291c6f
commit 3f14086106

View File

@ -615,8 +615,9 @@ static gchar *run_command(const gchar *command, const gchar *file_name,
} }
else else
{ {
g_warning(_("Cannot execute command \"%s\" from the template: %s. " g_warning(_("Cannot execute template command \"%s\". "
"Check the path in the template."), command, error->message); "Hint: incorrect paths in the command are a common cause of errors. "
"Error: %s."), command, error->message);
g_error_free(error); g_error_free(error);
} }