Add multilingual audit CI pipeline + extract mandelblog_content_guard
This commit is contained in:
66
mandelblog_content_guard/agents/fr.py
Normal file
66
mandelblog_content_guard/agents/fr.py
Normal file
@@ -0,0 +1,66 @@
|
||||
from .base import BaseLanguageAgent
|
||||
from ..system_strings import build_contextual_system_vocabulary, build_system_vocabulary
|
||||
|
||||
|
||||
class FrenchAgent(BaseLanguageAgent):
|
||||
locale = "fr"
|
||||
tone = "professional and commercial"
|
||||
preferred_formality = "formal"
|
||||
cta_defaults = {
|
||||
"starter": "Planifier l’entretien de départ",
|
||||
"business": "Planifier l’entretien commercial",
|
||||
"support": "Voir le support",
|
||||
"service": "Afficher les services",
|
||||
"project": "Lancez votre projet",
|
||||
"devis": "Demander un devis",
|
||||
"contact": "Planifier l’échange",
|
||||
}
|
||||
vocabulary_map = {
|
||||
**build_system_vocabulary("fr"),
|
||||
"SERVICES": "PRESTATIONS",
|
||||
"New": "Nouveau",
|
||||
"Popular": "Populaire",
|
||||
"Erstes Produktionsprojekt erfolgreich abgeschlossen.": "Premier projet de production livré avec succès.",
|
||||
"Von Kickoff bis zum Launch mit einem klaren Umfang.": "Du cadrage au lancement avec un périmètre clair.",
|
||||
"Demande d'admission initiale": "Planifier un échange initial",
|
||||
"Geschäftsprozess besprechen": "Échanger sur votre processus métier",
|
||||
"Entretien d'accueil": "Entretien initial",
|
||||
"Vraag over diensten": "Question sur les services",
|
||||
"Konkrete erste Schätzung": "Première estimation concrète",
|
||||
"Ansatz, der zu Ihrem Budget passt": "Approche adaptée à votre budget",
|
||||
"Detailliertes Seitenlayout": "Structure détaillée des pages",
|
||||
"Investition": "investissement",
|
||||
"Unverbindliches Gespräch, klares Angebot": "Sans engagement, offre claire",
|
||||
"Bereit, mit der Business-Website zu starten?": "Prêt à démarrer votre site d’entreprise ?",
|
||||
"Planifier un échange business": "Planifier un échange commercial",
|
||||
"Aucune carte bancaire requise": "Sans engagement",
|
||||
}
|
||||
_system_contextual = build_contextual_system_vocabulary("fr")
|
||||
contextual_vocabulary_map = {
|
||||
"badge": {
|
||||
**_system_contextual.get("badge", {}),
|
||||
"Popular": "Le plus demandé",
|
||||
},
|
||||
"label": {
|
||||
**_system_contextual.get("label", {}),
|
||||
"Popular": "Le plus demandé",
|
||||
},
|
||||
"metric": {
|
||||
**_system_contextual.get("metric", {}),
|
||||
},
|
||||
"stat": {
|
||||
**_system_contextual.get("stat", {}),
|
||||
},
|
||||
"title": {
|
||||
**_system_contextual.get("title", {}),
|
||||
"SERVICES": "PRESTATIONS",
|
||||
},
|
||||
"heading": {
|
||||
**_system_contextual.get("heading", {}),
|
||||
"SERVICES": "PRESTATIONS",
|
||||
},
|
||||
"rendered": {
|
||||
**_system_contextual.get("rendered", {}),
|
||||
"SERVICES": "PRESTATIONS",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user