From 702fa4d0ce035a444112e23f4e4d1a4c686d8163 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 1 Feb 2017 16:43:51 +0545 Subject: Code with multiple %s in usr/local/www --- src/usr/local/www/services_dhcpv6.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/services_dhcpv6.php') diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php index f120688..a433698 100644 --- a/src/usr/local/www/services_dhcpv6.php +++ b/src/usr/local/www/services_dhcpv6.php @@ -258,7 +258,7 @@ if (isset($_POST['apply'])) { } elseif ($config['interfaces'][$if]['ipaddrv6'] == 'track6' && !Net_IPv6::isInNetmask($_POST['range_from'], '::', $ifcfgsn)) { $input_errors[] = sprintf(gettext( - "The prefix (upper %s bits) must be zero. Use the form %s"), + 'The prefix (upper %1$s bits) must be zero. Use the form %2$s'), $ifcfgsn, $str_help_mask); $range_from_to_ok = false; } @@ -270,7 +270,7 @@ if (isset($_POST['apply'])) { } elseif ($config['interfaces'][$if]['ipaddrv6'] == 'track6' && !Net_IPv6::isInNetmask($_POST['range_to'], '::', $ifcfgsn)) { $input_errors[] = sprintf(gettext( - "The prefix (upper %s bits) must be zero. Use the form %s"), + 'The prefix (upper %1$s bits) must be zero. Use the form %2$s'), $ifcfgsn, $str_help_mask); $range_from_to_ok = false; } -- cgit v1.1