Help: commands description text align to the left

This commit is contained in:
Alessio Sergi 2014-05-29 22:55:22 +02:00
parent ab23f2c574
commit 586ea61fc3

View File

@ -70,8 +70,8 @@ class Plugin(GlancesPlugin):
ret.append(self.curse_new_line())
# Keys
msg_col = '{0:1} {1:>35}'
msg_col2 = ' {0:1} {1:>35}'
msg_col = ' {0:1} {1:35}'
msg_col2 = ' {0:1} {1:35}'
ret.append(self.curse_new_line())
msg = msg_col.format(_("a"), _("Sort processes automatically"))
@ -116,7 +116,7 @@ class Plugin(GlancesPlugin):
ret.append(self.curse_new_line())
msg = msg_col.format(_("s"), _("Show/hide sensors stats"))
ret.append(self.curse_add_line(msg))
msg = msg_col2.format(_("z"), _("Enable/Disable processes stats"))
msg = msg_col2.format(_("z"), _("Enable/disable processes stats"))
ret.append(self.curse_add_line(msg))
ret.append(self.curse_new_line())
msg = msg_col.format(_("q"), _("Quit (Esc and Ctrl-C also work)"))