There's no point in marking the protocol name as translatable. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- tools/virsh-domain-event.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/virsh-domain-event.c b/tools/virsh-domain-event.c index 2ad4573ee9..1ed204fa9a 100644 --- a/tools/virsh-domain-event.c +++ b/tools/virsh-domain-event.c @@ -211,15 +211,19 @@ virshGraphicsPhaseToString(int phase) VIR_ENUM_DECL(virshGraphicsAddress); VIR_ENUM_IMPL(virshGraphicsAddress, VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_LAST, - N_("IPv4"), - N_("IPv6"), - N_("unix")); + "IPv4", + "IPv6", + "unix"); static const char * virshGraphicsAddressToString(int family) { const char *str = virshGraphicsAddressTypeToString(family); - return str ? _(str) : _("unknown"); + + if (str) + return str; + + return _("unknown"); } VIR_ENUM_DECL(virshDomainBlockJobStatus); -- 2.39.2