mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 21:47:28 +08:00

This is because the translations were being applied when the JS files were parsed, which is before the overrides are loaded. The solution is to return the filters in a function which is executed when they are needed.