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

fix(web): easier alt text translation for other languages #11124

Merged
merged 4 commits into from
Jul 26, 2024

Conversation

ben-basten
Copy link
Member

Description

Response to the Discord feedback that the current alt text implementation is too rigid for languages with different sentence structures than English.

I rewrote the string constants to have all the alt text variations in full sentences, to allow differing sentence structures.

How Has This Been Tested?

Created a unit test matrix to assert the correct output is being generated for different variations of the alt text.

@ben-basten ben-basten changed the title fix(web): easier alt text translation for non-English languages fix(web): easier alt text translation for other languages Jul 15, 2024
@ben-basten ben-basten requested a review from jrasm91 July 16, 2024 11:11
@ben-basten ben-basten requested a review from jrasm91 July 16, 2024 16:57
@alextran1502 alextran1502 merged commit c037a8b into main Jul 26, 2024
22 checks passed
@alextran1502 alextran1502 deleted the fix/alt-text-translations branch July 26, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants