mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-18 17:48:00 +08:00
refactor and update i18n, to be continue
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
</div>
|
||||
<div class="m-copyright">
|
||||
<p>
|
||||
本文档使用 <a href="https://www.iminho.me" target="_blank">MinDoc</a> 发布
|
||||
{{i18n .Lang "doc.doc_publish_by"}} <a href="https://www.iminho.me" target="_blank">MinDoc</a> {{i18n .Lang "doc.doc_publish"}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -200,6 +200,7 @@
|
||||
<script src="{{cdnjs "/static/js/html-editor.js"}}" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
lang = {{i18n $.Lang "common.js_lang"}};
|
||||
$("#attachInfo").on("click",function () {
|
||||
$("#uploadAttachModal").modal("show");
|
||||
});
|
||||
|
@@ -442,6 +442,7 @@
|
||||
<script src="{{cdnjs "/static/js/markdown.js" "version"}}" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
lang = {{i18n $.Lang "common.js_lang"}};
|
||||
$("#attachInfo").on("click",function () {
|
||||
$("#uploadAttachModal").modal("show");
|
||||
});
|
||||
|
@@ -386,6 +386,7 @@
|
||||
<script src="{{cdnjs "/static/js/quill.js"}}" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
lang = {{i18n $.Lang "common.js_lang"}};
|
||||
hljs.configure({ // optionally configure hljs
|
||||
languages: ['javascript', 'ruby', 'python']
|
||||
});
|
||||
|
Reference in New Issue
Block a user