update forms to handle translations
This commit is contained in:
parent
8c38382eae
commit
72dc0c7d01
|
@ -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">
|
||||
|
|
|
@ -39,14 +39,15 @@ $choicesYesNo = [
|
|||
</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-enabled" name="enabled" class="side-menu-setting" data-personal>
|
||||
<?php foreach ($choicesYesNo as $label => $value): ?>
|
||||
<option value="<?php echo $value ?>" <?php if ($value === $_['enabled']): ?>selected<?php endif; ?>>
|
||||
<?php echo $l->t($label); ?>
|
||||
<?php echo $l->t($label); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
@ -60,13 +61,13 @@ $choicesYesNo = [
|
|||
<div>
|
||||
<label for="side-menu-top-menu-apps">
|
||||
<?php p($l->t('Apps that not must be moved in the side menu')); ?>
|
||||
<small><span class="warning">Experimental</span></small>
|
||||
<small><span class="warning"><?php p($l->t('Experimental')); ?></span></small>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<em>
|
||||
If there is no selection then the global configuration is applied.
|
||||
<?php p($l->t('If there is no selection then the global configuration is applied.')); ?>
|
||||
</em>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue