1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 03:34:33 +02:00

Fix issue processwire/processwire-issues#682 fix typo about what tab to change the unpublished setting

This commit is contained in:
Ryan Cramer
2018-09-13 08:34:27 -04:00
parent 844946b706
commit efb7a8ace2

View File

@@ -790,7 +790,7 @@ class InputfieldPage extends Inputfield implements ConfigurableModule {
// disallow unpublished
$warning = sprintf($this->_('Unpublished page %1$s is not allowed in field "%2$s"'), $page->path, $this->label);
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);
continue;