This commit is contained in:
Max Goedjen 2025-08-19 23:53:58 -07:00
parent 9673a19334
commit 656b61e141
No known key found for this signature in database
4 changed files with 31 additions and 15 deletions

View File

@ -3911,72 +3911,72 @@
}
}
},
"secret_list_rename_button" : {
"secret_list_edit_button" : {
"extractionState" : "manual",
"localizations" : {
"ca" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Canvia el nom"
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Umbenennen"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Rename"
"value" : "Edit"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Renommer"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Rinomina"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "名前を変更"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "이름 변경"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Zmień nazwę"
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Renomear"
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Переименовать"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "重命名"
}
}
@ -5353,6 +5353,9 @@
},
"test@example.com" : {
},
"This shows at the end of your public key." : {
},
"unnamed_secret" : {
"extractionState" : "manual",
@ -6299,6 +6302,9 @@
}
}
}
},
"Warning: ML-DSA keys are very new, and not supported by many servers yet. Please verify the server you'll be using this key for accepts ML-DSA keys." : {
}
},
"version" : "1.0"

View File

@ -45,7 +45,11 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
.background(.red.opacity(0.5), in: RoundedRectangle(cornerRadius: 5))
}
}
TextField("Key Attribution", text: $keyAttribution, prompt: Text("test@example.com"))
VStack(alignment: .leading) {
TextField("Key Attribution", text: $keyAttribution, prompt: Text("test@example.com"))
Text("This shows at the end of your public key.")
.font(.caption)
}
}
}
}

View File

@ -23,7 +23,11 @@ struct EditSecretView<StoreType: SecretStoreModifiable>: View {
Form {
Section {
TextField(String(localized: .createSecretNameLabel), text: $name, prompt: Text(.createSecretNamePlaceholder))
TextField("Key Attribution", text: $publicKeyAttribution, prompt: Text("test@example.com"))
VStack(alignment: .leading) {
TextField("Key Attribution", text: $publicKeyAttribution, prompt: Text("test@example.com"))
Text("This shows at the end of your public key.")
.font(.caption)
}
}
}
HStack {

View File

@ -39,9 +39,11 @@ struct SecretListItemView: View {
.contextMenu {
if store is AnySecretStoreModifiable {
Button(action: { isRenaming = true }) {
Text(.secretListRenameButton)
Image(systemName: "pencil")
Text(.secretListEditButton)
}
Button(action: { isDeleting = true }) {
Image(systemName: "trash")
Text(.secretListDeleteButton)
}
}