From 78b228b657f4bd4957d1b11932502ebbe8f82feb Mon Sep 17 00:00:00 2001 From: thedoctor66 <37449358+thedoctor66@users.noreply.github.com> Date: Sat, 14 Jul 2018 18:57:40 +0200 Subject: [PATCH] Update download_and_play.py --- plugin.video.alfa/platformcode/download_and_play.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.video.alfa/platformcode/download_and_play.py b/plugin.video.alfa/platformcode/download_and_play.py index 3674eb93..750d2451 100755 --- a/plugin.video.alfa/platformcode/download_and_play.py +++ b/plugin.video.alfa/platformcode/download_and_play.py @@ -37,11 +37,11 @@ def download_and_play(url, file_name, download_path): while True: cancelled = False dialog = xbmcgui.DialogProgress() - dialog.create('Descargando...', 'Cierra esta ventana para empezar la reproducción') + dialog.create(config.get_localized_string(60200), config.get_localized_string(60312)) dialog.update(0) while not cancelled and download_thread.isAlive(): - dialog.update(download_thread.get_progress(), "Cancela esta ventana para empezar la reproducción", + dialog.update(download_thread.get_progress(), config.get_localized_string(60313), "Velocidad: " + str(int(download_thread.get_speed() / 1024)) + " KB/s " + str( download_thread.get_actual_size()) + "MB de " + str( download_thread.get_total_size()) + "MB",