diff options
author | Vinicius Coque <vinicius.coque@bluepex.com> | 2011-07-18 14:33:20 -0300 |
---|---|---|
committer | Vinicius Coque <vinicius.coque@bluepex.com> | 2011-07-18 14:33:20 -0300 |
commit | d1d0a1ad1b11a9c361f5907f660308f4abf761b2 (patch) | |
tree | 5e38e6fdcabde57546dc43ab540e37c5347f05d0 /usr/local/www/system.php | |
parent | aa840cf9f1bd54b565c33abd1512570034109b5c (diff) | |
download | pfsense-d1d0a1ad1b11a9c361f5907f660308f4abf761b2.zip pfsense-d1d0a1ad1b11a9c361f5907f660308f4abf761b2.tar.gz |
makes correct use of printf and gettext
removes variables names and replace it with '%s'
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-x | usr/local/www/system.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php index caf8e78..6be9f99 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -135,7 +135,7 @@ if ($_POST) { if(interface_has_gateway($_POST[$dnsgwitem])) { foreach($direct_networks_list as $direct_network) { if(ip_in_subnet($_POST[$dnsitem], $direct_network)) { - $input_errors[] = gettext("You can not assign a gateway to DNS '{$_POST[$dnsitem]}' server which is on a directly connected network."); + $input_errors[] = sprintf(gettext("You can not assign a gateway to DNS '%s' server which is on a directly connected network."),$_POST[$dnsitem]); } } } |