Releases: wapmorgan/yii2-inflection
Releases · wapmorgan/yii2-inflection
1.0.4: Fix after Morphos update
1.0.3: Added 2 cases: Accusative and Prepositional
Added two cases:
Inflector::ACCUSATIVE
(винительный в Русском языке)Inflector::PREPOSITIONAL
(предложный в Русском языке)
1.0.2: Updates in EnglishInflector
- Completed English cardinalization:
Yii::$app->inflection->cardinalize(2) => 'two'
- Completed English ordinalization in full form:
Yii::$app->inflection->ordinalize(2, wapmorgan\yii2inflection\Inflector::FULL) => 'second'
- Completed English time range textization:
Yii::$app->inflection->textizeTimeRange(new DateInterval('P2Y')) => '2 years'
- Set English inflector to return without modification input data in methods:
- monetize()
- inflectGeoName()
- inflectName()
- inflectWord()
1.0.1: Add defaultCurrency option
- Add
defaultCurrency
configuration option for using short version ofmonetize($value)