abichinger / vue-js-cron

Renderless Vue.js cron editor
MIT License
73 stars 23 forks source link

I want to use Chinese, but the interface is abnormal #24

Closed helloann closed 1 year ago

helloann commented 1 year ago

2CBD6FED2494B14701A17F4E26DA727F

import "@vue-js-cron/light" and then locale="cn" but some is chinese, other not.

Looking forward to your reply

helloann commented 1 year ago

<cronLight v-model="value" locale="cn” @error="error=$event">

abichinger commented 1 year ago

Hello @helloann,

have you tried zh-cn?

helloann commented 1 year ago

<cronLight v-model="value" locale="zh-cn”>

Thanks for your reply. But It doesn't work either.

helloann commented 1 year ago

23 I checked it. It seems the locale zh-cn didn't push on @vue-js-cron/light 1.0.5 for vue2.

abichinger commented 1 year ago

I'm sorry, but I'm probably not going to maintain the vue2 version any longer.

helloann commented 1 year ago

After dig study your code. I use locale="zh-cn" ad custom-locale to solve it. It's successful. Thanks again.