joomlagerman / joomla

The J!German translation team provides German translation for Joomla!
https://www.jgerman.de
GNU General Public License v2.0
25 stars 46 forks source link

[a11y] Fix missing aria-label in pagenavigation #3202

Closed jgerman-bot closed 3 months ago

jgerman-bot commented 3 months ago

New language relevant PR in upstream repo: https://github.com/joomla/joomla-cms/pull/43600 Here are the upstream changes:

Click to expand the diff! ```diff diff --git a/administrator/language/en-GB/plg_content_pagenavigation.ini b/administrator/language/en-GB/plg_content_pagenavigation.ini index ae698f5398d5b..5b7f4f6ff3f2a 100644 --- a/administrator/language/en-GB/plg_content_pagenavigation.ini +++ b/administrator/language/en-GB/plg_content_pagenavigation.ini @@ -4,6 +4,7 @@ ; Note : All ini files need to be saved as UTF-8 PLG_CONTENT_PAGENAVIGATION="Content - Page Navigation" +PLG_PAGENAVIGATION_ARIA_LABEL="Page Navigation" PLG_PAGENAVIGATION_FIELD_DISPLAY_LABEL="Link Text" PLG_PAGENAVIGATION_FIELD_POSITION_LABEL="Position" PLG_PAGENAVIGATION_FIELD_RELATIVE_LABEL="Relative To" diff --git a/plugins/content/pagenavigation/tmpl/default.php b/plugins/content/pagenavigation/tmpl/default.php index 1245c39e3d4ac..d9b8bcc5d7a50 100644 --- a/plugins/content/pagenavigation/tmpl/default.php +++ b/plugins/content/pagenavigation/tmpl/default.php @@ -13,10 +13,12 @@ use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +$this->loadLanguage(); + $lang = $this->getLanguage(); ?> -
zero-24 commented 3 months ago

PR https://github.com/joomlagerman/joomla/pull/3203