Skip to content

Commit a8c8bbe

Browse files
committed
Update readme.
1 parent bc0a9ae commit a8c8bbe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel-lang
22

3-
44 languages for Laravel 5 based on [Laravel4-lang](https://github.com/caouecs/Laravel4-lang).
3+
46 languages for Laravel 5 based on [caouecs/Laravel-lang](https://github.com/caouecs/Laravel-lang).
44

55
[中文说明](README_CN.md)
66

@@ -27,12 +27,12 @@ composer update
2727
After completion of the above, Replace the `config/app.php` content
2828

2929
```php
30-
'Illuminate\Translation\TranslationServiceProvider'
30+
Illuminate\Translation\TranslationServiceProvider::class,
3131
```
3232
with:
3333

3434
```php
35-
'Overtrue\LaravelLang\TranslationServiceProvider',
35+
Overtrue\LaravelLang\TranslationServiceProvider::class,
3636
```
3737

3838
## Configuration

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel-lang
22

3-
Laravel 5 语言包,包含 44 种语言, 基于 [Laravel4-lang](https://github.com/caouecs/Laravel4-lang).
3+
Laravel 5 语言包,包含 46 种语言, 基于 [caouecs/Laravel-lang](https://github.com/caouecs/Laravel-lang).
44

55
## 安装
66

@@ -24,13 +24,13 @@ composer update
2424
完成上面的操作后,将项目文件 `config/app.php` 中的下一行
2525

2626
```php
27-
'Illuminate\Translation\TranslationServiceProvider'
27+
Illuminate\Translation\TranslationServiceProvider::class,
2828
```
2929

3030
替换为:
3131

3232
```php
33-
'Overtrue\LaravelLang\TranslationServiceProvider',
33+
Overtrue\LaravelLang\TranslationServiceProvider::class,
3434
```
3535

3636
即可。

0 commit comments

Comments
 (0)