Bug 2152806
| Summary: | [ja_JP][zh_CN][Cockpit-SELinux] Some strings are displayed in English | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Twinkle <tpardesh> | ||||||
| Component: | policycoreutils | Assignee: | Petr Lautrbach <plautrba> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Twinkle <tpardesh> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9.1 | CC: | bbarve, dwalsh, jwboyer, ljanda, lvrabec, mmalik, plautrba, vmojzis, zpytela | ||||||
| Target Milestone: | rc | Keywords: | Translation, Triaged | ||||||
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | policycoreutils-3.5-0.rc3.1.1.el9 | Doc Type: | No Doc Update | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-05-09 08:25:00 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: |
|
||||||||
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"
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 |
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.