primefaces / primelocale

MIT License
83 stars 111 forks source link

fix(zh-TW): Correct key aria.previousPageLabel to aria.prevPageLabel #170

Closed kevin82222 closed 5 months ago

kevin82222 commented 5 months ago

ref: locale options

melloware commented 5 months ago

I don't think this is correct.

PrimeFaces JSF uses previousPageLabel: this.prevLink.attr('aria-label', PrimeFaces.getAriaLabel('previousPageLabel'));

PrimeReact uses previousPageLabel: 'aria-label': ariaLabel('previousPageLabel')

I htink you need to submit a bug to PrimeNG or PrimeVue to use the correct label.