p5.js-web-editor
p5.js-web-editor copied to clipboard
i18n: Fix hard-coded text in Library Management tab
Fixes #3478
Hello,
This PR fixes a localization bug in the Settings > Library Management tab where several text elements were hard-coded in English and did not update with the selected language.
Changes:
The translations for several texts were not added in the translations.js files and hindi and bengali being my native languages, I have added the translations for these texts to their corresponding translations.json files
I have tested this locally, and the change has been successfully propagated. The text now translates correctly into the selected languages.
The screenshots below are the proofs showing the updated UI. Before
After
I have verified that this pull request:
- [x] has no linting errors (
npm run lint) - [x] has no test errors (
npm run test) - [x] is from a uniquely-named feature branch and is up to date with the
developbranch. - [x] is descriptively named and links to an issue number, i.e.
Fixes #123 - [x] meets the standards outlined in the accessibility guidelines