Bug 2057972

Summary: Extra space is in the translation text(Chinese) of 'Create rolebinding' and 'replicate rolebinding'
Product: OpenShift Container Platform Reporter: Xiyun Zhao <xiyuzhao>
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11CC: aos-bugs, jhadvig, yapei
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
NA
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:47:48 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:
Attachments:
Description Flags
Duplicate_rolebinding none

Description Xiyun Zhao 2022-02-24 09:06:55 UTC
Created attachment 1863125 [details]
Duplicate_rolebinding

Description of problem:
Extra space is in the translation text(Chinese) of 'Create RoleBinding' and the  'Duplicate RoleBinding'

Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-02-23-185405

How reproducible:
Always

Steps to Reproduce:
1. Login OCP, update language to Chinese
2. Navigate to RoleBindings page, choose one rolebinding, click the kebab icon on the end, check the translation text of 'Duplicate RoleBinding'
3. Check the translation text of 'Create Rolebinding' on rolebinding creation page /k8s/cluster/rolebindings/~new

Actual results:
2. It's shown '重复 角色绑定'
3. It's Shown '创建 角色绑定'

Expected results:
Remove extra space
2. It's shown '重复角色绑定'
3. It's Shown '创建角色绑定'

Comment 4 Xiyun Zhao 2022-09-23 08:28:31 UTC
Hi @sgoodwin
This bug failed to verify on payload: 4.12.0-0.nightly-2022-09-22-153054
Two issues are found
1. the extra space on "Duplicate RoleBinding" on keban list still doesn't change
2. Although the page titles - "Create RoleBinding", "Edit RoleBinding" and "Duplicate RoleBinding" are in i18n format, the translation is missing, they will always be displayed in English. The update should not impact other languages

Comment 5 Steve Goodwin 2022-09-26 17:56:30 UTC
Hi Xiyun Zhao, 
There is a new PR that removes the space in "Duplicate RoleBinding" kebab list.
The "Create RoleBinding", "Edit RoleBinding" and "Duplicate RoleBinding" are new strings that will be sent off for translations this sprint. Since they are new strings, they need to go through each language translation, even though this bug is only for the Chinese strings.

Comment 8 Xiyun Zhao 2022-10-18 03:23:57 UTC
This bug has been verified on payload 4.12.0-0.nightly-2022-10-15-094115

Verification Step:
1. Login to OCP, update language to Chinese
2. Navigate to RoleBindings page, choose one rolebinding, click the kebab icon on the end, and check the translation text of 'Duplicate RoleBinding'
3. Check the translation text of 'Create Rolebinding' on rolebinding creation page /k8s/cluster/rolebindings/~new
4. Add "?pseudolocalization=true&lng=en" at the end of URL, check if "Create Rolebinding" is on i18n format

Result:
2. "Duplicate Rolebinding" has been translated correctly and the extra space has been removed
4. The "Create RoleBinding" part is in i18n format

Comment 11 errata-xmlrpc 2023-01-17 19:47:48 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.12.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-2022:7399