Skip to content

Commit 9cdc21b

Browse files
Fix translator notes in comments
The translator comments detailing what a %s inclusion refers to were accidentally including too many address types. In practice this is not a problem since it's not a translated string, but to minimize any risk of confusion let's fix them anwyays. Even though this exists in backbranches there is little use for backpatch as the translation work has already happened there, so let's avoid the churn. Author: Japin Li <japinli@hotmail.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/ME0P300MB04458DE627480614ABE639D2B6FB2@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
1 parent c407d54 commit 9cdc21b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/pqcomm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ ListenServerPort(int family, const char *hostName, unsigned short portNumber,
571571
{
572572
ereport(LOG,
573573
(errcode_for_socket_access(),
574-
/* translator: third %s is IPv4, IPv6, or Unix */
574+
/* translator: third %s is IPv4 or IPv6 */
575575
errmsg("%s(%s) failed for %s address \"%s\": %m",
576576
"setsockopt", "SO_REUSEADDR",
577577
familyDesc, addrDesc)));
@@ -589,7 +589,7 @@ ListenServerPort(int family, const char *hostName, unsigned short portNumber,
589589
{
590590
ereport(LOG,
591591
(errcode_for_socket_access(),
592-
/* translator: third %s is IPv4, IPv6, or Unix */
592+
/* translator: third %s is IPv6 */
593593
errmsg("%s(%s) failed for %s address \"%s\": %m",
594594
"setsockopt", "IPV6_V6ONLY",
595595
familyDesc, addrDesc)));

0 commit comments

Comments
 (0)