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_advanced_misc.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_advanced_misc.php')
-rw-r--r-- | usr/local/www/system_advanced_misc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index c31bc92..c418505 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -232,7 +232,7 @@ function maxmss_checked(obj) { <td width="78%" class="vtable"> <input name="proxyurl" id="proxyurl" value="<?php if ($pconfig['proxyurl'] <> "") echo $pconfig['proxyurl']; ?>" class="formfld unknown"> <br /> - <?=gettext("Proxy url for allowing {$g['product']} to use this proxy to connect outside."); ?> + <?php printf(gettext("Proxy url for allowing %s to use this proxy to connect outside."),$g['product']); ?> </td> </tr> <tr> @@ -240,7 +240,7 @@ function maxmss_checked(obj) { <td width="78%" class="vtable"> <input name="proxyport" id="proxyport" value="<?php if ($pconfig['proxyport'] <> "") echo $pconfig['proxyport']; ?>" class="formfld unknown"> <br /> - <?=gettext("Proxy url for allowing {$g['product']} to use this proxy port to connect outside. Default is 8080 for http protocol or ssl for 443."); ?> + <?php printf(gettext("Proxy url for allowing %s to use this proxy port to connect outside. Default is 8080 for http protocol or ssl for 443."),$g['product']); ?> </td> </tr> <tr> @@ -248,7 +248,7 @@ function maxmss_checked(obj) { <td width="78%" class="vtable"> <input name="proxyuser" id="proxyuser" value="<?php if ($pconfig['proxyuser'] <> "") echo $pconfig['proxyuser']; ?>" class="formfld unknown"> <br /> - <?=gettext("Proxy username for allowing {$g['product']} to use this proxy to connect outside"); ?> + <?php printf(gettext("Proxy username for allowing %s to use this proxy to connect outside"),$g['product']); ?> </td> </tr> <tr> @@ -256,7 +256,7 @@ function maxmss_checked(obj) { <td width="78%" class="vtable"> <input type="password" name="proxypass" id="proxypass" value="<?php if ($pconfig['proxypass'] <> "") echo $pconfig['proxypass']; ?>" class="formfld unknown"> <br /> - <?=gettext("Proxy password for allowing {$g['product']} to use this proxy to connect outside"); ?> + <?php printf(gettext("Proxy password for allowing %s to use this proxy to connect outside"),$g['product']); ?> </td> </tr> <tr> |