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

@ -9,7 +9,7 @@ import xbmc
import xbmcaddon
import xbmcvfs
from helper import _, window, settings, addon_id, dialog
from helper import translate, window, settings, addon_id, dialog
from helper.utils import create_id
##################################################################################################
@ -114,7 +114,7 @@ def reset_device_id():
window('jellyfin_deviceId', clear=True)
get_device_id(True)
dialog("ok", heading="{jellyfin}", line1=_(33033))
dialog("ok", heading="{jellyfin}", line1=translate(33033))
xbmc.executebuiltin('RestartApp')