]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: mark CPU usage field names as translatable
authorJán Tomko <jtomko@redhat.com>
Mon, 24 Feb 2014 18:08:39 +0000 (19:08 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Feb 2014 07:32:11 +0000 (08:32 +0100)
My commit ac75801 removed the translation markers when
moving the field names into an array.

tools/virsh-host.c

index 502203b1709bc4672c5b4c94fbf2b09133ab0331..6a04f9d85a7c36fedc763e2f07a71cdd0893a103 100644 (file)
@@ -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