fix language issue

This commit is contained in:
im85288 2015-03-25 09:19:50 +00:00
parent a6a30cc54c
commit 64f3161518

View file

@ -50,6 +50,8 @@ class Player( xbmc.Player ):
xbmc.log("mb3sync " + str(level) + " -> " + str(msg.encode('utf-8'))) xbmc.log("mb3sync " + str(level) + " -> " + str(msg.encode('utf-8')))
def deleteItem (self, url): def deleteItem (self, url):
addon = xbmcaddon.Addon(id='plugin.video.mb3sync')
__language__ = addon.getLocalizedString
return_value = xbmcgui.Dialog().yesno(__language__(30091),__language__(30092)) return_value = xbmcgui.Dialog().yesno(__language__(30091),__language__(30092))
if return_value: if return_value:
self.printDebug('Deleting via URL: ' + url,1) self.printDebug('Deleting via URL: ' + url,1)