Téléverser les fichiers vers "workstation-setup/src"
This commit is contained in:
@@ -1078,7 +1078,6 @@ Kirigami.ApplicationWindow {
|
|||||||
SecretField {
|
SecretField {
|
||||||
id: currentPin
|
id: currentPin
|
||||||
placeholderText: "PIN temporaire"
|
placeholderText: "PIN temporaire"
|
||||||
inputMethodHints: Qt.ImhDigitsOnly
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FieldLabel {
|
FieldLabel {
|
||||||
@@ -1089,7 +1088,6 @@ Kirigami.ApplicationWindow {
|
|||||||
SecretField {
|
SecretField {
|
||||||
id: newPin
|
id: newPin
|
||||||
placeholderText: "Nouveau PIN personnel"
|
placeholderText: "Nouveau PIN personnel"
|
||||||
inputMethodHints: Qt.ImhDigitsOnly
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FieldLabel {
|
FieldLabel {
|
||||||
@@ -1100,7 +1098,6 @@ Kirigami.ApplicationWindow {
|
|||||||
SecretField {
|
SecretField {
|
||||||
id: confirmPin
|
id: confirmPin
|
||||||
placeholderText: "Confirmez le nouveau PIN"
|
placeholderText: "Confirmez le nouveau PIN"
|
||||||
inputMethodHints: Qt.ImhDigitsOnly
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
|||||||
@@ -592,6 +592,12 @@ QString ProvisioningBackend::safeMessageForFailure(Operation operation,
|
|||||||
if (output.contains(QStringLiteral("wrong_pin"))) {
|
if (output.contains(QStringLiteral("wrong_pin"))) {
|
||||||
return QStringLiteral("Le PIN temporaire est incorrect. N'essayez pas au hasard : le nombre de tentatives FIDO2 est limité.");
|
return QStringLiteral("Le PIN temporaire est incorrect. N'essayez pas au hasard : le nombre de tentatives FIDO2 est limité.");
|
||||||
}
|
}
|
||||||
|
if (output.contains(QStringLiteral("multiple_yubikey"))) {
|
||||||
|
return QStringLiteral("Plusieurs clés FIDO2 sont détectées. Ne laissez branchée que la YubiKey à configurer puis réessayez.");
|
||||||
|
}
|
||||||
|
if (output.contains(QStringLiteral("no_fido2"))) {
|
||||||
|
return QStringLiteral("La clé détectée ne fournit pas l'interface FIDO2 nécessaire au changement de PIN.");
|
||||||
|
}
|
||||||
if (output.contains(QStringLiteral("no_yubikey"))) {
|
if (output.contains(QStringLiteral("no_yubikey"))) {
|
||||||
return QStringLiteral("Aucune YubiKey compatible n'a été détectée ou le système n'a pas les droits d'accès nécessaires.");
|
return QStringLiteral("Aucune YubiKey compatible n'a été détectée ou le système n'a pas les droits d'accès nécessaires.");
|
||||||
}
|
}
|
||||||
@@ -601,6 +607,9 @@ QString ProvisioningBackend::safeMessageForFailure(Operation operation,
|
|||||||
if (output.contains(QStringLiteral("input_error"))) {
|
if (output.contains(QStringLiteral("input_error"))) {
|
||||||
return QStringLiteral("Le composant de configuration de la YubiKey n'a pas reçu les données attendues.");
|
return QStringLiteral("Le composant de configuration de la YubiKey n'a pas reçu les données attendues.");
|
||||||
}
|
}
|
||||||
|
if (output.contains(QStringLiteral("pin_helper_error"))) {
|
||||||
|
return QStringLiteral("Le composant FIDO2 a rencontré une erreur interne sans modifier le PIN.");
|
||||||
|
}
|
||||||
|
|
||||||
return QStringLiteral("Le PIN YubiKey n'a pas été modifié. Vérifiez que la clé est branchée et que le PIN actuel est correct.");
|
return QStringLiteral("Le PIN YubiKey n'a pas été modifié. Vérifiez que la clé est branchée et que le PIN actuel est correct.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user