Removed esp lagnuages from news and side menu

This commit is contained in:
Alhaziel
2019-04-25 17:41:26 +02:00
parent 8573dd975b
commit ebda842850
2 changed files with 30 additions and 30 deletions
+5 -5
View File
@@ -561,12 +561,12 @@ def menu_opciones(item):
title=config.get_localized_string(60529), title=config.get_localized_string(60529),
thumbnail=get_thumb("channels_anime.png"), thumbnail=get_thumb("channels_anime.png"),
folder=False)) folder=False))
itemlist.append( # itemlist.append(
Item(channel=item.channel, action="setting_channel", extra="castellano", title=config.get_localized_string(70212), # Item(channel=item.channel, action="setting_channel", extra="castellano", title=config.get_localized_string(70212),
thumbnail=get_thumb("channels_documentary.png"), folder=False)) # thumbnail=get_thumb("channels_documentary.png"), folder=False))
itemlist.append(Item(channel=item.channel, action="setting_channel", extra="latino", title=config.get_localized_string(70213), # itemlist.append(Item(channel=item.channel, action="setting_channel", extra="latino", title=config.get_localized_string(70213),
thumbnail=get_thumb("channels_documentary.png"), folder=False)) # thumbnail=get_thumb("channels_documentary.png"), folder=False))
itemlist.append(Item(channel=item.channel, action="setting_channel", extra="Torrent", title=config.get_localized_string(70214), itemlist.append(Item(channel=item.channel, action="setting_channel", extra="Torrent", title=config.get_localized_string(70214),
thumbnail=get_thumb("channels_documentary.png"), folder=False)) thumbnail=get_thumb("channels_documentary.png"), folder=False))
+25 -25
View File
@@ -192,32 +192,32 @@ class Main(xbmcgui.WindowXMLDialog):
self.buttons.append(self.button_docu) self.buttons.append(self.button_docu)
posy += space posy += space
label = config.get_localized_string(70013) # label = config.get_localized_string(70013)
self.button_terror = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, # self.button_terror = xbmcgui.ControlButton(posx, posy, width, height, label, font=font,
alignment=0x00000000, noFocusTexture='', # alignment=0x00000000, noFocusTexture='',
focusTexture=media_path+selected, textColor=textcolor, # focusTexture=media_path+selected, textColor=textcolor,
shadowColor=shadow, textOffsetX=offsetx, textOffsetY=offsety) # shadowColor=shadow, textOffsetX=offsetx, textOffsetY=offsety)
self.addControl(self.button_terror) # self.addControl(self.button_terror)
self.buttons.append(self.button_terror) # self.buttons.append(self.button_terror)
if channelselector.auto_filter() == 'esp': # if channelselector.auto_filter() == 'esp':
posy += space # posy += space
label = config.get_localized_string(59981) # label = config.get_localized_string(59981)
self.button_lat = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, # self.button_lat = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000,
noFocusTexture='', focusTexture=media_path+selected, # noFocusTexture='', focusTexture=media_path+selected,
textColor=textcolor, shadowColor=shadow, textOffsetX=offsetx, # textColor=textcolor, shadowColor=shadow, textOffsetX=offsetx,
textOffsetY=offsety) # textOffsetY=offsety)
self.addControl(self.button_lat) # self.addControl(self.button_lat)
self.buttons.append(self.button_lat) # self.buttons.append(self.button_lat)
posy += space # posy += space
label = config.get_localized_string(70014) # label = config.get_localized_string(70014)
self.button_cast = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, # self.button_cast = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000,
noFocusTexture='', focusTexture=media_path + selected, # noFocusTexture='', focusTexture=media_path + selected,
textColor=textcolor, shadowColor=shadow, textOffsetX=offsetx, # textColor=textcolor, shadowColor=shadow, textOffsetX=offsetx,
textOffsetY=offsety) # textOffsetY=offsety)
self.addControl(self.button_cast) # self.addControl(self.button_cast)
self.buttons.append(self.button_cast) # self.buttons.append(self.button_cast)
posy += space # posy += space
label = config.get_localized_string(70015) label = config.get_localized_string(70015)
self.button_torrent = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, self.button_torrent = xbmcgui.ControlButton(posx, posy, width, height, label, font=font,
alignment=0x00000000, noFocusTexture='', alignment=0x00000000, noFocusTexture='',