diff --git a/damus/Views/Profile/EditMetadataView.swift b/damus/Views/Profile/EditMetadataView.swift index a34a1d4b..a58fe8d1 100644 --- a/damus/Views/Profile/EditMetadataView.swift +++ b/damus/Views/Profile/EditMetadataView.swift @@ -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.") } }) diff --git a/damus/Views/Wallet/ConnectWalletView.swift b/damus/Views/Wallet/ConnectWalletView.swift index 161bbefc..8cdd098f 100644 --- a/damus/Views/Wallet/ConnectWalletView.swift +++ b/damus/Views/Wallet/ConnectWalletView.swift @@ -30,7 +30,7 @@ struct ConnectWalletView: View { self.model.new(url) case .failed: - error = "Invalid nostr wallet connection string" + error = NSLocalizedString("Invalid Nostr wallet connection string", comment: "Error message when an invalid Nostr wallet connection string is provided.") case .scanning: error = nil diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff index 8cda4c35..852106c3 100644 --- a/damus/en-US.xcloc/Localized Contents/en-US.xliff +++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -89,15 +89,10 @@ Sentence composed of 2 variables to describe how many people are following a use %lld/%lld Fraction of how many of the user's relay servers that are operational. - - '%@' at '%@' will be used for verification - '%@' at '%@' will be used for verification - Description of how the nip05 identifier would be used for verification. - - - '%@' is an invalid NIP-05 identifier. It should look like an email. - '%@' is an invalid NIP-05 identifier. It should look like an email. - Description of why the nip05 identifier is invalid. + + '%@' is an invalid Nostr address. It should look like an email address. + '%@' is an invalid Nostr address. It should look like an email address. + Description of why the Nostr address is invalid. API Key (optional) @@ -482,11 +477,6 @@ Sentence composed of 2 variables to describe how many people are following a use Delete Account Button to delete the user's account. - - Deleted Account - Deleted Account - Alert message to indicate this is a deleted account - Description Description @@ -708,6 +698,11 @@ Sentence composed of 2 variables to describe how many people are following a use Impersonation Description of report type for impersonation. + + Invalid Nostr wallet connection string + Invalid Nostr wallet connection string + Error message when an invalid Nostr wallet connection string is provided. + Invalid Tip Address Invalid Tip Address @@ -803,8 +798,7 @@ Sentence composed of 2 variables to describe how many people are following a use Logout Logout Alert for logging out the user. - Button for logging out the user. - Button to close the alert that informs that the current account has been deleted. + Button for logging out the user. Looking for %@... @@ -867,11 +861,6 @@ Sentence composed of 2 variables to describe how many people are following a use Muted Users Navigation title of view to see list of muted users. - - NIP-05 Verification - NIP-05 Verification - Label for NIP-05 Verification section of user profile form. - New encrypted direct message New encrypted direct message @@ -917,6 +906,11 @@ Sentence composed of 2 variables to describe how many people are following a use None Picker option to indicate that sats should be sent to the user's wallet as a regular Lightning payment, not as a zap. + + Nostr Address + Nostr Address + Label for the Nostr Address section of user profile form. + Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network @@ -1493,6 +1487,11 @@ Label for filter for seeing your notes and replies (instead of only your notes). This is your secret account key. You need this to access your account. Don't share this with anyone! Save it in a password manager and keep it safe! Label to describe that a private key is the user's secret account key and what they should do with it. + + This relay is already in your list + This relay is already in your list + An error message that appears when the user attempts to add a relay that has already been added. + Thread Thread @@ -1782,7 +1781,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. jb55@jb55.com jb55@jb55.com - Placeholder example text for identifier used for NIP-05 verification. + Placeholder example text for identifier used for Nostr addresses. none diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings index ab578f30..3a67a16d 100644 Binary files a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings and b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings differ