We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d59b09c + d37d84a commit d8b422cCopy full SHA for d8b422c
lib/sections/modules.php
@@ -22,11 +22,11 @@
22
'create' => function ($create = null) use ($blueprints) {
23
return $create ?? $blueprints;
24
},
25
- 'empty' => function ($empty = 'modules.empty') {
26
- return I18n::translate($empty);
+ 'empty' => function ($empty = null) {
+ return $empty ?? I18n::translate('modules.empty');
27
28
- 'headline' => function ($headline = 'modules') {
29
- return I18n::translate($headline);
+ 'headline' => function ($headline = null) {
+ return $headline ?? I18n::translate('modules');
30
31
'info' => function(string $info = '{{ page.moduleName }}') {
32
return $info;
0 commit comments