i18n-tasks icon indicating copy to clipboard operation
i18n-tasks copied to clipboard

`unused` violation for mailer subject

Open mockdeep opened this issue 10 months ago • 1 comments

Rails automatically grabs email the email subject from I18n files without needing to be explicitly referenced in code. However, i18n-tasks reports it as an unused translation:

Unused keys (1) | i18n-tasks v1.0.12
+--------+----------------------------------------------+----------------------------------------+
| Locale | Key                                          | Value                                  |
+--------+----------------------------------------------+----------------------------------------+
|   en   | campaign_mailer.verification_message.subject | Verification Code for %{campaign_name} |
+--------+----------------------------------------------+----------------------------------------+

mockdeep avatar Aug 21 '23 03:08 mockdeep