Loyal-Young opened a new pull request, #2131:
URL: https://github.com/apache/rocketmq-dashboard/pull/2131

   ## Summary
   - read a stored Chinese or English language preference at startup
   - persist an explicit language change
   - safely fall back to Chinese for missing, invalid, or unavailable browser 
storage
   
   ## Why
   The selected interface language reverted whenever the application was 
reloaded.
   
   ## Validation
   - `node node_modules/vitest/vitest.mjs run 
src/i18n/languagePreference.test.ts --pool=threads --maxWorkers=1 
--reporter=dot` (2 passed)
   - `node node_modules/typescript/bin/tsc --noEmit --pretty false -p 
tsconfig.app.json`


-- 
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]

Reply via email to