1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

virsh: mark autostart answers for translation

This is a trivial fix for several autostart yes/no strings that
weren't correctly marked for translation.
This commit is contained in:
Justin Clift 2010-06-14 19:45:52 +10:00 committed by Eric Blake
parent cbe6ebdb53
commit 043f05fda4

View File

@ -3413,7 +3413,7 @@ cmdNetworkList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
if (virNetworkGetAutostart(network, &autostart) < 0) if (virNetworkGetAutostart(network, &autostart) < 0)
autostartStr = _("no autostart"); autostartStr = _("no autostart");
else else
autostartStr = autostart ? "yes" : "no"; autostartStr = autostart ? _("yes") : _("no");
vshPrint(ctl, "%-20s %-10s %-10s\n", vshPrint(ctl, "%-20s %-10s %-10s\n",
virNetworkGetName(network), virNetworkGetName(network),
@ -3436,7 +3436,7 @@ cmdNetworkList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
if (virNetworkGetAutostart(network, &autostart) < 0) if (virNetworkGetAutostart(network, &autostart) < 0)
autostartStr = _("no autostart"); autostartStr = _("no autostart");
else else
autostartStr = autostart ? "yes" : "no"; autostartStr = autostart ? _("yes") : _("no");
vshPrint(ctl, "%-20s %-10s %-10s\n", vshPrint(ctl, "%-20s %-10s %-10s\n",
inactiveNames[i], inactiveNames[i],
@ -4954,7 +4954,7 @@ cmdPoolList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
if (virStoragePoolGetAutostart(pool, &autostart) < 0) if (virStoragePoolGetAutostart(pool, &autostart) < 0)
autostartStr = _("no autostart"); autostartStr = _("no autostart");
else else
autostartStr = autostart ? "yes" : "no"; autostartStr = autostart ? _("yes") : _("no");
vshPrint(ctl, "%-20s %-10s %-10s\n", vshPrint(ctl, "%-20s %-10s %-10s\n",
virStoragePoolGetName(pool), virStoragePoolGetName(pool),
@ -4977,7 +4977,7 @@ cmdPoolList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
if (virStoragePoolGetAutostart(pool, &autostart) < 0) if (virStoragePoolGetAutostart(pool, &autostart) < 0)
autostartStr = _("no autostart"); autostartStr = _("no autostart");
else else
autostartStr = autostart ? "yes" : "no"; autostartStr = autostart ? _("yes") : _("no");
vshPrint(ctl, "%-20s %-10s %-10s\n", vshPrint(ctl, "%-20s %-10s %-10s\n",
inactiveNames[i], inactiveNames[i],