Commit 922f27d5 authored by Franco Fichtner's avatar Franco Fichtner

mvc: add missing translations, closes #410

(cherry picked from commit af8f5ab0)
parent e48c2597
......@@ -58,7 +58,7 @@ allownew : allow new items (for list) if applicable
<input type="checkbox" id="{{ id }}" >
{% elseif type == "select_multiple" %}
<select multiple="multiple" {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" {% if style|default(false) %}class="{{style}}" {% endif %} {% if hint|default(false) %}data-hint="{{hint}}"{% endif %} {% if maxheight|default(false) %}data-maxheight="{{maxheight}}"{% endif %} data-width="{{width|default("348px")}}" data-allownew="{{allownew|default("false")}}"></select>
<br/><a href="#" class="text-danger" id="clear-options" for="{{id}}"><i class="fa fa-times-circle"></i></a><small> Clear All</small>
<br/><a href="#" class="text-danger" id="clear-options" for="{{id}}"><i class="fa fa-times-circle"></i></a> <small>{{ lang._('Clear All') }}</small>
{% elseif type == "dropdown" %}
<select {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" class="{{style|default('selectpicker')}}" data-width="{{width|default("348px")}}"></select>
{% elseif type == "info" %}
......
......@@ -114,8 +114,8 @@
<li></li><li></li><li></li>
<li><a href="/help.php?page=firewall_virtual_ip.php" target="_blank" title="Help for items on this page">Help</a></li>
<li class="active"><a href="/index.php?logout">Logout</a></li>
<li><a href="/help.php?page=firewall_virtual_ip.php" target="_blank" title="{{ lang._('Help for items on this page') }}">{{ lang._('Help') }}</a></li>
<li class="active"><a href="/index.php?logout">{{ lang._('Logout') }}</a></li>
</ul>
</div>
......
......@@ -146,8 +146,8 @@ if($need_alert_display == true) {
echo '<li>'.get_shortcut_log_link($shortcut_section, false).'</li>';
}
?>
<li><a href="<?php echo "/help.php?page={$pagename}"; ?>" target="_blank" title="<?php echo gettext("Help for items on this page"); ?>">Help</a></li>
<li class="active"><a href="/index.php?logout">Logout</a></li>
<li><a href="<?= "/help.php?page={$pagename}" ?>" target="_blank" title="<?= gettext('Help for items on this page') ?>"><?= gettext('Help') ?></a></li>
<li class="active"><a href="/index.php?logout"><?= gettext('Logout') ?></a></li>
</ul>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment