Fix some legit JP characters rejected for IGN

This commit is contained in:
Kalle
2026-07-02 20:26:52 +03:00
parent a012d57f7e
commit 99685e7cd5
2 changed files with 5 additions and 2 deletions

View File

@@ -19,6 +19,9 @@ describe("inGameNameIsValid", () => {
"あ、い。#1234",
"テスト〜#1234",
"ロー・ル#1234",
"こゝろ#1234",
"すゞ#1234",
"ヽヾ#1234",
];
for (const name of validNames) {

View File

@@ -40,12 +40,12 @@ export const IN_GAME_NAME_CHARACTER_CATEGORIES = [
{
id: "hiragana",
label: "inGameName.categories.hiragana",
characters: range(0x3041, 0x3096),
characters: [...range(0x3041, 0x3096), ..."ゝゞ"],
},
{
id: "katakana",
label: "inGameName.categories.katakana",
characters: range(0x30a1, 0x30fa),
characters: [...range(0x30a1, 0x30fa), ..."ヽヾ"],
},
{
id: "cjk-symbols",