Go to file
M. Vefa Bicakci 7df475e0aa
global_settings: Use MiB, not M as the unit
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.
2019-01-16 21:17:52 -05:00
.tx i18n: add configuration for transifex client 2017-02-03 17:22:02 +01:00
ci Remove all dbus references 2018-09-12 16:32:37 +02:00
icons Repaired manager icons 2018-01-28 20:54:10 +01:00
qubesmanager global_settings: Use MiB, not M as the unit 2019-01-16 21:17:52 -05:00
rpm_spec Merge remote-tracking branch 'origin/pr/135' 2018-12-08 01:25:04 +01:00
test-packages Pylint fixes 2018-09-10 19:02:19 +02:00
ui Improved template manager UI 2018-12-04 01:01:03 +01:00
.gitignore gitignore 2015-05-04 00:45:11 +02:00
.travis.yml Applied corrections from @marmarek 2017-11-17 17:42:19 +01:00
build-deps.list Remove obsolete entries from build-deps.list 2013-03-09 00:15:03 +01:00
Makefile Added make clean to Makefile 2018-04-12 22:10:37 +02:00
Makefile.builder Add Makefile.builder 2013-03-19 15:06:14 +01:00
qubes-backup-restore.desktop Fixed useless menu item 2018-01-06 02:51:00 +01:00
qubes-backup.desktop Fixed useless menu item 2018-01-06 02:51:00 +01:00
qubes-global-settings.desktop Fixed useless menu item 2018-01-06 02:51:00 +01:00
qubes-qube-manager.desktop Qube Manager in working order 2018-01-08 04:22:35 +01:00
qubes-template-manager.desktop Initial template manager 2018-12-03 18:25:49 +01:00
qubes-vm-create.desktop fixes to system menu 2017-07-16 16:36:36 +02:00
qubesmanager.pro Fix travis build 2018-10-20 23:01:35 +02:00
README.md Changes as requested by @marmarek 2018-09-16 23:33:17 +02:00
resources.qrc Implemented 'Restart' button 2016-06-05 22:19:18 +03:00
setup.py Initial template manager 2018-12-03 18:25:49 +01:00
version version 4.0.26 2018-12-18 16:47:15 +01:00

Qubes Manager

Managing translations

Adding new language

  1. Add i18n/qubesmanager_LANGUAGECODE.ts (replace LANGUAGECODE with actual code, for example es) to qubesmanager.pro - TRANSLATIONS setting.
  2. 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