Bug 1900020

Summary: Remove ' from internationalized keys
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: ralpert
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: aos-bugs, jokerman, yanpzhan, yapei
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Keys contained apostrophe codes. Fix: Codes were replaced with apostrophes. Result: Bug is fixed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:35:07 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:

Description ralpert 2020-11-20 15:44:43 UTC
Description of problem:
A couple of keys have &apos; in them instead of apostrophes. 

These are:
* "No new Pods or workloads will be placed on this Node until it&apos;s marked as schedulable." in frontend/packages/console-app/locales/en/nodes.json - used in frontend/packages/console-app/src/components/nodes/popovers/MarkAsSchedulablePopover.tsx.
* "TLS certificates for edge and re-encrypt termination. If not specified, the router&apos;s default certificate is used." in frontend/packages/dev-console/locales/en/devconsole.json - used in frontend/packages/dev-console/src/components/import/route/SecureRoute.tsx.

We shouldn't have &apos; in the keys; the text needs to be updated and yarn i18n needs to be run.

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

How reproducible:
Always

Actual results:
&apos; is present in the keys.

Expected results:
There shouldn't be an &apos; in the keys.

Additional info:
This issue was raised by translation.

Comment 2 Yadan Pei 2020-11-27 02:45:17 UTC
fix is not included in 4.7.0-0.nightly-2020-11-26-201843 yet

Comment 3 Yanping Zhang 2020-12-07 08:44:01 UTC
Checked on ocp 4.7 cluster with payload 4.7.0-0.nightly-2020-12-04-013308.
Go to developer console, click "+Add" -> "From Catalog", add "?pseudolocalization=true&lng=en" in the end of the url, then choose a image to create app, on the creation page, choose secure the route, and select "Edge" termination type, check the strings: " ḬḬϝ ṇṓṓţ ṡṗḛḛͼḭḭϝḭḭḛḛḍ, ţḥḛḛ ṛṓṓṵṵţḛḛṛ'ṡ ḍḛḛϝααṵṵḽţ ͼḛḛṛţḭḭϝḭḭͼααţḛḛ ḭḭṡ ṵṵṡḛḛḍ.]", the "&apos" is removed now.
The bug is fixed.

Comment 6 errata-xmlrpc 2021-02-24 15:35:07 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.7.0 security, bug fix, and enhancement 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-2020:5633