Skip to content

Commit

Permalink
Merge pull request #86 from marcosmarcolin/fix-lang-pt_BR
Browse files Browse the repository at this point in the history
fix: adjust the conversion to Brazilian Portuguese (pt_BR).
  • Loading branch information
Z3d0X authored Jan 18, 2024
2 parents fced7c3 + e4900c6 commit dc5a59f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ class AuthServiceProvider extends ServiceProvider
```
> If you are using [Shield](https://filamentphp.com/plugins/shield) just register the ActivityPolicy generated by it
## Translations
Publish the translations using:

```bash
php artisan vendor:publish --tag="filament-logger-translations"
```

## Activity Model resolution
The main `Activity` class being used by the Filament Resource instance will be resolved by Spatie's service provider, which loads the model defined by the configuration key found at `activitylog.activity_model` in `config/activitylog.php`.

Expand All @@ -81,7 +88,6 @@ The main `Activity` class being used by the Filament Resource instance will be r
<img alt="logger-detail-1" src="https://raw.githubusercontent.com/z3d0x/filament-logger/main/art/view-screenshot-1.png">
<img alt="logger-detail-2" src="https://raw.githubusercontent.com/z3d0x/filament-logger/main/art/view-screenshot-2.png">


## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
'resource.label.event' => 'Evento',
'resource.label.logged_at' => 'Registrado em',
'resource.label.properties' => 'Propriedades',

'resource.label.old_value' => 'Valor antigo',
'resource.label.new_value' => 'Novo valor',
];

0 comments on commit dc5a59f

Please sign in to comment.