mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-25 10:59:13 +08:00
refactor and update i18n, to be continue
This commit is contained in:
@@ -428,7 +428,7 @@
|
||||
window.bookDialogModal = $(this).find("#addBookDialogForm").html();
|
||||
drawBookCover("bookCover","{{i18n $.Lang "blog.default_cover"}}");
|
||||
$('.js-data-example-ajax-add').select2({
|
||||
language: "zh-CN",
|
||||
language: "{{i18n $.Lang "common.js_lang"}}",
|
||||
minimumInputLength : 1,
|
||||
minimumResultsForSearch: Infinity,
|
||||
maximumSelectionLength:1,
|
||||
@@ -480,7 +480,7 @@
|
||||
}
|
||||
});
|
||||
$('.js-data-example-ajax-import').select2({
|
||||
language: "zh-CN",
|
||||
language: "{{i18n $.Lang "common.js_lang"}}",
|
||||
minimumInputLength : 1,
|
||||
minimumResultsForSearch: Infinity,
|
||||
maximumSelectionLength:1,
|
||||
|
||||
Reference in New Issue
Block a user