03a34fbedd
The final version of qvm-template does not display untrusted data, so it is safe to decode UTF-8. Specifically, this shows download progress bar done using tqdm library. For this to work, \r needs to be properly handled, as tqdm uses it to erase the current line to update progress status. Since QTextEdit does not support it natively, add a simple wrapper for this job. Alternatively, qvm-template could be modified to display machine-readable progress info that would be passed through QT progress widget, but it would basically duplicate the work already done by tqdm library. We might do this at some point, though. And also enlarge progress window default size, to avoid wrapping. |
||
---|---|---|
.tx | ||
ci | ||
debian | ||
icons | ||
qubesmanager | ||
rpm_spec | ||
test-packages/qubesadmin | ||
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-tools.directory | ||
qubes-tools.menu | ||
qubes-vm-create.desktop | ||
qubesmanager.pro | ||
README.md | ||
rel | ||
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.
Pushing translations to transifex
You'll need a token (for your own transifex acount, to configure it just run tx config once).
tx push -s
Getting translation from transifex
tx pull
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