Skip to content

Commit

Permalink
Merge branch 'master' of github.com:chinleung/laravel-locales
Browse files Browse the repository at this point in the history
  • Loading branch information
chinleung committed Aug 5, 2019
2 parents b33eff8 + 8406df4 commit e576d3a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

All notable changes to `laravel-locales` will be documented in this file.

## 1.0.1 - 2019-08-01
## [v1.0.3 - 2019-08-05](https://github.com/chinleung/laravel-locales/compare/v1.0.2...v1.0.3)

- Changed the config file from `laravel-locales.php` to `locales.php`
- Fixed the publish config command in the `README.md`

## [v1.0.2 - 2019-08-01](https://github.com/chinleung/laravel-locales/compare/v1.0.1...v1.0.2)

- Fixed the namespace of classes.

## [v1.0.1 - 2019-08-01](https://github.com/chinleung/laravel-locales/compare/v1.0.0...v1.0.1)

- Changed the default supported locales to `['en']` only
- Added [locale](https://github.com/chinleung/laravel-locales#locale--string) helper

## 1.0.0 - 2019-07-29
## [v1.0.0 - 2019-07-29]

- Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ locale(); // 'fr'
``` php
locales(); // ['en']

config(['laravel-locales.supported' => ['en', 'fr', 'zh']]);
config(['locales.supported' => ['en', 'fr', 'zh']]);
locales(); // ['en', 'fr', 'zh']

config('app.locales' => ['en', 'zh']);
Expand Down

0 comments on commit e576d3a

Please sign in to comment.