gettext on strings

(cherry picked from commit 988b786d0b)
This commit is contained in:
luckman212 2018-09-27 10:16:30 -04:00 committed by Renato Botelho
parent 04a9cd686c
commit 1be9e2a0e5

View File

@ -329,9 +329,9 @@ if (isset($config['interfaces'][$if]['blockbogons'])) {
}
if (isset($config['system']['webgui']['roworderdragging'])) {
$rules_header_text = 'Rules';
$rules_header_text = gettext("Rules");
} else {
$rules_header_text = 'Rules (Drag to Change Order)';
$rules_header_text = gettext("Rules (Drag to Change Order)");
}
/* Load the counter data of each pf rule. */
@ -353,7 +353,7 @@ $columns_in_table = 13;
<form method="post">
<input name="if" id="if" type="hidden" value="<?=$if?>" />
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext($rules_header_text)?></h2></div>
<div class="panel-heading"><h2 class="panel-title"><?=$rules_header_text?></h2></div>
<div id="mainarea" class="table-responsive panel-body">
<table id="ruletable" class="table table-hover table-striped table-condensed" style="overflow-x: 'visible'">
<thead>