11009 notranslate title

This commit is contained in:
fredtempez 2021-09-17 11:47:39 +02:00
parent 4a71b85602
commit 9dc6447de0
1 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@
<!-- Menu Burger --> <!-- Menu Burger -->
<div id="toggle"> <div id="toggle">
<?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?> <?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?>
<div id="burgerText"><?php echo $this->getData(['locale','title']);?></div> <div class="notranslate" id="burgerText"><?php echo $this->getData(['locale', 'title']);?></div>
<?php endif; ?> <?php endif; ?>
<?php echo template::ico('menu',null,null,'2em'); ?></div> <?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" class=" <div id="menu" class="
@ -68,7 +68,7 @@
// Affiche toujours le titre de la bannière pour l'édition du thème // Affiche toujours le titre de la bannière pour l'édition du thème
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
): ?> ): ?>
<span span class="notranslate" id="themeHeaderTitle"><?php echo $this->getData(['locale', 'title']); ?></span> <span class="notranslate" id="themeHeaderTitle"><?php echo $this->getData(['locale', 'title']); ?></span>
<?php else: ?> <?php else: ?>
<span id="themeHeaderTitle">&nbsp;</span> <span id="themeHeaderTitle">&nbsp;</span>
<?php endif; ?> <?php endif; ?>
@ -84,7 +84,7 @@
<nav> <nav>
<div id="toggle"> <div id="toggle">
<?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?> <?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?>
<div id="burgerText"><?php echo $this->getData(['locale','title']);?></div> <div class="notranslate" id="burgerText"><?php echo $this->getData(['locale', 'title']);?></div>
<?php endif; ?> <?php endif; ?>
<?php echo template::ico('menu',null,null,'2em'); ?></div> <?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" class="container"><?php $this->showMenu(); ?></div> <div id="menu" class="container"><?php $this->showMenu(); ?></div>
@ -97,7 +97,7 @@
<nav> <nav>
<div id="toggle"> <div id="toggle">
<?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?> <?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?>
<div id="burgerText"><?php echo $this->getData(['locale','title']);?></div> <div class="notranslate" id="burgerText"><?php echo $this->getData(['locale', 'title']);?></div>
<?php endif; ?> <?php endif; ?>
<?php echo template::ico('menu',null,null,'2em'); ?></div> <?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" class="container"><?php $this->showMenu(); ?></div> <div id="menu" class="container"><?php $this->showMenu(); ?></div>
@ -122,7 +122,7 @@
// Affiche toujours le titre de la bannière pour l'édition du thème // Affiche toujours le titre de la bannière pour l'édition du thème
OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header')
): ?> ): ?>
<span span class="notranslate" id="themeHeaderTitle"><?php echo $this->getData(['locale', 'title']); ?></span> <span class="notranslate" id="themeHeaderTitle"><?php echo $this->getData(['locale', 'title']); ?></span>
<?php else: ?> <?php else: ?>
<span id="themeHeaderTitle">&nbsp;</span> <span id="themeHeaderTitle">&nbsp;</span>
<?php endif; ?> <?php endif; ?>
@ -144,7 +144,7 @@
<nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>> <nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
<div id="toggle"> <div id="toggle">
<?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?> <?php if ($this->getData(['theme','menu','burgerTitle']) === true ): ?>
<div id="burgerText"><?php echo $this->getData(['locale','title']);?></div> <div class="notranslate" id="burgerText"><?php echo $this->getData(['locale', 'title']);?></div>
<?php endif; ?> <?php endif; ?>
<?php echo template::ico('menu',null,null,'2em'); ?></div> <?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" class="container"><?php $this->showMenu(); ?></div> <div id="menu" class="container"><?php $this->showMenu(); ?></div>