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