Require additional info if report account

This commit is contained in:
Lim Chee Aun 2024-08-20 20:17:28 +08:00
parent 3902db5c0b
commit 0e539ba2cb
2 changed files with 9 additions and 8 deletions

View file

@ -239,6 +239,7 @@ function ReportModal({ account, post, onClose }) {
name="comment"
id="report-comment"
disabled={uiState === 'loading'}
required={!post} // Required if not reporting a post
/>
</section>
{!!domain && domain !== currentDomain && (

View file

@ -1653,35 +1653,35 @@ msgstr ""
msgid "Additional info"
msgstr ""
#: src/components/report-modal.jsx:255
#: src/components/report-modal.jsx:256
msgid "Forward to <0>{domain}</0>"
msgstr ""
#: src/components/report-modal.jsx:265
#: src/components/report-modal.jsx:266
msgid "Send Report"
msgstr ""
#: src/components/report-modal.jsx:274
#: src/components/report-modal.jsx:275
msgid "Muted {username}"
msgstr ""
#: src/components/report-modal.jsx:277
#: src/components/report-modal.jsx:278
msgid "Unable to mute {username}"
msgstr ""
#: src/components/report-modal.jsx:282
#: src/components/report-modal.jsx:283
msgid "Send Report <0>+ Mute profile</0>"
msgstr ""
#: src/components/report-modal.jsx:293
#: src/components/report-modal.jsx:294
msgid "Blocked {username}"
msgstr ""
#: src/components/report-modal.jsx:296
#: src/components/report-modal.jsx:297
msgid "Unable to block {username}"
msgstr ""
#: src/components/report-modal.jsx:301
#: src/components/report-modal.jsx:302
msgid "Send Report <0>+ Block profile</0>"
msgstr ""