From e179ac151b7fb3d4b1c95d59581ed2ca2cd95884 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sun, 6 Feb 2022 22:43:59 +0000 Subject: [PATCH] Improve /cs info "contacts" output For the 'Contacts' line items in /cs info output: Use "Group contacts" terminology as common used throughout and historically in the project in /cs info output, retaining the public / private listing type. Improve consistency, using "public" and "private" terms, over the current "public" and "unlisted" terms in the output. This change is consistent with public/private term use elsewhere, such as /msg projectserv info output. Discussed with: jess --- projectns/hooks.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projectns/hooks.c b/projectns/hooks.c index 6cdc9c4..28a0ede 100644 --- a/projectns/hooks.c +++ b/projectns/hooks.c @@ -152,7 +152,7 @@ static void chaninfo_hook(hook_channel_req_t *hdata) if (strlen(buf) > 80) { - command_success_nodata(hdata->si, _("Public contacts: %s"), buf); + command_success_nodata(hdata->si, _("Group contacts (public): %s"), buf); buf[0] = '\0'; } if (buf[0]) @@ -164,7 +164,7 @@ static void chaninfo_hook(hook_channel_req_t *hdata) } if (buf[0]) - command_success_nodata(hdata->si, _("Public contacts: %s"), buf); + command_success_nodata(hdata->si, _("Group contacts (public): %s"), buf); if (priv) { @@ -177,7 +177,7 @@ static void chaninfo_hook(hook_channel_req_t *hdata) if (strlen(buf) > 80) { - command_success_nodata(hdata->si, _("Unlisted contacts: %s"), buf); + command_success_nodata(hdata->si, _("Group contacts (private): %s"), buf); buf[0] = '\0'; } if (buf[0]) @@ -189,7 +189,7 @@ static void chaninfo_hook(hook_channel_req_t *hdata) } if (buf[0]) - command_success_nodata(hdata->si, _("Unlisted contacts: %s"), buf); + command_success_nodata(hdata->si, _("Group contacts (private): %s"), buf); } }