RI-8276 i18n: migrate Slow Log analytics page#6196
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a72cc4b. Configure here.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a72cc4b5aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Route the Slow Log analytics page through i18n under analytics.slowLog.* with Bulgarian translations: page/table/actions/config/empty/clear-modal strings, the info tooltip and cluster/help texts via <Trans>, and the count-based entries summary via i18next plurals. Introduces a shared analytics.units.* group (µs/ms/msec) resolved through t() everywhere units render (dropdown, converter, table header, tooltip, empty state) so they localize to Bulgarian (мкс/мс/мсек). The "Slow Log" feature name is translated to "Бавни команди"; Redis config directive names (slowlog-*) stay literal. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
a72cc4b to
e61f8cb
Compare
Code Coverage - Frontend unit tests
Test suite run success7763 tests passing in 860 suites. Report generated by 🧪jest coverage report action from d554707 |
…8n-analytics-slow-log # Conflicts: # redisinsight/ui/src/i18n/locales/bg.json # redisinsight/ui/src/i18n/locales/en.json

Routes the Slow Log analytics page through i18next under
analytics.slowLog.*(+ sharedanalytics.units.*), with Bulgarian translations. Text-only; no behavior change.Note
Low Risk
Text-only i18n wiring on the Slow Log UI; no changes to Redis config, API calls, or analytics logic.
Overview
Internationalizes the Slow Log analytics UI by replacing hardcoded English strings with
useTranslation/Transand new keys underanalytics.slowLog.*, plus shared duration labels inanalytics.units.*.Locale files (
en.json,bg.json) gain the full Slow Log string set (page chrome, table headers, empty state, configure/clear modals, tooltips, and pluralized entry counts). Bulgarian translations are included for the new keys.Component updates cover
SlowLogPage,Actions,ClearSlowLogModal,EmptySlowLog,SlowLogConfig, andSlowLogTable. Rich copy (tooltips, cluster notice, config help) usesTranswith embedded markup (spacer,bold,code,br). The “Max available” count option is built inside the page component so its label can be translated. No API or slow-log behavior changes—display text only.Reviewed by Cursor Bugbot for commit d554707. Bugbot is set up for automated code reviews on this repo. Configure here.