minor fixes

This commit is contained in:
ivan 2018-04-08 12:23:29 +03:00
parent 9c361bbe00
commit ec8a2ca14a
1 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ def CMDRemove(alias):
if string == "yes":
RemoveAliases([alias])
else:
print("'" + alias + "' alias or group does not deleted.")
print("'" + alias + "' alias or group was not deleted.")
else:
print("error: '" + alias + "' alias or group does not exists.")
@ -517,7 +517,7 @@ def CursesMain():
'G') or key_pressed == curses.KEY_F5:
curses.curs_set(1)
new_group_textpad = CursesTextpad(screen, 1, width - 8,
(height // 2) - 1, 4, "Enter name for new group:", "",
(height // 2) - 1, 4, "Enter alias name for new group:", "",
normal_text, highlight_text)
add_group = new_group_textpad.edit(CursesTextpadConfirm)
if not add_group.rstrip() == "":
@ -557,7 +557,7 @@ def CursesMain():
if strings[position - 1] in groups:
while edit_string.rstrip() == "":
string_textpad = CursesTextpad(screen, 3, width - 8,
(height // 2) - 1, 4, "Enter new aliases:",
(height // 2) - 1, 4, "Enter new aliases for existing group:",
(conf.get(strings[position - 1],
"group") if conf.has_option(strings[position - 1],
"group") else ""),