Skip to content

Releases: wapmorgan/Morphos

2.4.2: Iterative changes

08 Apr 12:57
Compare
Choose a tag to compare

Updated gender-detection rules.

2.4.1: Fixed setting default encoding

15 Mar 17:55
Compare
Choose a tag to compare

2.4.0: No global functions and new shortcuts

15 Mar 17:18
Compare
Choose a tag to compare
  • Deleted all global functions! Now global namespace is not used at all.
  • Added new shortcuts:
    • morphos\Russian\pluralize($word, $count = 2, $animateness = false)
    • morphos\English\pluralize($word, $count = 2)
  • Changed one shortcut:
    • morphos\Russian\nameCase() is renamed to morphos\Russian\name()
  • Refactored and restructured few classes.
  • Added string helper morphos\S for internal use.

2.3.5: Fixed bug in Ordinal numeral generator

01 Mar 00:11
Compare
Choose a tag to compare
  • Fixed bug in Ordinal numeral generator when numbers like 13 or 1013 formatted as two summands.

2.3.4: Fixed cases collisions in nameCase()

25 Feb 23:06
Compare
Choose a tag to compare
  • Fixed handling of PREPOSITIONAL case in nameCase() function.

2.3.3: Fix method names collision in CasesHelper's

25 Feb 22:54
Compare
Choose a tag to compare
  • Fixed collision leading to error when using morphos\Russian\CasesHelper.

2.3.2: Russian ordinal numerals and English cardinal numerals

22 Feb 21:35
Compare
Choose a tag to compare
  • Added support for generation Russian ordinal numerals (525 => пятьсот двадцать пятый)
  • Added support for generation English cardinal numerals (119 => one hundred nineteen)

2.3.1: Standard declensions definitions and gender auto-detection

22 Feb 14:10
Compare
Choose a tag to compare
  • Change declensions definitions
  • Add gender auto-detection in declension classes

2.3.0: Changes in method names and cases

20 Feb 11:38
Compare
Choose a tag to compare
  • Refactored method names:
    • getForm() -> getCase()
    • getForms() -> getCases()
    • hasForms() -> isMutable()
  • Now you can use following values as $case in getForm() methods and in nameCase() function:
    • nominative, nominativus, n, именительный, именит instead of Cases::NOMINATIVE
    • genetive, g, родительный, родит instead of Cases::GENITIVE
    • dative, dativus, d, дательный, дат instead of Cases::DATIVE
    • accusative, винительный, винит instead of Cases::ACCUSATIVE
    • ablative, ablativus, творительный, творит instead of Cases::ABLATIVE
    • prepositional, praepositionalis, p, предложный, предлож instead of Cases::PREPOSITIONAL

2.2.9: GENETIVE case replaced with GENITIVE

13 Feb 13:12
Compare
Choose a tag to compare
  • Changed constant Cases::GENETIVE to Cases::GENITIVE. The old constant will be present in morphos for a while.
  • Some code refactored