Skip to content

Commit 93c44ef

Browse files
committed
update going back to standard translation function
1 parent 106549a commit 93c44ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,6 @@ public static function getSettings(GenericEvent $event)
153153
* @var \MyAdmin\Settings $settings
154154
**/
155155
$settings = $event->getSubject();
156-
$settings->add_dropdown_setting(self::$module, __('General'), 'outofstock_licenses', __('Out Of Stock Licenses'), __('Enable/Disable Sales Of This Type'), $settings->get_setting('OUTOFSTOCK_LICENSES'), ['0', '1'], ['No', 'Yes']);
156+
$settings->add_dropdown_setting(self::$module, _('General'), 'outofstock_licenses', _('Out Of Stock Licenses'), _('Enable/Disable Sales Of This Type'), $settings->get_setting('OUTOFSTOCK_LICENSES'), ['0', '1'], ['No', 'Yes']);
157157
}
158158
}

0 commit comments

Comments
 (0)