Skip to content

Commit

Permalink
Simplify python console init text
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Sep 12, 2014
1 parent 3903f36 commit 380baa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/console/console_output.py
Expand Up @@ -140,9 +140,9 @@ def __init__(self, parent=None):

def insertInitText(self):
txtInit = QCoreApplication.translate("PythonConsole",
"Python {0} on {1}\n"
"## Type help(iface) for more info and list of methods.\n").format(sys.version,
socket.gethostname())
"Python Console \n"
"Use iface to access QGIS API interface or Type help(iface) for more info")

## some translation string for the console header ends without '\n'
## and the first command in console will be appended at the header text.
## The following code add a '\n' at the end of the string if not present.
Expand Down

0 comments on commit 380baa2

Please sign in to comment.