Commit Graph

5 Commits

Author SHA1 Message Date
gabrieljablonski
0b6bc691ad revert: undo mailer i18n commits for PR-based rework 2026-04-03 13:49:06 -03:00
gabrieljablonski
ca765f5645 fix(mailer): update enterprise Devise template and fix HTML escaping in email translations
- Add i18n to enterprise confirmation_instructions.html.erb (SAML/SSO support)
- Add SSO-specific translation keys (en + pt_BR)
- Use raw output (<%==) in Devise ERB templates to prevent apostrophe HTML-encoding
2026-04-03 13:43:49 -03:00
Gabriel Jablonski
60839b9dd6
feat(mailer): add i18n support for all transactional emails with pt-BR translations (#254)
- Create Liquid i18n filter (LiquidFilters::I18nFilter) exposing I18n.t() as `t` filter
- Replace hardcoded English strings in all 26 Liquid email templates with i18n keys
- Replace hardcoded English strings in all 4 Devise ERB email templates with t() calls
- Translate all mailer subjects to use I18n.t() for locale-aware rendering
- Add comprehensive pt-BR translations for all transactional emails
- Fix ApplicationRecord#to_drop to walk STI hierarchy (SuperAdmin -> User)
2026-04-03 13:32:34 -03:00
gabrieljablonski
010575e005 feat: update email templates to use user's name instead of email 2025-04-03 23:28:38 -03:00
Pranav Raj Sreepuram
4fceb59eb2 Add mailer templates, remove unused devise controllers 2019-08-17 18:05:50 +05:30