Bug 1906186

Summary: i18n: Translators are not able to translate `this` without context for alert manager config
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.7.0-0.nightly-2020-12-09-093341 Cluster ID: 26d5027f-cd2e-463d-aca8-408cd3f36335 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:83.0) Gecko/20100101 Firefox/83.0
Last Closed: 2021-02-24 15:41:51 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 Samuel Padgett 2020-12-09 20:57:50 UTC
`thisString` should be part of a single message for translation. The translators are not able to translate `this` or `these` without context. See

https://github.com/spadgett/console/blob/c906ae49b80020bc4e69c05ec87dd18b83a0e6a2/frontend/public/components/monitoring/alert-manager-config.tsx#L418

We should see if we can use i18next plurals or perhaps rephrase the message to avoid this/these if needed.

Comment 3 Yadan Pei 2020-12-21 06:17:38 UTC
Now the translation strings show:
[ḬḬṇͼṓṓṃṗḽḛḛţḛḛ ααḽḛḛṛţ [ṛḛḛͼḛḛḭḭṽḛḛṛṡ]]
[Ḉṓṓṇϝḭḭḡṵṵṛḛḛ ţḥḛḛ [ṛḛḛͼḛḛḭḭṽḛḛṛṡ] ţṓṓ ḛḛṇṡṵṵṛḛḛ ţḥααţ ẏẏṓṓṵṵ ḽḛḛααṛṇ ααḅṓṓṵṵţ ḭḭṃṗṓṓṛţααṇţ ḭḭṡṡṵṵḛḛṡ ẁḭḭţḥ ẏẏṓṓṵṵṛ ͼḽṵṵṡţḛḛṛ.]


Moving to VERIFIED, this is checked against 4.7.0-0.nightly-2020-12-20-031835

Comment 5 errata-xmlrpc 2021-02-24 15:41:51 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