Project

General

Profile

« Previous | Next » 

Revision 573ec19d

Added by Renato Botelho over 4 years ago

Add product_label global variable

Introduce product_label global variable, by default with same value of
product_name. The idea is to make it easier for rebranded products to
change the name on all visual texts while internal structures are
preserved.

While here, remove deprecated $g['platform'] and also replace places
with pfSense hardcoded on text messages by $g['product_label'].

No functional changes are expected.

View differences:

src/etc/inc/shaper.inc
5363 5363

  
5364 5364
}
5365 5365

  
5366
$default_shaper_msg = sprintf(gettext("Welcome to the %s Traffic Shaper."), $g['product_name']) . "<br />";
5366
$default_shaper_msg = sprintf(gettext("Welcome to the %s Traffic Shaper."), $g['product_label']) . "<br />";
5367 5367
$dn_default_shaper_msg = $default_shaper_msg;
5368 5368

  
5369 5369
$shaper_msg = gettext("The tree on the left navigates through the %s.");

Also available in: Unified diff