Update helpManager.py
This commit is contained in:
parent
7835b145ac
commit
2082c73554
@ -42,11 +42,10 @@ class helpManager():
|
|||||||
if command == 'TOGGLE_TUTORIAL_MODE':
|
if command == 'TOGGLE_TUTORIAL_MODE':
|
||||||
commandDescription = _('toggles the tutorial mode')
|
commandDescription = _('toggles the tutorial mode')
|
||||||
else:
|
else:
|
||||||
commandDescription = self.env['runtime']['commandManager'].getCommandDescription( command, section = 'commands')
|
commandDescription = self.env['runtime']['commandManager'].getCommandDescription(command, section = 'commands')
|
||||||
if commandDescription == '':
|
if commandDescription == '':
|
||||||
commandDescription = 'no Description available'
|
commandDescription = 'no Description available'
|
||||||
commandShortcut = self.env['runtime']['commandManager'].getShortcutForCommand( command)
|
commandShortcut = self.env['runtime']['commandManager'].getShortcutForCommand(command, formatKeys = True)
|
||||||
commandShortcut = commandShortcut.replace('KEY_',' ')
|
|
||||||
commandShortcut = commandShortcut.replace('[','')
|
commandShortcut = commandShortcut.replace('[','')
|
||||||
commandShortcut = commandShortcut.replace(']','')
|
commandShortcut = commandShortcut.replace(']','')
|
||||||
commandShortcut = commandShortcut.replace("'",'')
|
commandShortcut = commandShortcut.replace("'",'')
|
||||||
|
Loading…
Reference in New Issue
Block a user