Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2874
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13986 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Jul 30, 2010
1 parent f116922 commit b1e2601
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/console.py
Expand Up @@ -78,7 +78,7 @@ def __init__(self, parent=None):
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())
Expand Down Expand Up @@ -132,9 +132,9 @@ def __init__(self,parent=None):

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)
Expand Down

0 comments on commit b1e2601

Please sign in to comment.