Skip to content

Commit

Permalink
- chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kodeart committed Mar 5, 2022
1 parent 6b5bbb1 commit 26abb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Usage
-----

```php
__(string $message, array $arguments => [], string $locale = null);
__(string $message, array $arguments => [], string $locale = '');
```

Configuration
Expand All @@ -37,7 +37,7 @@ $config = new Config([
'translation.catalog' => ArrayCatalog::class,
'translation.formatter' => DefaultFormatter::class,
'translation.dir' => '/path/to/your/translation/files',
'translation.locale' => ['mk+MK', 'de_DE', 'it_IT'],
'translation.locale' => ['mk_MK', 'de_DE', 'it_IT'],
]);

I18n::register(I18nCatalog::new($config));
Expand Down

0 comments on commit 26abb75

Please sign in to comment.