add english translation

This commit is contained in:
lijiejie
2022-04-10 00:08:10 +08:00
parent e5b34be344
commit c004584df0
10 changed files with 483 additions and 90 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
{% load i18n %}
<div style="margin-left: auto;">
<label><input type="checkbox" class="form-control ml-5 mr-2" id="auto_refresh" {% if monitor == 'true' %} checked {% endif %}>监视刷新</label>
<label><input type="checkbox" class="form-control ml-5 mr-2" id="auto_refresh" {% if monitor == 'true' %} checked {% endif %}>{% translate '监视刷新' %}</label>
</div>
<div class="mr-5 ml-2">
<img src="/static/help.png" width="16" height="16" data-toggle="popover" data-trigger="hover" data-title="自动刷新" data-content="监视频率为20秒,一旦发现新域名,本页面将自动刷新。如果希望监视特定关键词,请在搜索结果页开启"/>
<img src="/static/help.png" width="16" height="16" data-toggle="popover" data-trigger="hover" data-title="{% translate '自动刷新' %}" data-content="{% translate '监视频率为20秒,一旦发现新域名,本页面将自动刷新。如果希望监视特定关键词,请在搜索结果页开启' %}"/>
</div>