Skip to content

Commit 380baa2

Browse files
committed
Simplify python console init text
1 parent 3903f36 commit 380baa2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/console/console_output.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ def __init__(self, parent=None):
140140

141141
def insertInitText(self):
142142
txtInit = QCoreApplication.translate("PythonConsole",
143-
"Python {0} on {1}\n"
144-
"## Type help(iface) for more info and list of methods.\n").format(sys.version,
145-
socket.gethostname())
143+
"Python Console \n"
144+
"Use iface to access QGIS API interface or Type help(iface) for more info")
145+
146146
## some translation string for the console header ends without '\n'
147147
## and the first command in console will be appended at the header text.
148148
## The following code add a '\n' at the end of the string if not present.

0 commit comments

Comments
 (0)