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

build(feat): format form title from info to show the appropriate title including when using t-lang #3765

Open
wants to merge 3 commits into
base: release/v3.31.1
Choose a base branch
from

Conversation

evansdianga
Copy link
Contributor

Description


Create Angular Pipe to format form title
If the title doesnt contain t-lang tag, return the text
Otherwise, use the English translation if it exists or the first translation if there's no English version of the title

Use the same heuristic in the pipe when creating csv files

Type of Change

  • New feature (non-breaking change which adds functionality)

Create Angular Pipe to format form title
If the title doesnt contain t-lang tag, return the text
Otherwise, use the English translation if it exists or the first translation if there's no English version of the title

Refs #3735

Evans Dianga added 3 commits January 12, 2025 21:25
Create Angular Pipe to format form title
If the title doesnt contain `t-lang` tag, return the text
Otherwise, use the English translation if it exists or the first translation if there's no English version of the title

Refs #3735
… when creating csv files

If no `t-lang` tag, use form title as is
Find and use the t-lang tag with 'en'
if no 'en', then use the first t-lang tag
Refs #3735
@evansdianga evansdianga requested a review from esurface January 12, 2025 18:58
@evansdianga evansdianga changed the title build(feat): create pipe to format form title from info build(feat): format form title from info to show the appropriate title including when using t-lang Jan 12, 2025
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.

1 participant