Skip to content

Commit

Permalink
fix: remove no_content message
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Dec 18, 2023
1 parent c3f8f71 commit 8361e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/screens/Nostr/ConfirmSignMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function ConfirmSignMessage() {
defaultValue: t("kinds.unknown", { kind: event.kind }),
}),
})}
content={event.content || t("no_content")}
content={event.content || ""}
/>
<div className="flex justify-center mb-4 gap-4">
<Hyperlink onClick={toggleShowJSON}>
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -894,12 +894,11 @@
"allow": "Allow this website to:",
"content": "This website asks you to sign:",
"allow_sign": "Allow {{host}} to sign:",
"allow_sign_event": "Allow {{host}} to sign a {{kind}} event:",
"allow_sign_event": "Allow {{host}} to sign a {{kind}} event",
"allow_encrypt": "Allow {{host}} to encrypt the message:",
"allow_decrypt": "Allow {{host}} to decrypt the message:",
"view_details": "View details",
"hide_details": "Hide details",
"no_content": "(No content)",
"block_and_ignore": "Block and ignore {{host}}",
"block_added": "Added {{host}} to the blocklist, please reload the website.",
"peer": "Peer",
Expand Down

0 comments on commit 8361e5d

Please sign in to comment.