repair localize string

This commit is contained in:
angelblue05 2016-09-20 04:20:00 -05:00
parent ba7e060009
commit ae28e98c17
2 changed files with 3 additions and 2 deletions

View file

@ -348,5 +348,6 @@
<string id="33091">Create backup at:</string>
<string id="33092">Create a backup</string>
<string id="33093">Backup folder</string>
<string id="33094">Select content type to repair</string>
</strings>

View file

@ -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)