Update localization issues and export strings for translation

This commit is contained in:
2023-07-18 22:54:49 -04:00
committed by William Casarin
parent 11b9062865
commit ab92f7b561
4 changed files with 24 additions and 25 deletions

View File

@@ -158,7 +158,7 @@ struct EditMetadataView: View {
}
Section(content: {
TextField(NSLocalizedString("jb55@jb55.com", comment: "Placeholder example text for identifier used for nostr addresses."), text: $nip05)
TextField(NSLocalizedString("jb55@jb55.com", comment: "Placeholder example text for identifier used for Nostr addresses."), text: $nip05)
.autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
.onReceive(Just(nip05)) { newValue in
@@ -174,7 +174,7 @@ struct EditMetadataView: View {
case .valid:
Text("")
case .invalid:
Text("'\(nip05)' is an invalid nostr address. It should look like an email address.", comment: "Description of why the nostr address is invalid.")
Text("'\(nip05)' is an invalid Nostr address. It should look like an email address.", comment: "Description of why the Nostr address is invalid.")
}
})