Skip to content

Commit

Permalink
Add: Added guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Jul 26, 2023
1 parent a9a809a commit d67bd80
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion frontend/i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ upload:
description: "This chart..."
check0: "has originality, (Do not publish a copy of existing chart)"
check1: "is completed, (Do not publish unfinished chart)"
check2: "has no regligious, political, sexual or other inappropriate content"
check2: "uses music that allows fanmade charts, (Such as: A new dimension rhythm game, A tatsujin, etc)"
check3: "has no regligious, political, sexual or other inappropriate content"
description2: "Any chart that violates <0>Guideline</0> will be deleted, \
and the author will be warned or banned."
ok: "Publish"
Expand Down
3 changes: 2 additions & 1 deletion frontend/i18n/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ upload:
description: "この譜面は…"
check0: "オリジナリティがあり、(既存譜面の丸写しなどは禁止されています)"
check1: "完成していて、(未完成の譜面は公開しないでください)"
check2: "宗教的・政治的・性的な内容を含まない"
check2: "曲の規約に反していない、(例えば、某超感覚リズムゲーム、某達人、某ステラリウムの曲は二次創作が禁止されています)"
check3: "宗教的・政治的・性的な内容を含まない"
description2: "譜面です。<0>ガイドライン</0>に違反する譜面は削除され、投稿者に対して警告が行われます。"
ok: "公開する"

Expand Down
7 changes: 6 additions & 1 deletion frontend/pages/charts/upload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,12 @@ const UploadChart: NextPage<
})
}, [createFormData, router, handleResponse])

const publishConfirms = [useState(false), useState(false), useState(false)]
const publishConfirms = [
useState(false),
useState(false),
useState(false),
useState(false),
]
const isAllPublicConfirmsChecked = publishConfirms.every(([value]) => value)

const [waitForPublishConfirm, setWaitForPublishConfirm] =
Expand Down

0 comments on commit d67bd80

Please sign in to comment.