summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_smart.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/diag_smart.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/diag_smart.php')
-rw-r--r--src/usr/local/www/diag_smart.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php
index 4de1338..1fced4f 100644
--- a/src/usr/local/www/diag_smart.php
+++ b/src/usr/local/www/diag_smart.php
@@ -294,7 +294,7 @@ switch ($action) {
if (!empty($pconfig['smartmonemail'])) {
$form->addGlobal(new Form_Button(
'test',
- 'Send test email',
+ gettext('Send test email'),
null,
'fa-send'
))->addClass('btn-info');
@@ -314,7 +314,7 @@ switch ($action) {
$btnview = new Form_Button(
'submit',
- 'View',
+ gettext('View'),
null,
'fa-file-o'
);
@@ -394,7 +394,7 @@ switch ($action) {
$btntest = new Form_Button(
'submit',
- 'Test',
+ gettext('Test'),
null,
'fa-wrench'
);
@@ -467,7 +467,7 @@ switch ($action) {
$btnview = new Form_Button(
'submit',
- 'View',
+ gettext('View'),
null,
'fa-file-o'
);
@@ -521,7 +521,7 @@ switch ($action) {
// Abort
$btnabort = new Form_Button(
'submit',
- 'Abort',
+ gettext('Abort'),
null,
'fa-times'
);
OpenPOWER on IntegriCloud