Videolibrary: error al seleccionar canal en ventana flotante

Por un error en la traducción de los tres idiomas españoles en el mensaje 70089 (itainao e inglés estaban bien), añadía un espacio al final del mensaje.  Esto hacía que el nombre del canal también tuviera un espacio al final y no igualara las comparaciones.

Mensaje corregido en los tres idiomas, y .strip() añadido en línea 365 de Videolíbrary.py para evitar futuros "accidentes"
This commit is contained in:
Kingbox
2018-07-20 11:57:26 +02:00
parent aa72291d2b
commit 69cb284982
4 changed files with 4 additions and 4 deletions

View File

@@ -362,7 +362,7 @@ def findvideos(item):
platformtools.play_video(item_local)
elif index > 0:
filtro_canal = opciones[index].replace(config.get_localized_string(70078), "")
filtro_canal = opciones[index].replace(config.get_localized_string(70078), "").strip()
itemlist = []
for nom_canal, json_path in list_canales.items():

View File

@@ -3071,7 +3071,7 @@ msgstr "¿Realmente desea eliminar '%s' de su videoteca?"
msgctxt "#70089"
msgid "Show only links of %s"
msgstr "Mostrar solo los enlaces de %s "
msgstr "Mostrar solo los enlaces de %s"
msgctxt "#70090"
msgid " Exclude all streams with specific words"

View File

@@ -3071,7 +3071,7 @@ msgstr "¿Realmente desea eliminar '%s' de su videoteca?"
msgctxt "#70089"
msgid "Show only links of %s"
msgstr "Mostrar solo los enlaces de %s "
msgstr "Mostrar solo los enlaces de %s"
msgctxt "#70090"
msgid " Exclude all streams with specific words"

View File

@@ -3071,7 +3071,7 @@ msgstr "¿Realmente desea eliminar '%s' de su videoteca?"
msgctxt "#70089"
msgid "Show only links of %s"
msgstr "Mostrar solo los enlaces de %s "
msgstr "Mostrar solo los enlaces de %s"
msgctxt "#70090"
msgid " Exclude all streams with specific words"