aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-09 21:55:11 -0700
committerAdam Soltys <[email protected]>2026-10-09 21:55:11 -0700
commit3d6bf81a19ca080d3710893b1e65f5aa3f01315f (patch)
tree71a102a6440a3d0b730f635010f723b5f624f212 /src/i18n.js
parentfaec1f84ed1e9e8ee78055796a8ebc92936abe9d (diff)
downloadcoinosv3-3d6bf81a19ca080d3710893b1e65f5aa3f01315f.tar.gz
coinosv3-3d6bf81a19ca080d3710893b1e65f5aa3f01315f.zip
Names: letters and numbers only, 2–24 — coinos v2's rule. The registrar took a-z, 0-9 and . _ - (1–30), so bitcoin-education and a dozen others got through. A NEW claim must now match /^[a-z0-9]{2,24}$/ (v2's /^[\p{L}\p{N}]{2,24}$/u, held to ASCII since a name is a DNS label); a name already held (19 with . _ -, plus "f" and "g") is grandfathered — its owner can still update it — as are v2 migrations carrying their own name and npub-shaped defaults. /name/<n> answers invalid: true for a free name that breaks the rule; the claim form says "Letters and numbers only" as it's typed, and the suggested name from a nostr profile is stripped to letters and digits.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index d8ced5b..32c55b0 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -1251,6 +1251,7 @@ const STR = {
namesPosCopyLink: 'Copy link',
namesDesc: 'Claim your payment address, like [email protected]. People can pay you just by typing it, no codes to copy or QR to scan.',
namesPlaceholder: 'username',
+ namesRule: 'Letters and numbers only',
namesResolving: 'Looking up {name}…',
namesSendTo: 'Send to {name}',
namesClaim: 'Claim',