mirror of https://github.com/jumpserver/jumpserver
[Update] 修改文案
parent
1c0d783eec
commit
cb8e59edf2
|
@ -1,5 +1,6 @@
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.views.generic import ListView
|
from django.views.generic import ListView
|
||||||
|
from django.utils.translation import ugettext as _
|
||||||
|
|
||||||
from common.mixins import AdminUserRequiredMixin, DatetimeSearchMixin
|
from common.mixins import AdminUserRequiredMixin, DatetimeSearchMixin
|
||||||
|
|
||||||
|
@ -46,6 +47,8 @@ class FTPLogListView(AdminUserRequiredMixin, DatetimeSearchMixin, ListView):
|
||||||
'asset': self.asset,
|
'asset': self.asset,
|
||||||
'system_user': self.system_user,
|
'system_user': self.system_user,
|
||||||
'filename': self.filename,
|
'filename': self.filename,
|
||||||
|
"app": _("Audits"),
|
||||||
|
"action": _("FTP log"),
|
||||||
}
|
}
|
||||||
kwargs.update(context)
|
kwargs.update(context)
|
||||||
return super().get_context_data(**kwargs)
|
return super().get_context_data(**kwargs)
|
||||||
|
|
Binary file not shown.
|
@ -1927,7 +1927,7 @@ msgstr "作业中心"
|
||||||
|
|
||||||
#: templates/_nav.html:64
|
#: templates/_nav.html:64
|
||||||
msgid "Audits"
|
msgid "Audits"
|
||||||
msgstr "审计"
|
msgstr "日志审计"
|
||||||
|
|
||||||
#: templates/_nav.html:67
|
#: templates/_nav.html:67
|
||||||
msgid "FTP log"
|
msgid "FTP log"
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<i class="fa fa-coffee" style="width: 14px"></i> <span class="nav-label">{% trans 'Audits' %}</span><span class="fa arrow"></span>
|
<i class="fa fa-coffee" style="width: 14px"></i> <span class="nav-label">{% trans 'Audits' %}</span><span class="fa arrow"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-second-level">
|
<ul class="nav nav-second-level">
|
||||||
<li id="task"><a href="{% url 'audits:ftp-log-list' %}">{% trans 'FTP log' %}</a></li>
|
<li id="ftp-log"><a href="{% url 'audits:ftp-log-list' %}">{% trans 'FTP log' %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{#<li id="">#}
|
{#<li id="">#}
|
||||||
|
|
Loading…
Reference in New Issue