mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -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()
|
||||
{
|
||||
return locale_get_display_name(config('app.locale'));
|
||||
return trans('streams::locale.' . config('app.locale') . '.name');
|
||||
}
|
||||
|
||||
public function isEnabled($slug)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user