def METHOD_NAME(self):
    categories = {'all': _('All'), 'changed': _('Changed')}
    for setting, kwargs in self._registry.items():
        category_slug = kwargs.get('category_slug', None)
        if category_slug is None or category_slug in categories:
            continue
        if category_slug == 'user':
            categories['user'] = _('User')
            categories['user-defaults'] = _('User-Defaults')
        else:
            categories[category_slug] = kwargs.get('category', None) or category_slug
    return categories