Repository navigation
Commit 4ccc506
committed
✨🌐 Localize offline reason tooltip and bump translation API to v20
- Add `widget.reason_off_on` translation key in `lhcbo.php` REST translations so the offline reason column header can be localized
- Update `WidgetBodyPending.svelte` to use `$t("widget.reason_off_on")` instead of the hardcoded "Reason for offline" title, and drop the hardcoded `text-danger` styling
- Bump i18n API version from `/v19` to `/v20` in `createI18n.js` so new translation keys are served
- Rebuild Svelte bundles with new hashed asset filenames (`createI18n.by95h-M0.js`, `i18n.CoJKcu8X.js`, `onlinevisitors.DQCDTr4y.js`, `languages.js`, `main.js`, `masking.js`, `onlinevisitors.js`) and remove stale hashed artifacts1 parent 11085ce commit 4ccc506
14 files changed
Lines changed: 17 additions & 16 deletions
File tree
- lhc_web
- design/defaulttheme/js/svelte
- public/build
- src
- Widgets/Parts
- i18n
- modules/lhrestapi/trans
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments