[Pkg-privacy-commits] [tails-installer] 60/70: Translate strings used to dynamically modify the GUI.

Ulrike Uhlig ulrike at moszumanska.debian.org
Mon Nov 20 14:55:04 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 e1cfccc58e72746f24967aa57adce5b1886c48a5
Author: anonym <anonym at riseup.net>
Date:   Tue Sep 19 15:25:36 2017 +0200

    Translate strings used to dynamically modify the GUI.
---
 tails_installer/gui.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index c33cbaf..df2f574 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -452,18 +452,18 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
         # Just create a new installation from scratch
         if not self.live.device_can_be_upgraded(device):
             self.opts.partition = True
-            self.__button_start.set_label('Install')
+            self.__button_start.set_label(_('Install'))
             self.__button_force_reinstall.set_visible(False)
         # If there is valid Tails partition
         elif self.user_force_reinstall:
             self.opts.partition = True
             self.force_reinstall = True
             self.live.force_reinstall = True
-            self.__button_start.set_label('Upgrade')
+            self.__button_start.set_label(_('Upgrade'))
         else:
             self.opts.partition = False
             self.force_reinstall = False
-            self.__button_start.set_label('Upgrade')
+            self.__button_start.set_label(_('Upgrade'))
             self.__button_force_reinstall.set_visible(True)
 
     def get_device_pretty_name(self, device):

-- 
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