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

Missing arguments are not reported in health check #528

Open
joshio1 opened this issue Oct 18, 2023 · 0 comments
Open

Missing arguments are not reported in health check #528

joshio1 opened this issue Oct 18, 2023 · 0 comments

Comments

@joshio1
Copy link

joshio1 commented Oct 18, 2023

First things - Love this gem and it helps a great deal to work with i18n files.

I have an en.yml which has this key: text_your_student: text your student at %{phone_number} and an es.yml file which has this key text_your_student: envía un mensaje de texto a tu estudiante al %{phone_number}.

When using this key in an html.erb file like this: t('text_your_student'), if I miss passing the phone_number argument, health check doesn't report this. Specifically inconsistent interpolations passes even though this phone_number argument is missing.

Is inconsistent interpolation only for checking if arguments are consistent between en.yml and es.yml file? Is there a way I can get the health check to fail if I miss an argument by mistake? (I did a brief check in the issues and pull requests and could not find anything related to this)

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

No branches or pull requests

1 participant