mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
Update gem i18n-js to pick up locale changes
We had some problems recently with changes in en.yml not being picked up by i18n-js to be included in all.js. There have been some patches for the current version that have an impact on that:578555f57edb3cdf82aaa88b206644Trying it out locally, the updated i18n-js gem works while the old version doesn't update the Javascript translations when new keys are added. To reproduce the issue, you can add a new key in `en.yml` and reference it from an Angular template in `app/assets/javascripts/`. The old version complained about a missing translation until you ran: ``` bundle exec rake tmp:cache:clear ``` We don't need to do that any more.
This commit is contained in:
@@ -439,8 +439,8 @@ GEM
|
||||
multi_json (~> 1.0)
|
||||
multi_xml
|
||||
i18n (0.6.11)
|
||||
i18n-js (3.0.0)
|
||||
i18n (~> 0.6, >= 0.6.6)
|
||||
i18n-js (3.0.11)
|
||||
i18n (>= 0.6.6, < 2)
|
||||
immigrant (0.1.6)
|
||||
activerecord (>= 3.0)
|
||||
foreigner (>= 1.2.1)
|
||||
|
||||
Reference in New Issue
Block a user