pam/fingerprint-strings: Add error message for duplicated enroll

This commit is contained in:
Marco Trevisan (Treviño) 2025-02-20 17:45:56 +01:00
parent e9bfb77426
commit e41241a737

View file

@ -240,6 +240,8 @@ enroll_result_str_to_msg (const char *result, bool is_swipe)
else
return TR (N_("Finger scan was too fast, try again"));
}
if (strcmp (result, "enroll-duplicate") == 0)
return TR (N_("The fingerprint has been already enrolled. Try using another finger."));
return NULL;
}