Bug 1973333
| Summary: | Investigate why strings removed in English files are showing up in langauge files | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | ralpert |
| Component: | Management Console | Assignee: | ralpert |
| Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.8 | CC: | aos-bugs, jokerman, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:35:03 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-06-17 16:21:25 UTC
I think the main export script is maintaining the old translations as it imports the new ones. I need to take a closer look and remove that behavior. QE folks: You can test this without uploading anything to Memsource by running yarn export-pos using the code in this PR and then searching the files in frontend/po-files. 1. Get code containing the pr, in the code, run "yarn export-pos";
2. Search "Pool creation is not supported for openshift container storage external mode" in files under frontend/po-files. The result is null.
[zyp@MiWiFi-R1CM frontend]$ yarn export-pos
yarn run v1.22.10
$ ./i18n-scripts/export-pos.sh
+ source ./i18n-scripts/languages.sh
++ LANGUAGES=('ja' 'zh-cn' 'ko')
++ export LANGUAGES
+ for f in 'public/locales/en/*'
+ for i in '"${LANGUAGES[@]}"'
++ basename public/locales/en/public.json .json
+ yarn i18n-to-po -f public -l ja
$ node ./i18n-scripts/i18n-to-po.js -f public -l ja
Processed public
<--snipset-->
[zyp@MiWiFi-R1CM frontend]$ grep -nr "creation is not supported for openshif" po-files/*
[zyp@MiWiFi-R1CM frontend]$
I think the bug is fixed, pls correct me if the step is not suitable.
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.9.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-2021:3759 |