mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #999 from openclassify/muammertop
trans to lang text
This commit is contained in:
commit
2e956fb62e
@ -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