fix(backoffice): merchant-friendly wording in Monitoring
Analytics, Reports, and Diagnostics were already clean (no raw
HTTP/queue-worker strings found on audit). Monitoring had three spots
speaking developer language by default:
- Background queue names ("order-notifications") -> friendly labels
("Order notifications").
- Webhook event keys ("order.created") -> friendly labels ("New order
placed").
- Activity log's "api" category showed the raw HTTP line
("GET /api/products responded 200 in 84ms") as the primary message.
Now shows a plain-language summary by default ("Product data
refreshed successfully"), with the raw string moved to a collapsed
"Technical details" <details> per event (api/error/warning rows).
This commit is contained in:
@@ -1850,6 +1850,7 @@ export const en: Translations = {
|
||||
category: 'Category',
|
||||
level: 'Severity',
|
||||
message: 'Description',
|
||||
technicalDetails: 'Technical details',
|
||||
categoryValue: {
|
||||
all: 'All categories',
|
||||
audit: 'Admin activity',
|
||||
|
||||
@@ -1845,6 +1845,7 @@ export const hy: Translations = {
|
||||
category: 'Կատեգորիա',
|
||||
level: 'Կարևորություն',
|
||||
message: 'Նկարագրություն',
|
||||
technicalDetails: 'Տեխնիկական մանրամասներ',
|
||||
categoryValue: {
|
||||
all: 'Բոլոր կատեգորիաները',
|
||||
audit: 'Ադմինի գործողություններ',
|
||||
|
||||
@@ -1845,6 +1845,7 @@ export const ru: Translations = {
|
||||
category: 'Категория',
|
||||
level: 'Важность',
|
||||
message: 'Описание',
|
||||
technicalDetails: 'Технические детали',
|
||||
categoryValue: {
|
||||
all: 'Все категории',
|
||||
audit: 'Действия администраторов',
|
||||
|
||||
@@ -1858,6 +1858,7 @@ export interface Translations {
|
||||
category: string;
|
||||
level: string;
|
||||
message: string;
|
||||
technicalDetails: string;
|
||||
categoryValue: {
|
||||
all: string;
|
||||
audit: string;
|
||||
|
||||
Reference in New Issue
Block a user