1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/appsettings/tests
catborise 9d57adc097 fix(locale): the VM page's and Settings page's messages show translated
The VM page's and the Settings page's views marked their messages with
gettext_noop, so every message they gave (a refused resize, a saved
setting, a QoS change, a busy VM) showed in English whatever the
language, though the catalogs translate them. They translate in the
request's language now; their module-level texts lazily. The Settings
page's group titles stay English in the view, as the page links them
by their slugs and translates them itself.

Two values went into translated messages as English codes: a job's
state ("... is running on this resource") and a QoS direction ("Remove
the inbound limit ..."). They are named as the pages name them.
2026-11-02 23:09:05 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_appsettings.py fix(locale): the VM page's and Settings page's messages show translated 2026-11-02 23:09:05 +03:00
test_audit_rows.py fix(appsettings): a group saves what was edited, all of it or none, in one row 2026-10-26 10:12:53 +03:00
test_get_settings.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migrations.py feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
test_theme_name.py build: the themes ship compiled, libsass is no longer installed 2026-10-18 22:36:29 +03:00
test_themes.py build: the themes ship compiled, libsass is no longer installed 2026-10-18 22:36:29 +03:00