Skip to content

Releases: wapmorgan/Morphos

3.0.9: MoneySpeller and TimeUnitSpeller

13 Jul 12:32
Compare
Choose a tag to compare
  • Renamed MoneyFormatter to MoneySpeller

Russian:

  • Added TimeUnitSpeller: Spells date&time intervals like 5 часов и 6 минут назад
  • Increased priority of last name during gender detection in name() function

3.0.8: Money formatter

12 Jul 19:59
Compare
Choose a tag to compare
  • Fixed script bootstrapping

Russian:

  • Added MoneyFormatter
  • Added case for 0 in CardinalNumeral
  • Fixed declension of Geo names ending with ов

3.0.7: Fixed bug on x86 systems in numerals generation

11 Jul 14:41
Compare
Choose a tag to compare
  • Fixed bug in cardinal numerals generating classes (morphos\Russian\CardinalNumeral, morphos\English\CardinalNumeral) leading to infinite loop on x86.

English:

  • Added generating of ordinal numerals.

3.0.6: Updates of Geographical and Last Names declension

10 Jul 20:34
Compare
Choose a tag to compare
  • Added script to test morphos functionality (bin/morphos).

Russian:

  • Fixed declension of female last names ending with ая: Закипная
  • Disabled declension of female last names ending with ь or with a consonant.
  • Added rules to decline russian geographical names:
    • ending with ль: Ставрополь, Ярославль
    • ending with рь: Тверь
    • ending with ки: Березники, Ессентуки
    • ending with мь: Пермь, Кемь
    • ending with нь: Рязань, Назрань

3.0.5: Iterative updates

04 Jul 22:57
Compare
Choose a tag to compare

Updates in general declension:

  • Added declension and pluralization of Russian Augmentatives: волчище, полотнище
  • Added declension and pluralization of Russian Adjectives: существительное, выходной, запятая, рабочий
  • Fixed genitive plural case for words with run-away vowels: письмо -> писем, ядро -> ядер
  • Fixed declension of nouns with run-away vowels: пень -> пня, котенок -> котенка
  • Fixed prepositional case for words ending with -ие: сообщение, воскрешение

3.0.4: Fixed pluralizaion for count of objects > 100

13 Jun 13:38
Compare
Choose a tag to compare
  • Fixed morphos\Russian\Plurality::pluralize($word, $count) for $count > 100. (thanks to @alexlcdee)

3.0.3: Iterative updates

09 Jun 08:15
Compare
Choose a tag to compare
  • Rule for "письмо" plurality
  • Rules for words with run-away vowels

3.0.2: GeographicalNamesDeclension update

08 May 22:25
Compare
Choose a tag to compare
  • Updated rules of geographical names declension: added support for two-words names like Нижний Новгород.
  • Updated web script.

3.0.1: Minor changes and bug fixes

25 Apr 22:25
Compare
Choose a tag to compare
  • Fixed warnings on PHP 5.x.
  • Updates rules for general nouns declension.
  • Updated web script web/index.php for testing (now with Material Design)

3.0.0: New API

08 Apr 13:18
Compare
Choose a tag to compare
  • All methods of all classes are static now. Not need to create instanes of declension classes anymore.
    echo morphos\Russian\GeneralDeclension::getCases('стол');
  • Removed few methods:
    • OrdinalNumeral::generate()
    • CardinalNumeral::generate()
  • morphos\NamesDeclension gender constants (MAN and WOMAN) replaced by morphos\Gender constants MALE, FEMALE and NEUTER
  • Added new Russian declension class - GeographicalNamesDeclension for cities, countries, streets, continents names declension.