Use utils language strings
This commit is contained in:
parent
62a9e676bf
commit
fcf8093977
1 changed files with 1 additions and 2 deletions
|
@ -221,10 +221,9 @@ def doPlayback(itemid, dbid):
|
||||||
##### DO RESET AUTH #####
|
##### DO RESET AUTH #####
|
||||||
def resetAuth():
|
def resetAuth():
|
||||||
# User tried login and failed too many times
|
# User tried login and failed too many times
|
||||||
string = xbmcaddon.Addon().getLocalizedString
|
|
||||||
resp = xbmcgui.Dialog().yesno(
|
resp = xbmcgui.Dialog().yesno(
|
||||||
heading="Warning",
|
heading="Warning",
|
||||||
line1=string(39206))
|
line1=lang(39206))
|
||||||
if resp == 1:
|
if resp == 1:
|
||||||
log.info("Reset login attempts.")
|
log.info("Reset login attempts.")
|
||||||
window('plex_serverStatus', value="Auth")
|
window('plex_serverStatus', value="Auth")
|
||||||
|
|
Loading…
Reference in a new issue