[NOTICE][UI] Fix bug: Option to message "Everyone at site" when using private instance
This commit is contained in:
parent
5adb971d9a
commit
5e14f18c83
|
@ -119,7 +119,7 @@ class ToSelector extends Widget
|
|||
// Reverse so we can add entries at the end (can't unshift with a key)
|
||||
$choices = array_reverse($choices);
|
||||
|
||||
if (common_config('notice', 'allowprivate')) {
|
||||
if (common_config('site', 'private')) {
|
||||
// TRANS: Option in drop-down of potential addressees.
|
||||
// TRANS: %s is a StatusNet sitename.
|
||||
$choices['public:site'] = sprintf(_('Everyone at %s'), common_config('site', 'name'));
|
||||
|
|
Loading…
Reference in New Issue
Block a user