From 30476d539b9a0e170514b818842ab7d72b09c39a Mon Sep 17 00:00:00 2001 From: Dmitriy Makarov Date: Thu, 25 Aug 2016 19:06:03 +0300 Subject: [PATCH] :book: Fix typo [skip ci] --- docs/guide/tutorial-i18n.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/tutorial-i18n.md b/docs/guide/tutorial-i18n.md index 9e31a7b4c2..8de8ce6e9b 100644 --- a/docs/guide/tutorial-i18n.md +++ b/docs/guide/tutorial-i18n.md @@ -110,7 +110,7 @@ to a PHP file with a different naming approach. In the above example, the catego the PHP file `@app/messages/ru-RU/error.php` (assuming `ru-RU` is the target language). Without this configuration, the category would be mapped to `@app/messages/ru-RU/app/error.php`, instead. -Beside storing the messages in PHP files, you may also use the following message sources to store translated messages +Besides storing the messages in PHP files, you may also use the following message sources to store translated messages in different storage: - [[yii\i18n\GettextMessageSource]] uses GNU Gettext MO or PO files to maintain translated messages. @@ -436,7 +436,7 @@ it in a pair of curly brackets. ### Specifying default message source -You can specify default message source that will be used as a fallback for category that don't match any +You can specify default message source that will be used as a fallback for category that doesn't match any configured category. You can do that by configuring a wildcard category `*`. In order to do that, add the following to the application config: