From bc3c30ebc548c9b1b184166e940d66cc91752a28 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 11 Mar 2016 21:44:54 +0545 Subject: 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. --- src/usr/local/www/services_dhcp_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/usr/local/www/services_dhcp_edit.php') diff --git a/src/usr/local/www/services_dhcp_edit.php b/src/usr/local/www/services_dhcp_edit.php index 1bf03c6..077ee2c 100644 --- a/src/usr/local/www/services_dhcp_edit.php +++ b/src/usr/local/www/services_dhcp_edit.php @@ -434,7 +434,7 @@ $macaddress = new Form_Input( $btnmymac = new Form_Button( 'btnmymac', - 'Copy My MAC', + gettext('Copy My MAC'), null, 'fa-clone' ); @@ -592,7 +592,7 @@ $section->addInput(new Form_Input( $btndyndns = new Form_Button( 'btndyndns', - 'Advanced', + gettext('Advanced'), null, 'fa-cog' ); @@ -640,7 +640,7 @@ $section->addInput(new Form_Input( $btnntp = new Form_Button( 'btnntp', - 'Advanced', + gettext('Advanced'), null, 'fa-cog' ); @@ -676,7 +676,7 @@ $section->add($group); $btntftp = new Form_Button( 'btntftp', - 'Advanced', + gettext('Advanced'), null, 'fa-cog' ); -- cgit v1.1