Bug 1963209

Summary: Some strings in public.json have errors
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: Bryan Florkiewicz <bflorkie>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: low    
Version: 4.8CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:09:41 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 2021-05-21 16:48:29 UTC
Description of problem:
I noticed some strings with errors in public.json when reviewing the new translation files. These are detailed below.

public.json
* "Version {{version}} not found in channel {{channel}}.  To request update recommendations, configure a channel that supports your version." - There should not be two spaces in front of the period; there should only be one.
* "Checking this box will write the url to the global section of the configuration file where it will become default url for future PagerDuty receivers." - "url" is inconsistent with other places we write URL. We should also have a "the" before "default url."
* "Add new Users to Group {name}." - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "Remove User {user} from Group {name}?" - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "PostStart: {label('postStart')} <3>{postStart}</3>" - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "PreStop: {label('preStop')} <3>{preStop}</3>" - this needs to be reviewed. Usually you need to use double brackets to pass in data

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

How reproducible:
Always 

Steps to Reproduce:
1. Look at public.json

Actual results:
Text has problems.

Expected results:
Text is correct.

Additional info:

Comment 2 Yadan Pei 2021-06-09 09:01:12 UTC
* "Version {{version}} not found in channel {{channel}}.  To request update recommendations, configure a channel that supports your version." - There should not be two spaces in front of the period; there should only be one.
* "Checking this box will write the url to the global section of the configuration file where it will become default url for future PagerDuty receivers." - "url" is inconsistent with other places we write URL. We should also have a "the" before "default url."
* "Add new Users to Group {name}." - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "Remove User {user} from Group {name}?" - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "PostStart: {label('postStart')} <3>{postStart}</3>" - this needs to be reviewed. Usually you need to use double brackets to pass in data
* "PreStop: {label('preStop')} <3>{preStop}</3>" - this needs to be reviewed. Usually you need to use double brackets to pass in data

* "Version {{version}} not found in channel {{channel}}. To request update recommendations, configure a channel that supports your version." - only one space now and correctly translated
* "Checking this box will write the url to the global section of the configuration file where it will become default url for future PagerDuty receivers." - 'url' is changed to upper case 'URL' and a 'the' is added before 'default' in translation
* "Add new Users to Group {name}." - double brackets is used in public.json and correctly translated such as [ÀÀḍḍ ṇḛḛẁ ṲṲṡḛḛṛṡ ţṓṓ Ḡṛṓṓṵṵṗ ḛḛẋααṃṗḽḛḛ.]
* "Remove User {user} from Group {name}?" - double brackets is used in public.json and correctly translated such as [Ṛḛḛṃṓṓṽḛḛ ṲṲṡḛḛṛ ṵṵṡḛḛṛ2 ϝṛṓṓṃ Ḡṛṓṓṵṵṗ ḛḛẋααṃṗḽḛḛ?]
* "PostStart: {label('postStart')} <3>{postStart}</3>" - check 'Lifecycle hooks' translation on Container details page, when PostStart hook exists it is correctly translated
* "PreStop: {label('preStop')} <3>{preStop}</3>" -  check 'Lifecycle hooks' translation on Container details page, when PreStop hook exists it is correctly translated

Verified on 4.8.0-0.nightly-2021-06-09-000526

Comment 5 errata-xmlrpc 2021-07-27 23:09:41 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.8.2 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:2438