Aggiornato testi / traduzioni

This commit is contained in:
axlt2002
2020-04-14 23:15:15 +02:00
parent 78c9b5b919
commit dff7a1d012
8 changed files with 29 additions and 37 deletions
+2 -2
View File
@@ -116,7 +116,7 @@ class Downloader(object):
self.speed[1], self.speed[2], self.connections[0], self.connections[1]) self.speed[1], self.speed[2], self.connections[0], self.connections[1])
line3 = config.get_localized_string(60202) % (self.remaining_time) line3 = config.get_localized_string(60202) % (self.remaining_time)
progreso.update(int(self.progress), line1, line2 + line3) progreso.update(int(self.progress), line1, line2 + " " + line3)
self.__update_json() self.__update_json()
finally: finally:
progreso.close() progreso.close()
@@ -266,7 +266,7 @@ class Downloader(object):
self.__get_download_info__() self.__get_download_info__()
try: try:
logger.info("Descarga inicializada: Partes: %s | Ruta: %s | Archivo: %s | Tamaño: %s" % \ logger.info("Download started: Parts: %s | Path: %s | File: %s | Size: %s" % \
(str(len(self._download_info["parts"])), self._pathencode('utf-8'), \ (str(len(self._download_info["parts"])), self._pathencode('utf-8'), \
self._filenameencode('utf-8'), str(self._download_info["size"]))) self._filenameencode('utf-8'), str(self._download_info["size"])))
except: except:
+1 -1
View File
@@ -1179,7 +1179,7 @@ def channel_config(item, itemlist):
itemlist.append( itemlist.append(
Item(channel='setting', Item(channel='setting',
action="channel_config", action="channel_config",
title=typo("Configurazione Canale color kod bold"), title=typo(config.get_localized_string(60587), 'color kod bold'),
config=item.channel, config=item.channel,
folder=False, folder=False,
thumbnail=get_thumb('setting_0.png')) thumbnail=get_thumb('setting_0.png'))
+4 -4
View File
@@ -51,10 +51,10 @@ def download_and_play(url, file_name, download_path):
while not cancelled and download_thread.isAlive(): while not cancelled and download_thread.isAlive():
dialog.update(download_thread.get_progress(), config.get_localized_string(60313), dialog.update(download_thread.get_progress(), config.get_localized_string(60313),
"Velocidad: " + str(int(old_div(download_thread.get_speed(), 1024))) + " KB/s " + str( config.get_localized_string(60314) + str(int(old_div(download_thread.get_speed(), 1024))) + " KB/s " + str(
download_thread.get_actual_size()) + "MB de " + str( download_thread.get_actual_size()) + config.get_localized_string(60316) + str(
download_thread.get_total_size()) + "MB", download_thread.get_total_size()) + "MB",
"Tiempo restante: " + str(downloadtools.sec_to_hms(download_thread.get_remaining_time()))) config.get_localized_string(60202) % (str(downloadtools.sec_to_hms(download_thread.get_remaining_time()))))
xbmc.sleep(1000) xbmc.sleep(1000)
if dialog.iscanceled(): if dialog.iscanceled():
@@ -296,7 +296,7 @@ class DownloadThread(threading.Thread):
logger.info("Detectado fichero force_stop, se interrumpe la descarga") logger.info("Detectado fichero force_stop, se interrumpe la descarga")
f.close() f.close()
xbmc.executebuiltin((u'XBMC.Notification("Cancelado", "Descarga en segundo plano cancelada", 300)')) xbmc.executebuiltin("XBMC.Notification(%s,%s,300)" % (config.get_localized_string(60319),config.get_localized_string(60320)))
return return
+1 -1
View File
@@ -518,7 +518,7 @@ def play_from_library(item):
item.show_server = True item.show_server = True
from specials import videolibrary, autoplay from specials import videolibrary, autoplay
p_dialog = platformtools.dialog_progress_bg(config.get_localized_string(20000), config.get_localized_string(70004)) p_dialog = platformtools.dialog_progress_bg(config.get_localized_string(20000), config.get_localized_string(60683))
p_dialog.update(0, '') p_dialog.update(0, '')
itemlist = videolibrary.findvideos(item) itemlist = videolibrary.findvideos(item)
+6 -10
View File
@@ -509,17 +509,13 @@ msgid "Path: "
msgstr "" msgstr ""
msgctxt "#50005" msgctxt "#50005"
msgid "Delete This Channel?" msgid "Delete this channel?"
msgstr "" msgstr ""
msgctxt "#59970" msgctxt "#59970"
msgid "Synchronization with Trakt started" msgid "Synchronization with Trakt started"
msgstr "" msgstr ""
msgctxt "#59971"
msgid "Kodi video library configuration"
msgstr ""
msgctxt "#59972" msgctxt "#59972"
msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds" msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds"
msgstr "" msgstr ""
@@ -1009,11 +1005,11 @@ msgid "Downloader %s/%s"
msgstr "" msgstr ""
msgctxt "#60204" msgctxt "#60204"
msgid "Speed Meter" msgid "Speed meter"
msgstr "" msgstr ""
msgctxt "#60205" msgctxt "#60205"
msgid "File Writer" msgid "File writer"
msgstr "" msgstr ""
msgctxt "#60206" msgctxt "#60206"
@@ -1685,7 +1681,7 @@ msgid "Summary:"
msgstr "" msgstr ""
msgctxt "#60389" msgctxt "#60389"
msgid "Video library update..." msgid "Updating %s [%s]..."
msgstr "" msgstr ""
msgctxt "#60390" msgctxt "#60390"
@@ -2449,7 +2445,7 @@ msgid "Restoring movies video library"
msgstr "" msgstr ""
msgctxt "#60587" msgctxt "#60587"
msgid "Video library update...." msgid "Channel configuration"
msgstr "" msgstr ""
msgctxt "#60588" msgctxt "#60588"
@@ -2809,7 +2805,7 @@ msgid "TV show"
msgstr "" msgstr ""
msgctxt "#60683" msgctxt "#60683"
msgid "anime" msgid "Loading streams..."
msgstr "" msgstr ""
msgctxt "#70000" msgctxt "#70000"
+11 -15
View File
@@ -508,17 +508,13 @@ msgid "Path: "
msgstr "Percorso: " msgstr "Percorso: "
msgctxt "#50005" msgctxt "#50005"
msgid "Delete This Channel?" msgid "Delete this channel?"
msgstr "Eliminare Questo Canale?" msgstr "Eliminare questo canale?"
msgctxt "#59970" msgctxt "#59970"
msgid "Synchronization with Trakt started" msgid "Synchronization with Trakt started"
msgstr "Sincronizzazione con Trakt iniziata" msgstr "Sincronizzazione con Trakt iniziata"
msgctxt "#59971"
msgid "Kodi video library configuration"
msgstr "Configurazione videoteca Kodi"
msgctxt "#59972" msgctxt "#59972"
msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds" msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds"
msgstr "Ricerca di: '%s' | Trovati: %d video | Tempo: %2.f secondi" msgstr "Ricerca di: '%s' | Trovati: %d video | Tempo: %2.f secondi"
@@ -1008,11 +1004,11 @@ msgid "Downloader %s/%s"
msgstr "Downloader %s/%s" msgstr "Downloader %s/%s"
msgctxt "#60204" msgctxt "#60204"
msgid "Speed Meter" msgid "Speed meter"
msgstr "Misuratore di velocità" msgstr "Misuratore di velocità"
msgctxt "#60205" msgctxt "#60205"
msgid "File Writer" msgid "File writer"
msgstr "Scrittura File" msgstr "Scrittura File"
msgctxt "#60206" msgctxt "#60206"
@@ -1449,7 +1445,7 @@ msgstr " KB/s "
msgctxt "#60316" msgctxt "#60316"
msgid "MB of " msgid "MB of "
msgstr "MB de " msgstr "MB di "
msgctxt "#60317" msgctxt "#60317"
msgid "MB" msgid "MB"
@@ -1684,8 +1680,8 @@ msgid "Summary:"
msgstr "Riassunto:" msgstr "Riassunto:"
msgctxt "#60389" msgctxt "#60389"
msgid "Video library update..." msgid "Updating %s [%s]..."
msgstr "Aggiornamento videoteca..." msgstr "Aggiornamento %s [%s]..."
msgctxt "#60390" msgctxt "#60390"
msgid "AutoPlay configuration" msgid "AutoPlay configuration"
@@ -2448,8 +2444,8 @@ msgid "Restoring movies video library"
msgstr "Ripristino videoteca film" msgstr "Ripristino videoteca film"
msgctxt "#60587" msgctxt "#60587"
msgid "Video library update...." msgid "Channel configuration"
msgstr "Aggiornamento videoteca...." msgstr "Configurazione canale"
msgctxt "#60588" msgctxt "#60588"
msgid " - Settings created" msgid " - Settings created"
@@ -2808,8 +2804,8 @@ msgid "TV show"
msgstr "Serie TV" msgstr "Serie TV"
msgctxt "#60683" msgctxt "#60683"
msgid "anime" msgid "Loading streams..."
msgstr "anime" msgstr "Caricamento stream..."
msgctxt "#70000" msgctxt "#70000"
msgid "Options" msgid "Options"
+2 -2
View File
@@ -52,8 +52,8 @@ def update(path, p_dialog, i, t, serie, overwrite):
if channel_enabled: if channel_enabled:
heading = config.get_localized_string(60389) heading = config.get_localized_string(20000)
p_dialog.update(int(math.ceil((i + 1) * t)), heading, "%s: %s" % (serie.contentSerieName, p_dialog.update(int(math.ceil((i + 1) * t)), heading, config.get_localized_string(60389) % (serie.contentSerieName,
serie.channel.capitalize())) serie.channel.capitalize()))
try: try:
pathchannels = filetools.join(config.get_runtime_path(), "channels", serie.channel + '.py') pathchannels = filetools.join(config.get_runtime_path(), "channels", serie.channel + '.py')
+2 -2
View File
@@ -859,9 +859,9 @@ def restore_tools(item):
filetools.rmdirtree(path) filetools.rmdirtree(path)
import math import math
heading = config.get_localized_string(60587) heading = config.get_localized_string(20000)
p_dialog2.update(int(math.ceil((i + 1) * t)), heading, "%s: %s" % (movie.contentTitle, p_dialog2.update(int(math.ceil((i + 1) * t)), heading, config.get_localized_string(60389) % (movie.contentTitle,
movie.channel.capitalize())) movie.channel.capitalize()))
# ... y la volvemos a añadir # ... y la volvemos a añadir
videolibrarytools.save_movie(movie) videolibrarytools.save_movie(movie)