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/de/quotaActions.json
Normal file
16
frontend/src/i18n/locales/de/quotaActions.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"subscriptions_pull": "Abonnements einlesen",
|
||||
"subscriptions_resync": "Automatische Abo-Resynchronisierung",
|
||||
"playlists_pull": "Playlists einlesen",
|
||||
"playlists_push": "Playlists hochladen",
|
||||
"playlists_delete": "Playlist löschen",
|
||||
"videos_backfill_recent": "Aktuelle Uploads laden",
|
||||
"videos_backfill_full": "Vollständigen Verlauf laden",
|
||||
"videos_enrich": "Video-Anreicherung",
|
||||
"videos_lookup": "Video-Abfrage",
|
||||
"channels_discover": "Kanal-Entdeckung",
|
||||
"channels_subscribe": "Abonnieren",
|
||||
"channels_unsubscribe": "Abo beenden",
|
||||
"maintenance_revalidate": "Wartungs-Neuvalidierung",
|
||||
"other": "Sonstiges"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue