mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +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
|
|
@ -687,7 +687,7 @@ func indexHistoryDir(name string, luteEngine *lute.Lute) {
|
|||
|
||||
title := tree.Root.IALAttr("title")
|
||||
if "" == title {
|
||||
title = "Untitled"
|
||||
title = Conf.language(105)
|
||||
}
|
||||
content := tree.Root.Content()
|
||||
p := strings.TrimPrefix(doc, util.HistoryDir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue