Marco Trevisan (Treviño)
cb0616412f
pam/fingerprint-strings: finger/fingerprint replacement
2025-04-02 11:49:12 +02:00
Marco Trevisan (Treviño)
8010adea9c
pam/fingerprint-strings: Add translatable strings for generic errors
2025-02-20 20:33:40 +01:00
Marco Trevisan (Treviño)
e41241a737
pam/fingerprint-strings: Add error message for duplicated enroll
2025-02-20 20:15:17 +01:00
Marco Trevisan (Treviño)
e9bfb77426
pam/fingerprint-strings: Add proper variants for touching devices
2025-02-20 20:15:17 +01:00
Marco Trevisan (Treviño)
afb1011e44
device: Add enroll-too-fast error
2025-02-20 20:15:17 +01:00
Marco Trevisan (Treviño)
244be2511f
device: Generalize verify-too-fast error
...
It's not just related to swipe devices, so let's make it more generic
2025-02-20 20:15:17 +01:00
MrNerdHair
b64a4f7fbd
Handle new FP_DEVICE_RETRY_TOO_FAST error code
2025-02-13 23:55:33 +00:00
Marco Trevisan (Treviño)
f73429f062
fprintd: Reindent the source code following uncrustify rules
2020-12-07 18:41:45 +01:00
Marco Trevisan (Treviño)
4a80bfacec
fingerprint-strings: Make the finger_str_to_msg loop clearer
...
Just continue earlier instead of using a long if check
2020-12-07 18:41:45 +01:00
Benjamin Berg
c42e627ddd
pam: Always return translated string from helper
...
This means that the different functions in the header match as all
functions will return the translted string instead of only one of them.
2020-10-13 09:29:44 +00:00
Bastien Nocera
0b598965b0
pam: Remove GLib usage from copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
8325d347d6
pam: Add str_equal() helper to copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
0bdf801043
pam: Add helper to replace G_GNUC_UNUSED to copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
6e3b053372
pam: Add include for bool to copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
c6e72c5f28
pam: Add include for asprintf to copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
f39f28830a
pam: Avoid errors when using parts of the copy/paste header
...
If not all the functions in the header are used, we'd get warnings about
them being unused. Mark all the functions as unused, so we can avoid
warnings.
2018-02-06 14:12:41 +01:00
Bastien Nocera
9acacefa18
pam: Fix "format-nonliteral" warning
...
In file included from tests/enroll.c:29:0:
pam/fingerprint-strings.h: In function ‘finger_str_to_msg’:
pam/fingerprint-strings.h:99:6: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
return g_strdup_printf (TR (fingers[i].place_str_specific), driver_name);
^~~~~~
pam/fingerprint-strings.h:104:6: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
return g_strdup_printf (TR (fingers[i].swipe_str_specific), driver_name);
^~~~~~
2016-07-19 11:27:17 +02:00
Dan Winship
d77b59cd36
pam: don't use device name if there is only one reader
2012-02-01 19:41:58 +00:00
Bastien Nocera
9874ac4b91
Add string helper for results and fingers
...
Add a simple header file which can be copied to other projects
to simplify i18n of results and strings.
2008-12-10 00:54:27 +00:00