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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]