refactor(quota): canonical <entity>_<action> taxonomy for quota events
The quota-attribution action keys were inconsistent (mixed verbs, ad-hoc names, English-only labels). Introduce a QuotaAction constants holder (one source of truth), rename every attribution call site to it, and add migration 0020 to rename historical quota_events.action values. The display label now resolves from i18n (quotaActions.<key>, EN/HU/DE) instead of a hard-coded English map. Scheduler job ids and progress phase labels are a separate namespace and are left untouched.
This commit is contained in:
parent
1ce035ca9e
commit
b23f805533
12 changed files with 151 additions and 33 deletions
16
frontend/src/i18n/locales/en/quotaActions.json
Normal file
16
frontend/src/i18n/locales/en/quotaActions.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"subscriptions_pull": "Read subscriptions",
|
||||
"subscriptions_resync": "Auto subscription resync",
|
||||
"playlists_pull": "Read playlists",
|
||||
"playlists_push": "Push playlists",
|
||||
"playlists_delete": "Delete playlist",
|
||||
"videos_backfill_recent": "Recent backfill",
|
||||
"videos_backfill_full": "Full-history backfill",
|
||||
"videos_enrich": "Video enrichment",
|
||||
"videos_lookup": "Video lookup",
|
||||
"channels_discover": "Channel discovery",
|
||||
"channels_subscribe": "Subscribe",
|
||||
"channels_unsubscribe": "Unsubscribe",
|
||||
"maintenance_revalidate": "Maintenance re-validation",
|
||||
"other": "Other"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue