Bug 2078769

Summary: Different not translated filter group names (incl. Secret, Pipeline, PIpelineRun)
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Lokananda Prabhu <lprabhu>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11CC: aos-bugs, jakumar, lprabhu, nmukherj, viraj
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:08:24 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
secret.png
none
pipeline.png
none
pipelinerun.png none

Description Christoph Jerolimov 2022-04-26 07:30:41 UTC
Description of problem:
Many filter group names are not translated. For example on Secrets, Pipelines, PipelineRuns, and many others when searched for `filterGroupName: ` in our code.

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

How reproducible:
Always

Steps to Reproduce:
1. Open the secret list
2. Open the user settings in another tab, switch the language
3. Reload tab one and open the filter dropdown

Actual results:
The filter group name like "Status" or "Type" is not translated.

Expected results:
The filter group name should be translated.

Expect that there is no match for `filterGroupName: '` in our code after this was fixed. At the moment I found 17 not translated strings.

This does NOT mean that we need also to translate the values (in this ticket), because we normally do NOT translate resource values and the filter item matches them in many cases.

Comment 1 Christoph Jerolimov 2022-04-26 07:32:35 UTC
Created attachment 1875011 [details]
secret.png

Comment 2 Christoph Jerolimov 2022-04-26 07:32:52 UTC
Created attachment 1875012 [details]
pipeline.png

Comment 3 Christoph Jerolimov 2022-04-26 07:33:10 UTC
Created attachment 1875013 [details]
pipelinerun.png

Comment 6 Christoph Jerolimov 2022-05-23 13:46:58 UTC
Sorry, I could not verify this on a nightly build.

1. "Type" and "Status" in the filter dropdown are not translated. Please search for `filterGroupName: '`
2. The Pipeline filter shows 0 in translated languages (like Japanese)
3. Just a small nit: The map function is not required here, you can just use secretTypeFilterValues

       items: secretTypeFilterValues.map((filterValue) => ({

Comment 9 Christoph Jerolimov 2022-07-25 23:06:22 UTC
Verified on 4.12.0-0.nightly-2022-07-25-122035

Comment 10 errata-xmlrpc 2022-08-10 11:08:24 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 (Important: OpenShift Container Platform 4.11.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:5069