fix para usar config.get_localized_category

This commit is contained in:
Unknown
2018-08-08 15:56:43 -03:00
parent 86e85362c8
commit 30ea5989dc

View File

@@ -82,8 +82,7 @@ def getchanneltypes(view="thumb_"):
viewmode="thumbnails"))
for channel_type in channel_types:
logger.info("channel_type=%s" % channel_type)
title = dict_types_lang.get(channel_type, channel_type)
title = config.get_localized_category(channel_type)
itemlist.append(Item(title=title, channel="channelselector", action="filterchannels", category=title,
channel_type=channel_type, viewmode="thumbnails",
thumbnail=get_thumb("channels_%s.png" % channel_type, view)))