Skip to content

Make interview intro prompt translatable instead of hardcoded string#980

Merged
nonprofittechy merged 2 commits into
mainfrom
improve-template-accessibility
Jul 7, 2026
Merged

Make interview intro prompt translatable instead of hardcoded string#980
nonprofittechy merged 2 commits into
mainfrom
improve-template-accessibility

Conversation

@nonprofittechy

@nonprofittechy nonprofittechy commented Jun 9, 2026

Copy link
Copy Markdown
Member

Also removes stray/unnecessary document (---) marker at beginning of the generated YAML.

Improves translatability of some hardcoded strings in the generated output of the Weaver, to help it pass out of the box DAYamlChecker

Fix #942
Fix #951

This includes turning .title of the ALDocument and ALDocumentBundle into DALazyTemplates. There are a handful of places that the function signature says .title will be a string upstream in AssemblyLine.al_document, so I am opening a separate PR to ensure those are handled properly.

Overall, this should make it possible to take Weaver output and more easily translate the full document. I've already been manually making these changes in existing interviews so they pass DAYamlChecker's tests.

@nonprofittechy nonprofittechy marked this pull request as draft June 9, 2026 14:57
@nonprofittechy

Copy link
Copy Markdown
Member Author

This isn't necessarily urgent, but should be a small review. Keep running into student interviews getting flagged by DAYamlChecker this week and hoping to prevent that.

@BryceStevenWilley BryceStevenWilley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, not tested myself though

@nonprofittechy nonprofittechy merged commit 0a6c1b9 into main Jul 7, 2026
7 checks passed
@nonprofittechy nonprofittechy deleted the improve-template-accessibility branch July 7, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants