mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Improve doc Untitled https://github.com/siyuan-note/siyuan/issues/12622
This commit is contained in:
parent
2e39cb75c5
commit
fb2b9c5319
2 changed files with 3 additions and 3 deletions
|
|
@ -1770,7 +1770,7 @@ func RenameDoc(boxID, p, title string) (err error) {
|
|||
return
|
||||
}
|
||||
if "" == title {
|
||||
title = Conf.language(105)
|
||||
title = Conf.language(16)
|
||||
}
|
||||
title = strings.ReplaceAll(title, "/", "")
|
||||
|
||||
|
|
@ -1808,7 +1808,7 @@ func createDoc(boxID, p, title, dom string) (tree *parse.Tree, err error) {
|
|||
title = strings.ReplaceAll(title, "/", "")
|
||||
title = strings.TrimSpace(title)
|
||||
if "" == title {
|
||||
title = Conf.Language(105)
|
||||
title = Conf.Language(16)
|
||||
}
|
||||
|
||||
baseName := strings.TrimSpace(path.Base(p))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue