More create

This commit is contained in:
Max Goedjen 2024-01-04 17:59:33 -08:00
parent eb53b6166a
commit 27d96a0845
No known key found for this signature in database
2 changed files with 22 additions and 23 deletions

View File

@ -73,12 +73,12 @@
"Create a new one by clicking here." : {
},
"create_secret_cancel_buton" : {
"create_secret_cancel_button" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "create_secret_cancel"
"value" : "Cancel"
}
}
}
@ -250,6 +250,17 @@
"Key" : {
"extractionState" : "manual"
},
"Key 1" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Touch ID Detail prompt.Detail two."
}
}
}
},
"New Secret" : {
},
@ -364,18 +375,12 @@
}
}
}
},
"Secretive" : {
},
"Secretive %@" : {
},
"Secretive supports EC256, EC384, RSA1024, and RSA2048 keys." : {
},
"Secretive wants to sign" : {
},
"Setup Secretive" : {
@ -531,12 +536,6 @@
},
"Title" : {
},
"Touch ID Detail prompt.Detail two." : {
},
"Touch ID Prompt" : {
},
"Update" : {

View File

@ -46,7 +46,7 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
}
HStack {
Spacer()
Button("create_secret_cancel_buton") {
Button("create_secret_cancel_button") {
showing = false
}
.keyboardShortcut(.cancelAction)
@ -109,11 +109,11 @@ extension ThumbnailPickerView {
struct Item<ValueType: Hashable>: Identifiable {
let id = UUID()
let value: ValueType
let name: String
let description: String
let name: LocalizedStringKey
let description: LocalizedStringKey
let thumbnail: AnyView
init<ViewType: View>(value: ValueType, name: String, description: String, thumbnail: ViewType) {
init<ViewType: View>(value: ValueType, name: LocalizedStringKey, description: LocalizedStringKey, thumbnail: ViewType) {
self.value = value
self.name = name
self.description = description
@ -169,15 +169,15 @@ struct AuthenticationView: View {
.resizable()
.aspectRatio(contentMode: .fit)
.foregroundColor(Color(.systemRed))
Text("Touch ID Prompt")
Text(verbatim: "Touch ID Prompt")
.font(.headline)
.foregroundColor(.primary)
.redacted(reason: .placeholder)
VStack {
Text("Touch ID Detail prompt.Detail two.")
Text(verbatim: "Touch ID Detail prompt.Detail two.")
.font(.caption2)
.foregroundColor(.primary)
Text("Touch ID Detail prompt.Detail two.")
Text(verbatim: "Touch ID Detail prompt.Detail two.")
.font(.caption2)
.foregroundColor(.primary)
}
@ -223,10 +223,10 @@ struct NotificationView: View {
.frame(width: 64, height: 64)
.foregroundColor(.primary)
VStack(alignment: .leading) {
Text("Secretive")
Text(verbatim: "Secretive")
.font(.title)
.foregroundColor(.primary)
Text("Secretive wants to sign")
Text(verbatim: "Secretive wants to sign")
.font(.body)
.foregroundColor(.primary)
}