612cfc15d6
This is the recommended QT way for updating the progress bar. setMininumDuration() sets the time when the progress dialog will appear, if it finishes before it won't be shown. Qt default is 4 seconds, maybe pretty high for this case. |
||
---|---|---|
.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-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