Description of problem: Some strings that have been removed from console are still showing up in translation files. For example, "Pool creation is not supported for openshift container storage external mode." is not in English, but is present in ko and ja files. We need to investigate whether this is coming from our scripts, or due to something happening on the translation side in Memsource. The fact that it's not in the zh files is odd. Version-Release number of selected component (if applicable): 4.8 How reproducible: Always Steps to Reproduce: 1. Look for string "Pool creation is not supported for openshift container storage external mode." Actual results: It is not in the main code, but is present in ko and ja files. Expected results: It is not in the main code or ko/ja files. Additional info:
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