This commit is contained in:
Alexandre Aubin 2021-09-14 22:48:03 +02:00
parent 3efa2fe751
commit 02480d27d7
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
"app_already_up_to_date": "{app} is already up-to-date",
"app_argument_choice_invalid": "Use one of these choices '{choices}' for the argument '{name}' instead of '{value}'",
"app_argument_invalid": "Pick a valid value for the argument '{name}': {error}",
"app_argument_password_help": "Type the key Enter to keep the old value",
"app_argument_password_help_keep": "Press Enter to keep the current value",
"app_argument_password_help_optional": "Type one space to empty the password",
"app_argument_password_no_default": "Error while parsing password argument '{name}': password argument can't have a default value for security reason",
"app_argument_required": "Argument '{name}' is required",

View file

@ -695,7 +695,7 @@ class PasswordQuestion(Question):
need_column = self.current_value or self.optional
text_for_user_input_in_cli = super()._format_text_for_user_input_in_cli(need_column)
if self.current_value:
text_for_user_input_in_cli += "\n - " + m18n.n("app_argument_password_help")
text_for_user_input_in_cli += "\n - " + m18n.n("app_argument_password_help_keep")
if self.optional:
text_for_user_input_in_cli += "\n - " + m18n.n("app_argument_password_help_optional")