Skip to content

Commit 324d44f

Browse files
committed
localization updates
1 parent fa17bb1 commit 324d44f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/Plugin.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,12 @@ function_requirements('whm_api');
205205
/**
206206
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
207207
*/
208-
public static function getSettings(GenericEvent $event)
209-
{
210-
$settings = $event->getSubject();
211-
$settings->add_text_setting(self::$module, 'Costs & Limits', 'website_ip_cost', 'Dedicated IP Cost:', 'This is the cost for purchasing an additional IP on top of a Website.', (defined(WEBSITE_IP_COST) ? WEBSITE_IP_COST : 3));
208+
public static function getSettings(GenericEvent $event)
209+
{
210+
/**
211+
* @var \MyAdmin\Settings $settings
212+
**/
213+
$settings = $event->getSubject();
214+
$settings->add_text_setting(self::$module, __('Costs & Limits'), 'website_ip_cost', __('Dedicated IP Cost'), __('This is the cost for purchasing an additional IP on top of a Website.'), (defined(WEBSITE_IP_COST) ? WEBSITE_IP_COST : 3));
212215
}
213216
}

0 commit comments

Comments
 (0)