Bug 1986754
Summary: | In Home->Events Dashboard, 'more' and 'Show Less' are hardcodes when the browser set to Chinese language | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Xu Rui Li <xurl> | |
Component: | Management Console | Assignee: | ralpert | |
Status: | CLOSED ERRATA | QA Contact: | Xiyun Zhao <xiyuzhao> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.8 | CC: | aos-bugs, jokerman, spadgett, yapei | |
Target Milestone: | --- | Keywords: | i18n, Translation | |
Target Release: | 4.9.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: "More" and "show less" were not internationalized.
Consequence: Poor user experience.
Fix: Passed in extra props with internationalizable text to the underlying PatternFly component.
Result: Bug is fixed.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1990193 (view as bug list) | Environment: | ||
Last Closed: | 2021-10-18 17:42:49 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1990193 | |||
Attachments: |
Created attachment 1806637 [details]
'Show Less' is hardcode and not translated in Simplified Chinese language.
Created attachment 1806638 [details]
'more' in search view
Created attachment 1806639 [details]
'Show Less' in search view
Most likely these are the default messages from PatternFly, and we're need to pass our own strings to the PF components. Hey @xiyuzhao - I added screenshots to GitHub of the 'show more' and 'show less' changes. I don't use the nightly builds though. Hi @ralpert add more comments on Github The issue which is not fixed on Home -> Search page mentioned in the comment will tracking in Bug 1990193 The reported issue of Home-> Events page which about 'more' and 'Show Less' button has been fixed and verified 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.9.0 bug fix and 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-2021:3759 |
Created attachment 1806636 [details] 'more' is hardcode and not translated in Simplified Chinese language. Description of problem: In Home->Events Dashboard, 'more' and 'Show Less' are hardcodes when the browser set to Chinese language or other languages. Version-Release number of selected component (if applicable): 4.8.2 How reproducible: Steps to Reproduce: 1.Login OpenShift Web console 2.The language preference set to Simplified Chinese language 3.In Administrator, access Home->Events dashboard 3.In Events, check some resource filters, in resource bar, 'more' is hardcode and not translated in Simplified Chinese language. 4.Click 'more' button, display the selected resources, 'Show Less' is hardvode and not translated too. Actual results: 'more' and 'Show Less' are hardcodes when the browser set to Chinese language or other languages. Expected results: 'more' and 'Show Less' are translatable when the browser set to Chinese language or other languages. Additional info: