ZZYhho opened a new pull request, #3385: URL: https://github.com/apache/apisix-dashboard/pull/3385
### Description This fixes a runtime error in the language menu. The language menu includes `tr`, but the i18n progress virtual module was only generated for `en`, `es`, `de`, and `zh`. As a result, rendering the translation progress for `tr` attempted to read `i18nProgress.tr.percent`, causing: ```text Cannot read properties of undefined (reading 'percent') ``` This patch: - adds `tr` to the i18n progress language list - guards `i18nProgress[lang]` before reading `percent` ### Verification ```bash pnpm run build ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
