1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/logs
catborise 491819ed64 feat(vrtManager): the libvirt layer's messages show in the reader's language
vrtManager's errors (some 140: a disk that does not move, a network
address outside its subnet, a host device given to another VM, the
disks a migration cannot copy) were English f-strings, so no catalog
could translate them, on pages or in jobs.

They are marked texts with their values now; a variant that differs by
a word (internal or external, running or persistent, with a subnet or
without) is a whole message of its own, and a list of problems is a
list of messages. OperationError reads in the active language, so the
pages that show one translate it as they are; its args stay English, and
so do the logs and the audit log. Host device problems and the Migrate
tab's reasons a disk is not copied are messages too.
2026-11-03 00:05:34 +03:00
..
migrations feat(logs): every VM operation writes an audit row the VM's Logs tab finds by UUID 2026-10-24 14:14:53 +03:00
tests feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00
__init__.py Add logs and block for templates 2015-03-03 11:34:09 +02:00
apps.py feat(logs): admin changes and logins are recorded on the Logs page 2026-10-23 10:30:48 +03:00
audit.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
models.py feat(logs): every VM operation writes an audit row the VM's Logs tab finds by UUID 2026-10-24 14:14:53 +03:00
urls.py feat(logs): every VM operation writes an audit row the VM's Logs tab finds by UUID 2026-10-24 14:14:53 +03:00
views.py feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00