rajnandan1 / kener

Kener is a Modern Self hosted Status Page, batteries included
https://kener.ing/
MIT License
2.2k stars 83 forks source link

Create zh_CN.json #74

Closed PearsSauce closed 2 months ago

PearsSauce commented 2 months ago

fix:Add Chinese language

fetus-hina commented 2 months ago

It looks like the variable part is replaced by a fixed x or n. Does this file really work as intended?

For example,

"last_x_hours": "最后_x_个小时"

maybe:

"last_x_hours": "最后 %hours 个小时"
PearsSauce commented 2 months ago

看起来可变部分被固定x或替换n。这个文件真的能按预期工作吗?

例如,

"last_x_hours": "最后_x_个小时"

或许:

"last_x_hours": "最后 %hours 个小时"

I saw that %status, %minute, and %hours appear to be variables. I need to verify this. If they are variables, then I need to correct the content of the zh-CN.json file.

PearsSauce commented 2 months ago

文件里的内容,我会持续关注并更新,使它看起来更合理。