From 26abb75d40a01bbe8572f38736ac8ccaa1eeb91e Mon Sep 17 00:00:00 2001 From: Mihail Binev Date: Sat, 5 Mar 2022 04:58:18 +0100 Subject: [PATCH] - chore: typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 18354d3..13c7e0c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Usage ----- ```php -__(string $message, array $arguments => [], string $locale = null); +__(string $message, array $arguments => [], string $locale = ''); ``` Configuration @@ -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));