🎨 Changelog supports Traditional Chinese https://github.com/siyuan-note/siyuan/issues/8333

This commit is contained in:
Daniel 2023-05-23 20:41:11 +08:00
parent c735b3c610
commit 6de41eda82
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -9,7 +9,7 @@ export const openChangelog = () => {
return;
}
const dialog = new Dialog({
title: `${window.siyuan.languages.whatsNewInSiYuan}`,
title: `${window.siyuan.languages.whatsNewInSiYuan} v${window.siyuan.config.system.kernelVersion}`,
width: isMobile() ? "92vw" : "768px",
height: isMobile() ? "80vh" : "70vh",
content: `<div style="overflow:auto;" class="b3-dialog__content b3-typography b3-typography--default">${response.data.html}</div>`