danihodovic / django-allauth-ui

Nice looking templates for django-allauth
https://django-allauth-ui.hodovi.ch
MIT License
251 stars 28 forks source link

logout.html button text #53

Closed bcomisky closed 3 months ago

bcomisky commented 4 months ago

Seeing this:

image

But seems to work as expected if I replace:

        {% translate "Sign out" as signout_message }
        {% include "account/_button.html" with text=signout_message %}

with

{% include "account/_button.html" with text=_("Sign out") %}

in templates/account/logout.html

Some kind of scoping issue with signout_message? I'm very new to Django, so very possibly could be some error on my end.

danihodovic commented 4 months ago

Damn

danihodovic commented 3 months ago

Thank you @tjmoon0104 https://github.com/danihodovic/django-allauth-ui/pull/54