[libvirt] [PATCH] virsh: mark CPU usage field names as translatable

Ján Tomko jtomko at redhat.com
Mon Feb 24 18:11:57 UTC 2014


My commit ac75801 removed the translation markers when
moving the field names into an array.
---
 tools/virsh-host.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index 502203b..6a04f9d 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -352,12 +352,12 @@ VIR_ENUM_IMPL(vshCPUStats, VSH_CPU_LAST,
               VIR_NODE_CPU_STATS_UTILIZATION);
 
 const char *vshCPUOutput[] = {
-    "user:",
-    "system:",
-    "idle:",
-    "iowait:",
-    "intr:",
-    "usage:"
+    N_("user:"),
+    N_("system:"),
+    N_("idle:"),
+    N_("iowait:"),
+    N_("intr:"),
+    N_("usage:")
 };
 
 static bool
-- 
1.8.3.2




More information about the libvir-list mailing list