Skip to content
Snippets Groups Projects

Improve support for compound relationships

Merged svornost requested to merge svornost/fc-pregmod:pregmod-master into pregmod-master
  1. relationshipTerm will now return compound relationship terms (for example, "daughter and niece") in applicable situations.
  2. A new function, relationshipTerms returns an array of applicable relationship terms. contextualIntro, for example, uses this to assemble the list of relationships, so your sister's daughter with you, whom you've married, is correctly introduced as "your wife, daughter and niece".
  3. Two new functions, siblingTerm and parentTerm, let you get just the one applicable relationship term, when any others that might exist aren't important in context. childTerm would theoretically complete the set but the daughter pronoun handles that case already.

Suggested theme music: ♫ Sweet Home Alabama ♫

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading