提交 78d078c8 编写于 作者: E Eric Blake

build: silence gettext warning

Otherwise, 'make dist' gives multiple warnings like:

libvirt.pot:20814: warning: internationalized messages should not contain the `\r' escape sequence

* tools/virsh.c (vshAskReedit): Avoid \r in _().
上级 f5d61d39
......@@ -690,10 +690,10 @@ vshAskReedit(vshControl *ctl, const char *msg)
c = c_tolower(getchar());
if (c == '?') {
vshPrint(ctl, "\r\n%s", _("y - yes, start editor again\r\n"
"n - no, throw away my changes\r\n"
"f - force, try to redefine again\r\n"
"? - print this help\r\n"));
vshPrint(ctl, "\r\n%s", _("y - yes, start editor again\n"
"n - no, throw away my changes\n"
"f - force, try to redefine again\n"
"? - print this help\n"));
continue;
} else if (c == 'y' || c == 'n' || c == 'f') {
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册