|
2 | 2 |
|
3 | 3 | return [ |
4 | 4 | 'empty_state' => [ |
5 | | - 'heading' => 'No ' . lcfirst(__('inspirecms::inspirecms.document_type.plural')), |
6 | | - 'description' => 'Create a ' . lcfirst(__('inspirecms::inspirecms.document_type.singular')) . ' to get started.', |
| 5 | + 'heading' => 'No ' . strtolower(__('inspirecms::inspirecms.document_type.plural')), |
| 6 | + 'description' => 'Create a ' . strtolower(__('inspirecms::inspirecms.document_type.singular')) . ' to get started.', |
7 | 7 | ], |
8 | 8 | 'title' => [ |
9 | 9 | 'label' => 'Title', |
|
35 | 35 |
|
36 | 36 | 'templates' => [ |
37 | 37 | 'label' => __('inspirecms::inspirecms.template.plural'), |
38 | | - 'validation_attribute' => lcfirst(__('inspirecms::inspirecms.template.plural')), |
39 | | - 'description' => str_replace([':dt', ':t'], [lcfirst(__('inspirecms::inspirecms.document_type.singular')), lcfirst(__('inspirecms::inspirecms.template.singular'))], 'The :t to use when rendering this :dt'), |
40 | | - 'hint' => str_replace([':dt', ':t'], [lcfirst(__('inspirecms::inspirecms.document_type.singular')), lcfirst(__('inspirecms::inspirecms.template.singular'))], 'Create a :t to display this :dt'), |
| 38 | + 'validation_attribute' => strtolower(__('inspirecms::inspirecms.template.plural')), |
| 39 | + 'description' => str_replace([':dt', ':t'], [strtolower(__('inspirecms::inspirecms.document_type.singular')), strtolower(__('inspirecms::inspirecms.template.singular'))], 'The :t to use when rendering this :dt'), |
| 40 | + 'hint' => str_replace([':dt', ':t'], [strtolower(__('inspirecms::inspirecms.document_type.singular')), strtolower(__('inspirecms::inspirecms.template.singular'))], 'Create a :t to display this :dt'), |
41 | 41 | ], |
42 | 42 |
|
43 | 43 | 'field_groups' => [ |
44 | 44 | 'label' => __('inspirecms::inspirecms.field.plural'), |
45 | 45 | 'singular' => __('inspirecms::inspirecms.field.singular'), |
46 | 46 | 'plural' => __('inspirecms::inspirecms.field.plural'), |
47 | 47 | 'description' => '', |
48 | | - 'hint' => str_replace([':dt', ':fg'], [lcfirst(__('inspirecms::inspirecms.document_type.singular')), lcfirst(__('inspirecms::inspirecms.field_group.singular'))], 'Create a :fg to use with this :dt'), |
| 48 | + 'hint' => str_replace([':dt', ':fg'], [strtolower(__('inspirecms::inspirecms.document_type.singular')), strtolower(__('inspirecms::inspirecms.field_group.singular'))], 'Create a :fg to use with this :dt'), |
49 | 49 | ], |
50 | 50 |
|
51 | 51 | 'inherited' => [ |
52 | 52 | 'label' => 'Inherited from :name', |
53 | | - 'description' => str_replace([':dts', ':dt'], [lcfirst(__('inspirecms::inspirecms.document_type.plural')), lcfirst(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that this :dt inherits from.'), |
| 53 | + 'description' => str_replace([':dts', ':dt'], [strtolower(__('inspirecms::inspirecms.document_type.plural')), strtolower(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that this :dt inherits from.'), |
54 | 54 | ], |
55 | 55 | 'inheriting' => [ |
56 | 56 | 'label' => 'Inheriting to :name', |
57 | | - 'description' => str_replace([':dts', ':dt'], [lcfirst(__('inspirecms::inspirecms.document_type.plural')), lcfirst(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that inherit from this :dt'), |
| 57 | + 'description' => str_replace([':dts', ':dt'], [strtolower(__('inspirecms::inspirecms.document_type.plural')), strtolower(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that inherit from this :dt'), |
58 | 58 | ], |
59 | 59 |
|
60 | 60 | 'allowed_document_types' => [ |
61 | | - 'label' => 'Allowed ' . lcfirst(__('inspirecms::inspirecms.document_type.plural')), |
62 | | - 'description' => str_replace([':dts'], [lcfirst(__('inspirecms::inspirecms.document_type.plural'))], 'The :dts that are allowed as child items.'), |
| 61 | + 'label' => 'Allowed ' . strtolower(__('inspirecms::inspirecms.document_type.plural')), |
| 62 | + 'description' => str_replace([':dts'], [strtolower(__('inspirecms::inspirecms.document_type.plural'))], 'The :dts that are allowed as child items.'), |
63 | 63 | ], |
64 | 64 | 'allowing_document_types' => [ |
65 | | - 'label' => 'Allowing ' . lcfirst(__('inspirecms::inspirecms.document_type.plural')), |
66 | | - 'description' => str_replace([':dts', ':dt'], [lcfirst(__('inspirecms::inspirecms.document_type.plural')), lcfirst(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that allow this :dt'), |
| 65 | + 'label' => 'Allowing ' . strtolower(__('inspirecms::inspirecms.document_type.plural')), |
| 66 | + 'description' => str_replace([':dts', ':dt'], [strtolower(__('inspirecms::inspirecms.document_type.plural')), strtolower(__('inspirecms::inspirecms.document_type.singular'))], 'The :dts that allow this :dt'), |
67 | 67 | ], |
68 | 68 |
|
69 | 69 | 'categories' => [ |
|
77 | 77 | ], |
78 | 78 | 'inheritance' => [ |
79 | 79 | 'label' => 'Inheritance', |
80 | | - 'description' => 'A ' . lcfirst(__('inspirecms::inspirecms.document_type.singular')) . ' layout that can be inherited.', |
| 80 | + 'description' => 'A ' . strtolower(__('inspirecms::inspirecms.document_type.singular')) . ' layout that can be inherited.', |
81 | 81 | ], |
82 | 82 | ], |
83 | 83 |
|
|
94 | 94 | ], |
95 | 95 | 'display' => [ |
96 | 96 | 'heading' => 'Display', |
97 | | - 'description' => 'Settings that determine how this ' . lcfirst(__('inspirecms::inspirecms.document_type.singular')) . ' is displayed when creating content.', |
| 97 | + 'description' => 'Settings that determine how this ' . strtolower(__('inspirecms::inspirecms.document_type.singular')) . ' is displayed when creating content.', |
98 | 98 | ], |
99 | 99 | ], |
100 | 100 | ]; |
0 commit comments