Change translation function name from _ to translate

This commit is contained in:
TrueTechy 2019-11-25 00:41:37 +00:00
parent 8f572ec313
commit 4e179890ec
22 changed files with 195 additions and 195 deletions

View file

@ -8,7 +8,7 @@ import xml.etree.ElementTree as etree
import xbmc
from . import _, indent, write_xml, dialog, settings
from . import translate, indent, write_xml, dialog, settings
#################################################################################################
@ -127,7 +127,7 @@ def advanced_settings():
indent(xml)
write_xml(etree.tostring(xml, 'UTF-8'), path)
dialog("ok", heading="{jellyfin}", line1=_(33097))
dialog("ok", heading="{jellyfin}", line1=translate(33097))
xbmc.executebuiltin('RestartApp')
return True