mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 17:30:30 +00:00
perf: i18n System Settings -> General,Org,Notifications
This commit is contained in:
@@ -10,8 +10,8 @@ class BasicSettingSerializer(serializers.Serializer):
|
||||
SITE_URL = serializers.URLField(
|
||||
required=True, label=_("Site URL"),
|
||||
help_text=_(
|
||||
'External URL, email links or other system callbacks are used to access it, '
|
||||
'eg: http://dev.jumpserver.org:8080'
|
||||
'Site URL is the externally accessible address of the current product '
|
||||
'service and is usually used in links in system emails'
|
||||
)
|
||||
)
|
||||
USER_GUIDE_URL = serializers.URLField(
|
||||
@@ -23,12 +23,12 @@ class BasicSettingSerializer(serializers.Serializer):
|
||||
help_text=_('The name of global organization to display')
|
||||
)
|
||||
HELP_DOCUMENT_URL = serializers.URLField(
|
||||
required=False, allow_blank=True, allow_null=True, label=_("Help Docs URL"),
|
||||
help_text=_('default: http://docs.jumpserver.org')
|
||||
required=False, allow_blank=True, allow_null=True, label=_("Document URL"),
|
||||
help_text=_('Document URL refers to the address in the top navigation bar Help - Document')
|
||||
)
|
||||
HELP_SUPPORT_URL = serializers.URLField(
|
||||
required=False, allow_blank=True, allow_null=True, label=_("Help Support URL"),
|
||||
help_text=_('default: http://www.jumpserver.org/support/')
|
||||
required=False, allow_blank=True, allow_null=True, label=_("Support URL"),
|
||||
help_text=_('Support URL refers to the address in the top navigation bar Help - Support')
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user