Merge pull request #1853 from SevanNerse/master
prefix definition is fixed by converting the use of slug to kebab
This commit is contained in:
commit
a2fce31a1f
@ -108,7 +108,7 @@ class SearchString extends Component
|
|||||||
if (strpos($this->model, 'Modules') !== false) {
|
if (strpos($this->model, 'Modules') !== false) {
|
||||||
$module_class = explode('\\', $this->model);
|
$module_class = explode('\\', $this->model);
|
||||||
|
|
||||||
$prefix = Str::slug($module_class[1], '-') . '::';
|
$prefix = Str::kebab($module_class[1]) . '::';
|
||||||
|
|
||||||
$translation_keys[] = $prefix . 'general.';
|
$translation_keys[] = $prefix . 'general.';
|
||||||
$translation_keys[] = $prefix . 'search_string.columns.';
|
$translation_keys[] = $prefix . 'search_string.columns.';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user