mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve bazaar package
This commit is contained in:
parent
9dc6f56bff
commit
3c3f34442f
1 changed files with 3 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ type Readme struct {
|
|||
ItIT string `json:"it_IT"`
|
||||
JaJP string `json:"ja_JP"`
|
||||
PlPL string `json:"pl_PL"`
|
||||
ptBR string `json:"pt_BR"`
|
||||
PtBR string `json:"pt_BR"`
|
||||
RuRU string `json:"ru_RU"`
|
||||
ZhCHT string `json:"zh_CHT"`
|
||||
ZhCN string `json:"zh_CN"`
|
||||
|
|
@ -209,8 +209,8 @@ func getPreferredReadme(readme *Readme) string {
|
|||
ret = readme.PlPL
|
||||
}
|
||||
case "pt_BR":
|
||||
if "" != readme.ptBR {
|
||||
ret = readme.ptBR
|
||||
if "" != readme.PtBR {
|
||||
ret = readme.PtBR
|
||||
}
|
||||
case "ru_RU":
|
||||
if "" != readme.RuRU {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue