Skip to content
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

Allow to handle 1st/2nd person pronouns with pronoun methods #871

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

nonprofittechy
Copy link
Member

Fix #870, updating the pronoun capability to match DA 1.4.103 and higher.

This allows making text in a template responsive to the number of people in a list, for words like "I" "we" "us" "our" "my"

Test interview:

---
include:
  - assembly_line.yml
---
mandatory: True
question: |
subquestion: |
  ${ users.pronoun(person=1) }
  
  ${ users.pronoun_subjective(person=1, capitalize=True) }
  
  ${ users.pronoun_possessive("elephant", person=1) }

nonprofittechy added a commit to LemmaLegalConsulting/docassemble-MOHUDEvictionProject that referenced this pull request Aug 1, 2024
@nonprofittechy nonprofittechy merged commit 3de1aea into main Aug 1, 2024
5 checks passed
@nonprofittechy nonprofittechy deleted the pronoun_first_person branch August 1, 2024 18:52
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.

Pronouns don't respect the new "point of view" options in Docassemble
1 participant