Skip to content

Commit

Permalink
Merge branch 'jens/bugfixes-1.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
jensutbult committed Nov 5, 2024
2 parents 5ee0413 + 182d0db commit d859d5a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions Authenticator/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,24 @@
}
}
},
"FIDO management over USB-C is not supported by iOS. Use NFC or the desktop Yubico Authenticator instead." : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "La gestion FIDO via USB-C n'est pas prise en charge par iOS. Utilisez plutôt la NFC ou Yubico Authenticator."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "USB-C経由のFIDO管理はiOSではサポートされていません。代わりにNFCまたはデスクトップのYubico Authenticatorをご利用ください。"
}
}
}
},
"FIDO over USB-C is not supported by iOS. Use NFC or the desktop Yubico Authenticator instead." : {
"extractionState" : "stale",
"localizations" : {
"fr" : {
"stringUnit" : {
Expand Down Expand Up @@ -3004,6 +3021,22 @@
}
}
},
"The YubiKey has no more storage for OATH accounts." : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "La clé YubiKey n'a plus d'espace de stockage pour les comptes OATH."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "YubiKeyにはもうOATHアカウント用のストレージはない。"
}
}
}
},
"There's already an account named" : {
"comment" : "OATH substring in 'There's already an account named [issuer, name] on this YubiKey.",
"localizations" : {
Expand Down
2 changes: 1 addition & 1 deletion Authenticator/Model/FIDOPINViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum FidoViewModelError: Error, LocalizedError {
case .pinsDoNotMatch:
return String(localized: "PINs don't match")
case .usbNotSupported:
return String(localized: "FIDO over USB-C is not supported by iOS. Use NFC or the desktop Yubico Authenticator instead.")
return String(localized: "FIDO management over USB-C is not supported by iOS. Use NFC or the desktop Yubico Authenticator instead.")
case .timeout:
return String(localized: "Operation timed out.")
case .locked:
Expand Down
2 changes: 1 addition & 1 deletion Authenticator/Model/FIDOResetViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ extension FIDOResetViewModel {
guard let session else { self.state = .error(error!); return }

let version = session.version
guard version != YKFVersion(string: "5.7.2") else {
guard version < YKFVersion(string: "5.7.0") || version > YKFVersion(string: "5.7.2") else {
DispatchQueue.main.async {
self.state = .error(FidoViewModelError.notSupportedOverLightning)
}
Expand Down

0 comments on commit d859d5a

Please sign in to comment.