Merge pull request #999 from openclassify/muammertop

trans to lang text
This commit is contained in:
Ozcan Durak 2021-03-19 18:51:58 +03:00 committed by GitHub
commit 2e956fb62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)