Bug 2078769 - Different not translated filter group names (incl. Secret, Pipeline, PIpelineRun)
Summary: Different not translated filter group names (incl. Secret, Pipeline, PIpeline...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Lokananda Prabhu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-26 07:30 UTC by Christoph Jerolimov
Modified: 2022-11-29 13:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:08:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
secret.png (26.24 KB, image/png)
2022-04-26 07:32 UTC, Christoph Jerolimov
no flags Details
pipeline.png (26.62 KB, image/png)
2022-04-26 07:32 UTC, Christoph Jerolimov
no flags Details
pipelinerun.png (25.62 KB, image/png)
2022-04-26 07:33 UTC, Christoph Jerolimov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11435 0 None open Bug 2078769: Added language translation on filter items 2022-05-06 06:26:57 UTC
Github openshift console pull 11594 0 None open Bug 2078769: Added translations for filter group names 2022-05-30 07:56:23 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:08:59 UTC

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


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