prefix definition is fixed by converting the use of slug to kebab

This commit is contained in:
Sevan Nerse 2021-02-12 16:10:03 +03:00
parent ed9c72c0c6
commit baed35a4fd

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.';