Issue Bug Closed

#96795Localization Labels used in wrong order in SearchController

Gerhard Rupp 02/08/22, 19:03 updated 10/04/22, 14:17

Description

Line 481 ff:

            if ($pp[0] != $pp[1]) {
                $481resultData['titleaddition'] = ', ' . LocalizationUtility::translate('result.page', 'IndexedSearch') . ' ' . $dat['key'];
            } else {
                $resultData['titleaddition'] = ', ' . LocalizationUtility::translate('result.pages', 'IndexedSearch') . ' ' . $pp[0];
            }

As the first condition is the one with several pages ranges is has to be result.pages in line 481 and result page in line 483.

Reviews 3