Fix invalid-$DISPLAY error being non-text

Given
  nabijaczleweli@tarta:~$ DISPLAY=komputerek-x40.:0 gnucash
  Run 'g --help' to see a full list of available command line options.
  Error: could not initialise graphical user interface and option add-price-quotes was not set.
  Perhaps you need to set the $DISPLAY environment variable?nabijaczleweli@tarta:~$
we can obviously see the error output isn't a text file.
This commit is contained in:
наб 2024-04-06 12:00:43 +02:00
parent cab6173cd5
commit da659cf765
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -296,7 +296,8 @@ main(int argc, char ** argv)
<< "\n"
// Translators: Do not translate $DISPLAY! It is an environment variable for X11
<< _("Error: could not initialize graphical user interface and option add-price-quotes was not set.\n"
"Perhaps you need to set the $DISPLAY environment variable?");
"Perhaps you need to set the $DISPLAY environment variable?")
<< "\n";
return 1;
}