filesystem: use "passphrases" instead of "passwords" in error messages

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-06-23 13:11:53 +02:00
parent 0d2432ecc1
commit bb49114b04
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ class LUKSOptionsForm(SubForm):
def validate_password(self):
if len(self.password.value) < 1:
return _("Password must be set")
return _("Passphrase must be set")
def validate_confirm_password(self):
if self.password.value != self.confirm_password.value:
return _("Passwords do not match")
return _("Passphrases do not match")
class LVMOptionsForm(SubForm):