Replace `N.config.locales.enabled` with `enabled_locales` for templates.
Style changes.