[pyzo] 06/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 c47fb956b42bb19bac41ceec442a4ed5f179679a
Author: yltang <yltang52 at gmail.com>
Date:   Fri Jul 22 21:25:43 2016 +0800

    Add translations
---
 pyzo/codeeditor/extensions/appearance.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyzo/codeeditor/extensions/appearance.py b/pyzo/codeeditor/extensions/appearance.py
index 83c4719..3a695ea 100644
--- a/pyzo/codeeditor/extensions/appearance.py
+++ b/pyzo/codeeditor/extensions/appearance.py
@@ -851,7 +851,7 @@ class LineNumbers(object):
             ss = "QSpinBox { border: 2px solid #789; border-radius: 3px; padding: 4px; }"
             self.setStyleSheet(ss)
             
-            self.setPrefix('Go to line: ')
+            self.setPrefix(translate('appearance', 'Go to line: '))
             self.setAccelerated (True)
             self.setButtonSymbols(self.NoButtons)
             self.setCorrectionMode(self.CorrectToNearestValue)

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