1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/webvirtcloud
catborise b999a3e286 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
..
tests feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
asgi.py fix references to django 3 migration 2021-06-15 14:29:20 +03:00
common_tags.py fix: render the 404 page for logged-in users 2026-10-04 01:08:11 +03:00
gunicorn_worker.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
middleware.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
serializers.py fix(api): typed URLs and accurate response schemas 2026-10-04 01:08:11 +03:00
settings-dev.py fix(static): collectstatic writes to staticfiles/, and its output is no longer committed 2026-10-07 16:31:56 +03:00
settings.py.template feat(locale): the panel is translated into Simplified Chinese 2026-11-02 23:03:09 +03:00
test_runner.py fix(tests): a killed test run no longer breaks the next one 2026-10-26 16:43:22 +03:00
urls-api.py feat(operations): jobs API 2026-10-14 23:27:57 +03:00
urls.py feat(webvirtcloud): pages run only the scripts the panel serves 2026-11-02 10:08:09 +03:00
wsgi.py fix: stop ignoring SIGCHLD process-wide 2026-10-04 13:40:53 +03:00
wsgi_custom.py fix references to django 3 migration 2021-06-15 14:29:20 +03:00