Go to file
Marek Marczykowski-Górecki 03a34fbedd
qvm-template-gui: improve displaying progress
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.
2021-04-02 05:39:35 +02:00
.tx Fixed transifex integration 2019-12-09 19:19:29 +01:00
ci Merge remote-tracking branch 'origin/pr/240' 2020-07-30 03:26:25 +02:00
debian qvm-template: Include files in deb/rpm package 2020-08-31 00:46:45 +08:00
icons Repaired manager icons 2018-01-28 20:54:10 +01:00
qubesmanager qvm-template-gui: improve displaying progress 2021-04-02 05:39:35 +02:00
rpm_spec qvm-template: Include files in deb/rpm package 2020-08-31 00:46:45 +08:00
test-packages/qubesadmin Use the new QubesDaemonAccessError 2020-08-11 01:08:48 +02:00
ui qvm-template-gui: improve displaying progress 2021-04-02 05:39:35 +02:00
.gitignore debian: add packaging 2020-06-16 17:52:16 +02:00
.travis.yml travis: include Debian targets too 2020-08-03 13:39:48 +02:00
build-deps.list Update Qt version used in qubesmanager to Qt5 2019-05-30 21:33:49 +02:00
Makefile debian: add packaging 2020-06-16 17:52:16 +02:00
Makefile.builder debian: add packaging 2020-06-16 17:52:16 +02:00
qubes-backup-restore.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-backup.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-global-settings.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-qube-manager.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-template-manager.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-tools.directory Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-tools.menu Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubes-vm-create.desktop Added menu position with Qubes Tools to XFCE Menu 2019-05-20 17:48:56 +02:00
qubesmanager.pro Migration to View/Model design (#195) 2020-07-30 02:42:12 +02:00
README.md Fixed transifex integration 2019-12-09 19:19:29 +01:00
rel debian: add packaging 2020-06-16 17:52:16 +02:00
resources.qrc Implemented 'Restart' button 2016-06-05 22:19:18 +03:00
setup.py qvm-template: Include files in deb/rpm package 2020-08-31 00:46:45 +08:00
version version 4.1.11-1 2020-08-13 04:05:04 +02: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.

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