From e6f69713ebeb382aecece646fac21cef0b997009 Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Thu, 22 Jun 2023 10:00:04 +0200 Subject: [PATCH] [BUGFIX] Make screenreader current label translatable Resolves: #964 --- Resources/Private/Language/locallang.xlf | 4 ++++ .../Private/Partials/Page/Navigation/MainNavigation.html | 2 +- Resources/Private/Partials/Page/Navigation/Subnavigation.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index e358ea96e..a25fb787e 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -25,6 +25,10 @@ To top + + current + + You are here: diff --git a/Resources/Private/Partials/Page/Navigation/MainNavigation.html b/Resources/Private/Partials/Page/Navigation/MainNavigation.html index f214ad066..88ae11e32 100644 --- a/Resources/Private/Partials/Page/Navigation/MainNavigation.html +++ b/Resources/Private/Partials/Page/Navigation/MainNavigation.html @@ -15,7 +15,7 @@ - {item.title} (current) + {item.title} (({f:translate(key: 'navigation.link.screenreader.current', extensionName: 'bootstrap_package')}))