Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve marketplace multi-language internationalization #13053

Closed
TCOTC opened this issue Nov 6, 2024 · 4 comments
Closed

Improve marketplace multi-language internationalization #13053

TCOTC opened this issue Nov 6, 2024 · 4 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 6, 2024

解决集市已下载中不显示插件的问题

  1. 外观语言为中文,插件没有指定默认 README 与中文 README 的情况下,需要优先使用英文,其次使用其他语言

    比如不指定 default 的情况下 siyuan-oembed 插件就不能显示。

    image

  2. 外观语言为指定语言,插件获取不到该语言 README 时,使用其他能获取到的 README

    比如之前五彩插件没有打包 README_zh_CN.md ,但 plugin.json 里又有 "zh_CN": "README_zh_CN.md" ,就导致在已下载中不能显示插件

  3. 其他字段也一样

    image

@88250 88250 self-assigned this Nov 6, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Nov 6, 2024

还有个语言显示不正确的问题:

image

@TCOTC TCOTC mentioned this issue Nov 6, 2024
3 tasks
@88250
Copy link
Member

88250 commented Nov 8, 2024

都使用 README.md 兜底吧。

@TCOTC
Copy link
Contributor Author

TCOTC commented Nov 8, 2024

如果没有打包 README.md(或者README) 的话也不行

@88250 88250 added this to the 3.1.12 milestone Nov 8, 2024
@88250
Copy link
Member

88250 commented Nov 8, 2024

这个是打包时要求打包的

@88250 88250 changed the title 解决集市已下载中不显示插件的问题 Improve marketplace multi-language internationalization Nov 8, 2024
@88250 88250 closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants