diff --git a/Sources/Secretive/Localizable.xcstrings b/Sources/Secretive/Localizable.xcstrings index 558f335..050fd42 100644 --- a/Sources/Secretive/Localizable.xcstrings +++ b/Sources/Secretive/Localizable.xcstrings @@ -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" : { diff --git a/Sources/Secretive/Views/CreateSecretView.swift b/Sources/Secretive/Views/CreateSecretView.swift index 9cb3f64..15de1c6 100644 --- a/Sources/Secretive/Views/CreateSecretView.swift +++ b/Sources/Secretive/Views/CreateSecretView.swift @@ -46,7 +46,7 @@ struct CreateSecretView: 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: Identifiable { let id = UUID() let value: ValueType - let name: String - let description: String + let name: LocalizedStringKey + let description: LocalizedStringKey let thumbnail: AnyView - init(value: ValueType, name: String, description: String, thumbnail: ViewType) { + init(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) }