1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/storages
catborise 1e66367bb4 feat(operations): a job's error and warning show in the reader's language
A job stored its error and its result's warning as English text, much
of it built with the values in it (volume paths, a disk, libvirt's
error), so no catalog could translate it, and the job pages and panel
showed English whatever the language.

A job now stores them as messages: our English text, marked for
translation, and its values; libvirt's own text is a message without
values and is shown as it is. The jobs API and pages put them in the
reader's language. OperationError keeps its text and values apart for
the same reason, so a refusal raised while a job is submitted is shown
translated too. Messages one after another still read as sentences.

Errors stored before are kept as one message each, shown as they were.
2026-11-02 23:49:45 +03:00
..
api fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
tests feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py feat(storages): the pool page's dialogs in the panel's dialog look 2026-10-31 18:35:09 +03:00
jobs.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
models.py reorg imports and black format 2022-11-02 16:05:41 +03:00
upload.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
views.py fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +03:00