Getting double msgid locations with gettext

Hey
I am generating message ids from html.eex and txt.eex template files and I am getting every msgid twice.

<%= dgettext("account_reset_password_mail","Oeps! ben jij je wachtwoord vergeten?") %>

and in the pot file:

#: lib/x_api/internal/templates/mail/account_reset_password_mail.html.eex:5
#: lib/x_api/internal/templates/mail/account_reset_password_mail.html.eex:5

From normal ex files it only takes the id once.
Doesn’t seem to cause any trouble but unexpected the least to say.
Any idea why?

EDIT
ok it is not double msgid just the location is listed twice, still strange

If you can isolate this into its own application, please open up a bug report.

1 Like