diff --git a/lib/btserver/client.py b/lib/btserver/client.py index 4826c4e5..cfbc697a 100644 --- a/lib/btserver/client.py +++ b/lib/btserver/client.py @@ -33,7 +33,7 @@ except: DOWNLOAD_PATH = config.get_setting("bt_download_path", server="torrent", default=config.get_setting("downloadpath")) BACKGROUND = config.get_setting("mct_background_download", server="torrent", default=True) RAR = config.get_setting("mct_rar_unpack", server="torrent", default=True) -msg_header = 'Alfa BT Cliente Torrent' +msg_header = 'Client Torrent BT' class Client(object): diff --git a/lib/python_libtorrent/python_libtorrent/__init__.py b/lib/python_libtorrent/python_libtorrent/__init__.py index ae8c63ed..fa23f6ef 100644 --- a/lib/python_libtorrent/python_libtorrent/__init__.py +++ b/lib/python_libtorrent/python_libtorrent/__init__.py @@ -184,9 +184,7 @@ try: LIBTORRENT_MSG = config.get_setting("libtorrent_msg", server="torrent", default='') if not LIBTORRENT_MSG: dialog = xbmcgui.Dialog() - dialog.notification('ALFA: Instalando Cliente Torrent interno', \ - 'Puede solicitarle permisos de Superusuario', time=15000) - log('### ALFA: Notificación enviada: Instalando Cliente Torrent interno') + dialog.notification('KoD: '+ config.get_localizad_string(70766), config.get_localizad_string(70767), time=15000) config.set_setting("libtorrent_msg", 'OK', server="torrent") from core import scrapertools diff --git a/platformcode/mct.py b/platformcode/mct.py index 2f760968..6a715137 100644 --- a/platformcode/mct.py +++ b/platformcode/mct.py @@ -70,7 +70,7 @@ if DOWNLOAD_LIMIT: else: DOWNLOAD_LIMIT = 0 UPLOAD_LIMIT = 100 * 1024 -msg_header = 'Alfa MCT Cliente Torrent' +msg_header = 'KoD Client Torrent MCT' def play(url, xlistitem={}, is_view=None, subtitle="", password="", item=None): @@ -220,7 +220,7 @@ def play(url, xlistitem={}, is_view=None, subtitle="", password="", item=None): dp = xbmcgui.DialogProgress() dp.create(msg_header) while not h.has_metadata(): - message, porcent, msg_file, s, download = getProgress(h, "Creando torrent desde magnet") + message, porcent, msg_file, s, download = getProgress(h, "Creating torrent from magnet") dp.update(porcent, message, msg_file) if s.state == 1: download = 1 if dp.iscanceled(): @@ -286,14 +286,11 @@ def play(url, xlistitem={}, is_view=None, subtitle="", password="", item=None): if "/" in filename: filename = filename.split("/")[1] if RAR and BACKGROUND: - xbmcgui.Dialog().notification("Encontrado archivo .RAR de %.2f MB" % (video_size / 1048576.0), - "Puedes realizar otras tareas en Kodi mientrastanto. " + \ - "Te informaremos...", time=10000) + xbmcgui.Dialog().notification(config.get_localized_string(70768) % (video_size / 1048576.0), config.get_localized_string(70769), time=10000) dialog = True else: - dialog = xbmcgui.Dialog().yesno("Encontrado archivo .RAR...", "Nombre: %s" % filename, - "Tamaño: %.2f MB" % (video_size / 1048576.0), - "¿Descargar en segundo plano? Cancelar en menú Descargas") + dialog = xbmcgui.Dialog().yesno(config.get_localized_string(70770), config.get_localized_string(70771) % filename, + config.get_localized_string(70772) % (video_size / 1048576.0), config.get_localized_string(70773)) if dialog: dp_cerrado = False dp = xbmcgui.DialogProgressBG() @@ -532,7 +529,7 @@ def play(url, xlistitem={}, is_view=None, subtitle="", password="", item=None): message, porcent, msg_file, s, download = getProgress(h, video_file, _pf=_pieces_info) dp.update(porcent, message, '[CR]' + message + '[CR]' + msg_file) else: - dp.update(100, "Descarga completa: " + video_file) + dp.update(100, "Download complete: " + video_file) # -- Se canceló el progreso en el visionado - # -- Continuar - diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index 673edf35..6c7b2474 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -5837,6 +5837,38 @@ msgctxt "#70765" msgid "SD" msgstr "" +msgctxt "#70766" +msgid "Installing Internal Torrent Client" +msgstr "" + +msgctxt "#70767" +msgid "You can ask for Superuser permissions" +msgstr "" + +msgctxt "#70768" +msgid "%.2f MB RAR file found" +msgstr "" + +msgctxt "#70769" +msgid "You can do other tasks in Kodi in the meantime. We will inform you..." +msgstr "" + +msgctxt "#70770" +msgid "RAR file found..." +msgstr "" + +msgctxt "#70771" +msgid "Name: %s" +msgstr "" + +msgctxt "#70772" +msgid "Size: %.2f MB" +msgstr "" + +msgctxt "#70773" +msgid "Download in the background? Cancel in Downloads menu" +msgstr "" + # DNS start [ settings and declaration ] msgctxt "#707401" msgid "Enable DNS Check Alert" diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index ffe04351..1cf32707 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -5841,6 +5841,38 @@ msgctxt "#70765" msgid "SD" msgstr "SD" +msgctxt "#70766" +msgid "Installing Internal Torrent Client" +msgstr "Installazione del Client Torrent Interno" + +msgctxt "#70767" +msgid "You can ask for Superuser permissions" +msgstr "Puoi richiedere le autorizzazioni Superuser" + +msgctxt "#70768" +msgid "%.2f MB RAR file found" +msgstr "File RAR di %.2f MB trovato" + +msgctxt "#70769" +msgid "You can do other tasks in Kodi in the meantime. We will inform you..." +msgstr "Nel frattempo puoi svolgere altre attività in Kodi. Ti informeremo..." + +msgctxt "#70770" +msgid "RAR file found..." +msgstr "File RAR Trovato..." + +msgctxt "#70771" +msgid "Name: %s" +msgstr "Nome: %s" + +msgctxt "#70772" +msgid "Size: %.2f MB" +msgstr "Dimensione: %.2f MB" + +msgctxt "#70773" +msgid "Download in the background? Cancel in Downloads menu" +msgstr "Scarica in background? Annulla nel menu Download" + # DNS start [ settings and declaration ] msgctxt "#707401" msgid "Enable DNS Check Alert" diff --git a/servers/torrent.py b/servers/torrent.py index 8ee4e1c6..efbc49ee 100755 --- a/servers/torrent.py +++ b/servers/torrent.py @@ -362,7 +362,7 @@ def bt_client(mediaurl, xlistitem, rar_files, subtitle=None, password=None, item video_file = '' video_path = '' videourl = '' - msg_header = 'Alfa %s Cliente Torrent' % torr_client + msg_header = 'KoD %s Client Torrent' % torr_client extensions_list = ['.aaf', '.3gp', '.asf', '.avi', '.flv', '.mpeg', '.m1v', '.m2v', '.m4v', '.mkv', '.mov', '.mpg', '.mpe', '.mp4', '.ogg', '.rar', '.wmv', '.zip']