mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 Title localization when creating a document https://github.com/siyuan-note/siyuan/issues/10719
This commit is contained in:
parent
f5043a8c46
commit
2a8809bc7e
25 changed files with 72 additions and 61 deletions
|
|
@ -476,7 +476,7 @@ export const exportMd = (id: string) => {
|
|||
});
|
||||
btnsElement[1].addEventListener("click", () => {
|
||||
if (inputElement.value.trim() === "") {
|
||||
inputElement.value = "Untitled";
|
||||
inputElement.value = window.siyuan.languages.untitled;
|
||||
} else {
|
||||
inputElement.value = replaceFileName(inputElement.value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue