[pyzo] 09/68: Add translations

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 09:47:05 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 d4a75b403e53de49c9076dc3bc1b3eb135243597
Author: yltang <yltang52 at gmail.com>
Date:   Fri Jul 22 21:41:39 2016 +0800

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

diff --git a/pyzo/tools/pyzoSourceStructure.py b/pyzo/tools/pyzoSourceStructure.py
index d0b5b06..c7e0f16 100644
--- a/pyzo/tools/pyzoSourceStructure.py
+++ b/pyzo/tools/pyzoSourceStructure.py
@@ -9,8 +9,8 @@ import time
 from pyzolib.qt import QtCore, QtGui
 import pyzo
 
-tool_name = "Source structure"
-tool_summary = "Shows the structure of your source code."
+tool_name = translate("pyzoSourceStructure", "Source structure")
+tool_summary = translate("pyzoSourceStructure", "Shows the structure of your source code.")
 
 
 class PyzoSourceStructure(QtGui.QWidget):
@@ -145,7 +145,7 @@ class PyzoSourceStructure(QtGui.QWidget):
             self._currentEditorId = id(editor)
             
             # Notify
-            text = 'Parsing ' + editor._name + ' ...'
+            text = translate('pyzoSourceStructure', 'Parsing ' + editor._name + ' ...')
             thisItem = QtGui.QTreeWidgetItem(self._tree, [text])
             
             # Try getting the  structure right now

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