]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: silence gettext warning
authorEric Blake <eblake@redhat.com>
Wed, 13 Jun 2012 03:46:36 +0000 (21:46 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 13 Jun 2012 03:46:36 +0000 (21:46 -0600)
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 _().

tools/virsh.c

index 744b6296bc00790daeb4103287ae7db4e39e5563..90ea43d8278d1e9c8989e9398ea082d3749980b7 100644 (file)
@@ -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;