From 30ea5989dccf9d2ad240289331adcfefc04f6f74 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 8 Aug 2018 15:56:43 -0300 Subject: [PATCH] fix para usar config.get_localized_category --- plugin.video.alfa/channelselector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.video.alfa/channelselector.py b/plugin.video.alfa/channelselector.py index 8c582cf0..f7ffb190 100644 --- a/plugin.video.alfa/channelselector.py +++ b/plugin.video.alfa/channelselector.py @@ -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)))