RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2152806 - [ja_JP][zh_CN][Cockpit-SELinux] Some strings are displayed in English
Summary: [ja_JP][zh_CN][Cockpit-SELinux] Some strings are displayed in English
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: policycoreutils
Version: 9.1
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: Twinkle
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-13 06:32 UTC by Twinkle
Modified: 2023-05-09 10:40 UTC (History)
9 users (show)

Fixed In Version: policycoreutils-3.5-0.rc3.1.1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:25:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
Attaching screenshots of ja_JP locale which displays some strings in English on SELinux page (135.87 KB, image/png)
2022-12-13 06:32 UTC, Twinkle
no flags Details
sepolicy: Make generated boolean descriptions translatable (960 bytes, patch)
2022-12-20 09:42 UTC, Petr Lautrbach
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-141957 0 None None None 2022-12-13 06:33:06 UTC
Red Hat Product Errata RHBA-2023:2561 0 None None None 2023-05-09 08:25:05 UTC

Description Twinkle 2022-12-13 06:32:12 UTC
Created attachment 1932274 [details]
Attaching screenshots of ja_JP locale which displays some strings in English on SELinux page

Description of problem: As per the 9.1 L10N QA event results, Some strings are displayed in English on SELinux page


Version-Release number of selected component (if applicable):
container-selinux - container-selinux-2.189.0-1.el9
policycoreutils - policycoreutils-3.4-4.el9.x86_64

How reproducible:
always

Steps to Reproduce:
1. Open and login to Cockpit in localized language
2. Click on SELinux from left hand side menu
3. Strings are seen on SELinux page on right in English

Actual results:
Some strings are displayed in English 

Expected results:
All strings are in localized language

Additional info:
Please refer attached screenshot reference.

Comment 8 Petr Lautrbach 2022-12-20 09:42:28 UTC
Created attachment 1933734 [details]
sepolicy: Make generated boolean descriptions translatable

I'm ready to send this patch upstream for review. 

It would result into the following selinux-python.pot change which would allow to translate strings "Allow" and "to" and to re-arrange translated strings.

diff --git a/python/po/python.pot b/python/po/python.pot
index aa4102a8dd6b..7e800a3fd038 100644
--- a/python/po/python.pot
+++ b/python/po/python.pot
@@ -2389,6 +2389,11 @@ msgstr ""
 msgid "unknown"
 msgstr ""
 
+#: ../sepolicy/sepolicy/__init__.py:1225
+#, python-brace-format
+msgid "Allow {subject} to {rest}"
+msgstr ""
+
 #: ../sepolicy/sepolicy/interface.py:222
 #, python-format
 msgid "Compiling %s interface"

Comment 23 errata-xmlrpc 2023-05-09 08:25:00 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 (policycoreutils 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/RHBA-2023:2561


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