diff --git a/README.md b/README.md index 7da50f8..c552cf4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Introduction -Leanote, it's a cloud note. You can create your own cloud note in leanote. +Leanote, a cloud note. You can create your own cloud note by leanote. ## Features * Knowledge: manage your knowledge in leanote. leanote contains tinymce editor and markdown editor, just enjoy yourself in writting. diff --git a/app/init.go b/app/init.go index 6192d06..9f4a834 100644 --- a/app/init.go +++ b/app/init.go @@ -58,7 +58,8 @@ func init() { if tags == nil || len(tags) == 0 { return "" } - tagMap := map[string]string{"red": "红色", "yellow": "黄色", "blue": "蓝色", "green": "绝色"} + // TODO 这里判断语言, 从语言包中拿 + tagMap := map[string]string{"red": "红色", "yellow": "黄色", "blue": "蓝色", "green": "绿色"} tagStr := "" lenTags := len(tags) for i, tag := range tags {