ranbuch / accessibility

add accessibility to your website
MIT License
287 stars 35 forks source link

Panel Status Language Constants do not cater for multiple plurals #32

Closed dyfrig closed 2 years ago

dyfrig commented 2 years ago

The system plugin Joomla Accessibility Checker needs to be changed so that the following language constants cater for languages with multiple plural forms.

PLG_SYSTEM_JOOA11Y_PANEL_STATUS_2="1 accessibility error and %(warningCount) warnings found." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_3="%(errorCount) accessibility errors and 1 warning found." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_4="%(errorCount) accessibility errors and %(warningCount) warnings found." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_6="%(errorCount) accessibility errors found." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_8="Please review %(warningCount) warnings." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_10="%(warningCount) <span class=\"jooa11y-visually-hidden\">warnings found." PLG_SYSTEM_JOOA11Y_PANEL_STATUS_11="%(totalCount) <span class=\"jooa11y-visually-hidden\">total issues found."

dyfrig commented 2 years ago

sorry I think I've put this in wrong place?