discourse/lib/email
Régis Hanol 5789d7e3fb
FIX: translation missing when using optional_* placeholder in body (#36023)
All the "optional_*" placeholders are meant to be used in the subject
but if you were to use them in the body template you would get a
"translation missing" error.

This commit ensures these optional placeholders are also provided when
i18ning the body even though they don't make a lot of sense.

Internal ref - t/150916
2025-11-25 16:02:55 +01:00
..
authentication_results.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
build_email_helper.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
cleaner.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
message_builder.rb FIX: translation missing when using optional_* placeholder in body (#36023) 2025-11-25 16:02:55 +01:00
message_id_service.rb DEV: Remove old TODOs for message-id formats (#27196) 2024-05-28 13:57:09 +10:00
poller.rb FEATURE: Add hooks for email poller plugins (#21384) 2023-06-26 13:16:03 +08:00
processor.rb FIX: Prevent Email Processor errors when mail is blank or nil (#21292) 2023-05-18 10:39:37 +08:00
receiver.rb FIX: Make system user fallback optional for category email (#35536) 2025-10-22 15:01:36 +08:00
renderer.rb DEV: Add apply_modifier in Email::Renderer for html modifications (#25205) 2024-01-12 09:14:55 -06:00
sender.rb Add logging for Net::SMTPError 2025-11-06 12:58:50 +00:00
styles.rb UX: move quote and code dark mode styles to element selectors for emails (#35576) 2025-10-23 14:32:36 -04:00
validator.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00