[pyzo] 05/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 3b9babac67e4489b79a44afd6d58dcbeef70d476
Author: yltang <yltang52 at gmail.com>
Date:   Fri Jul 22 21:24:26 2016 +0800

    Add translations
---
 pyzo/core/editorTabs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyzo/core/editorTabs.py b/pyzo/core/editorTabs.py
index d74c987..5b1a590 100644
--- a/pyzo/core/editorTabs.py
+++ b/pyzo/core/editorTabs.py
@@ -1072,7 +1072,7 @@ class EditorTabs(QtGui.QWidget):
             startdir = ''
         
         # show dialog
-        msg = "Select one or more files to open"        
+        msg = translate("editorTabs", "Select one or more files to open")
         filter =  "Python (*.py *.pyw);;"
         filter += "Pyrex (*.pyi *.pyx *.pxd);;"
         filter += "C (*.c *.h *.cpp *.c++);;"
@@ -1247,7 +1247,7 @@ class EditorTabs(QtGui.QWidget):
             startdir = ''
         
         # show dialog
-        msg = "Select the file to save to"        
+        msg = translate("editorTabs", "Select the file to save to")
         filter =  "Python (*.py *.pyw);;"
         filter += "Pyrex (*.pyi *.pyx *.pxd);;"
         filter += "C (*.c *.h *.cpp);;"

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