mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 16:51:16 -03:00
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:
committed by
Fabian Homborg
parent
036ed36887
commit
21041e3cc7
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user