0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00

Fixed string errors

This commit is contained in:
boltgolt 2021-01-03 14:00:19 +01:00
parent 55f3753260
commit 1384cc3f72
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26
3 changed files with 3 additions and 2 deletions

View file

@ -33,6 +33,7 @@ parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
add_help=False,
prog="howdy",
usage="howdy [-U USER] [--plain] [-h] [-y] {command} [{arguments}...]".format(command=_("command"), arguments=_("arguments")),
epilog=_("For support please visit\nhttps://github.com/boltgolt/howdy"))
# Add an argument for the command

View file

@ -73,7 +73,7 @@ if len(encodings) > 3:
# Make clear what we are doing if not human
if not builtins.howdy_args.plain:
print(_("Adding face model for the user " + user))
print(_("Adding face model for the user ") + user)
# Set the default label
label = "Initial model"

View file

@ -34,7 +34,7 @@ enc_file = path + "/models/" + user + ".dat"
try:
encodings = json.load(open(enc_file))
except FileNotFoundError:
print(_("No face model known for the user " + user + ", please run:"))
print(_("No face model known for the user {}, please run:").format(user))
print("\n\thowdy add\n")
sys.exit(1)