primefaces / primelocale

MIT License
74 stars 108 forks source link

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

Closed kevin82222 closed 3 months ago

kevin82222 commented 3 months ago

ref: locale options

melloware commented 3 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.