[pyzo] 07/68: Add translations

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 09:47:04 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository pyzo.

commit 04af46417da7f48c41e1948e2d8e84d05309c2b5
Author: yltang <yltang52 at gmail.com>
Date:   Fri Jul 22 21:32:31 2016 +0800

    Add translations
---
 pyzo/util/bootstrapconda.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyzo/util/bootstrapconda.py b/pyzo/util/bootstrapconda.py
index ddc48b2..a1a5246 100644
--- a/pyzo/util/bootstrapconda.py
+++ b/pyzo/util/bootstrapconda.py
@@ -113,11 +113,11 @@ class Installer(QtGui.QDialog):
         self.setModal(True)
         self.resize(500, 500)
         
-        text = 'This will download and install miniconda on your computer.'
+        text = translate('bootstrapconda', 'This will download and install miniconda on your computer.')
         
         self._label = QtGui.QLabel(text, self)
         
-        self._scipystack = QtGui.QCheckBox('Also install scientific packages', self)
+        self._scipystack = QtGui.QCheckBox(translate('bootstrapconda', 'Also install scientific packages', self))
         self._scipystack.setChecked(True)
         self._path = QtGui.QLineEdit(default_conda_dir, self)
         self._progress = QtGui.QProgressBar(self)
@@ -140,7 +140,7 @@ class Installer(QtGui.QDialog):
         
         self._button.clicked.connect(self.go)
         
-        self.addOutput('Waiting to start installation.\n')
+        self.addOutput(translate('bootstrapconda', 'Waiting to start installation.\n'))
         self._progress.setVisible(False)
         
         self.lineFromStdOut.connect(self.setStatus)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyzo.git



More information about the debian-science-commits mailing list