Fix extra param.

This commit is contained in:
Max Goedjen 2025-08-17 15:12:11 -05:00
parent c233315ccc
commit 4bc20fcbc2
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -1281,8 +1281,8 @@
}, },
"ja" : { "ja" : {
"stringUnit" : { "stringUnit" : {
"state" : "needs_review", "state" : "translated",
"value" : "シークレット“%2$@”を使って署名を検証します" "value" : "シークレット“%1$(secretName)@”を使って署名を検証します"
} }
}, },
"ko" : { "ko" : {

View File

@ -138,7 +138,7 @@ extension SecureEnclave {
public func verify(signature: Data, for data: Data, with secret: Secret) throws -> Bool { public func verify(signature: Data, for data: Data, with secret: Secret) throws -> Bool {
let context = LAContext() let context = LAContext()
context.localizedReason = String(localized: .authContextRequestVerifyDescription(secretName: secret.name, "")) context.localizedReason = String(localized: .authContextRequestVerifyDescription(secretName: secret.name))
context.localizedCancelTitle = String(localized: .authContextRequestDenyButton) context.localizedCancelTitle = String(localized: .authContextRequestDenyButton)
let attributes = KeychainDictionary([ let attributes = KeychainDictionary([
kSecClass: kSecClassKey, kSecClass: kSecClassKey,