Short version of weekdays in Persian

Hi
On the calendar date picker, the short versions of weekdays in Persian are the same as the full versions, and the weekday names overflow the date picker box:

Please change them as follows:

sun => یک
mon => دو
tue => سه
wed => چهار
thu => پنج
fri => جمعه
sat => شنبه

Thank you!

1 лайк

You’ll need to edit translations on Transifex. https://www.transifex.com/discourse/discourse-org/

2 лайка

Thank you. I tried searching for “شنبه” on Transifex, but I couldn’t find the related resource.

The labels aren’t on Transifex. They are coming from moment/locale at develop · moment/moment · GitHub

UX: Use shorter weekday labels in date picker · discourse/discourse@2c08d43 · GitHub will make it more readable.

5 лайков
        weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
        weekdaysShort : 'یک_دو_سه_چهار_پنج_جمعه_شنبه'.split('_'),
        weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),

weekdaysShort could also be changed here as above code. This short version would make sense to users if the context is clear, like here at date picking box. full version and min version are completely correct.

Thanks

4 лайка