Bug: the phrases «records found» and «selected» above an admin grid are untranslatable (and my fix)

localization
bug-fix
knockout

(Dmitry Fedyuk) #1

See the code:

As you can see the system does not translate the phrase «records found».
To fix it replace the line with the following code:

<span data-bind="text: totalRecords"></span> <!-- ko i18n: 'records found' --><!-- /ko -->

The similar bug with the «selected» phrase:

Replace the line with the following code:

(<span data-bind="text: totalSelected"></span> <!-- ko i18n: 'selected' --><!-- /ko -->)