Commit 18748c37 authored by Fabian Franz's avatar Fabian Franz Committed by Franco Fichtner

translation and style fixes

(cherry picked from commit 619b089c)
(cherry picked from commit d97a1078)
parent e5d0e97a
This diff is collapsed.
......@@ -319,7 +319,7 @@ include("head.inc");
BootstrapDialog.show({
type:BootstrapDialog.TYPE_DANGER,
title: "<?=gettext("Certificates");?>",
message: "<?=gettext("Delete this certificate from the CRL ");?>",
message: "<?=gettext("Delete this certificate from the CRL?");?>",
buttons: [{
label: "<?=gettext("No");?>",
action: function(dialogRef) {
......@@ -534,7 +534,7 @@ include("head.inc");
<td><?=$openssl_crl_status[$cert["reason"]]; ?></td>
<td><?=date("D M j G:i:s T Y", $cert["revoke_time"]); ?></td>
<td>
<a id="del_cert_<?=$thiscrl['refid'];?>" data-id="<?=$thiscrl['refid'];?>" data-certref="<?=$cert['refid'];?>" title="<?=gettext("Delete this certificate from the CRL ");?>" data-toggle="tooltip" class="act_delete_cert btn btn-default btn-xs">
<a id="del_cert_<?=$thiscrl['refid'];?>" data-id="<?=$thiscrl['refid'];?>" data-certref="<?=$cert['refid'];?>" title="<?=gettext("Delete this certificate from the CRL");?>" data-toggle="tooltip" class="act_delete_cert btn btn-default btn-xs">
<span class="fa fa-trash text-muted"></span>
</a>
</td>
......
......@@ -168,9 +168,9 @@ $( document ).ready(function() {
<table class="table table-striped">
<thead>
<tr>
<td><?=gettext("Group Name");?></td>
<td class="hidden-xs"><?=gettext("Gateways");?></td>
<td class="hidden-xs"><?=gettext("Priority");?></td>
<td><?= gettext("Group Name") ?></td>
<td class="hidden-xs"><?= gettext("Gateways") ?></td>
<td class="hidden-xs"><?= gettext("Priority") ?></td>
<td><?=gettext("Description");?></td>
<td></td>
</tr>
......@@ -192,21 +192,21 @@ $( document ).ready(function() {
<td class="hidden-xs">
<?php
foreach ($gateway_group['item'] as $item):?>
<?=gettext('Tier ');?><?=explode("|", $item)[1];?> <br/>
<?= sprintf(gettext('Tier %s'),explode("|", $item)[1]) ?> <br/>
<?php
endforeach;?>
</td>
<td><?=$gateway_group['descr'];?></td>
<td>
<a href="system_gateway_groups_edit.php?id=<?=$i;?>" class="btn btn-default btn-xs"
<a href="system_gateway_groups_edit.php?id=<?= $i ?>" class="btn btn-default btn-xs"
title="edit group" data-toggle="tooltip">
<span class="glyphicon glyphicon-pencil"></span>
</a>
<button type="button" class="btn btn-default btn-xs act-del-group"
data-id="<?=$i?>" title="<?=gettext("delete group");?>" data-toggle="tooltip">
data-id="<?= $i ?>" title="<?= gettext("delete group") ?>" data-toggle="tooltip">
<span class="fa fa-trash text-muted"></span>
</button>
<a href="system_gateway_groups_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs"
<a href="system_gateway_groups_edit.php?dup=<?= $i ?>" class="btn btn-default btn-xs"
title="clone group" data-toggle="tooltip">
<span class="fa fa-clone text-muted"></span>
</a>
......@@ -216,7 +216,7 @@ $( document ).ready(function() {
endforeach; ?>
<tr class="hidden-xs">
<td colspan="5">
<?=gettext("Remember to use these Gateway Groups in firewall rules in order to enable load balancing, failover, or policy-based routing. Without rules directing traffic into the Gateway Groups, they will not be used.");?>
<?= gettext("Remember to use these Gateway Groups in firewall rules in order to enable load balancing, failover, or policy-based routing. Without rules directing traffic into the Gateway Groups, they will not be used.") ?>
</td>
</tr>
</tbody>
......
......@@ -228,7 +228,7 @@ endforeach; ?>
?>" <?= !empty($pconfig['maxmss_enable']) ? "disabled=\"disabled\"" : "" ;?> />
<div class="hidden" for="help_for_maxmss_enable">
<?=gettext("Enable MSS clamping on TCP flows over VPN. " .
"This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes. "); ?>
"This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes."); ?>
</div>
</td>
</tr>
......
......@@ -47,7 +47,7 @@ if (isset($_REQUEST['getupdatestatus'])) {
} elseif ($pkg_status["updates"]=="0") {
echo "<span class='text-info'>".gettext("Your system is up to date.")."</span><br/><span class='btn-link' onclick='checkupdate()'>".gettext('Click to check for updates')."</span>";
} else {
echo "<span class='text-info'>".gettext("There are ").$pkg_status["updates"].gettext(" update(s) available.")."</span><br/><a href='/ui/core/firmware/#checkupdate'>".gettext("Click to upgrade")."</a> | <span class='btn-link' onclick='checkupdate()'>".gettext('Re-check now')."</span>";
echo "<span class='text-info'>".sprintf(gettext("There are %s update(s) available."),$pkg_status["updates"])."</span><br/><a href='/ui/core/firmware/#checkupdate'>".gettext("Click to upgrade")."</a> | <span class='btn-link' onclick='checkupdate()'>".gettext('Re-check now')."</span>";
}
exit;
......
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