uchicago-capp-30320 / new-arrivals-chi

GNU Affero General Public License v3.0
9 stars 0 forks source link

Bug Fix: Fix unclosed brackets preventing text from rendering properly on health general page #290

Open klinkoberstar opened 3 months ago

klinkoberstar commented 3 months ago

This PR closes #284

Describe your changes

A few of the text fields were missing leading brackets, preventing Babel from picking up translatable text. This PR fixes this bug

In the course of fixing this bug I also noticed that the buttons on the health page were not retaining the selected language on click because it was still using this approach:

onclick="navigateTo('/health_general', '{{ language | escape }}')"

instead of:

onclick="navigateTo('/health/general', '{{ get_locale() }}')"

This bug has been fixed as well!

Non-obvious technical information

Checklist before requesting a review