iachat/app/views/devise/mailer/unlock_instructions.html.erb
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

8 lines
333 B
Plaintext

<p><%= t('mailer.devise.unlock_instructions.greeting', name: @resource.name) %></p>
<p><%= t('mailer.devise.unlock_instructions.body') %></p>
<p><%= t('mailer.devise.unlock_instructions.action_prompt') %></p>
<p><%= link_to t('mailer.devise.unlock_instructions.unlock_account'), unlock_url(@resource, unlock_token: @token) %></p>