Bug 1963209 - Some strings in public.json have errors
Summary: Some strings in public.json have errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Bryan Florkiewicz
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-21 16:48 UTC by ralpert
Modified: 2021-07-27 23:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:09:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9170 0 None open Bug 1963209: Some strings in public.json have errors 2021-06-08 15:19:30 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:09:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.