[RFC PATCH 3/8] virshGraphicsAddressToString: Remove pointless translation
Ján Tomko
jtomko at redhat.com
Thu Apr 13 09:23:18 UTC 2023
On a Thursday in 2023, Peter Krempa wrote:
>There's no point in marking the protocol name as translatable.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> 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");
>
"unix" is actually translated in our Korean translation.
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230413/89502da8/attachment.sig>
More information about the libvir-list
mailing list