mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🎨 i18n Bazaar package
This commit is contained in:
parent
89c9736b84
commit
54dcde6b48
1 changed files with 7 additions and 0 deletions
|
|
@ -38,6 +38,12 @@ import (
|
||||||
"golang.org/x/text/transform"
|
"golang.org/x/text/transform"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type DisplayName struct {
|
||||||
|
Default string `json:"default"`
|
||||||
|
ZhCN string `json:"zh_CN"`
|
||||||
|
EnUS string `json:"en_US"`
|
||||||
|
}
|
||||||
|
|
||||||
type Description struct {
|
type Description struct {
|
||||||
Default string `json:"default"`
|
Default string `json:"default"`
|
||||||
ZhCN string `json:"zh_CN"`
|
ZhCN string `json:"zh_CN"`
|
||||||
|
|
@ -61,6 +67,7 @@ type Package struct {
|
||||||
Author string `json:"author"`
|
Author string `json:"author"`
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
|
DisplayName *DisplayName `json:"displayName"`
|
||||||
Description *Description `json:"description"`
|
Description *Description `json:"description"`
|
||||||
Readme *Readme `json:"readme"`
|
Readme *Readme `json:"readme"`
|
||||||
Funding *Funding `json:"funding"`
|
Funding *Funding `json:"funding"`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue