From 027fefd517b8a93c54611a6cc4c51a54fea1b9fe Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 30 Apr 2012 11:33:19 +0100 Subject: Add gettext support for OCaml tools (virt-resize, virt-sparsify, virt-sysprep). Note that this support is optional: To enable it, install the ocaml-gettext library from http://forge.ocamlcore.org/projects/ocaml-gettext . If this library is not installed, then configure detects this and inserts dummy gettext functions that do nothing. --- sysprep/sysprep_operation_net_hwaddr.ml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sysprep/sysprep_operation_net_hwaddr.ml') diff --git a/sysprep/sysprep_operation_net_hwaddr.ml b/sysprep/sysprep_operation_net_hwaddr.ml index 57ca2b98..52770174 100644 --- a/sysprep/sysprep_operation_net_hwaddr.ml +++ b/sysprep/sysprep_operation_net_hwaddr.ml @@ -18,6 +18,7 @@ open Utils open Sysprep_operation +open Sysprep_gettext.Gettext module G = Guestfs @@ -45,10 +46,10 @@ let net_hwaddr_perform g root = let net_hwaddr_op = { name = "net-hwaddr"; enabled_by_default = true; - heading = "Remove HWADDR (hard-coded MAC address) configuration"; - pod_description = Some "\ + heading = s_"Remove HWADDR (hard-coded MAC address) configuration"; + pod_description = Some (s_"\ For Fedora and Red Hat Enterprise Linux, -this is removed from C files."; +this is removed from C files."); extra_args = []; perform = net_hwaddr_perform; } -- cgit