Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1924747

Summary: InventoryItem doesn't internationalize resource kind
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: ralpert
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:40:55 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 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