[Pkg-privacy-commits] [tails-installer] 69/70: Show the drive size in the upgrade confirmation prompt.

Ulrike Uhlig ulrike at moszumanska.debian.org
Mon Nov 20 14:55:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

ulrike pushed a commit to annotated tag tails-installer_4.20
in repository tails-installer.

commit 17740481bc6229c155c78d4103df3e450f553d93
Author: anonym <anonym at riseup.net>
Date:   Wed Sep 20 17:57:18 2017 +0200

    Show the drive size in the upgrade confirmation prompt.
---
 tails_installer/gui.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index 4a0fbbb..df918c3 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -714,10 +714,11 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
                 # let's go on
                 self.confirmed = False
         else:
-            description = _("%(vendor)s %(model)s device (%(device)s)") % {
+            description = _("%(parent_size)s %(vendor)s %(model)s device (%(device)s)") % {
                 'vendor': self.live.drive['vendor'],
                 'model':  self.live.drive['model'],
                 'device': self.live.drive['device'],
+                'parent_size': _format_bytes_in_gb(self.live.drive['parent_size']),
             }
             persistence_message = ""
             if self.device_with_persistence:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list