From 07520719f77a48237706d9a47352ad3071ef4e4c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 14 Dec 2022 21:57:14 -0500 Subject: [PATCH] Add documentation about the ACL autocomplete fields --- src/Core/ACL.php | 6 +++--- view/lang/C/messages.po | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Core/ACL.php b/src/Core/ACL.php index a2db32afc..200c8266a 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -35,7 +35,7 @@ class ACL { /** * Returns the default lock state for the given user id - * @param int $uid + * @param int $uid * @return bool "true" if the default settings are non public */ public static function getLockstateForUserId(int $uid) @@ -294,7 +294,7 @@ class ACL !empty($mailacct['pubmail']) ] ]; - + } } Hook::callAll('jot_networks', $jotnets_fields); @@ -320,7 +320,7 @@ class ACL '$public_title' => DI::l10n()->t('Public'), '$public_desc' => DI::l10n()->t('This content will be shown to all your followers and can be seen in the community pages and by anyone with its link.'), '$custom_title' => DI::l10n()->t('Limited/Private'), - '$custom_desc' => DI::l10n()->t('This content will be shown only to the people in the first box, to the exception of the people mentioned in the second box. It won\'t appear anywhere public.'), + '$custom_desc' => DI::l10n()->t('This content will be shown only to the people in the first box, to the exception of the people mentioned in the second box. It won\'t appear anywhere public.') . DI::l10n()->t('Start typing the name of a contact or a group to show a filtered list. You can also mention the special groups "Followers" and "Mutuals".'), '$allow_label' => DI::l10n()->t('Show to:'), '$deny_label' => DI::l10n()->t('Except to:'), '$emailcc' => DI::l10n()->t('CC: email addresses'), diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index 2cd8fbfd1..0b28facf4 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2022.12-rc\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-14 23:18+0100\n" +"POT-Creation-Date: 2022-12-14 21:56-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2203,6 +2203,12 @@ msgid "" "anywhere public." msgstr "" +#: src/Core/ACL.php:323 +msgid "" +"Start typing the name of a contact or a group to show a filtered list. You " +"can also mention the special groups \"Followers\" and \"Mutuals\"." +msgstr "" + #: src/Core/ACL.php:324 msgid "Show to:" msgstr ""