mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
trans to lang text
This commit is contained in:
parent
745ceb28a5
commit
7cfdf064f1
@ -96,7 +96,7 @@ class AdvCriteria extends EntryCriteria
|
|||||||
|
|
||||||
public function getCurrentLocale()
|
public function getCurrentLocale()
|
||||||
{
|
{
|
||||||
return locale_get_display_name(config('app.locale'));
|
return trans('streams::locale.' . config('app.locale') . '.name');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isEnabled($slug)
|
public function isEnabled($slug)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user