Bug 2033098 - Conjunction in ProgressiveListFooter.tsx is not translatable
Summary: Conjunction in ProgressiveListFooter.tsx is not translatable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.10.0
Assignee: Nico Finkernagel
QA Contact: spathak@redhat.com
URL:
Whiteboard:
: 1982687 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-15 22:58 UTC by Nico Finkernagel
Modified: 2022-03-10 16:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:34:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10790 0 None open Bug 2033098: Conjunction in the ProgressiveListFooter is now translatable 2022-01-07 12:41:53 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:34:18 UTC

Description Nico Finkernagel 2021-12-15 22:58:24 UTC
Description of problem:
In https://github.com/openshift/console/blob/master/frontend/packages/dev-console/src/components/progressive-list/ProgressiveListFooter.tsx#L22-L29 we use an approach that does not allow the rendered text to be translated.

Expected results:
The text should be translatable. We should use the internationalization API provided by the browser. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat.

Additional info:
The bugfix requires https://github.com/openshift/console/pull/10569 to be merged first because this PR includes the TS typings needed for the fix.

Comment 3 Christoph Jerolimov 2022-01-24 19:56:02 UTC
Verified on 4.10.0-0.nightly-2022-01-24-181700 with a non-English language setting.

Comment 5 Christoph Jerolimov 2022-03-07 12:53:35 UTC
*** Bug 1982687 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2022-03-10 16:34:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.