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

i18n: 标点符号的轻微更正 #743

Closed
Elypha opened this issue Jan 12, 2024 · 2 comments
Closed

i18n: 标点符号的轻微更正 #743

Elypha opened this issue Jan 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Elypha
Copy link

Elypha commented Jan 12, 2024

在浏览代码时发现一些硬编码的仅用于部分语言的符号,且会出现在前端用户界面。

追求更规范的多语言支持的话,感觉可以再调整一下这些文本的输出方式……?比如 https://github.com/ArtalkJS/Artalk/blob/master/ui/artalk/src/plugins/editor/submit.ts#L64 处有一个硬编码的中文全角逗号。

另外能想到的是对每个语言的分隔符创建翻译,例如, ,, 。可能比较省事但不一定所有语言都能写成这种结构的自然句子。

@dianso
Copy link

dianso commented Jan 12, 2024

上一页下一页也是硬编码为英文

@qwqcode qwqcode added the enhancement New feature or request label Jan 25, 2024
@qwqcode
Copy link
Member

qwqcode commented Jan 31, 2024

感谢反馈,v2.8.0 中文全角逗号已删除,上一页下一页改成了图标

@Elypha Elypha closed this as completed Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants