mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 08:22:46 +00:00
Change translation function name from _ to translate
This commit is contained in:
parent
8f572ec313
commit
4e179890ec
22 changed files with 195 additions and 195 deletions
|
@ -14,7 +14,7 @@ import downloader
|
|||
import player
|
||||
from client import get_device_id
|
||||
from objects import PlaylistWorker, on_play, on_update, special_listener
|
||||
from helper import _, settings, window, dialog, api, JSONRPC
|
||||
from helper import translate, settings, window, dialog, api, JSONRPC
|
||||
from jellyfin import Jellyfin
|
||||
from webservice import WebService
|
||||
|
||||
|
@ -114,7 +114,7 @@ class Monitor(xbmc.Monitor):
|
|||
except Exception as error:
|
||||
|
||||
LOG.exception(error)
|
||||
dialog("ok", heading="{jellyfin}", line1=_(33142))
|
||||
dialog("ok", heading="{jellyfin}", line1=translate(33142))
|
||||
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue