mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Fix missing import
This commit is contained in:
parent
bebc9ab38b
commit
bb8afe218d
2 changed files with 6 additions and 2 deletions
|
@ -518,6 +518,10 @@ msgctxt "#33093"
|
||||||
msgid "Backup folder"
|
msgid "Backup folder"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#33097"
|
||||||
|
msgid "Important, cleanonupdate was removed in your advanced settings to prevent conflict with Emby for Kodi. Kodi will restart now."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#33098"
|
msgctxt "#33098"
|
||||||
msgid "Refresh boxsets"
|
msgid "Refresh boxsets"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -9,7 +9,7 @@ import xml.etree.ElementTree as etree
|
||||||
|
|
||||||
import xbmc
|
import xbmc
|
||||||
|
|
||||||
from . import _, indent, write_xml, dialog
|
from . import _, indent, write_xml, dialog, settings
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ def advanced_settings():
|
||||||
indent(xml)
|
indent(xml)
|
||||||
write_xml(etree.tostring(xml, 'UTF-8'), path)
|
write_xml(etree.tostring(xml, 'UTF-8'), path)
|
||||||
|
|
||||||
xbmcgui.Dialog().ok(heading=language(29999), line1=language(33097))
|
dialog("ok", heading="{emby}", line1=_(33097))
|
||||||
xbmc.executebuiltin('RestartApp')
|
xbmc.executebuiltin('RestartApp')
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue