koleror / django-admin-views

Easily link custom admin views and direct URLs into the Django admin
BSD 3-Clause "New" or "Revised" License
187 stars 33 forks source link

Translated labels aren't displayed #2

Closed akaihola closed 11 years ago

akaihola commented 11 years ago

If I have

from django.utils.translation import ugettext_lazy as _

# ...

class MyAdmin(AdminViews):
    admin_views = (
        (_('My Label'), 'http://my.link.com/'),
    )

then only an icon is visible in the admin interface, and the label "My Label" is missing.

frankwiles commented 11 years ago

Great fix, thanks!