summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_shaper_vinterface.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-03-11 21:44:54 +0545
committerPhil Davis <phil.davis@inf.org>2016-03-11 21:44:54 +0545
commitbc3c30ebc548c9b1b184166e940d66cc91752a28 (patch)
tree893d69eb2196c05cc57e651d070421244e09659d /src/usr/local/www/firewall_shaper_vinterface.php
parent418695882980cce2450e97608ee0864885208250 (diff)
downloadpfsense-bc3c30ebc548c9b1b184166e940d66cc91752a28.zip
pfsense-bc3c30ebc548c9b1b184166e940d66cc91752a28.tar.gz
Internationalize Form_Button text
The text of a Form_Button is not translated internally. Some Form_Button calls already had the button text enclosed in gettext(), this does it for the remaining ones.
Diffstat (limited to 'src/usr/local/www/firewall_shaper_vinterface.php')
-rw-r--r--src/usr/local/www/firewall_shaper_vinterface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_shaper_vinterface.php b/src/usr/local/www/firewall_shaper_vinterface.php
index 40747ef..1ecf77a 100644
--- a/src/usr/local/www/firewall_shaper_vinterface.php
+++ b/src/usr/local/www/firewall_shaper_vinterface.php
@@ -446,7 +446,7 @@ if ($dfltmsg) {
$sform->addGlobal(new Form_Button(
'add',
- 'Add new Queue',
+ gettext('Add new Queue'),
$url,
'fa-plus'
))->addClass('btn-success');
@@ -461,7 +461,7 @@ if ($dfltmsg) {
$sform->addGlobal(new Form_Button(
'delete',
- ($queue && ($qname != $pipe)) ? 'Delete this queue':'Delete Limiter',
+ ($queue && ($qname != $pipe)) ? gettext('Delete this queue'):gettext('Delete Limiter'),
$url,
'fa-trash'
))->addClass('btn-danger');
OpenPOWER on IntegriCloud