From 204146557e3fbbb9487ea21a6261e55955d2843a Mon Sep 17 00:00:00 2001 From: k-paulius Date: Wed, 10 Feb 2016 22:42:21 -0600 Subject: Remove redundant gettext call --- src/usr/local/www/pkg_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/pkg_edit.php') diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 8f85909..4694eea 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -657,7 +657,7 @@ $form->addGlobal(new Form_Input( if ($pkg['advanced_options'] == "enabled") { $advfield_count = 0; - $advanced = new Form_Section(gettext("Advanced Features")); + $advanced = new Form_Section("Advanced Features"); $advanced->addClass('advancedoptions'); } @@ -735,7 +735,7 @@ foreach ($pkg['fields']['field'] as $pkga) { // If we get here but have no $section, the package config file probably had no listtopic field // We can create a section with a generic name to fix that if (!$section) { - $section = new Form_Section(gettext('General Options')); + $section = new Form_Section('General Options'); } switch ($pkga['type']) { -- cgit v1.1