Skip to content

Add support for reflexive pronouns #878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Add support for reflexive pronouns #878

merged 2 commits into from
Aug 15, 2024

Conversation

nonprofittechy
Copy link
Member

@nonprofittechy nonprofittechy commented Aug 15, 2024

This adds a new method, pronoun_reflexive(), to both ALPeopleList and ALIndividual.

A reflexive pronoun is a word like "myself", "yourself", "themselves", "ourselves", "herself", or "himself" that acts upon itself.

When used on a singular person with pronouns they/them or gender "nonbinary", it will return "themself", which is increasingly being used as a standard singular pronoun for a person who is nonbinary or uses they/them pronouns.

When used on a list of multiple people, it will return "themselves".

the pronoun_reflexive() pronoun also respects 1st and 2nd person point of view using the Docassemble standard methods to indicate point of view, including passing the "person" parameter.

Copy link

@samglover samglover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change. LGTM!

@nonprofittechy nonprofittechy merged commit 2f1f56d into main Aug 15, 2024
5 checks passed
@nonprofittechy nonprofittechy deleted the pronoun-reflexive branch March 27, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants