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

finalise translate tests #560

Merged
merged 6 commits into from
Dec 19, 2023
Merged

finalise translate tests #560

merged 6 commits into from
Dec 19, 2023

Conversation

zkamvar
Copy link
Contributor

@zkamvar zkamvar commented Dec 19, 2023

This refactors the translation tests a bit more to ensure that we are only using
the keys and not the values to test translations. This will help future-proof
the tests.

Improving on #559, I've added tr_varnish() and tr_computed() to the internal
functions so we can replace the awkward these$translations$varnish$KeyPoints
with tr_varnish("KeyPoints"). This will make it easier for us to shift to a
different internal storage name and also for us to continue to detect
translation functions in the future.

@zkamvar
Copy link
Contributor Author

zkamvar commented Dec 19, 2023

I am satistifed with this and will let it merge

@zkamvar zkamvar merged commit 1529dfd into main Dec 19, 2023
12 checks passed
@zkamvar zkamvar deleted the finalise-translate-tests branch December 19, 2023 18:24
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