From ae28e98c1705022dedeb8dd95428e7f0642b6b54 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 20 Sep 2016 04:20:00 -0500 Subject: [PATCH] repair localize string --- resources/language/English/strings.xml | 1 + resources/lib/librarysync.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 296ae9e4..3ada7e0a 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -348,5 +348,6 @@ Create backup at: Create a backup Backup folder + Select content type to repair \ No newline at end of file diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index b94f8bb8..df3ccb12 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -250,7 +250,7 @@ class LibrarySync(threading.Thread): if self.kodi_version > 15: # Jarvis or higher - types = xbmcgui.Dialog().multiselect("Select content type to repair", choices) + types = xbmcgui.Dialog().multiselect(lang(33094), choices) if types is None: pass elif 0 in types: # all @@ -260,7 +260,7 @@ class LibrarySync(threading.Thread): for index in types: repair_list.append(choices[index]) else: - resp = xbmcgui.Dialog().select("Select content type to repair", choices) + resp = xbmcgui.Dialog().select(lang(33094), choices) if resp == 0: # all choices.pop(resp) repair_list.extend(choices)