fix(post-form): enforce required post link board rules

Validate link and media requirements from community/directory features in
post and reply forms, with shared helpers and translated alert messages.
This commit is contained in:
Tommaso Casaburi
2026-06-28 15:44:36 +07:00
parent b974be7b2f
commit 6b2b85f51e
41 changed files with 443 additions and 72 deletions
+3 -1
View File
@@ -462,5 +462,7 @@
"settings_upgrade_review_notice": "settings upgrade available",
"settings_upgrade_review_button": "review",
"settings_upgrade_never_show_again": "never show again",
"site_legal_meta_contributors_link": "Contributors"
"site_legal_meta_contributors_link": "Contributors",
"post_link_required_alert": "You must post a link.",
"post_media_link_required_alert": "You must post an image or video link."
}