From 64f31615188296a75b2482524568a773511d2497 Mon Sep 17 00:00:00 2001 From: im85288 Date: Wed, 25 Mar 2015 09:19:50 +0000 Subject: [PATCH] fix language issue --- resources/lib/Player.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/Player.py b/resources/lib/Player.py index 025a6e0f..994cb072 100644 --- a/resources/lib/Player.py +++ b/resources/lib/Player.py @@ -50,6 +50,8 @@ class Player( xbmc.Player ): xbmc.log("mb3sync " + str(level) + " -> " + str(msg.encode('utf-8'))) def deleteItem (self, url): + addon = xbmcaddon.Addon(id='plugin.video.mb3sync') + __language__ = addon.getLocalizedString return_value = xbmcgui.Dialog().yesno(__language__(30091),__language__(30092)) if return_value: self.printDebug('Deleting via URL: ' + url,1)