From b5fdaeabebdb9cae4b540830515724637ea4988b Mon Sep 17 00:00:00 2001 From: axlt2002 Date: Wed, 18 Mar 2020 00:08:42 +0100 Subject: [PATCH] aggiornamento lingue e testi --- core/videolibrarytools.py | 22 +++++++++++----------- resources/language/English/strings.po | 12 ++++++------ resources/language/Italian/strings.po | 24 ++++++++++++------------ 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/core/videolibrarytools.py b/core/videolibrarytools.py index 6b4f7710..506b4fad 100644 --- a/core/videolibrarytools.py +++ b/core/videolibrarytools.py @@ -876,11 +876,11 @@ def add_movie(item): insertados, sobreescritos, fallidos = save_movie(new_item) if fallidos == 0: - platformtools.dialog_ok(config.get_localized_string(30131), new_item.contentTitle, - config.get_localized_string(30135)) # 'se ha añadido a la videoteca' + platformtools.dialog_ok(config.get_localized_string(30131), + config.get_localized_string(30135) % new_item.contentTitle) # 'se ha añadido a la videoteca' else: platformtools.dialog_ok(config.get_localized_string(30131), - config.get_localized_string(60066)) #"ERROR, la pelicula NO se ha añadido a la videoteca") + config.get_localized_string(60066) % new_item.contentTitle) #"ERROR, la pelicula NO se ha añadido a la videoteca") def add_tvshow(item, channel=None): @@ -948,20 +948,20 @@ def add_tvshow(item, channel=None): insertados, sobreescritos, fallidos, path = save_tvshow(item, itemlist) if not insertados and not sobreescritos and not fallidos: - platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60067)) - logger.error("The %s series could not be added to the video library. Could not get any episode" % item.show) + platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60067) % item.show) + logger.error("La serie %s no se ha podido añadir a la videoteca. No se ha podido obtener ningun episodio" % item.show) elif fallidos == -1: - platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60068)) - logger.error("The %s series could not be added to the video library" % item.show) + platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60068) % item.show) + logger.error("La serie %s no se ha podido añadir a la videoteca" % item.show) elif fallidos > 0: - platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60069)) - logger.error("Could not add %s episodes of the %s series to the video library" % (fallidos, item.show)) + platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60069) % item.show) + logger.error("No se han podido añadir %s episodios de la serie %s a la videoteca" % (fallidos, item.show)) else: - platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60070)) - logger.info("%s episodes of the %s series have been added to the video library" % (insertados, item.show)) + platformtools.dialog_ok(config.get_localized_string(30131), config.get_localized_string(60070) % item.show) + logger.info("Se han añadido %s episodios de la serie %s a la videoteca" % (insertados, item.show)) if config.is_xbmc(): if config.get_setting("sync_trakt_new_tvshow", "videolibrary"): import xbmc diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index 31317ade..e4ee14c8 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -302,7 +302,7 @@ msgid "Do you want to remove links from this channel?" msgstr "" msgctxt "#30135" -msgid "added to the video library" +msgid "The movie "%s" has been added to the video library" msgstr "" msgctxt "#30136" @@ -871,23 +871,23 @@ msgid "Added episode to the video library..." msgstr "" msgctxt "#60066" -msgid "ERROR, It has NOT been possible to add the video to the video library" +msgid "An error has occurred. It has not been possible to add the movie "%s" to the video library" msgstr "" msgctxt "#60067" -msgid "ERROR, TV show has NOT been added to video library\nIt has NOT been possible to add no episode" +msgid "An error has occurred. The TV show "%s" has not been added to the video library. It has not been possible to add any episode" msgstr "" msgctxt "#60068" -msgid "ERROR, TV show has NOT been added to video library" +msgid "An error has occurred. The TV show "%s" has not been added to the video library" msgstr "" msgctxt "#60069" -msgid "ERRORE, TV show has NOT been added completely to video library" +msgid "An error has occurred. The TV show "%s" has not been added completely to the video library" msgstr "" msgctxt "#60070" -msgid "TV show has been added to video library" +msgid "The TV show "%s" has been added to the video library" msgstr "" msgctxt "#60071" diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index f11af389..517ac7ee 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -302,8 +302,8 @@ msgid "Do you want to remove links from this channel?" msgstr "Vuoi rimuovere i collegamenti da questo canale?" msgctxt "#30135" -msgid "added to the video library" -msgstr "aggiunto alla libreria" +msgid "The movie "%s" has been added to the video library" +msgstr "Il film "%s" è stato aggiunto alla videoteca" msgctxt "#30136" msgid "Original version" @@ -870,24 +870,24 @@ msgid "Added episode to the video library..." msgstr "Aggiunta episodio alla videoteca..." msgctxt "#60066" -msgid "ERROR, It has NOT been possible to add the video to the video library" -msgstr "ERRORE, NON è stato possibile aggiungere il video alla videoteca" +msgid "An error has occurred. It has not been possible to add the movie "%s" to the video library" +msgstr "Si è verificato un errore. Non è stato possibile aggiungere il film "%s" alla videoteca" msgctxt "#60067" -msgid "ERROR, TV show has NOT been added to video library\nIt has NOT been possible to add no episode" -msgstr "ERRORE, la serie TV NON è stata aggiunta alla videoteca\nNon è stato possibile aggiungere alcun episodio" +msgid "An error has occurred. The TV show "%s" has not been added to the video library. It has not been possible to add any episode" +msgstr "Si è verificato un errore. La serie TV "%s" non è stata aggiunta alla videoteca. Non è stato possibile aggiungere alcun episodio" msgctxt "#60068" -msgid "ERROR, TV show has NOT been added to video library" -msgstr "ERRORE, la serie TV NON è stata aggiunta alla videoteca" +msgid "An error has occurred. The TV show "%s" has not been added to the video library" +msgstr "Si è verificato un errore. La serie TV "%s" non è stata aggiunta alla videoteca" msgctxt "#60069" -msgid "ERRORE, TV show has NOT been added completely to video library" -msgstr "ERRORE, la serie TV NON è stata aggiunta completamente alla videoteca" +msgid "An error has occurred. The TV show "%s" has not been added completely to the video library" +msgstr "Si è verificato un errore. La serie TV "%s" non è stata aggiunta completamente alla videoteca" msgctxt "#60070" -msgid "TV show has been added to video library" -msgstr "La serie TV è stata aggiunta alla videoteca" +msgid "The TV show "%s" has been added to the video library" +msgstr "La serie TV "%s" è stata aggiunta alla videoteca" msgctxt "#60071" msgid "Autoplay configuration"