Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seancheung committed Mar 22, 2024
1 parent 59c0871 commit 01ea021
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Example language config

'restored' => ':model:labelを復元',

//you may added your own model name language line here
//you may add your own model name language line here
'models' => [
'project' => '项目',
'component_template' => '组件模板',
Expand Down Expand Up @@ -270,16 +270,17 @@ You may set whitelist and blacklist in config file. Please follow the descriptio

/*
|--------------------------------------------------------------
| User blacklist
| User type blacklist
|--------------------------------------------------------------
|
| Operations performed by users in this array will NOT be recorded.
| Please add the whole class names. Example: \App\User:class
| Operations performed by user types in this array will NOT be recorded.
| Please add the whole class names. Example: \App\Admin:class
| Use 'nobody' to bypass unauthenticated operations
|
*/
'user_blacklist' => [

// \App\Admin:class,
// 'nobody'
],
/*
|--------------------------------------------------------------
Expand All @@ -290,7 +291,7 @@ You may set whitelist and blacklist in config file. Please follow the descriptio
|
*/
'env_blacklist' => [

// 'test'
],
```

Expand All @@ -303,7 +304,7 @@ To fix this, you'll need to enable custom auth guards scanning in config file:
```php
/*
|--------------------------------------------------------------
| Enable auth guards scan
| Enable auth guards scanning
|--------------------------------------------------------------
|
| You only need to enable this if your users are using non-default auth guards.
Expand Down
13 changes: 7 additions & 6 deletions src/config/history.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@

/*
|--------------------------------------------------------------
| User blacklist
| User type blacklist
|--------------------------------------------------------------
|
| Operations performed by users in this array will NOT be recorded.
| Please add the whole class names. Example: \App\User:class
| Operations performed by user types in this array will NOT be recorded.
| Please add the whole class names. Example: \App\Admin:class
| Use 'nobody' to bypass unauthenticated operations
|
*/
'user_blacklist' => [

// \App\Admin:class,
// 'nobody'
],

/*
Expand Down Expand Up @@ -91,12 +92,12 @@
|
*/
'env_blacklist' => [

// 'test'
],

/*
|--------------------------------------------------------------
| Enable auth guards scan
| Enable auth guards scanning
|--------------------------------------------------------------
|
| You only need to enable this if your users are using non-default auth guards.
Expand Down
4 changes: 2 additions & 2 deletions src/lang/en/history.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

'restored' => 'Restored :model :label',

//you may added your own model name language line here
//you may add your own model name language line here
'models' => [

// 'model_name_in_snake_case' => 'translation',
]
];
4 changes: 2 additions & 2 deletions src/lang/zh-CN/history.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

'restored' => '恢复:model :label',

//you may added your own model name language line here
//you may add your own model name language line here
'models' => [

// 'model_name_in_snake_case' => '翻译名称',
]
];

0 comments on commit 01ea021

Please sign in to comment.