mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1489e5e969
The `loadTranslations()` function will attach the `translate()` function to `$localize.translate` to cause runtime translation to occur. We should cleanup after ourselves by unattaching this function when we call `clearTranslations()`. Fixes #32781 PR Close #34346