src: don't split wide char strings that are used with gettext.

A bug in xgettext leads to the generation of useless msgids in the po
files for these strings.
This commit is contained in:
Érico Rolim
2020-11-13 02:35:11 -03:00
committed by Fabian Homborg
parent 036ed36887
commit 21041e3cc7
4 changed files with 4 additions and 8 deletions

View File

@@ -2072,8 +2072,7 @@ static void acquire_tty_or_exit(pid_t shell_pgid) {
if (check_for_orphaned_process(loop_count, shell_pgid)) {
// We're orphaned, so we just die. Another sad statistic.
const wchar_t *fmt =
_(L"I appear to be an orphaned process, so I am quitting politely. "
L"My pid is %d.");
_(L"I appear to be an orphaned process, so I am quitting politely. My pid is %d.");
FLOGF(warning, fmt, static_cast<int>(getpid()));
exit_without_destructors(1);
}