src/Ui/ControlPanel/Component/Section/Guesser/TitleGuesser.php 1 location
|
@@ 92-94 (lines=3) @@
|
89 |
|
$section['title'] = $title; |
90 |
|
} |
91 |
|
|
92 |
|
if (!isset($section['title']) && $this->config->get('streams::locales.lazy')) { |
93 |
|
$section['title'] = $this->string->humanize($section['slug']); |
94 |
|
} |
95 |
|
|
96 |
|
if (!isset($section['title'])) { |
97 |
|
$section['title'] = $title; |
src/Ui/Form/Component/Field/Guesser/LabelsGuesser.php 1 location
|
@@ 188-190 (lines=3) @@
|
185 |
|
* we're not debugging then humanize the slug |
186 |
|
* in leu of displaying an untranslated key. |
187 |
|
*/ |
188 |
|
if (!isset($field['label']) && $this->config->get('streams::locales.lazy')) { |
189 |
|
$field['label'] = $this->string->humanize($field['field']); |
190 |
|
} |
191 |
|
} |
192 |
|
|
193 |
|
$builder->setFields($fields); |
src/Ui/Table/Component/Header/Guesser/HeadingsGuesser.php 1 location
|
@@ 183-185 (lines=3) @@
|
180 |
|
* the heading matches the value (default) |
181 |
|
* then humanize the heading value. |
182 |
|
*/ |
183 |
|
if (!isset($column['heading']) && $this->config->get('streams::locales.lazy')) { |
184 |
|
$column['heading'] = $this->string->humanize($column['field']); |
185 |
|
} |
186 |
|
|
187 |
|
/** |
188 |
|
* If we have a translatable heading and |