changing namespace

This commit is contained in:
Antoine M 2023-11-23 16:26:58 +01:00
parent 79660d33a5
commit 1f0d10346a
8 changed files with 10 additions and 10 deletions

View File

@ -28,7 +28,7 @@ $relatedBrochure = get_field('brochure_pdf', $relatedBrochuresPosts[0]->ID) ?? n
<?php if ($thematique->parent == 0) : ?> <?php if ($thematique->parent == 0) : ?>
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks__texte-backoffice") ?></p> <p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks") ?></p>
<?php else : ?> <?php else : ?>
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p> <p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p>
<?php endif; ?> <?php endif; ?>

View File

@ -103,7 +103,7 @@ export default function Edit({ attributes, setAttributes }) {
value={postTitle} value={postTitle}
placeholder={__( placeholder={__(
"Text de placeholder du bloc chapter-header", "Text de placeholder du bloc chapter-header",
"homegrade-blocks__texte-backoffice" "homegrade-blocks"
)} )}
tagName="h2" tagName="h2"
allowedFormats={[]} allowedFormats={[]}

View File

@ -27,7 +27,7 @@ $relatedBrochure = get_field('brochure_pdf', $relatedBrochuresPosts[0]->ID) ?? n
<div class="homegrade-blocks-chapter-header-block__infos"> <div class="homegrade-blocks-chapter-header-block__infos">
<?php if ($thematique->parent == 0) : ?> <?php if ($thematique->parent == 0) : ?>
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks__texte-backoffice") ?></p> <p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks") ?></p>
<?php else : ?> <?php else : ?>
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p> <p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p>
<?php endif; ?> <?php endif; ?>

View File

@ -17,7 +17,7 @@ export default function save({ attributes }) {
className="description" className="description"
onChange={(value) => setAttributes({ blockDescriptionText: value })} onChange={(value) => setAttributes({ blockDescriptionText: value })}
value={blockDescriptionText} value={blockDescriptionText}
placeholder={__("Test", "homegrade-blocks__texte-fonctionnel")} placeholder={__("Test", "homegrade-blocks")}
tagName="p" tagName="p"
allowedFormats={[]} allowedFormats={[]}
/> />

View File

@ -25,9 +25,9 @@ function getRessourceIcon($ressource_type)
<ul class="homegrade-blocks-kit-presse__press-grid-datas"> <ul class="homegrade-blocks-kit-presse__press-grid-datas">
<div class="table_head"> <div class="table_head">
<p><?php echo __("Fichier", "homegrade-blocks__texte-fonctionnel") ?></p> <p><?php echo __("Fichier", "homegrade-blocks") ?></p>
<p><?php echo __("Format", "homegrade-blocks__texte-fonctionnel") ?></p> <p><?php echo __("Format", "homegrade-blocks") ?></p>
<p><?php echo __("Mise à jour", "homegrade-blocks__texte-fonctionnel") ?></p> <p><?php echo __("Mise à jour", "homegrade-blocks") ?></p>
</div> </div>
<?php foreach ($press_kit_datas as $data) : ?> <?php foreach ($press_kit_datas as $data) : ?>
<?php <?php

View File

@ -26,7 +26,7 @@ $relatedPosts = new WP_Query($args);
$thematiqueParent = getParentThematique($thematique); $thematiqueParent = getParentThematique($thematique);
$thematiqueColorSlug = getThematiqueFamilySlug($thematiqueParent->slug); $thematiqueColorSlug = getThematiqueFamilySlug($thematiqueParent->slug);
?> ?>
<article class="homegrade-blocks__texte-fonctionnel"> <article class="homegrade-blocks">
<h2><?php the_title() ?></h2> <h2><?php the_title() ?></h2>
<div><?php the_content() ?></div> <div><?php the_content() ?></div>
</article> </article>

View File

@ -130,7 +130,7 @@ export default function Edit({ attributes, setAttributes }) {
<p> <p>
{__( {__(
"Ce bloc n'est relié à aucune question. Rattachez-le à une fiche question dans la barre latérale.", "Ce bloc n'est relié à aucune question. Rattachez-le à une fiche question dans la barre latérale.",
"homegrade-blocks__texte-backoffice" "homegrade-blocks"
)} )}
</p> </p>
</> </>

View File

@ -67,7 +67,7 @@ export default function Edit({ attributes, setAttributes }) {
className="homegrade-content-blocks-rich-paragraph" className="homegrade-content-blocks-rich-paragraph"
onChange={(value) => setAttributes({ montexte: value })} onChange={(value) => setAttributes({ montexte: value })}
value={montexte} value={montexte}
placeholder={__("Votre Text Monsieur", "homegrade-blocks__texte-fonctionnel")} placeholder={__("Votre Text Monsieur", "homegrade-blocks")}
tagName="h2" tagName="h2"
allowedFormats={[]} allowedFormats={[]}
style={{ textAlign: textAlignment }} style={{ textAlign: textAlignment }}