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

View File

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