Add French legal framework to content moderation filters

Integrate French penal code and press law into the legal filter prompt and update frontend displays to reflect the expanded moderation criteria, including rejection of obscene and defamatory content.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 923ae0e3-a363-4db8-b04a-e8baca2a1330
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: ec496618-f357-4c5d-aea6-f0bff4665765
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8af7d2ec-2cc3-4ece-8af3-9f071488d072/923ae0e3-a363-4db8-b04a-e8baca2a1330/nghZcOj
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
pironantoine
2026-04-05 03:31:08 +00:00
parent a9d31ea735
commit 8cf90b8693
3 changed files with 67 additions and 8 deletions
+5 -5
View File
@@ -294,8 +294,8 @@ export default function Home() {
<AccordionContent>
<p className="text-xs text-muted-foreground mb-4 leading-relaxed">
Les contributions sont modérées selon les textes fondamentaux du droit
international des droits humains. Les contenus contraires à ces principes
ne sont pas intégrés.
international des droits humains et du droit français. Les contenus contraires
à ces principes ne sont pas intégrés.
</p>
<div className="space-y-3">
{VALEURS.map((v) => (
@@ -306,9 +306,9 @@ export default function Home() {
))}
</div>
<p className="text-xs text-muted-foreground font-mono mt-4">
Sources : DUDH (ONU 1948) · PIDCP (ONU 1966) · CEDH (Conseil de l'Europe 1950) ·
Charte des droits fondamentaux de l'UE (2000) · Statut de Rome / CPI (1998) ·
CERD (ONU 1965)
Sources : DUDH (ONU 1948) · PIDCP (ONU 1966) · CEDH (1950) ·
Charte UE (2000) · Statut de Rome / CPI (1998) · CERD (ONU 1965) ·
Code pénal français (Art. 222-32, 227-24) · Loi du 29 juillet 1881
</p>
</AccordionContent>
</AccordionItem>