Browse Source

typo fix.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c4f7d024d9
  1. 4
      docs/guide/i18n.md

4
docs/guide/i18n.md

@ -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
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

Loading…
Cancel
Save