update forms to handle translations

This commit is contained in:
Simon Vieille
2020-08-28 16:45:02 +02:00
parent 8c38382eae
commit 72dc0c7d01
2 changed files with 15 additions and 12 deletions
+9 -7
View File
@@ -245,8 +245,9 @@ $choicesSizes = [
</label>
</div>
<p><em>Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>
to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.</em></p>
<p>
<em><?php echo $l->t('Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'); ?></em>
</p>
<div>
<select id="side-menu-opener-hover" name="opener-hover" class="side-menu-setting">
@@ -262,11 +263,11 @@ $choicesSizes = [
<label for="side-menu-big-menu">
<?php p($l->t('Display the big menu')); ?>
<small><span class="warning">Experimental</span></small>
<small><span class="warning"><?php p($l->t('Experimental')); ?></span></small>
</label>
</div>
<p><em>The big menu is not compatible with AppOrder.</em></p>
<p><em><?php p($l->t('The big menu is not compatible with AppOrder.')); ?></em></p>
<div>
<select id="side-menu-big-menu" name="big-menu" class="side-menu-setting">
@@ -284,7 +285,7 @@ $choicesSizes = [
</label>
</div>
<p><em>This feature is not compatible with the <code>big menu</code> display.</em></p>
<p><em><?php p($l->t('This feature is not compatible with the <code>big menu</code> display.')); ?></em></p>
<div>
<select id="side-menu-display-logo" name="display-logo" class="side-menu-setting">
@@ -372,8 +373,9 @@ $choicesSizes = [
<?php p($l->t('Tips')); ?>
</h2>
<p>Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>
to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.</p>
<p>
<em><?php echo $l->t('Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'); ?></em>
</p>
</div>
<div class="section">