[Github-comments] [geany] Alter spawn to return the error message only in error->message (#701)

zhekov notifications at xxxxx
Wed Oct 21 17:18:30 UTC 2015


>  		{
> -			ui_set_statusbar(TRUE, "Context action command failed: %s", error->message);
> +			ui_set_statusbar(TRUE, format, command, error->message);

As you can see, the two formats only differ by "the path setting in <Preferences | Filetype configuration>", so I could have used a common
_("Cannot execute context action command \"%s\": %s. "
"Check the path setting in %s.")
but wasn't sure it'll be good for the translations. If you say it's OK, I'll simplify the whole thing.

As of whether "we really want the literal %s", I'm not sure what you are talking about... We want the original command, without the selected text, which may be very long, and is an argument anyway.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/701/files#r42653396
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151021/e1b2a95f/attachment.html>


More information about the Github-comments mailing list