[QGIS Commit] r13986 - trunk/qgis/python
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Jul 30 09:24:13 EDT 2010
Author: borysiasty
Date: 2010-07-30 13:24:13 +0000 (Fri, 30 Jul 2010)
New Revision: 13986
Modified:
trunk/qgis/python/console.py
Log:
fix #2874
Modified: trunk/qgis/python/console.py
===================================================================
--- trunk/qgis/python/console.py 2010-07-30 13:01:48 UTC (rev 13985)
+++ trunk/qgis/python/console.py 2010-07-30 13:24:13 UTC (rev 13986)
@@ -78,7 +78,7 @@
self.l = QVBoxLayout()
self.l.addWidget(self.edit)
self.setLayout(self.l)
- self.setWindowTitle("Python console")
+ self.setWindowTitle(QCoreApplication.translate("PythonConsole", "Python Console"))
s = QSettings()
self.restoreGeometry(s.value("/python/console/geometry").toByteArray())
@@ -132,9 +132,9 @@
self.buffer = []
- self.insertTaggedText("To access Quantum GIS environment from this console\n"
- "use qgis.utils.iface object (instance of QgisInterface class).\n"
- "\n", ConsoleHighlighter.INIT)
+ self.insertTaggedText(QCoreApplication.translate("PythonConsole", "To access Quantum GIS environment from this console\n"
+ "use qgis.utils.iface object (instance of QgisInterface class).\n\n"),
+ ConsoleHighlighter.INIT)
for line in _init_commands:
self.runsource(line)
More information about the QGIS-commit
mailing list