rename: chapitre/projet templates to chapter/project

Standardize French template names to English across blueprints,
content files, PHP templates, Vue components and Pinia stores.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-25 15:00:41 +01:00
parent 99a924010f
commit ffcb1a9f2e
13 changed files with 64 additions and 60 deletions

View file

@ -40,10 +40,10 @@
<div v-if="item.text" class="chapeau" v-html="item.text"></div>
</section>
<!-- Chapitre -->
<!-- Chapter -->
<section
v-else-if="item.template === 'chapitre'"
class="chapitre"
v-else-if="item.template === 'chapter'"
class="chapter"
:data-page-type="item.template"
>
<h3>{{ item.title }}</h3>
@ -116,7 +116,7 @@ const getBlockComponent = (type) => {
/* Base print styles for content sections */
.narrative-cover,
.geoformat,
.chapitre,
.chapter,
.carte {
break-before: page;
}

View file

@ -48,10 +48,10 @@ export const useNarrativeStore = defineStore('narrative', () => {
if (child.children && child.children.length > 0) {
flattenChildren(child.children, depth + 1);
}
} else if (child.template === 'chapitre') {
} else if (child.template === 'chapter') {
items.push({
id: child.id,
template: 'chapitre',
template: 'chapter',
title: child.title,
blocks: child.blocks,
});