pam_panic.c should also be able to have translated strings
This commit is contained in:
parent
e37472d6c0
commit
09fa4f648f
@ -75,6 +75,10 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, cons
|
|||||||
int8_t bPoweroff = 0;
|
int8_t bPoweroff = 0;
|
||||||
int8_t bPassword = 0;
|
int8_t bPassword = 0;
|
||||||
|
|
||||||
|
// gettext
|
||||||
|
setlocale(LC_ALL, "");
|
||||||
|
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||||
|
textdomain(PACKAGE);
|
||||||
|
|
||||||
// Regex for checking arguments
|
// Regex for checking arguments
|
||||||
regex_t regex;
|
regex_t regex;
|
||||||
|
Loading…
Reference in New Issue
Block a user