summaryrefslogtreecommitdiff
path: root/xhost.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-03 10:10:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-03 10:10:05 -0800
commit728ba52d5dc966e423d9416647c2e903c95d2217 (patch)
tree4886d8d86d2978dfc1740f9b45d81f1d44c4bf20 /xhost.c
parent167ad7fa3a339da96798da49d05c3125045a87c2 (diff)
Simplify i18n of 'unable to get ... address for ...' error message
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xhost.c')
-rw-r--r--xhost.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xhost.c b/xhost.c
index 72d86be..1c855ee 100644
--- a/xhost.c
+++ b/xhost.c
@@ -632,11 +632,8 @@ change_host(Display *dpy, char *name, Bool add)
familyMsg = "inet ";
}
- /* L10N_Comments - Parts composed to make full error string
- 'unable to get' ['inet'|'inetv6'|''] 'address for' <address> */
- fprintf (stderr, "%s: %s %s%s \"%s\"\n", ProgramName,
- gettext("unable to get"), familyMsg, gettext("address for"),
- name);
+ fprintf(stderr, gettext("%s: unable to get %saddress for \"%s\"\n"),
+ ProgramName, familyMsg, name);
}
freeaddrinfo(addresses);
return 1;