diff options
author | doktornotor <notordoktor@gmail.com> | 2016-12-20 22:57:02 +0100 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-21 17:06:00 -0200 |
commit | 1ac0c5350c2b485d104d26319787702cdcad62b9 (patch) | |
tree | 273d0f03cb71be959ef592e8dfe7dd19da1be419 /src/usr/local/www/status_upnp.php | |
parent | f27fcac6c507b94b018e5726e125823318be5098 (diff) | |
download | pfsense-1ac0c5350c2b485d104d26319787702cdcad62b9.zip pfsense-1ac0c5350c2b485d104d26319787702cdcad62b9.tar.gz |
Use sprintf()
(cherry picked from commit ea0a3f9ced58ab872e8cf83fb3c6200a5409bdb8)
Diffstat (limited to 'src/usr/local/www/status_upnp.php')
-rw-r--r-- | src/usr/local/www/status_upnp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/status_upnp.php b/src/usr/local/www/status_upnp.php index 5a77ef4..eb30851 100644 --- a/src/usr/local/www/status_upnp.php +++ b/src/usr/local/www/status_upnp.php @@ -84,7 +84,7 @@ if (!$config['installedpackages'] || !$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] || !$config['installedpackages']['miniupnpd']['config'][0]['enable']) { - print_info_box(gettext('UPnP is currently disabled. Go to <a href="pkg_edit.php?xml=miniupnpd.xml">Services > UPnP & NAT-PMP</a> to enable.'), 'danger'); + print_info_box(sprintf(gettext('UPnP is currently disabled. It can be enabled here: %s%s%s.'), '<a href="pkg_edit.php?xml=miniupnpd.xml">', gettext('Services > UPnP & NAT-PMP'), '</a>'), 'danger'); include("foot.inc"); exit; } |