perf: change i18n

pull/13122/head
ibuler 2024-04-18 20:12:01 +08:00
parent f8953441e3
commit 9dbdd6ac60
2 changed files with 4 additions and 1 deletions

View File

@ -193,6 +193,9 @@ class UserLoginView(mixins.AuthMixin, UserLoginContextMixin, FormView):
if self.request.GET.get("admin", 0):
return None
if not settings.XPACK_ENABLED:
return None
auth_types = [m for m in self.get_support_auth_methods() if m.get('auto_redirect')]
if not auth_types:
return None

View File

@ -978,7 +978,7 @@
"SelectByAttr": "Attribute Filter",
"SelectFile": "Select File",
"SelectKeyOrCreateNew": "Select Tag Key or Create New One",
"SelectLabelFilter": "Select tag for search",
"SelectLabelFilter": "Select label for search",
"SelectPlatforms": "Select Platform",
"SelectProperties": "Attributes",
"SelectResource": "Select Resources",