mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 23:42:45 +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
|
@ -8,7 +8,7 @@ import xbmcgui
|
|||
|
||||
from .utils import should_stop
|
||||
from .exceptions import LibraryException
|
||||
from .translate import _
|
||||
from .translate import translate
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
@ -28,10 +28,10 @@ def progress(message=None):
|
|||
|
||||
if item and type(item) == dict:
|
||||
|
||||
dialog.create(_('addon_name'), "%s %s" % (_('gathering'), item['Name']))
|
||||
dialog.create(translate('addon_name'), "%s %s" % (translate('gathering'), item['Name']))
|
||||
LOG.info("Processing %s: %s", item['Name'], item['Id'])
|
||||
else:
|
||||
dialog.create(_('addon_name'), message)
|
||||
dialog.create(translate('addon_name'), message)
|
||||
LOG.info("Processing %s", message)
|
||||
|
||||
if item:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue