btlqql opened a new pull request, #2262: URL: https://github.com/apache/rocketmq-dashboard/pull/2262
## Problem The About tab displays stale hard-coded build metadata, while several visible strings on the home page bypass the translation catalog. This makes deployed builds report misleading version/date information and leaves mixed-language content when the locale changes. ## Root cause The settings page used literal metadata values instead of the build-time constants, and the home page embedded placeholder, footer, community, brand, and version strings directly in the component. ## Changes - derive About version and build time from `__BUILD_COMMIT__` and `__BUILD_TIME__` - route the affected home-page strings through the existing i18n catalog - add a localized `home.version` entry This consolidates the related static-content fixes from closed PRs #2089 and #2099 into one cohesive PR, following the maintainer guidance in #2107. ## Impact Operators see metadata for the build they are actually running, and the home page consistently follows the selected locale. ## Validation - `npm test -- src/pages/home/__tests__/HomePage.test.tsx src/pages/settings/__tests__` (15 tests passed) - ESLint on all changed files - `npm run build` - `git diff --check` Closes #2070. Closes #2071. -- 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]
