Skip to content

Commit

Permalink
fix django i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Yc Chen committed Dec 1, 2023
1 parent c1bf780 commit 2b30ee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/static/i18n/lang/i18n_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"label.query": "查询",
"label.session": "会话管理",
"label.user": "用户管理",
"label.dba_principles": "DBA Principles",
"label.dba_principles": "相关文档",
"label.variables": "参数配置",
"label.database": "数据库管理",
"label.plugins": "工具插件",
Expand Down
4 changes: 2 additions & 2 deletions common/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
</style>
<!-- django i18n -->
{# <script type="text/javascript" src="{% url 'sql:javascript-catalog' %}"></script>#}
<script type="text/javascript" src="{% url 'sql:javascript-catalog' %}"></script>
</head>
<body>

Expand All @@ -41,7 +41,7 @@
<span class="icon-bar"></span>
</button>
{# <a class="navbar-brand" href="/index/"><strong>Archery</strong></a>#}
<a class="navbar-brand" href="/index/">
<a class="navbar-brand" href="/dashboard/">
<img src="/static/img/archery.png" alt="Archery Logo" />
</a>
</div>
Expand Down

0 comments on commit 2b30ee0

Please sign in to comment.