From a3806811a9b586881e9effb4af7f8d67b264ce3f Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 21 Apr 2026 15:08:48 +0200 Subject: [PATCH] blueprints : make structure fields consistently translatable or not Co-Authored-By: Claude Sonnet 4.6 --- site/blueprints/pages/project.yml | 29 +++++++++++++------------- site/blueprints/pages/white-papers.yml | 5 +++++ site/blueprints/site.yml | 2 ++ 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 3acd395..88519c6 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -18,7 +18,7 @@ tabs: columns: # Colonne principale main: - width: 2/3 + width: 3/4 sections: # Informations principales info: @@ -58,6 +58,7 @@ tabs: keywords: label: Mots clés type: structure + width: 1/2 fields: label: label: Label @@ -73,6 +74,7 @@ tabs: externalLinks: label: Liens externes type: structure + width: 1/2 fields: label: label: Nom du bouton @@ -84,12 +86,22 @@ tabs: label: URL required: true type: url - translate: false width: 1/2 images: type: fields fields: + mockupPosition: + label: Position du mockup + type: radio + translate: false + default: center + options: + - value: center + text: Centre + - value: left + text: Gauche + width: 2/3 mockup: width: 1/3 label: Image de mise en situation @@ -109,7 +121,7 @@ tabs: # Sidebar sidebar: - width: 1/3 + width: 1/4 sections: meta: type: fields @@ -164,17 +176,6 @@ tabs: text: Horizontal icon: arrow-left-right help: "Direction du défilement des images dans la galerie animée" - mockupPosition: - label: Position du mockup - type: toggles - translate: false - default: center - options: - - value: center - text: Centre - - value: left - text: Gauche - help: "Position du mockup sur la page" secondsPerImage: label: Durée de l'animation type: range diff --git a/site/blueprints/pages/white-papers.yml b/site/blueprints/pages/white-papers.yml index b4f44fb..a030ce0 100644 --- a/site/blueprints/pages/white-papers.yml +++ b/site/blueprints/pages/white-papers.yml @@ -51,6 +51,7 @@ tabs: contactDatabase: label: Ont téléchargé un livre blanc type: structure + translate: false columns: firstName: label: Prénom @@ -72,10 +73,12 @@ tabs: firstName: label: Prénom type: text + translate: false required: true lastName: label: Nom type: text + translate: false required: true company: label: Société @@ -84,12 +87,14 @@ tabs: role: label: Fonction type: text + translate: false email: type: email translate: false required: true downloadedAt: type: text + translate: false label: Date files: tabs/files diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index e80fe8d..348da3e 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -40,6 +40,7 @@ tabs: label: Nom required: true type: text + translate: false width: 1/3 placeholder: "Ex: LinkedIn, Instagram..." url: @@ -51,6 +52,7 @@ tabs: picto: label: Icône SVG type: textarea + translate: false width: 1/3 buttons: false size: small