mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 12:10:45 +02:00
Fix issue processwire/processwire-issues#682 fix typo about what tab to change the unpublished setting
This commit is contained in:
@@ -790,7 +790,7 @@ class InputfieldPage extends Inputfield implements ConfigurableModule {
|
|||||||
// disallow unpublished
|
// disallow unpublished
|
||||||
$warning = sprintf($this->_('Unpublished page %1$s is not allowed in field "%2$s"'), $page->path, $this->label);
|
$warning = sprintf($this->_('Unpublished page %1$s is not allowed in field "%2$s"'), $page->path, $this->label);
|
||||||
if($this->wire('user')->isSuperuser()) {
|
if($this->wire('user')->isSuperuser()) {
|
||||||
$warning .= ' ' . sprintf($this->_('To allow unpublished pages, edit the "%s" field and see the setting on the "Advanced" tab.'), $this->name);
|
$warning .= ' ' . sprintf($this->_('To allow unpublished pages, edit the “%s” field and see the setting on the “Details” tab.'), $this->name);
|
||||||
}
|
}
|
||||||
$this->warning($warning);
|
$this->warning($warning);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user