Merge pull request #1853 from SevanNerse/master

prefix definition is fixed by converting the use of slug to kebab
This commit is contained in:
Cüneyt Şentürk 2021-02-12 16:20:01 +03:00 committed by GitHub
commit a2fce31a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ class SearchString extends Component
if (strpos($this->model, 'Modules') !== false) {
$module_class = explode('\\', $this->model);
$prefix = Str::slug($module_class[1], '-') . '::';
$prefix = Str::kebab($module_class[1]) . '::';
$translation_keys[] = $prefix . 'general.';
$translation_keys[] = $prefix . 'search_string.columns.';