Commit c4f7d024 by Qiang Xue

typo fix.

parent a1f7f8bc
...@@ -47,7 +47,7 @@ translation of the message from source language into target language. Message it ...@@ -47,7 +47,7 @@ translation of the message from source language into target language. Message it
echo \Yii::t('app', 'This is a string to translate!'); echo \Yii::t('app', 'This is a string to translate!');
``` ```
Yii tries to load approprite translation from one of the message sources defined via `i18n` component configuration: Yii tries to load appropriate translation from one of the message sources defined via `i18n` component configuration:
```php ```php
'components' => [ 'components' => [
...@@ -239,7 +239,7 @@ you'll get "Inconsistent types declared for an argument: U_ARGUMENT_TYPE_MISMATC ...@@ -239,7 +239,7 @@ you'll get "Inconsistent types declared for an argument: U_ARGUMENT_TYPE_MISMATC
Total {count, number} {count, plural, one{item} other{items}}. Total {count, number} {count, plural, one{item} other{items}}.
``` ```
To learn which inflection forms you should specify for your language you can referer to To learn which inflection forms you should specify for your language you can referrer to
[rules reference at unicode.org](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html). [rules reference at unicode.org](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html).
### Selections ### Selections
...@@ -265,4 +265,4 @@ Formatters ...@@ -265,4 +265,4 @@ Formatters
In order to use formatters you need to install and enable [intl](http://www.php.net/manual/en/intro.intl.php) PHP In order to use formatters you need to install and enable [intl](http://www.php.net/manual/en/intro.intl.php) PHP
extension. extension.
TBD: provided classes overview. TBD: provided classes overview.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment