From 3a42ec9029b4dd29368c09b8328595e7053459b6 Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Tue, 9 Jan 2024 09:41:25 +0200 Subject: [PATCH] correct iris username length prompt --- packages/app/src/Components/messages.ts | 2 +- packages/app/src/lang.json | 6 +++--- packages/app/src/translations/en.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/app/src/Components/messages.ts b/packages/app/src/Components/messages.ts index 088354fc..37f0697d 100644 --- a/packages/app/src/Components/messages.ts +++ b/packages/app/src/Components/messages.ts @@ -99,7 +99,7 @@ export default defineMessages({ ConfirmUnpin: { defaultMessage: "Are you sure you want to unpin this note?", id: "IEwZvs" }, ReactionsLink: { defaultMessage: "{n} Reactions", id: "jzgQ2z" }, ReBroadcast: { defaultMessage: "Broadcast Again", id: "c3g2hL" }, - IrisUserNameLengthError: { defaultMessage: "Name must be between 1 and 32 characters", id: "4MBtMa" }, + IrisUserNameLengthError: { defaultMessage: "Name must be between 8 and 15 characters", id: "LhLvRx" }, IrisUserNameFormatError: { defaultMessage: "Username must only contain lowercase letters and numbers", id: "RSr2uB" }, InvalidNip05Address: { defaultMessage: "Invalid Nostr Address", id: "P2o+ZZ" }, ErrorValidatingNip05Address: { defaultMessage: "Cannot verify Nostr Address", id: "LmdPXO" }, diff --git a/packages/app/src/lang.json b/packages/app/src/lang.json index ea4ba119..05cec75d 100644 --- a/packages/app/src/lang.json +++ b/packages/app/src/lang.json @@ -192,9 +192,6 @@ "4L2vUY": { "defaultMessage": "Your new NIP-05 handle is:" }, - "4MBtMa": { - "defaultMessage": "Name must be between 1 and 32 characters" - }, "4MjsHk": { "defaultMessage": "Life" }, @@ -700,6 +697,9 @@ "LgbKvU": { "defaultMessage": "Comment" }, + "LhLvRx": { + "defaultMessage": "Name must be between 8 and 15 characters" + }, "LmdPXO": { "defaultMessage": "Cannot verify Nostr Address" }, diff --git a/packages/app/src/translations/en.json b/packages/app/src/translations/en.json index b5140d6c..260a622f 100644 --- a/packages/app/src/translations/en.json +++ b/packages/app/src/translations/en.json @@ -63,7 +63,6 @@ "47FYwb": "Cancel", "4IPzdn": "Primary Developers", "4L2vUY": "Your new NIP-05 handle is:", - "4MBtMa": "Name must be between 1 and 32 characters", "4MjsHk": "Life", "4OB335": "Dislike", "4Vmpt4": "Nostr Plebs is one of the first NIP-05 providers in the space and offers a good collection of domains at reasonable prices", @@ -231,6 +230,7 @@ "LR1XjT": "Pin too short", "LXxsbk": "Anonymous", "LgbKvU": "Comment", + "LhLvRx": "Name must be between 8 and 15 characters", "LmdPXO": "Cannot verify Nostr Address", "Lu5/Bj": "Open on Zapstr", "Lw+I+J": "{n,plural,=0{{name} zapped} other{{name} & {n} others zapped}}",