Bug 1989843 - 'More' and 'Show Less' functions are not translated on several page
Summary: 'More' and 'Show Less' functions are not translated on several page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.10.0
Assignee: Bryan Florkiewicz
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-04 07:45 UTC by Xiyun Zhao
Modified: 2022-03-12 04:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-12 04:37:00 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10091 0 None open Bug 1989843: 'More' and 'Show Less' chips are not translated 2021-09-16 19:06:21 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:37:13 UTC

Description Xiyun Zhao 2021-08-04 07:45:47 UTC
Description of problem:
 'More' and 'Show Less' functions are not translated on several pages.
The issue happens on Pods, Secrets, BuildConfigs, Builds page, and so on where it has a "Filter" component.

Version-Release number of selected component (if applicable):
4.9

How reproducible:
Always

Steps to Reproduce:
1. Login OCP, add '?pseudolocalization=true&lng=en' at the end of the URL
2. On the Pods page, check more than three options on the 'Filter' component 
3. Verify if 'more' is being translated
4. After clicking the 'more' button, verify if the 'Show Less' button is being translated
5. Do step2-4 on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, BuildConfigs, Builds, Alerts, Nodes, Roles, RoleBindings, ClusterSetting-ClusterOperator tab, ResourceQuotas  

Actual results:
3,4 'more' and 'Show Less' is not translated, or in i18n

Expected results:
3,4 'more' and 'Show Less' is translated correctly

Additional info:
This bug requests for more changes to Bug 1986754

Comment 3 Samuel Padgett 2021-09-03 19:32:52 UTC
It looks like the "3 filters applied" text is also not translated. Presumably the PF filter toolbar component has a way to pass custom messages as props.

Comment 5 Xiyun Zhao 2021-09-21 15:38:11 UTC
This bug has been fixed and verified on payload 4.10.0-0.nightly-2021-09-21-080834

Verification Steps:
1. Login OCP, add '?pseudolocalization=true&lng=en' at the end of the URL
2. On the Pods page, check more than three options on the 'Filter' component 
3. Verify if 'more' is being translated
4. After clicking the 'more' button, verify if the 'Show Less' button is being translated
5. Do step2-4 on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, BuildConfigs, Builds, Alerts, Nodes, Roles, RoleBindings, ClusterSetting-ClusterOperator tab, ResourceQuotas  

Results:
3,4 'more' and 'Show Less' has been translated (i18n mode) on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, and related pages

Comment 9 errata-xmlrpc 2022-03-12 04:37:00 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.