[WebUI] Fix gettext _ imports

This commit is contained in:
Calum Lind 2024-08-19 19:23:10 +01:00
parent 1e5f248fb8
commit 785ad00d2b
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ from deluge.ui.common import FileTree2, TorrentInfo
from deluge.ui.coreconfig import CoreConfig
from deluge.ui.hostlist import HostList
from deluge.ui.sessionproxy import SessionProxy
from deluge.ui.web.common import _
log = logging.getLogger(__name__)

View File

@ -25,7 +25,7 @@ from deluge.crypto_utils import check_ssl_keys, get_context_factory
from deluge.i18n import set_language, setup_translation
from deluge.ui.tracker_icons import TrackerIcons
from deluge.ui.web.auth import Auth
from deluge.ui.web.common import Template
from deluge.ui.web.common import Template, _
from deluge.ui.web.json_api import JSON, WebApi, WebUtils
from deluge.ui.web.pluginmanager import PluginManager