From 8361e5d4db9001a7d6d3e3c60be71ab6c060d28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Mon, 18 Dec 2023 21:32:28 +0100 Subject: [PATCH] fix: remove no_content message --- src/app/screens/Nostr/ConfirmSignMessage.tsx | 2 +- src/i18n/locales/en/translation.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/screens/Nostr/ConfirmSignMessage.tsx b/src/app/screens/Nostr/ConfirmSignMessage.tsx index e96aa04f0d..8c72c34a96 100644 --- a/src/app/screens/Nostr/ConfirmSignMessage.tsx +++ b/src/app/screens/Nostr/ConfirmSignMessage.tsx @@ -90,7 +90,7 @@ function ConfirmSignMessage() { defaultValue: t("kinds.unknown", { kind: event.kind }), }), })} - content={event.content || t("no_content")} + content={event.content || ""} />
diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index 6f29c1ff7a..9d29727f7f 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -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",