-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: - Renamed class properties `$defaultLocale` and `$currentLocale` to streamline use of "locale" vs "language" - Added private `setDefaultLocale()` and public `defaultLocale()` methods - Changed `hasLocale()` to use `isset()` instead of `in_array()` - Changed `setLocales()` to build the `$languages` class property - Changed container entries 'locales/available-languages' and 'locales/languages' to fetch values from LocalesManager - Changed 'locales/browser-language' to filter inactive locales from 'locales/config'
- Loading branch information
Showing
3 changed files
with
87 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters