firewall: natural language translation for previous

It's ok to use breaking spaces, comma-separated values read ok.
This commit is contained in:
Franco Fichtner 2018-01-02 10:49:16 +01:00
parent 3109b519e5
commit fd7d59c856

View File

@ -492,7 +492,7 @@ include("head.inc");
$intfnatv4 = array();
foreach ($fw->getInterfaceMapping() as $intf => $intfcf) {
if (!empty($intfcf['ifconfig']['ipv4']) && empty($intfcf['gateway'])) {
$intfv4[] = $intfcf['descr'] . " " . gettext("Networks");
$intfv4[] = sprintf(gettext('%s networks'), $intfcf['descr']);
} elseif (substr($intfcf['if'], 0, 4) != 'ovpn' && !empty($intfcf['gateway'])) {
$intfnatv4[] = $intfcf;
}