from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import gettext as _


class CategoriesAppHook(CMSApp):
    name = _("Categories")

    def get_urls(self, page=None, language=None, **kwargs):
        return ["apps.articles.urls"]


apphook_pool.register(CategoriesAppHook)

[((13, 0, 13, 40), 'cms.apphook_pool.apphook_pool.register', 'apphook_pool.register', ({(13, 22, 13, 39): 'CategoriesAppHook'}, {}), '(CategoriesAppHook)', False, 'from cms.apphook_pool import apphook_pool\n'), ((7, 11, 7, 26), 'django.utils.translation.gettext', '_', ({(7, 13, 7, 25): '"""Categories"""'}, {}), "('Categories')", True, 'from django.utils.translation import gettext as _\n')]