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

View File

@@ -116,7 +116,7 @@ class Downloader(object):
self.speed[1], self.speed[2], self.connections[0], self.connections[1])
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()
finally:
progreso.close()
@@ -266,7 +266,7 @@ class Downloader(object):
self.__get_download_info__()
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'), \
self._filenameencode('utf-8'), str(self._download_info["size"])))
except:

View File

@@ -1179,7 +1179,7 @@ def channel_config(item, itemlist):
itemlist.append(
Item(channel='setting',
action="channel_config",
title=typo("Configurazione Canale color kod bold"),
title=typo(config.get_localized_string(60587), 'color kod bold'),
config=item.channel,
folder=False,
thumbnail=get_thumb('setting_0.png'))

View File

@@ -51,10 +51,10 @@ def download_and_play(url, file_name, download_path):
while not cancelled and download_thread.isAlive():
dialog.update(download_thread.get_progress(), config.get_localized_string(60313),
"Velocidad: " + str(int(old_div(download_thread.get_speed(), 1024))) + " KB/s " + str(
download_thread.get_actual_size()) + "MB de " + str(
config.get_localized_string(60314) + str(int(old_div(download_thread.get_speed(), 1024))) + " KB/s " + str(
download_thread.get_actual_size()) + config.get_localized_string(60316) + str(
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)
if dialog.iscanceled():
@@ -296,7 +296,7 @@ class DownloadThread(threading.Thread):
logger.info("Detectado fichero force_stop, se interrumpe la descarga")
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

View File

@@ -518,7 +518,7 @@ def play_from_library(item):
item.show_server = True
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, '')
itemlist = videolibrary.findvideos(item)

View File

@@ -509,17 +509,13 @@ msgid "Path: "
msgstr ""
msgctxt "#50005"
msgid "Delete This Channel?"
msgid "Delete this channel?"
msgstr ""
msgctxt "#59970"
msgid "Synchronization with Trakt started"
msgstr ""
msgctxt "#59971"
msgid "Kodi video library configuration"
msgstr ""
msgctxt "#59972"
msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds"
msgstr ""
@@ -1009,11 +1005,11 @@ msgid "Downloader %s/%s"
msgstr ""
msgctxt "#60204"
msgid "Speed Meter"
msgid "Speed meter"
msgstr ""
msgctxt "#60205"
msgid "File Writer"
msgid "File writer"
msgstr ""
msgctxt "#60206"
@@ -1685,7 +1681,7 @@ msgid "Summary:"
msgstr ""
msgctxt "#60389"
msgid "Video library update..."
msgid "Updating %s [%s]..."
msgstr ""
msgctxt "#60390"
@@ -2449,7 +2445,7 @@ msgid "Restoring movies video library"
msgstr ""
msgctxt "#60587"
msgid "Video library update...."
msgid "Channel configuration"
msgstr ""
msgctxt "#60588"
@@ -2809,7 +2805,7 @@ msgid "TV show"
msgstr ""
msgctxt "#60683"
msgid "anime"
msgid "Loading streams..."
msgstr ""
msgctxt "#70000"

View File

@@ -508,17 +508,13 @@ msgid "Path: "
msgstr "Percorso: "
msgctxt "#50005"
msgid "Delete This Channel?"
msgstr "Eliminare Questo Canale?"
msgid "Delete this channel?"
msgstr "Eliminare questo canale?"
msgctxt "#59970"
msgid "Synchronization with Trakt started"
msgstr "Sincronizzazione con Trakt iniziata"
msgctxt "#59971"
msgid "Kodi video library configuration"
msgstr "Configurazione videoteca Kodi"
msgctxt "#59972"
msgid "Search for: '%s' | Found: %d vídeos | Time: %2.f seconds"
msgstr "Ricerca di: '%s' | Trovati: %d video | Tempo: %2.f secondi"
@@ -1008,11 +1004,11 @@ msgid "Downloader %s/%s"
msgstr "Downloader %s/%s"
msgctxt "#60204"
msgid "Speed Meter"
msgid "Speed meter"
msgstr "Misuratore di velocità"
msgctxt "#60205"
msgid "File Writer"
msgid "File writer"
msgstr "Scrittura File"
msgctxt "#60206"
@@ -1449,7 +1445,7 @@ msgstr " KB/s "
msgctxt "#60316"
msgid "MB of "
msgstr "MB de "
msgstr "MB di "
msgctxt "#60317"
msgid "MB"
@@ -1684,8 +1680,8 @@ msgid "Summary:"
msgstr "Riassunto:"
msgctxt "#60389"
msgid "Video library update..."
msgstr "Aggiornamento videoteca..."
msgid "Updating %s [%s]..."
msgstr "Aggiornamento %s [%s]..."
msgctxt "#60390"
msgid "AutoPlay configuration"
@@ -2448,8 +2444,8 @@ msgid "Restoring movies video library"
msgstr "Ripristino videoteca film"
msgctxt "#60587"
msgid "Video library update...."
msgstr "Aggiornamento videoteca...."
msgid "Channel configuration"
msgstr "Configurazione canale"
msgctxt "#60588"
msgid " - Settings created"
@@ -2808,8 +2804,8 @@ msgid "TV show"
msgstr "Serie TV"
msgctxt "#60683"
msgid "anime"
msgstr "anime"
msgid "Loading streams..."
msgstr "Caricamento stream..."
msgctxt "#70000"
msgid "Options"

View File

@@ -52,8 +52,8 @@ def update(path, p_dialog, i, t, serie, overwrite):
if channel_enabled:
heading = config.get_localized_string(60389)
p_dialog.update(int(math.ceil((i + 1) * t)), heading, "%s: %s" % (serie.contentSerieName,
heading = config.get_localized_string(20000)
p_dialog.update(int(math.ceil((i + 1) * t)), heading, config.get_localized_string(60389) % (serie.contentSerieName,
serie.channel.capitalize()))
try:
pathchannels = filetools.join(config.get_runtime_path(), "channels", serie.channel + '.py')

View File

@@ -859,9 +859,9 @@ def restore_tools(item):
filetools.rmdirtree(path)
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()))
# ... y la volvemos a añadir
videolibrarytools.save_movie(movie)