7df475e0aa
Prior to this commit, clicking on the "OK" button in the global settings window would cause the dom0 memory boost and minimum VM memory fields to be saved incorrectly, due to the fact that the code calculates the values to be saved using the "MiB" as the units (i.e., factors of 1024), whereas the code would save the corresponding string into the qmemman configuration file with the "M" suffix (indicating factors of 1000 instead of 1024). Due to this bug, the aforementioned fields' values would be scaled down every time the user clicked on the "OK" button in the global settings window. For example, if the user entered 400 and hit 'OK', opening the global settings window again would show the value 381. |
||
---|---|---|
.tx | ||
ci | ||
icons | ||
qubesmanager | ||
rpm_spec | ||
test-packages | ||
ui | ||
.gitignore | ||
.travis.yml | ||
build-deps.list | ||
Makefile | ||
Makefile.builder | ||
qubes-backup-restore.desktop | ||
qubes-backup.desktop | ||
qubes-global-settings.desktop | ||
qubes-qube-manager.desktop | ||
qubes-template-manager.desktop | ||
qubes-vm-create.desktop | ||
qubesmanager.pro | ||
README.md | ||
resources.qrc | ||
setup.py | ||
version |
Qubes Manager
Managing translations
Adding new language
- Add
i18n/qubesmanager_LANGUAGECODE.ts
(replaceLANGUAGECODE
with actual code, for examplees
) toqubesmanager.pro
-TRANSLATIONS
setting. - Run
make res update_ts
Regenerating translation source files (.ts
)
make res update_ts
This will keep translated strings, but will add new ones.
Updating translations
Commit updated .ts
files into i18n
directory.
Tests
Located in the tests/ directory.
To run qube manager and backup tests: python3 test_name.py -v
To run global settings tests: sudo systemctl stop qubesd; sudo -E python3 test_global_settings.py -v ; sudo systemctl start qubesd