From fd7d59c8566a07625b94f12441efec0da2ef1ed0 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 2 Jan 2018 10:49:16 +0100 Subject: [PATCH] firewall: natural language translation for previous It's ok to use breaking spaces, comma-separated values read ok. --- src/www/firewall_nat_out.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_nat_out.php b/src/www/firewall_nat_out.php index c50dd4c57..46ea45ade 100644 --- a/src/www/firewall_nat_out.php +++ b/src/www/firewall_nat_out.php @@ -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; }