mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
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 _().
This commit is contained in:
parent
f5d61d397e
commit
78d078c824
@ -690,10 +690,10 @@ vshAskReedit(vshControl *ctl, const char *msg)
|
|||||||
c = c_tolower(getchar());
|
c = c_tolower(getchar());
|
||||||
|
|
||||||
if (c == '?') {
|
if (c == '?') {
|
||||||
vshPrint(ctl, "\r\n%s", _("y - yes, start editor again\r\n"
|
vshPrint(ctl, "\r\n%s", _("y - yes, start editor again\n"
|
||||||
"n - no, throw away my changes\r\n"
|
"n - no, throw away my changes\n"
|
||||||
"f - force, try to redefine again\r\n"
|
"f - force, try to redefine again\n"
|
||||||
"? - print this help\r\n"));
|
"? - print this help\n"));
|
||||||
continue;
|
continue;
|
||||||
} else if (c == 'y' || c == 'n' || c == 'f') {
|
} else if (c == 'y' || c == 'n' || c == 'f') {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user