Bug 1924747 - InventoryItem doesn't internationalize resource kind
Summary: InventoryItem doesn't internationalize resource kind
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: ralpert
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 14:41 UTC by ralpert
Modified: 2021-07-27 22:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Resource kinds were not internationalized in InventoryItem. Consequence: The listed resources could be inconsistent with the terminology used elsewhere in the application. We translate the resource kinds or change the pluralization in other languages. Fix: Internationalized resource kinds. Result: Bug is fixed.
Clone Of:
Environment:
Last Closed: 2021-07-27 22:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8040 0 None closed Bug 1924747: InventoryItems aren't internationalized 2021-02-18 06:03:26 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:41:21 UTC

Description ralpert 2021-02-03 14:41:28 UTC
Description of problem:
InventoryItem doesn't internationalize resource kinds, so you'll potentially have different terms on the homepage for the number of certain resource kinds than you'll see in the nav.

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

How reproducible:
Always

Steps to Reproduce:
1. Go to Overview page and look at InventoryItem that illustrates the number of Pods, etc.

Actual results:
Pods and other terms are not internationalized.

Expected results:
Resource kinds should be internationalized.

Additional info:
InventoryItem also uses kind.abbr and pluralizes it. We don't currently internationalize this value.

Comment 1 ralpert 2021-02-05 18:57:34 UTC
I have a WIP PR for this but it won't merge before code freeze.

Comment 3 Yanping Zhang 2021-02-20 06:12:27 UTC
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-02-19-111007.
Check Cluster inventory card on overview page, all items are marked for translation now.

Comment 6 errata-xmlrpc 2021-07-27 22:40:55 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.