pam: Mark no-match error message as translatable

This commit is contained in:
Thibault HEINRICH
2021-05-17 11:54:46 +02:00
committed by Benjamin Berg
parent d7da04fa4b
commit 00629fc374
2 changed files with 6 additions and 1 deletions

View File

@ -557,7 +557,7 @@ do_verify (sd_bus *bus,
{ {
if (str_equal (data->result, "verify-no-match")) if (str_equal (data->result, "verify-no-match"))
{ {
send_err_msg (data->pamh, "Failed to match fingerprint"); send_err_msg (data->pamh, _("Failed to match fingerprint"));
} }
else if (str_equal (data->result, "verify-match")) else if (str_equal (data->result, "verify-match"))
{ {

View File

@ -270,3 +270,8 @@ msgstr "Votre doigt n'était pas centré, essayez de le glisser une nouvelle foi
#: ../pam/fingerprint-strings.h:140 ../pam/fingerprint-strings.h:166 #: ../pam/fingerprint-strings.h:140 ../pam/fingerprint-strings.h:166
msgid "Remove your finger, and try swiping your finger again" msgid "Remove your finger, and try swiping your finger again"
msgstr "Enlevez votre doigt du lecteur et essayez de le glisser une nouvelle fois" msgstr "Enlevez votre doigt du lecteur et essayez de le glisser une nouvelle fois"
#: ../pam/pam_fprintd.c:560
#, c-format
msgid "Failed to match fingerprint"
msgstr "Echec de reconnaissance de l'empreinte digitale"