From 3d07cd9a692225af7e7c59dfaf296fe38fcfee09 Mon Sep 17 00:00:00 2001 From: axlt2002 Date: Wed, 15 Apr 2020 16:04:59 +0200 Subject: [PATCH] Revert config.py (rimosso library_move) + aggiornato settings.xml --- platformcode/config.py | 6 ------ resources/language/English/strings.po | 8 ++------ resources/language/Italian/strings.po | 14 +++++--------- resources/settings.xml | 6 +++--- 4 files changed, 10 insertions(+), 24 deletions(-) diff --git a/platformcode/config.py b/platformcode/config.py index f74cc09e..da864ace 100644 --- a/platformcode/config.py +++ b/platformcode/config.py @@ -247,12 +247,6 @@ def open_settings(): elif settings_pre.get("videolibrary_kodi", None) and not settings_post.get("videolibrary_kodi", None): xbmc_videolibrary.clean(get_setting('videolibrarypath')) - if not settings_pre.get("library_move", None) and settings_post.get("library_move", None): - if settings_post.get("library_move", None) and not get_setting("videolibrary_kodi"): - from platformcode import platformtools - platformtools.dialog_ok(get_localized_string(20000), get_localized_string(80040)) - set_setting("library_move", False) - def get_setting(name, channel="", server="", default=None): """ diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index 85ed8b45..41632c2d 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -80,7 +80,7 @@ msgid "Download path*" msgstr "" msgctxt "#30018" -msgid "Download list path*" +msgid "Download list path" msgstr "" msgctxt "#30019" @@ -3713,7 +3713,7 @@ msgid "Add completed downloads to the video library " msgstr "" msgctxt "#70231" -msgid "Move downloaded files to the video library*" +msgid "Move downloaded files to the video library" msgstr "" msgctxt "#70232" @@ -6219,8 +6219,4 @@ msgstr "" msgctxt "#80039" msgid "The video library has been deleted" -msgstr "" - -msgctxt "#80040" -msgid "In order to watch the downloaded files that have been moved to the video library, you have first to enable the option to add KoD contents to Kodi video library" msgstr "" \ No newline at end of file diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index 3f188979..0e8b3116 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -80,8 +80,8 @@ msgid "Download path*" msgstr "Percorso download*" msgctxt "#30018" -msgid "Download list path*" -msgstr "Percorso lista downloads*" +msgid "Download list path" +msgstr "Percorso lista downloads" msgctxt "#30019" msgid "Channels language" @@ -3712,8 +3712,8 @@ msgid "Add completed downloads to the video library " msgstr "Aggiungi download completi alla videoteca" msgctxt "#70231" -msgid "Move downloaded files to the video library*" -msgstr "Sposta i file scaricati nella videoteca*" +msgid "Move downloaded files to the video library" +msgstr "Sposta file scaricati nella videoteca" msgctxt "#70232" msgid "View downloaded files" @@ -6219,8 +6219,4 @@ msgstr "Eliminazione videoteca..." msgctxt "#80039" msgid "The video library has been deleted" -msgstr "La videoteca è stata eliminata" - -msgctxt "#80040" -msgid "In order to watch the downloaded files that have been moved to the video library, you have first to enable the option to add KoD contents to Kodi video library" -msgstr "Per guardare i file scaricati che sono stati spostati nella videoteca, devi prima abilitare l'opzione per aggiungere la videoteca di KoD alla libreria di Kodi" \ No newline at end of file +msgstr "La videoteca è stata eliminata" \ No newline at end of file diff --git a/resources/settings.xml b/resources/settings.xml index a74d16fb..3ef50d2c 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -94,11 +94,11 @@ - + + - - +