Skip to content

Commit

Permalink
perf: ftp log has_file trans
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 committed Jun 24, 2024
1 parent 18e648a commit 9b14f2a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/audits/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class FTPLog(OrgModelMixin):
filename = models.CharField(max_length=1024, verbose_name=_("Filename"))
is_success = models.BooleanField(default=True, verbose_name=_("Success"))
date_start = models.DateTimeField(auto_now_add=True, verbose_name=_("Date start"), db_index=True)
has_file = models.BooleanField(default=False, verbose_name=_("File"))
has_file = models.BooleanField(default=False, verbose_name=_("Can Download"))
session = models.CharField(max_length=36, verbose_name=_("Session"), default=uuid.uuid4)

class Meta:
Expand Down
12 changes: 8 additions & 4 deletions apps/i18n/core/ja/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-24 16:42+0800\n"
"POT-Creation-Date: 2024-06-24 19:12+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -2548,9 +2548,9 @@ msgstr "操作"
msgid "Filename"
msgstr "ファイル名"

#: audits/models.py:66 common/serializers/common.py:98
msgid "File"
msgstr "書類"
#: audits/models.py:66
msgid "Can Download"
msgstr "ダウンロード"

#: audits/models.py:67 terminal/backends/command/models.py:21
#: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20
Expand Down Expand Up @@ -4018,6 +4018,10 @@ msgstr "{} 秒待ってから送信してください"
msgid "Children"
msgstr "ノード"

#: common/serializers/common.py:98
msgid "File"
msgstr "書類"

#: common/serializers/fields.py:135
msgid "Invalid data type"
msgstr "無効なデータ"
Expand Down
12 changes: 8 additions & 4 deletions apps/i18n/core/zh/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-24 16:42+0800\n"
"POT-Creation-Date: 2024-06-24 19:12+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n"
Expand Down Expand Up @@ -2528,9 +2528,9 @@ msgstr "操作"
msgid "Filename"
msgstr "文件名"

#: audits/models.py:66 common/serializers/common.py:98
msgid "File"
msgstr "文件"
#: audits/models.py:66
msgid "Can Download"
msgstr "可下载"

#: audits/models.py:67 terminal/backends/command/models.py:21
#: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20
Expand Down Expand Up @@ -3967,6 +3967,10 @@ msgstr "请在 {} 秒后发送"
msgid "Children"
msgstr "节点"

#: common/serializers/common.py:98
msgid "File"
msgstr "文件"

#: common/serializers/fields.py:135
msgid "Invalid data type"
msgstr "无效的数据"
Expand Down

0 comments on commit 9b14f2a

Please sign in to comment.