diff --git a/apps/locale/ja/LC_MESSAGES/django.po b/apps/locale/ja/LC_MESSAGES/django.po index abe7ba584..2f7cb65b4 100644 --- a/apps/locale/ja/LC_MESSAGES/django.po +++ b/apps/locale/ja/LC_MESSAGES/django.po @@ -4683,46 +4683,38 @@ msgid "Period clean" msgstr "定時清掃" #: settings/serializers/cleaning.py:12 -msgid "Login log keep days" -msgstr "ログインログは日数を保持します" - -#: settings/serializers/cleaning.py:12 settings/serializers/cleaning.py:16 -#: settings/serializers/cleaning.py:20 settings/serializers/cleaning.py:24 -#: settings/serializers/cleaning.py:28 settings/serializers/cleaning.py:36 -msgid "Unit: day" -msgstr "単位: 日" +msgid "Login log keep days (day)" +msgstr "ログインログは日数を保持します(天)" #: settings/serializers/cleaning.py:16 -msgid "Task log keep days" -msgstr "タスクログは日数を保持します" +msgid "Task log keep days (day)" +msgstr "タスクログは日数を保持します(天)" #: settings/serializers/cleaning.py:20 -msgid "Operate log keep days" -msgstr "ログ管理日を操作する" +msgid "Operate log keep days (day)" +msgstr "ログ管理日を操作する(天)" #: settings/serializers/cleaning.py:24 -msgid "FTP log keep days" -msgstr "ダウンロードのアップロード" +msgid "FTP log keep days (day)" +msgstr "ダウンロードのアップロード(天)" #: settings/serializers/cleaning.py:28 -msgid "Cloud sync record keep days" -msgstr "クラウド同期レコードは日数を保持します" +msgid "Cloud sync record keep days (day)" +msgstr "クラウド同期レコードは日数を保持します(天)" #: settings/serializers/cleaning.py:31 -msgid "Session keep duration" -msgstr "セッション維持期間" +msgid "Session keep duration (day)" +msgstr "セッション維持期間(天)" #: settings/serializers/cleaning.py:32 msgid "" -"Unit: days, Session, record, command will be delete if more than duration, " -"only in database" +"Session, record, command will be delete if more than duration, only in database, OSS will not be affected." msgstr "" -"単位:日。セッション、録画、コマンドレコードがそれを超えると削除されます(デー" -"タベースストレージにのみ影響します。ossなどは影響しません」影響を受ける)" +"この期間を超えるセッション、録音、およびコマンド レコードは削除されます (データベースのバックアップに影響し、OSS などには影響しません)" #: settings/serializers/cleaning.py:36 -msgid "Activity log keep days" -msgstr "活動ログは日数を保持します" +msgid "Activity log keep days (day)" +msgstr "活動ログは日数を保持します(天)" #: settings/serializers/email.py:21 msgid "SMTP host" @@ -4906,10 +4898,10 @@ msgstr "特別な" #: settings/serializers/security.py:31 msgid "" -"Unit: minute, If the user has failed to log in for a limited number of " +"If the user has failed to log in for a limited number of " "times, no login is allowed during this time interval." msgstr "" -"単位: 分。ユーザーが限られた回数だけログインできなかった場合、この時間間隔で" +"ユーザーが限られた回数だけログインできなかった場合、この時間間隔で" "はログインはできません。" #: settings/serializers/security.py:40 @@ -4937,16 +4929,16 @@ msgid "Limit the number of user login failures" msgstr "ユーザーログインの失敗数を制限する" #: settings/serializers/security.py:56 -msgid "Block user login interval" -msgstr "ユーザーのログイン間隔をブロックする" +msgid "Block user login interval (minute)" +msgstr "ユーザーのログイン間隔をブロックする(分)" #: settings/serializers/security.py:61 msgid "Limit the number of IP login failures" msgstr "IPログイン失敗の数を制限する" #: settings/serializers/security.py:65 -msgid "Block IP login interval" -msgstr "IPログイン間隔をブロックする" +msgid "Block IP login interval (minute)" +msgstr "IPログイン間隔をブロックする(分)" #: settings/serializers/security.py:69 msgid "Login IP White List" @@ -4957,17 +4949,17 @@ msgid "Login IP Black List" msgstr "ログインIPブラックリスト" #: settings/serializers/security.py:80 -msgid "User password expiration" -msgstr "ユーザーパスワードの有効期限" +msgid "User password expiration (day)" +msgstr "ユーザーパスワードの有効期限(天)" #: settings/serializers/security.py:82 msgid "" -"Unit: day, If the user does not update the password during the time, the " +"If the user does not update the password during the time, the " "user password will expire failure;The password expiration reminder mail will " "be automatic sent to the user by system within 5 days (daily) before the " "password expires" msgstr "" -"単位: 日。ユーザーがその期間中にパスワードを更新しなかった場合、ユーザーパス" +"ユーザーがその期間中にパスワードを更新しなかった場合、ユーザーパス" "ワードの有効期限が切れます。パスワードの有効期限が切れる前の5日 (毎日) 以内" "に、パスワードの有効期限が切れるリマインダーメールがシステムからユーザーに自" "動的に送信されます。" @@ -5027,15 +5019,15 @@ msgstr "" "ての認証方法を特定の順序で認証します。 、直接ログインできます" #: settings/serializers/security.py:109 -msgid "MFA verify TTL" -msgstr "MFAはTTLを確認します" +msgid "MFA verify TTL (secend)" +msgstr "MFAはTTLを確認します(秒)" #: settings/serializers/security.py:111 msgid "" -"Unit: second, The verification MFA takes effect only when you view the " +"The verification MFA takes effect only when you view the " "account password" msgstr "" -"単位: 2番目に、検証MFAはアカウントのパスワードを表示したときにのみ有効になり" +"検証MFAはアカウントのパスワードを表示したときにのみ有効になり" "ます。" #: settings/serializers/security.py:116 @@ -5044,7 +5036,7 @@ msgstr "認証コード有効時間" #: settings/serializers/security.py:117 msgid "Unit: second, reset password and send SMS code expiration time" -msgstr "単位: 2番目に、パスワードをリセットしてSMSコードの有効期限を送信します" +msgstr "パスワードをリセットしてSMSコードの有効期限を送信します" #: settings/serializers/security.py:121 msgid "Enable Login dynamic code" @@ -5100,12 +5092,12 @@ msgid "Enabled, the web session and replay contains watermark information" msgstr "Webセッションとリプレイには透かし情報が含まれています。" #: settings/serializers/security.py:165 -msgid "Connection max idle time" -msgstr "接続最大アイドル時間" +msgid "Connection max idle time (minute)" +msgstr "接続最大アイドル時間(分)" #: settings/serializers/security.py:166 -msgid "If idle time more than it, disconnect connection Unit: minute" -msgstr "アイドル時間がそれ以上の場合は、接続単位を切断します: 分" +msgid "If idle time more than it, disconnect connection." +msgstr "この設定以上の操作がない場合、接続は切断されます" #: settings/serializers/security.py:169 msgid "Remember manual auth" diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 3906b85e1..7b429aa50 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -4639,46 +4639,38 @@ msgid "Period clean" msgstr "定時清掃" #: settings/serializers/cleaning.py:12 -msgid "Login log keep days" -msgstr "登录日志" - -#: settings/serializers/cleaning.py:12 settings/serializers/cleaning.py:16 -#: settings/serializers/cleaning.py:20 settings/serializers/cleaning.py:24 -#: settings/serializers/cleaning.py:28 settings/serializers/cleaning.py:36 -msgid "Unit: day" -msgstr "单位: 天" +msgid "Login log keep days (day)" +msgstr "登录日志(天)" #: settings/serializers/cleaning.py:16 -msgid "Task log keep days" -msgstr "任务日志" +msgid "Task log keep days (day)" +msgstr "任务日志(天)" #: settings/serializers/cleaning.py:20 -msgid "Operate log keep days" -msgstr "操作日志" +msgid "Operate log keep days (day)" +msgstr "操作日志(天)" #: settings/serializers/cleaning.py:24 -msgid "FTP log keep days" -msgstr "上传下载" +msgid "FTP log keep days (day)" +msgstr "上传下载(天)" #: settings/serializers/cleaning.py:28 -msgid "Cloud sync record keep days" -msgstr "云同步记录" +msgid "Cloud sync record keep days (day)" +msgstr "云同步记录(天)" #: settings/serializers/cleaning.py:31 -msgid "Session keep duration" -msgstr "会话日志" +msgid "Session keep duration (day)" +msgstr "会话日志(天)" #: settings/serializers/cleaning.py:32 msgid "" -"Unit: days, Session, record, command will be delete if more than duration, " -"only in database" +"Session, record, command will be delete if more than duration, only in database, OSS will not be affected." msgstr "" -"单位:天。 会话、录像、命令记录超过该时长将会被删除(仅影响数据库存储, oss等不" -"受影响)" +"会话、录像,命令记录超过该时长将会被洲除(影响数据库存備,OSS 等不受影响)" #: settings/serializers/cleaning.py:36 -msgid "Activity log keep days" -msgstr "活动记录" +msgid "Activity log keep days (day)" +msgstr "活动记录(天)" #: settings/serializers/email.py:21 msgid "SMTP host" @@ -4855,9 +4847,9 @@ msgstr "必须包含特殊字符" #: settings/serializers/security.py:31 msgid "" -"Unit: minute, If the user has failed to log in for a limited number of " +"If the user has failed to log in for a limited number of " "times, no login is allowed during this time interval." -msgstr "单位:分, 当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录" +msgstr "当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录" #: settings/serializers/security.py:40 msgid "All users" @@ -4884,16 +4876,16 @@ msgid "Limit the number of user login failures" msgstr "限制用户登录失败次数" #: settings/serializers/security.py:56 -msgid "Block user login interval" -msgstr "禁止用户登录时间间隔" +msgid "Block user login interval (minute)" +msgstr "禁止用户登录时间间隔(分)" #: settings/serializers/security.py:61 msgid "Limit the number of IP login failures" msgstr "限制 IP 登录失败次数" #: settings/serializers/security.py:65 -msgid "Block IP login interval" -msgstr "禁止 IP 登录时间间隔" +msgid "Block IP login interval (minute)" +msgstr "禁止 IP 登录时间间隔(分)" #: settings/serializers/security.py:69 msgid "Login IP White List" @@ -4904,17 +4896,17 @@ msgid "Login IP Black List" msgstr "IP 登录黑名单" #: settings/serializers/security.py:80 -msgid "User password expiration" -msgstr "用户密码过期时间" +msgid "User password expiration (day)" +msgstr "用户密码过期时间(天)" #: settings/serializers/security.py:82 msgid "" -"Unit: day, If the user does not update the password during the time, the " +"If the user does not update the password during the time, the " "user password will expire failure;The password expiration reminder mail will " "be automatic sent to the user by system within 5 days (daily) before the " "password expires" msgstr "" -"单位:天, 如果用户在此期间没有更新密码,用户密码将过期失效; 密码过期提醒邮件" +"如果用户在此期间没有更新密码,用户密码将过期失效; 密码过期提醒邮件" "将在密码过期前5天内由系统(每天)自动发送给用户" #: settings/serializers/security.py:89 @@ -4966,14 +4958,14 @@ msgstr "" "序对所有已开启的认证方式进行顺序认证,只要有一个认证成功就可以直接登录" #: settings/serializers/security.py:109 -msgid "MFA verify TTL" -msgstr "MFA 校验有效期" +msgid "MFA verify TTL (secend)" +msgstr "MFA 校验有效期(秒)" #: settings/serializers/security.py:111 msgid "" -"Unit: second, The verification MFA takes effect only when you view the " +"The verification MFA takes effect only when you view the " "account password" -msgstr "单位: 秒, 目前仅在查看账号密码校验 MFA 时生效" +msgstr "目前仅在查看账号密码校验 MFA 时生效" #: settings/serializers/security.py:116 msgid "Verify code TTL" @@ -4981,7 +4973,7 @@ msgstr "验证码有效时间" #: settings/serializers/security.py:117 msgid "Unit: second, reset password and send SMS code expiration time" -msgstr "单位: 秒, 重置密码的验证码及发送短信的验证码过期时间" +msgstr "重置密码的验证码及发送短信的验证码过期时间" #: settings/serializers/security.py:121 msgid "Enable Login dynamic code" @@ -5034,12 +5026,12 @@ msgid "Enabled, the web session and replay contains watermark information" msgstr "启用后,Web 会话和录像将包含水印信息" #: settings/serializers/security.py:165 -msgid "Connection max idle time" -msgstr "连接最大空闲时间" +msgid "Connection max idle time (minute)" +msgstr "连接最大空闲时间(分)" #: settings/serializers/security.py:166 -msgid "If idle time more than it, disconnect connection Unit: minute" -msgstr "提示:如果超过该配置没有操作,连接会被断开 (单位:分)" +msgid "If idle time more than it, disconnect connection." +msgstr "提示:如果超过该配置没有操作,连接会被断开)" #: settings/serializers/security.py:169 msgid "Remember manual auth" diff --git a/apps/settings/serializers/cleaning.py b/apps/settings/serializers/cleaning.py index cc6fb00bf..dfc568c99 100644 --- a/apps/settings/serializers/cleaning.py +++ b/apps/settings/serializers/cleaning.py @@ -9,29 +9,29 @@ class CleaningSerializer(serializers.Serializer): LOGIN_LOG_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("Login log keep days"), help_text=_("Unit: day") + label=_("Login log keep days (day)"), ) TASK_LOG_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("Task log keep days"), help_text=_("Unit: day") + label=_("Task log keep days (day)"), ) OPERATE_LOG_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("Operate log keep days"), help_text=_("Unit: day") + label=_("Operate log keep days (day)"), ) FTP_LOG_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("FTP log keep days"), help_text=_("Unit: day") + label=_("FTP log keep days (day)"), ) CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("Cloud sync record keep days"), help_text=_("Unit: day") + label=_("Cloud sync record keep days (day)"), ) TERMINAL_SESSION_KEEP_DURATION = serializers.IntegerField( - min_value=1, max_value=99999, required=True, label=_('Session keep duration'), - help_text=_('Unit: days, Session, record, command will be delete if more than duration, only in database') + min_value=1, max_value=99999, required=True, label=_('Session keep duration (day)'), + help_text=_('Session, record, command will be delete if more than duration, only in database, OSS will not be affected.') ) ACTIVITY_LOG_KEEP_DAYS = serializers.IntegerField( min_value=1, max_value=9999, - label=_("Activity log keep days"), help_text=_("Unit: day") + label=_("Activity log keep days (day)"), ) diff --git a/apps/settings/serializers/security.py b/apps/settings/serializers/security.py index 891149add..7a84c9a00 100644 --- a/apps/settings/serializers/security.py +++ b/apps/settings/serializers/security.py @@ -28,7 +28,7 @@ class SecurityPasswordRuleSerializer(serializers.Serializer): login_ip_limit_time_help_text = _( - 'Unit: minute, If the user has failed to log in for a limited number of times, ' + 'If the user has failed to log in for a limited number of times, ' 'no login is allowed during this time interval.' ) @@ -53,7 +53,7 @@ class SecurityAuthSerializer(serializers.Serializer): ) SECURITY_LOGIN_LIMIT_TIME = serializers.IntegerField( min_value=5, max_value=99999, required=True, - label=_('Block user login interval'), + label=_('Block user login interval (minute)'), help_text=login_ip_limit_time_help_text ) SECURITY_LOGIN_IP_LIMIT_COUNT = serializers.IntegerField( @@ -62,7 +62,7 @@ class SecurityAuthSerializer(serializers.Serializer): ) SECURITY_LOGIN_IP_LIMIT_TIME = serializers.IntegerField( min_value=5, max_value=99999, required=True, - label=_('Block IP login interval'), + label=_('Block IP login interval (minute)'), help_text=login_ip_limit_time_help_text ) SECURITY_LOGIN_IP_WHITE_LIST = serializers.ListField( @@ -77,9 +77,9 @@ class SecurityAuthSerializer(serializers.Serializer): ) SECURITY_PASSWORD_EXPIRATION_TIME = serializers.IntegerField( min_value=1, max_value=99999, required=True, - label=_('User password expiration'), + label=_('User password expiration (day)'), help_text=_( - 'Unit: day, If the user does not update the password during the time, ' + 'If the user does not update the password during the time, ' 'the user password will expire failure;The password expiration reminder mail will be ' 'automatic sent to the user by system within 5 days (daily) before the password expires' ) @@ -106,9 +106,9 @@ class SecurityAuthSerializer(serializers.Serializer): ) SECURITY_MFA_VERIFY_TTL = serializers.IntegerField( min_value=5, max_value=60 * 60 * 10, - label=_("MFA verify TTL"), + label=_("MFA verify TTL (secend)"), help_text=_( - "Unit: second, The verification MFA takes effect only when you view the account password" + "The verification MFA takes effect only when you view the account password" ) ) VERIFY_CODE_TTL = serializers.IntegerField( @@ -162,8 +162,8 @@ class SecuritySettingSerializer(SecurityPasswordRuleSerializer, SecurityAuthSeri ) SECURITY_MAX_IDLE_TIME = serializers.IntegerField( min_value=1, max_value=99999, required=False, - label=_('Connection max idle time'), - help_text=_('If idle time more than it, disconnect connection Unit: minute') + label=_('Connection max idle time (minute)'), + help_text=_('If idle time more than it, disconnect connection.') ) SECURITY_LUNA_REMEMBER_AUTH = serializers.BooleanField( label=_("Remember manual auth")