Hi,
We have some dummy functions that we use for having Gettext generating translations for us. Like this one below.
for type <- ReportTypes.enabled_report_types() do
defp dummy_translations do
dgettext("report_types", unquote(type.name))
dgettext("report_types", unquote(type.description))
end
end
This leads to compiler warnings, and will fail on our CI pipeline as we compile with --warnings-as-errors.
warning: function dummy_translations/0 is unused
This is one of the things preventing us to upgradet to 1.16.x and above.
Is there another best practice to have these Gettext translation generated without causing compilation warnings.